[req] Upgrade+3 Wit Out Fail

Submit your code requests, and if you are good at coding come help others with their requests.
Post Reply
EvilHit
Loyal fan
Posts: 356
Joined: Sun Jan 16, 2005 3:20 am

Post by EvilHit »

im lookin for upgrade +3 witout fail code or can some1 help me out on this



thx guys
EvilHit
Loyal fan
Posts: 356
Joined: Sun Jan 16, 2005 3:20 am

Post by EvilHit »

is any1 goin to tell me ?
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

bCheckIsItemUpgradeSuccess

Might want to check that function up.
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
EvilHit
Loyal fan
Posts: 356
Joined: Sun Jan 16, 2005 3:20 am

Post by EvilHit »

ive tryed that i put it on 100% and the item breaks still
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Ah...If you want it not to BREAK then find this in function RequestItemUpgradeHandler
ItemDepleteHandler(iClientH, iItemIndex, FALSE);
The part that's before that...it's the one that handles the failing...
if (iValue >= 1)
Set it to whatever you want...if set to 10 items upgrading less than 10 won't fail.

C ya.

P.D: Should be 4 results in that function.
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
bobby^^
Regular
Posts: 47
Joined: Sun Apr 16, 2006 2:38 pm

Post by bobby^^ »

gj loco,ty very much thts rlly usefull to ppl tht dun want shitty upgrades fail :P
I don't code,I don't hack,I don't play,I don't do a thing..leave me alone now!
Treax2
Loyal fan
Posts: 281
Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:

Post by Treax2 »

hb need more things ... yes that failing sucks that u lose ur item ... but now we have hg source and client source ... so we can add like if u fail the item broke and u got broken item ... then add some new things "crafting, repairing , like u have to got new item and fix it by that or smth llike that"#
Post Reply