Looking for someone to fix the store sellable Item lists?

Discussion in 'Negative Energy Plane' started by Nomad_Wanderer, Sep 25, 2003.

Remove all ads!
  1. Nomad_Wanderer

    Nomad_Wanderer Established Member Veteran

    Joined:
    Sep 25, 2003
    Messages:
    305
    Likes Received:
    0
    Some items are jsut not available from stores.. Like Bullets for xample :)

    it looks like .\ToEE3\rules\InvenSource.mes

    Might be a shopkeepers available item list..

    {Otis's store: buy_list_num,7 50,6018 50,6019 50,6225 50,6020 50,6021 50,602
    50,6032 50,6040 50,6041 50,6047 50,6060 50,6074 50,6075 50,6093 50,6223 50,6096 50,6227 50,6103 50,6226 50,612
    50,6153 50,6154 50,6158 50,6229 50,4012 50,4015 50,4157 50,4021 50,4189 100,4036 100,4132 50,4045 50,4048 50,4
    9 100,4060 100,4155 50,4059 50,4160 50,4064 50,4065 50,4067 50,4165 50,4068 50,4166 50,4070 50,4168 50,4071 50
    072 50,4170 50,4073 50,4171 50,4076 50,4174 50,4077 50,4175 50,4118 50,4185 50,4119 50,4186 50,6059 50,6231}

    Those may be internal name (key) references that are lookupable in

    toee3dat\ms\description.mes
     
  2. Mr. Underhill

    Mr. Underhill The Keeper of the Arcane Toiletries

    Joined:
    Sep 25, 2003
    Messages:
    81
    Likes Received:
    0
    Ok, I'll look into this and report back. :)
     
  3. tempest

    tempest Member

    Joined:
    Sep 25, 2003
    Messages:
    4
    Likes Received:
    0
    It's the same format as Arcanum's inventory file, but I haven't been able to make use of customizing it - the game reads the file but doesn't appear to apply the changes.
     
  4. Sol Invictus

    Sol Invictus Beholder Watcher Veteran

    Joined:
    Aug 25, 2003
    Messages:
    325
    Likes Received:
    0
    Maybe you need to start a new game for that.

    It shouldn't be the same with spells though. That probably needs compiling.
     
  5. Nomad_Wanderer

    Nomad_Wanderer Established Member Veteran

    Joined:
    Sep 25, 2003
    Messages:
    305
    Likes Received:
    0
    you are creating the respective directories in side of the data dir?
     
  6. Mr. Underhill

    Mr. Underhill The Keeper of the Arcane Toiletries

    Joined:
    Sep 25, 2003
    Messages:
    81
    Likes Received:
    0
    Yeah I'm having the same problem, I've tried replacing items, adding items, changing the percentage value before the item, loading from a saved game, and starting a new game. But I can't seem to add or replace an item.

    i'm dropping the edited file into .\data\rules
     
    Last edited: Sep 25, 2003
  7. tempest

    tempest Member

    Joined:
    Sep 25, 2003
    Messages:
    4
    Likes Received:
    0
    Tried that, but it doesn't seem to work. I know it's reading the file from data/rules as I tested it with garbage text and that just crashed the game. Tried changing the shopkeeper contents in Hommlet but they stuck with their default items.
     
  8. Nomad_Wanderer

    Nomad_Wanderer Established Member Veteran

    Joined:
    Sep 25, 2003
    Messages:
    305
    Likes Received:
    0
    That's a strange one.. I wonder if some mes's are hardcoded?

    There has to be a nexplanation... Though Im to tired to think about it any more tonight..

    Thanks for looking into this though..
     
  9. Sol Invictus

    Sol Invictus Beholder Watcher Veteran

    Joined:
    Aug 25, 2003
    Messages:
    325
    Likes Received:
    0
    Try putting them into C:\Program Files\Atari\Temple of Elemental Evil\modules\ToEE as well

    I placed the fog fix in C:\Program Files\Atari\Temple of Elemental Evil\modules\ToEE\maps and it worked just fine. I'm wondering why these don't.
     
  10. Mr. Underhill

    Mr. Underhill The Keeper of the Arcane Toiletries

    Joined:
    Sep 25, 2003
    Messages:
    81
    Likes Received:
    0
    Exitium- tried that already.

    This .mes also lists the inventories of NPC's in the game.

    Store Example:
    {7}{Blacksmith's store: buy_list_num,7 75,4214 75,4215 75,4215

    Inv Example:
    {23}{Blacksmith: buy_list_num,7 100,4222 100,6013 100,6011

    this secend example is what is on the blacksmith when you kill him but this too, has no effect when edited.

    I also opened the ToEE.exe in my Hex editor and serched for the acsii string of the file name, and if you read along there seems to be compiling errors concerning this .mes and also InvenSourceBuy.mes which is referenced by InvenSource.mes (the store/inventory .mes)
    I wonder if they are hardcoded, you'd think that there would be a way to overide this though. hmmm.. fishy.. and not in that good way. ;)
     
    Last edited: Sep 25, 2003
  11. Dhoom

    Dhoom BIG Troll Berserker

    Joined:
    Sep 25, 2003
    Messages:
    139
    Likes Received:
    2
    There's also this Python script...

    py00231shopmap_shopkeeper.py

    Only one I could find, but I might have missed one somewhere... looks like it uses a custom Proto script... hmmm... lemme look at the py files for the shopkeepers themselves...

    looking into the dlg for hints, too...

    hmmm... can't find anything.. let me look at more py files.
     
  12. Mr. Underhill

    Mr. Underhill The Keeper of the Arcane Toiletries

    Joined:
    Sep 25, 2003
    Messages:
    81
    Likes Received:
    0
    good call Dhoom, though that script dosn't seem to reveal much, at lest to me, but I'm going to look for any other scripts that may be useful.
     
  13. Aginor37

    Aginor37 Member

    Joined:
    Sep 26, 2003
    Messages:
    37
    Likes Received:
    0
    Could you offer a little more info on what you did to crash it? I can't seem to get it to reaqd the file.
     
  14. tempest

    tempest Member

    Joined:
    Sep 25, 2003
    Messages:
    4
    Likes Received:
    0
    Just clear the contents of InvenSource.mes making it empty. If it's in /data/rules/ the game will crash when it tries to read the file (at least it does in my case). It doesn't read the file at all from within /modules/ToEE/rules.
     
  15. indio

    indio Member Veteran

    Joined:
    Sep 25, 2003
    Messages:
    18
    Likes Received:
    0
    I think the inventory of NPC's are being creted somewhere else. I haven't figured out where yet.
     
Our Host!