the Phrozen Forums
  General Mod Making
  Affixes: min/max error

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Affixes: min/max error
FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 10 February 2002 11:16     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
Assertation Failure
Location: D2Common\ITEMS\ItemMods.cpp, line #54
Expression: nMin <= nMax

I just recently replaced all the affixes so I'm fairly sure the problem is related to that. This happens whenever I go to a vendor, or occasionally when a monster dies (presumably because it is trying to drop something it shouldn't) I did get at least one affix to drop from a monster on a ring correctly though. This problem does appear at early levels (where there are few affixes to choose from so I checked all of them) I used an excel calculation to see if I had entered any of the modmax as less than the modmin but none of them have turned up that way. Does anyone have some ideas about what I might have done wrong?

I'm just a newb when it comes to items

[This message has been edited by FoxBat (edited 10 February 2002).]

IP Logged

Brother Laz
Honorary Warlord

Posts: 1134
From: the place where angels watch...
Registered: Dec 2001

posted 10 February 2002 11:20     Click Here to See the Profile for Brother Laz   Click Here to Email Brother Laz        Reply w/Quote   
Well, there appear to be many many affixes that just don't work. Abs-element/time for example.

Or maybe you added some negative affixes and got the order wrong? It's like -1 to -10, not the other way round, so 'max' actually becomes min and the other way round.

------------------
To practice the Arts of Modding is to be Damned.
To master Them is to be Victorious.
-D1 manual

IP Logged

mandzo
Moderator

Posts: 658
From: Bulgaria,Sofia
Registered: Aug 2001

posted 10 February 2002 11:23     Click Here to See the Profile for mandzo   Click Here to Email mandzo        Reply w/Quote   Visit mandzo's Homepage!
well my gues is that if you have added any "-" affixes its them that are causing the crash we had the similar crash with some of our uniques and problem was that in the min colum we had -5 and in max -10 but -10 < -5 and then the game crashes i hope this helps

edit:sorry for repiting your post Brother Laz

------------------
Read or DIE
Muahahahaha

Legends Of The Ancients

[This message has been edited by mandzo (edited 10 February 2002).]

IP Logged

Brother Laz
Honorary Warlord

Posts: 1134
From: the place where angels watch...
Registered: Dec 2001

posted 10 February 2002 11:30     Click Here to See the Profile for Brother Laz   Click Here to Email Brother Laz        Reply w/Quote   
Er, no. I believe they DO work when entered as -5 -10 and won't as -10 -5.

At least, that's what they did for me. I browsed through my collection of mod mpqs and one of them had negative light bonuses that worked like that.

Or maybe you accidentally entered a negative as min, and positive as max. Even though it is that way for that one disabled time affix in the original files, it doesn't work (maybe that's whay they disabled it. ) Or your negative is too big (for most affixes they only go to -10! 'regen' is an exception in that it goes to -32. Entering a negative value that's too big might cause an overflow that induces the above problem.

------------------
To practice the Arts of Modding is to be Damned.
To master Them is to be Victorious.
-D1 manual

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 10 February 2002 11:31     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
I have no negative values and all the modcodes used appear on blizzard affixes or uniques.

IP Logged

Brother Laz
Honorary Warlord

Posts: 1134
From: the place where angels watch...
Registered: Dec 2001

posted 10 February 2002 11:38     Click Here to See the Profile for Brother Laz   Click Here to Email Brother Laz        Reply w/Quote   
Awwwww.

Try going through them one by one, and look at them to see if you did something wrong.

Or maybe you caused an overflow with your positive affixes. Exceeding the limit will wrap them around to a low or negative value, causing a crash if the minimum value does not overflow, or they both overflow in such a way that one of them ends up as positive and the other as negative. I use Jamella's to have a vague idea about what's allowed, even though it's often wrong (it says only up to -10 to regen!). dmg% goes up to 511, stats only to 128, some only to 32.


Edit: even some of Blizzard's own implemented but disabled affixes, don't work.
------------------
To practice the Arts of Modding is to be Damned.
To master Them is to be Victorious.
-D1 manual

[This message has been edited by Brother Laz (edited 10 February 2002).]

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 10 February 2002 12:26     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
Another strange thing, at lvl 35 going through act 5 (lvl 28-38ish monsters) many blues drop and work, though the shops still don't.

Edit: I ran around act 1 and got lots of blue drops OK, and I could even shop at akara. But not at charsi. Odd... maybe it is just one or two affixes that is screwing everything up.

[This message has been edited by FoxBat (edited 10 February 2002).]

IP Logged

Brother Laz
Honorary Warlord

Posts: 1134
From: the place where angels watch...
Registered: Dec 2001

posted 10 February 2002 12:33     Click Here to See the Profile for Brother Laz   Click Here to Email Brother Laz        Reply w/Quote   
Do what I did:

Go through the game, and whenever a blue drops, ID it and write down its affixes. Do this until it crashes. Repeat. If you can click on a vendor, then all the better, you got a bunch of affixes. Then after some time look at your notes and you might see a pattern, eg. none of type xxxxx. Then that one is what causes your trouble.

Set monsters to always drop magicals to speed up the process.

Hope this helps. Good luck, cuz those problems are really annoying...

Edit: start in Act1, fewer affixes there. Get everything sorted out and move on to Act2. Etc.

------------------
To practice the Arts of Modding is to be Damned.
To master Them is to be Victorious.
-D1 manual

[This message has been edited by Brother Laz (edited 10 February 2002).]

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 10 February 2002 16:38     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
Well I did something like brother laz' suggestion, except I made all prefixes unspawnable and then enabled each group one by one, checked the vendors till an error showed up. And I figured out what I did. Some of the affixes had a second mod code, well for them I put the min/max range in the param/min columns instead. Lol what a stupid mistake, sorry to waste everyone's time

Me = newb all over...

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 10 February 2002 19:42     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
Well here's a new interesting error that I haven't seen on the forums:

Location: source\d2game\items\items.cpp, line #726
Expression: wPrefix!=0 || wSuffix !=0

Happens right when killing a monster. It's somewhat uncommon, only seen it twice in an hour. Wierd no? I wonder what wPrefix is. Somehow I'm guessing this has something to do with an interaction of affixes on monster drops rather than an affix by itself. I've been shopping plenty and there are a relatively small number of affixes avaliable in act1, and haven't been seeing this problem in the shops. Just occasionally in monster drops.

[This message has been edited by FoxBat (edited 10 February 2002).]

IP Logged

Ruvanal
Knight

Posts: 59
From:
Registered: Feb 2002

posted 11 February 2002 00:33     Click Here to See the Profile for Ruvanal        Reply w/Quote   
Is it possible that you hav no prefixs OR suffixes available at the resulting alvl for the item being dropped? Check your charms, rings, amulets and jewel affixes at the low levels.

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 11 February 2002 09:36     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
D'oh that's probably it. At the moment I have NO jewel or charm affixes. The jewels seem to drop OK, they are just white. But I haven't seen any charms actually drop. Thanks again Ruvanal, I think we have found some remedy to Jarulf's absence from the D2 community

IP Logged

Syris
Knight

Posts: 86
From:
Registered: Feb 2002

posted 11 February 2002 13:04     Click Here to See the Profile for Syris   Click Here to Email Syris        Reply w/Quote   Visit Syris's Homepage!
Hey when editing the item drop ratio do u want a high number or a low number and if its a low number than would a negative number such as -2 better than 2 to get more chance of that item?

------------------
Mess With The Best Die Like The Rest

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c