Author
|
Topic: mod bugs
|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 30 January 2002 20:16
Having problems with my mod, every once in a while, though more than often enough to be annoying,I'll kill a monster and the game crashes(critical stop sound)and freezes. After hitting esc a few times I get an "unhandled exception" popup, after clicking okay the game closes. Just wondering if anyone could help me on this. Thanks.

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 30 January 2002 21:00
What was the error during the crash? Play the game in a window and tell us the error...and what did you edit before?------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 30 January 2002 21:15
Will have to get back to you on the specific error. PC I play on is not mine, my PC very slow . Files that I edited are: UniqueItems.txt misc.txt ItemTypes.txt Armor.txt automagic.txt charstats.txt cubemain.txt difficultylevels.txt experience.txt itemratio.txt missiles.txt (fairly sure I did not change this one) monitempercent.txt npc.txt skills.txt weapons.txt patchstring.tbl------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls.

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 31 January 2002 00:11
The error says: Assertion Failure Location D2Game\PLAYER\Plreval.cpp,line #195 Expression nlevelDiff>0 perhaps not figure for figure but close enough, hope this helps. Thanks------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls.

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 31 January 2002 00:13
WEll, what did you edit in EACH txt file?------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 31 January 2002 00:44
In: UniqueItems.txt I created a new row and inserted a new unique item. misc:added some stuff in new rows messed around with runes. ItemTypes:added some new class specifics and "wandified" most weapons. Armor :once again added some rows with new armors (did this after the error starting popping up). automagic:added some new groups (via rows[also after the fact]). cubmain-experience: all plugins added afterwords. itemratio:made rares drop more monitempercent:also a plugin npc:also a plugin skills: a bunch of stuff, upped Paladin's max Zeal targets, allowed Assassin to summon shadows in town, removed wait time on Dragon Flight(worked befor error started). weapons:made bastard sword 1 handed and changed its ingame graphic to a longsword. patchstring.tbl:named all my new stuffnote: seems to happen most often when playing as my Assassin. ------------------ 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 31 January 2002).]

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 31 January 2002 02:09
Hell with it, if anyone recognizes this I'd be happy for some feedback, but for now I'm just gonna start clean. Thanks anyway Demon.------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls.

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 31 January 2002 18:28
You might try adding only those changes you came up with yourself, and look for a crash. That way you will find out if it is a problem with clashing plugins or cut-and-paste errors. Even consider adding one file at a time, unless you need multiple files to cover the change (like a monster change).If you get through that without incident, try adding one plug-in at a time, and be prepared to go back in and edit out any change the plug-in does that you already have a different method for (e.g. two recipes in Cubemain with the same ingredients). Play until error or satisfied you have covered your bases. Repeat until you have all your desired changes covered. At some point you should see where the problem creeps in.

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 31 January 2002 19:58
Sounds like some useful advice. Thanks Myhrginoc, I'll keep that in mind.  ------------------ The great secret, is not having bad manners or good manners...but having the same manner for all human souls.

|
Kobu Lord
 
Posts: 105 From: Tokyo Registered: Dec 2001 |
posted 01 February 2002 00:35
It sounds like a problem with experience.txt. Did you use a character made before altering that file?------------------ Bleak Times are here.

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 02 February 2002 11:09
Actually yes that was the problem. But now I've got a different problem. Assertion Failure Location D2win\src\D2comp.ccp,line #3065 Expansion: eType<= pItemTypes Tbl->nSizethis has happened every time (except the first time) since reimplementing my new mod. It always happens when I push the single player button. By glancing at the error it looks like a ItemTypes (possibly size) error, I did add about 4 new lines to ItemTypes.txt. Could use some help. Thanks again to everybody who's helped me problem solve on this one your tips and advice have really helped . note: just learned that it has something to do with the bin file(s). After deleting them, game loaded, but parts of the mod weren't in place (this is in -direct -txt by the way).Upon exit and reload it started again. ------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw [This message has been edited by Dragon Warrior (edited 02 February 2002).]

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 02 February 2002 11:56
@#$%*!!! now there's another one! It reads: Assertion Failure Location: d2win\Src\D2comp.dcc,line #3073 Expansion: nStackIndex < 14getting really miffed about this! Has this happened to anyone else? Any help would be greatly appreciated. Quick responses would be better still, but beggers can't be choosers. Thanks for reading. [This message has been edited by Dragon Warrior (edited 02 February 2002).]

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 02 February 2002 14:08
Again, if you added a lot of changes and get one or more errors, try starting with only one change, test, and see if you can add a change in and test. Repeat until an error occurs, and the last change will be what caused it (usually).

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 02 February 2002 14:16
Okay, sounds like a plan. Thanx.------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw

