Guest Null Posted January 14, 2010 Share Posted January 14, 2010 Okay, so ive been real busy lately, and i dont really have time to make this mod. So here it is. Breakable and unbreakable items. Like when u attack someone, if the item is breakable,you could do a rand function that uses like rand($var['var'],100); where the item break chance would be var,var,and the item breaks. I will pay. Thanks :). Quote Link to comment Share on other sites More sharing options...
Redex Posted January 14, 2010 Share Posted January 14, 2010 Might be easier for the programming to decide whether he/she is up to the job if you tell us a price ;). Quote Link to comment Share on other sites More sharing options...
Guest Null Posted January 14, 2010 Share Posted January 14, 2010 $20.00 Quote Link to comment Share on other sites More sharing options...
Redex Posted January 14, 2010 Share Posted January 14, 2010 Thanks. Quote Link to comment Share on other sites More sharing options...
iSOS Posted January 14, 2010 Share Posted January 14, 2010 Trust me $20 is too much to pay. It's simply another row in a table and an if() statement. Someone might 'flame' me for saying it, but I don't want him paying to much for something so simple. =) Quote Link to comment Share on other sites More sharing options...
Dayo Posted January 14, 2010 Share Posted January 14, 2010 Trust me $20 is too much to pay. It's simply another row in a table and an if() statement. Someone might 'flame' me for saying it, but I don't want him paying to much for something so simple. =) agreed,bit somepeople willcharge that for there time spent making a mod, why work for person x for $10 when you can work for person y for $50 Quote Link to comment Share on other sites More sharing options...
Joshua Posted January 14, 2010 Share Posted January 14, 2010 Zedd I told him the same thing in PM's >,< Told him how to make it to :| Quote Link to comment Share on other sites More sharing options...
Uridium Posted January 14, 2010 Share Posted January 14, 2010 Zedd I told him the same thing in PM's >,< Told him how to make it to :| This type of mod has already been done for items that get damaged i made one a few months ago check forums Quote Link to comment Share on other sites More sharing options...
Guest Null Posted January 14, 2010 Share Posted January 14, 2010 Do u have the link illusions? cuz the site search engine pulls up crap results Quote Link to comment Share on other sites More sharing options...
Guest Null Posted January 14, 2010 Share Posted January 14, 2010 Zedd I told him the same thing in PM's >,< Told him how to make it to :| I had it to the point where it was deleting items after they break, but i couldnt end the session so after u click attack again u lose all exp Quote Link to comment Share on other sites More sharing options...
Dayo Posted January 14, 2010 Share Posted January 14, 2010 unset($_SESSION['attacksession']); that should delet the session i think-may be a typo in the session name Quote Link to comment Share on other sites More sharing options...
Guest Null Posted January 14, 2010 Share Posted January 14, 2010 And like when i lose an item, i dont wanna have to use a die statement to get rid of the item. just get rid of it and keep attacking Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted January 14, 2010 Share Posted January 14, 2010 why dont you post what you have got so far and then people can help you from there. :D Quote Link to comment Share on other sites More sharing options...
Guest Null Posted January 14, 2010 Share Posted January 14, 2010 Ok. if($r1['break']){ $rand = rand(100,100); if($_GET['wepid'] == $ir['equip_primary'] && $rand=="100"){ print "Hey, Weapon Broke 1 "; $db->query("UPDATE users SET equip_primary=0 WHERE userid=$userid"); } if($_GET['wepid'] == $ir['equip_primary'] && $rand=="100"){ print "Hey, Weapon Broke 2 "; $db->query("UPDATE users SET equip_primary=0 WHERE userid=$userid"); } if(!$ir['equip_primary'] && !$ir['equip_secondary']){ $db->query("UPDATE users SET hp=0 WHERE userid=$userid"); $db->query("UPDATE hospital SET hosptime=15,hospreason='Lost to '.$odata['username'].' WHERE userid=$userid"); print "You have no more weapons, You lose"; $h->endpage(); exit; } } is what i have, but when they dont have the items, i want the session to end so they dont lose exp. Also the Primary Weapon: should update when its item is not there. Quote Link to comment Share on other sites More sharing options...
Guest Null Posted January 14, 2010 Share Posted January 14, 2010 Okay to ellaborate further, im not sure if im supposed to do this but, if you've heard of exmafia and played it, u'd know what kinda item break im talking about. Quote Link to comment Share on other sites More sharing options...
Uridium Posted January 14, 2010 Share Posted January 14, 2010 Im having a few problems finding the script on here i agree its hard to locate but im sure i called the script. ITEMS GET DAMAGED WHEN ATTACKED I'll keep looking for it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.