Author
|
Topic: (not so)unique problems
|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 29 January 2002 00:50
Tried to add new unique to uniqueitems.txt by adding new field, but for some reason when I insert the txt,tbl, and bin files the game crashes, why?------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls. [This message has been edited by Dragon Warrior (edited 29 January 2002).]

|
Axalon Honorary Warlord
   
Posts: 2243 From: New England, USA Registered: Dec 2001 |
posted 29 January 2002 01:25
Did you add the new unique in the very last row? Also, did you make sure the names and the codes of the unique match up EXACTY with each other in the .txt and the .tbl files?------------------ "To dream a life, or to live a dream ... only through desire shall the sleeper awaken."

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 29 January 2002 11:48
Did it work in -direct -txt mode or did you go straight to packing the MPQ?I find it helpful to load the mod the first time using "-w -direct -txt" and create a game. That way I can see loading crashes and recover readily. That also generates the BINs, so I then pack the MPQ and run once in "-w" mode only. Once that succeeds, I am ready to run full screen. Many typos and common edit problems crash on loading, this actually shortens the debug cycle since I don't have to reboot or wait for Windoze to find itself.

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 29 January 2002 18:36
No it never worked in -direct -txt, but I never did try putting it in the last line either, will try------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls.

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 29 January 2002 19:54
In most files, when you add something entirely new, you should add it to the bottom of the file, NOT in the middle or top somewhere.There are a couple files where it's not a problem, but in setitems, uniqueitems, weapons, armor and misc...I know you'll mess things up if you add rows in the middle. I suspect the same would be the case for itemtypes and gems, too. ------------------ - JEFF "A hero is no braver than anyone else. He is only brave five minutes longer." For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 29 January 2002 20:01
Finally got it working, very glad I can move on to newer things. BIG thanks for all the help.------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls.

|