|
Cobaltian Knight

Posts: 84 From: coatesville,pa,usa Registered: Jan 2002 |
posted 02 February 2002 19:24
Dude I know this is lame to ask in your time of need, But where did you get that pic of vageeta?

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 02 February 2002 19:37
It's okay. I've gotten all the help I'm going to need (I think) on this topic. I'm pretty sure I found it on The Otaku web site, they have a big DBZ section, it's in their animated page.theotaku.com/dragonball/animated ------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw [This message has been edited by Dragon Warrior (edited 02 February 2002).]

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 02 February 2002 20:39
Okay, I've found out that the source of the problem is ItemTypes.Txt. Am working on narrowing it down to specifics. Just posting in hopes that somebody will recognize the problem, and save me some trouble.Note: Can you use caps in your item codes? ex: buckler = buc. (in my mod)Treesung Shield = Dr1 Also if someone knows of a good guide for ItemTypes.txt for 1.09d LOD, please post it here. Thanks  ------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw [This message has been edited by Dragon Warrior (edited 02 February 2002).]

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 02 February 2002 21:28
Okay, here's what happened, created 4 new class specific item types, paladin sword, druid shield, sorceress ring, assassin sword, however I only completed the paladin sword and druid shield, and somewhere in there accidently renamed armor.txt to Armor txt. So I deleted the other two, and when I discovered that armor.txt had the wrong name I renamed it. All the Assertion Failure errors stopped (so far anyway) and now I'm getting an "Unhandled Exception" When it starts loading a character. Will continue with updates if there is something to update on, until then if you can help me out with a guide for ItemTypes, an answere for my other question (last post), or in the event that you know what's wrong, I would be eternally grateful if you posted them here. Thanks ------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw

|
Death67 Serf
Posts: 20 From: San Antonio, Texas Registered: Jan 2002 |
posted 03 February 2002 11:06
quote: Originally posted by Cobaltian: Dude I know this is lame to ask in your time of need, But where did you get that pic of vageeta?
Go here: http://www.theotaku.com/dragonball/animated/vegeta/15_ssj.gif LOL here is a funny one... http://www.theotaku.com/dragonball/animated/vegetablasts5milliontimes.gif [This message has been edited by Death67 (edited 03 February 2002).]

|
Death67 Serf
Posts: 20 From: San Antonio, Texas Registered: Jan 2002 |
posted 03 February 2002 11:11
Ok, back to you Dragon Warrior...

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 03 February 2002 20:11
How did you make your new lines? Add new line, clone from existing line? Or add new line, then type? If the latter, you might have left the last column(s) unfilled.

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 03 February 2002 22:49
I added a new row then copy pasted from a row that was similar to what I wanted, then changed the appropriate cells. However there may have been a column that relates to something I don't completely understand what they do like MaxSock#(1,25,40)or TreasureClass. I don't really think these columns can have a problem if I just left them at 0 though. But I think I fixed that problem, now I'm trying to figure out what the "unhandled exception" is. But just in case I didn't really fix the problem (won't know for sure until the game works), I'm very interested, and thankful for whatever help I can get. Also, just as a quick question, How the heck do you add links to a post? Thanks for your time.------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 04 February 2002 01:39
Problem still coming from ItemTypes.txt. Can't figure out what's wrong. Next step is to completely restart with a new Itemtypes and see if problem persists.------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 04 February 2002 02:38
quote: Originally posted by Dragon Warrior: The error says: Assertion Failure Location D2Game\PLAYER\Plreval.cpp,line #195 Expression nlevelDiff>0 perhaps not figure for figure but close enough, hope this helps. Thanks
Got game to load, no error messages, everything was fine until I killed a quill rat with my pal, at that point the above error appeared again. Deleted my Treasurclass and Monstats txts (quill rats supposed to drop new item)maybe this will help.... Okay killed 4 quill rats, no problems. I guess it's a start. Thanks again to everyone who has helped me on this more than obnoxious problem. ------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw

|
Dragon Warrior Honorary Warlord
   
Posts: 280 From: The Planet Vegeta Registered: Jan 2002 |
posted 05 February 2002 01:13
My mod is Plagued! Just when I was beginning to think I was putting this stupid problem behind me, I'm having more. Okay here goes. I get this problem when trying to trade in Nightmare setting. Assertion Failure Location: D2common\ITEMS\ItemMods.cpp, line #1154 Expression: pSkillInfo && pSkillInfo->fCanBeItemEffectAny answere's or suggestions or general help would be great. It would save me the time it's going to spend trying to figure out what the problem is.  ------------------ "The great secret, is not having bad manners or good manners...but having the same manner for all human souls." - George Bernard Shaw [This message has been edited by Dragon Warrior (edited 05 February 2002).]

|