Results 1 to 6 of 6

Adding a research item

  1. #1
    Member TheSilentOne's Avatar
    Join Date
    Mar 2003
    Location
    Socorro, New Mexico

    Adding a research item

    Ive recently been playing around with the hiigaran research file, trying to get it to accept a new item. Unfortunately, any additions cause the game to crash. I could understand that if it was just up against the limit for items(and there are a lot...), but I tried removing another one, and it still crashed. I then went on to trying to add the new tech in by replacing another tech with the exact same number of lines. Still, the game crashed.

    This leads me to believe that there is some file, somewhere, that tells the game where to find specific items.

    Unfortunately, I can't find it.

    Anyone have an idea as to where to look?

  2. #2
    Thought
    Guest
    Try adding -luatrace to the command line parameters, and checking Hw2.log after it crashes.

  3. #3
    Sandalpocalypse
    Guest
    Post the changes you've made.

    Most likely you lost a { or } somewhere and it's not closing properly.

  4. #4
    Member TheSilentOne's Avatar
    Join Date
    Mar 2003
    Location
    Socorro, New Mexico
    Unfortunately, it's not saying anything new....

    LUA 'data:scripts\Building and Research\Hiigaran\research.lua' -- parameter: `}' expected (to close `{' at line 1627);
    last token read: `UpgradeType' at line 1636 in string ""
    Error: loading research file (data:scripts\Building and Research\Hiigaran\research.lua) -- FATAL EXIT -- researchmanager/70:! --stack trace-- 0x00489A19: GSLobbySessionDesc::operator= () 0x00574F7A: getLibraryID () 0x00575E20: getLibraryID () 0x005953F5: getLibraryID () 0x00596A4C: getLibraryID () 0x004948BF: GSLobbySessionDesc::operator= () 0x0049034A: GSLobbySessionDesc::operator= () 0x0049090B: GSLobbySessionDesc::operator= ()


    I don't know what the rest means, but the first part seems to indicate that the file was expecting the next part of the file to start where the section I added started...

  5. #5
    Agent Jones
    Guest
    Definately looks like you're missing a closed bracket .. go check those out..

  6. #6
    Member TheSilentOne's Avatar
    Join Date
    Mar 2003
    Location
    Socorro, New Mexico
    Well, I got it to work somehow. I guess I'm entering something in wrong, because it worked when I edited one of the entries already there. When I tried to add the old entry back in manually, it crashed again. Then I took it from the original file, and it worked. Wierd.

    I checked the brackets, they were there.... It must have been a formatting error somewhere.

    Hmmm-a comma was missing. I could have sworn I put that there....
    Oh well.

    Yep, taking it back out caused an identical error.
    Last edited by TheSilentOne; 28th Sep 03 at 8:26 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •