Exp Unbug Script
-
- Loyal fan
- Posts: 216
- Joined: Wed Apr 19, 2006 12:19 am
fix it in source1 wrote: I need a EXP Unbug script.
Everytime a player goes over level jump, and I reset his exp back to 0 he is still unable to log in and gets disconnected.
Can any1 help me with this problem
or can create a script to solve this?
Thanks
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
its not a bug, your not supposed to reset player exp to 0. You should reset it to your server's max levels exp initial rate. This'll put something in your hacklog, search the hacklog for that error message, open source and search for that error message, edit it as you see fit.
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
Thanks alot bro, And welcome backHypnotoad wrote: its not a bug, your not supposed to reset player exp to 0. You should reset it to your server's max levels exp initial rate. This'll put something in your hacklog, search the hacklog for that error message, open source and search for that error message, edit it as you see fit.

forgot to say it to ya xD
Hmm you mean this?Hypnotoad wrote: its not a bug, your not supposed to reset player exp to 0. You should reset it to your server's max levels exp initial rate. This'll put something in your hacklog, search the hacklog for that error message, open source and search for that error message, edit it as you see fit.
Code: Select all
f ((m_pClientList[iClientH]->m_iLevel > 2) && (m_pClientList[iClientH]->m_iAdminUserLevel == 0) &&
(m_pClientList[iClientH]->m_iExp < iGetLevelExp(m_pClientList[iClientH]->m_iLevel-1)-3000)) {
wsprintf(G_cTxt, "Data Error: (%s) Player: (%s) CurrentExp: %d --- Minimum Exp: %d", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName, m_pClientList[iClientH]->m_iExp, (iGetLevelExp(m_pClientList[iClientH]->m_iLevel)-1));
PutHackLogFileList(G_cTxt);
DeleteClient(iClientH, TRUE, TRUE);
return;
}
Minimum Exp: %d: to the amount of exp you need before you get bugged?
So in the end It would be like this right?
Code: Select all
f ((m_pClientList[iClientH]->m_iLevel > 2) && (m_pClientList[iClientH]->m_iAdminUserLevel == 0) &&
(m_pClientList[iClientH]->m_iExp < iGetLevelExp(m_pClientList[iClientH]->m_iLevel-1)-3000)) {
wsprintf(G_cTxt, "Data Error: (%s) Player: (%s) CurrentExp: %d --- Minimum Exp: 2134355792", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName, m_pClientList[iClientH]->m_iExp, (iGetLevelExp(m_pClientList[iClientH]->m_iLevel)-1));
PutHackLogFileList(G_cTxt);
DeleteClient(iClientH, TRUE, TRUE);
return;
}
Anyone?1 wrote:Hmm you mean this?Hypnotoad wrote: its not a bug, your not supposed to reset player exp to 0. You should reset it to your server's max levels exp initial rate. This'll put something in your hacklog, search the hacklog for that error message, open source and search for that error message, edit it as you see fit.
And changeCode: Select all
f ((m_pClientList[iClientH]->m_iLevel > 2) && (m_pClientList[iClientH]->m_iAdminUserLevel == 0) && (m_pClientList[iClientH]->m_iExp < iGetLevelExp(m_pClientList[iClientH]->m_iLevel-1)-3000)) { wsprintf(G_cTxt, "Data Error: (%s) Player: (%s) CurrentExp: %d --- Minimum Exp: %d", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName, m_pClientList[iClientH]->m_iExp, (iGetLevelExp(m_pClientList[iClientH]->m_iLevel)-1)); PutHackLogFileList(G_cTxt); DeleteClient(iClientH, TRUE, TRUE); return; }
Minimum Exp: %d: to the amount of exp you need before you get bugged?
So in the end It would be like this right?
Code: Select all
f ((m_pClientList[iClientH]->m_iLevel > 2) && (m_pClientList[iClientH]->m_iAdminUserLevel == 0) && (m_pClientList[iClientH]->m_iExp < iGetLevelExp(m_pClientList[iClientH]->m_iLevel-1)-3000)) { wsprintf(G_cTxt, "Data Error: (%s) Player: (%s) CurrentExp: %d --- Minimum Exp: 2134355792", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName, m_pClientList[iClientH]->m_iExp, (iGetLevelExp(m_pClientList[iClientH]->m_iLevel)-1)); PutHackLogFileList(G_cTxt); DeleteClient(iClientH, TRUE, TRUE); return; }
Did I do it correctly?
just delete this code and u dont have fucking exp error ... but its then easier to hack ...
OR
search
then u find one code ... and add before the
->
now if the player got exp bug then the hg in logging watch if the exp is smaller than 0 then it automaticly put it the *max level minimum exp* and the exp bug problem is gone ...
OR
search
Code: Select all
m_iexp = atoi
Code: Select all
cReadModeA = 0;
Code: Select all
// Over level bug fix by Treax
if(m_pClientList[iClientH]->m_iExp < 0){
m_pClientList[iClientH]->m_iExp = *Max level minimum exp*;
}
lol u also wanna do
cuz with these high lvl server if they bug befor the max lvl tahts means when they log in tehy bug again
i already sent him the fix for it enyways
a difent way than this
Code: Select all
if (m_pClientList[iClientH]->m_iLevel >= Max level){
if(m_pClientList[iClientH]->m_iExp < 0){
m_pClientList[iClientH]->m_iExp = *Max level minimum exp*;
}
cuz with these high lvl server if they bug befor the max lvl tahts means when they log in tehy bug again

i already sent him the fix for it enyways

<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~