
Drop Bug.....
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
hey im useing 2.24b source and im haveing a problem with the drop rate... iv looked threw the source and checked out rare drop all that but nothig in there thats telling it to drop hero items.. its like thers a random drop droping items that i dont want droped.... im useing the 2.24b source by Drajwer.. its that source he posted for the Command promt.. just wondering if someone found that bug in his source. and if they could help me fix it

<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Outpost bitch
- Posts: 559
- Joined: Wed Mar 30, 2005 6:45 am
problem is in some argument related with drops.. this has to be declared.. if not.. it can be some random item number.. and then the hero items drop
<img src='http://helbreath.pri.ee/userbars/hbest-gamemaster2.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/hbsoccer-owner.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/scorpa-rider.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/logout-master.jpg' border='0' alt='user posted image' /> <br>.<br>................................Ego sum Rage, flagellum Dei!<br><br>The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? (bash.org)
I had this problem too. Wierd random drops from wrong creatures (rare weapons, spell books, hero items etc.)
I changed code like this.
And wierd drops are gone. Atleast nobody anymore didnt get wierd rare staff.
I believe problem is that RepDropModifier calculation.
I hope this helps.
P.S. Maybe someone can really fix this. Because now m_iRating dont have effect to secondarydrops
I changed code like this.
Code: Select all
//Removed because wierd random drops
/* dTmp1 = m_pClientList[sAttackerH]->m_iRating*m_cRepDropModifier;
if (dTmp1 > 3000) dTmp1 = 3000;
if (dTmp1 < -3000) dTmp1 = -3000;
dTmp2 = (m_iSecondaryDropRate - (dTmp1));
if (iDice(1,10000) <= dTmp2) { */
if (iDice(1,10000) <= m_iSecondaryDropRate) {
I believe problem is that RepDropModifier calculation.
I hope this helps.
P.S. Maybe someone can really fix this. Because now m_iRating dont have effect to secondarydrops
-
- Outpost bitch
- Posts: 559
- Joined: Wed Mar 30, 2005 6:45 am
repdropmodifiers calculate isn't the problem.. we used it in our source lik it was...09876 wrote: I had this problem too. Wierd random drops from wrong creatures (rare weapons, spell books, hero items etc.)
I changed code like this.And wierd drops are gone. Atleast nobody anymore didnt get wierd rare staff.Code: Select all
//Removed because wierd random drops /* dTmp1 = m_pClientList[sAttackerH]->m_iRating*m_cRepDropModifier; if (dTmp1 > 3000) dTmp1 = 3000; if (dTmp1 < -3000) dTmp1 = -3000; dTmp2 = (m_iSecondaryDropRate - (dTmp1)); if (iDice(1,10000) <= dTmp2) { */ if (iDice(1,10000) <= m_iSecondaryDropRate) {
I believe problem is that RepDropModifier calculation.
I hope this helps.
P.S. Maybe someone can really fix this. Because now m_iRating dont have effect to secondarydrops
I tell you, problem is in some argument.. that isn't declared and it gets random values...
<img src='http://helbreath.pri.ee/userbars/hbest-gamemaster2.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/hbsoccer-owner.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/scorpa-rider.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/logout-master.jpg' border='0' alt='user posted image' /> <br>.<br>................................Ego sum Rage, flagellum Dei!<br><br>The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? (bash.org)
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
im sure its not my Item # Dyno i already whent threw all the Item Drop numbers in the source also checkedout the hero item #'s and made sure they matched up with my cfg.. they did. but thx for suggestion
.
well RageIlluminati if it is with the argument. is it posable to fix it? and how would i fix it if it is posable.
*if i change the rep thing 09876 would it mess up my rep tho?*
like isnt more +rep supos give you better drop kinda.. would your code.. change that?

well RageIlluminati if it is with the argument. is it posable to fix it? and how would i fix it if it is posable.
*if i change the rep thing 09876 would it mess up my rep tho?*
like isnt more +rep supos give you better drop kinda.. would your code.. change that?
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
still looking for salution

<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Outpost bitch
- Posts: 559
- Joined: Wed Mar 30, 2005 6:45 am
ffs you can take this repmodifier code out.. and still your drops are random.. look for that value that defines the item number that will drop... you need to declare this value before.. smthing like value = 0 if you don't reset the value, it gets some random value...marleythe9 wrote: well RageIlluminati if it is with the argument. is it posable to fix it? and how would i fix it if it is posable.
*if i change the rep thing 09876 would it mess up my rep tho?*
like isnt more +rep supos give you better drop kinda.. would your code.. change that?
<img src='http://helbreath.pri.ee/userbars/hbest-gamemaster2.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/hbsoccer-owner.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/scorpa-rider.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/logout-master.jpg' border='0' alt='user posted image' /> <br>.<br>................................Ego sum Rage, flagellum Dei!<br><br>The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? (bash.org)
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
is it this?
is it supos to be this?
or?
Code: Select all
if (iItemID == 0)
return FALSE;
else return TRUE;
}
Code: Select all
if (iItemID == 0)
return FALSE;
return TRUE;
}
Code: Select all
if (iItemID == 0) return FALSE;
return TRUE;
}
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
tryEdit:
as for the random drops, there isn't realy a random drop exept for the gold, so check the item numbers of the hero items that drop and then search for the values in the scorce
Code: Select all
if (iItemID == 0) {
return FALSE;
} else {
return TRUE;
}
as for the random drops, there isn't realy a random drop exept for the gold, so check the item numbers of the hero items that drop and then search for the values in the scorce
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys 
