-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS You will need the STREETS setup already on your game for this to work the cron that was posted for the streets should update your TURNS each day. You can manually alter your TURNS via your PHPMYADMIN panel under USERS / TURNS Rgerads the Hosp time there is one mention of it in the attack.php and also attacktake.php You will notice on my script the NPCS are set to 666 and 9 this is because on my database 666 and 9 are relevant to user_level 0 which is an NPC so you would need to alter these numbers on your script to correspond to two of your own NPCS that you have ni your game.. -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS Coz too be honest i dont know how to :) so if you could do that. it would be a lot less work for others :) -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS Ok regards your attack.php put it in an editor and name it attack3.php make sure your $hosp rand is set to 0,0 as you will need the NPC to be able to stay in the game also you will need to edit the hospital Query so that its zero $db->query("UPDATE users SET hp=0, hospital=hospital=0 on the part that say what do you want to do with this person just make it so users have to leave them print " [b]What do you want to do with {$odata['username']} now?[/b] <form action='attacktake2.php?ID={$_GET['ID']}' method='post'><input class='textbox' type='submit' value='Leave Them' /></form>"; } Now open attacktake in your editor and rename it attacktake2.php All you need to ammend on here is again setting the hospital time to zero and comment out this line so that the BOT isnt recorded as a challenge //$db->query("INSERT INTO challengesbeaten VALUES($userid, {$r['userid']})"); and thats it -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS at the BOTTOM of PART 5 you will need again to ADD PARTS 2,3,4 once youve done that add this to the final part of the streets.php scriipt } } } $h->endpage(); ?> <head> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <style type="text/css"> body { margin:0; padding:0; } </style> and your Images and also >>> <<< There is an image there its just Transparent -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS streets.php PART 5 ( Joined to PART 4 ) if ($ir[turns] < 1) { print"<center><font size=+1><font color=red>You dont have enough steps to explore the streets jackass, come back at newday"; $h->endpage(); exit; }else{ if($ir['money']> -1) { $chance = rand(1,16); } else if($ir['money'] > 999999) { $change = rand(1,17); } $db->query("update users set turns=turns-1 where userid=$userid",$c); if ($chance == 1) { $expcur=(($ir['exp']+$ir['exp_needed'])/100); $exp=(($expcur)*rand(1,5)); print"<center><font size=3><font color=red>You stop in the local gym and purchase some illegal steroids , you gain some exp! "; $db->query("UPDATE users SET exp=exp+$exp WHERE userid=$userid",$c); } if ($chance == 2) { $q=$db->query("SELECT cb.*,u.*,c.npcid,cy.cityname FROM challengebots cb LEFT JOIN users u ON cb.cb_npcid=u.userid LEFT JOIN challengesbeaten c ON c.npcid=u.userid AND c.userid=$userid LEFT JOIN cities cy ON u.location=cy.cityid"); while($r=$db->fetch_row($q)) { $earn=$r['cb_money']; $v=$r['userid']; //$q=$db->query("SELECT count(*) FROM challengesbeaten WHERE npcid=9"); $times=$db->fetch_single($q); print "{$r['username']}"; if($r['hp'] >= $r['maxhp']/2 and $r['location']==$ir['location'] and !$ir['hospital'] and !$ir['jail'] and !$r['hospital'] and !$r['jail']) { print "<font color=green>Yes</font>"; } else { print "<font color=red>You Stupid Person</font>"; } //print "</td><td>{$r['cityname']}</td><td>$earn</td><td>"; if($r['npcid']) { print "[i]Already[/i]"; } else { print "<center><font size=3><font color=yellow>Gimpy Doesnt look too Happy with you[url='attack3.php?ID=9']Fight Gimpy[/url]"; } print ""; } print ""; } if ($chance == 3) { $earn=$r['cb_money']; $v=$r['userid']; $q=$db->query("SELECT count(*) FROM challengesbeaten WHERE npcid=666"); $times=$db->fetch_single($q); print "{$r['username']}"; if($r['hp'] >= $r['maxhp']/2 and $r['location']==$ir['location'] and !$ir['hospital'] and !$ir['jail'] and !$r['hospital'] and !$r['jail']) { print "<font color=green>Yes</font>"; } else { print "<center><font size=3><font color=red>You stupid Person</font>"; } print ""; if($r['npcid']) { print "[i]Already[/i]"; } else { print "<center><font size=3><font color=red>You woke up the Halloween Bunny Prepare to die. [url='attack3.php?ID=666']Attack the Bunny[/url]"; } print ""; } print ""; } if ($chance == 4) { print"<center><font size=3><font color=yellow> You knock an old lady out quickly and snatch her purse looking inside you find a motion lotion."; $db->query("INSERT INTO inventory VALUES('',1,$userid,1)",$c); } if ($chance == 5) { $gain = rand(1,3); print"<center><font size=3><font color=yellow>You beat the hell out of Illusions you search his house and find [b]$gain</p>[/b] crystals stashed in it!."; $db->query("update users set crystals=crystals+$gain where userid=$userid",$c); } if ($chance == 6) { $gainer = rand(1,2); print"<center><font size=3><font color=yellow>You walk through the streets and are enjoying it so much you decide to go a little farther than you had planned on today . You got [b]$gainer</p>[/b] step(s)!"; $db->query("update users set turns=turns+$gainer where userid=$userid",$c); } if ($chance == 7) { $willcur=(($ir['will']+$ir['maxwill'])/100); $will=(($willcur)*rand(1,5)); print"<center><font size=3><font color=yellow>You walk through the streets , You decide to stop at the local swingers club you walk in to see a massive orgy! You gained $will will! "; $db->query("UPDATE users SET will=will+$will WHERE userid=$userid",$c); } if ($chance == 8) { print"<center><font size=3><font color=yellow>You walk out side the first thing you see is you 75 yr old neighbor in a thong mowing his lawn you go back inside not even wanting to see what the rest of the world has in store today "; } if ($chance == 9) { $jail=(int) rand(1,5); $loseruser = $ir['userid']; $jailreason = 'Busted for Public Nudity .'; $db->query("UPDATE users SET jail=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET jail_reason='$jailreason' WHERE userid=$userid",$c); event_add($ir['userid'],"You got your Naked ass arrested .",$c); die (" <center><font size=3><font color=red>You run naked through a local political demonstration the police chase you down and lock your naked ass up! "); } if ($chance == 10) { print"You walk through town and realize its to fucking hot to be walking around town you go home and play slave traders "; } if ($chance == 11) { print"<center><font size=3><font color=yellow>You walk around the streets and you find a Set of Lock Picks ."; $db->query("INSERT INTO inventory VALUES('',22,$userid,1)",$c); } if ($chance == 12) { $gained=rand(25,80)*$ir[level]; print"<center><font size=3><font color=yellow>You see Razzle passed out drunk you quietly sneak over and steal her bag . You open the bag and you found [b]$gained</p>[/b] dollars inside you run home happy as hell !"; $db->query("update users set money=money+$gained where userid=$userid",$c); } if ($chance == 13) { $hospital=(int) rand(1,9); $loseruser = $ir['userid']; $hospreason = 'You got Knocked the FUCK OUT!'; $db->query("UPDATE users SET hospital=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET hospreason='$hospreason' WHERE userid=$userid",$c); event_add($ir['userid'],"Beat Down by a Clown ",$c); echo"<center><font size=3><font color=yellow>You see a clown staggering down the street thinking hes drunk you decide to rob him, he turns and whacks you over the head with a rubber chicken knocking you out ! "; $h->endpage(); } if ($chance == 14) { $hospital=(int) rand(1,9); $loseruser = $ir['userid']; $hospreason = 'Tit slapped .'; $db->query("UPDATE users SET hospital=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET hospreason='$hospreason' WHERE userid=$userid",$c); event_add($ir['userid'],"Tit slapped ",$c); echo"<center><font size=3><font color=yellow>Your walkin along the street when you see FallenAngel.. you quickly run towards her wanting what is in her left hand..she sees you coming.. she turns around and tit slaps you right across the face..knocking you out cold ! "; $h->endpage(); } if ($chance == 15) { $energycur=(($ir['energy']+$ir['maxenergy'])/50); $energy=(($energycur)*rand(5,5)); print"<center><font size=3><font color=yellow>You walk around the streets and you feel tired. You stop and eat a Hersheys bar and you gain $energy energy! "; $db->query("UPDATE users SET energy=energy+$energy WHERE userid=$userid",$c); } if ($chance == 16) { print"<center><font size=3><font color=yellow>You walk around the hospital and find a Hershey Bar. You put it in your backpack for later."; $db->query("INSERT INTO inventory VALUES('',4,$userid,1)",$c); } if($ir['money'] > 999999) { if ($chance == 17) { $hospital=(int) rand(20,30); $loseruser = $ir['userid']; $hospreason = 'Got fucked up by the get along gang '; $db->query("UPDATE users SET hospital=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET hospreason='$hospreason' WHERE userid=$userid",$c); $db->query("UPDATE users SET money=-10000 WHERE userid=$userid",$c); event_add($ir['userid'],"You got fucked up by the Get Along Gang",$c); die ("<center><font size=3><font color=yellow>walking down the street you feel something following you as you turn to see what it is you are bashed over the head you wake to see a gang of 7 yr olds running off into the night "); $turnsleft = ($ir['turns']-1); -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS streets.php PART 4 ( Joined to PART 3 ) <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: solid #000000 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr></table> <center><font size='4'>You have [b]$turnsleft</p>[/b] steps left</font> </table></td> "; -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS streets.php PART 3 ( Joined to PART 2 ) <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS streets.php PART 2 (Joined to PART 1) print" <p class='heading'>Searching The Sreets</p> <center><font size='4'>You have [b]$turnsleft Left</p>[/b] <span style='color: #00aa00;'></span></p><table style='width: 600px; height: 600px; border-left: solid #000000 1px; border-top: solid #000000 1px; padding: 0px; outline: 0px; margin: 0 auto 0 auto; background: url(emptystreet.png);' cellspacing='0'><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: solid #000000 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td></tr><tr style='padding: 0px; outline: 0px;'><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> <p style='text-align: center; margin: 0 0 0 0;'>[url='streets.php'][img=transparent.gif][/url]</p></td><td style='width: 60px; height: 60px; vertical-align: middle;border-right: dashed #ffffff 1px;border-bottom: dashed #ffffff 1px;padding: 0px; outline: 0px;'> -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS This will be in Several Edits as its quite large you will have to alter an Inventory items and the NPC id to that of your chosing all so you will need to edit the Descriptive text. Call this file streets.php this file is PART 1 (sections will be joined together) <?php include "globals.php"; if($ir['userid']==999) { die("You have been banned from searching the streets!"); } else { if($ir['jail'] > 0) { echo"[b]<font color=red size=+1> Move over Bubba You are in Jail for {$ir['jail']} minute. Until you are out, you can't view this page.</p></td></font></p>[/b] [url='jail.php']Return to Jail[/url]"; $h->endpage(); exit; } if($ir['hospital'] > 0) { echo"[b]<font color=red size=+1> You got fucked up You are in the Hospital for {$ir['hospital']} minute. Until you are out you can't view this page</p></font></p>[/b] [url='hospital.php']Return to Hospital[/url]"; $h->endpage(); exit; } print"<center>[b]You are currently searching the streets."; $turnsleft = ($ir['turns']-1); -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium replied to Uridium's topic in Free Modifications
Re: [uPGRADE] V2 streets.php includes image + ability to fight NPCS Once ive gathered all the scripts together and seeing as we cant EDIT posts anymore i have to make sure its right first time so theres no need for Edits,,, -
mccode-v2 streets.php includes image + ability to fight NPCS
Uridium posted a topic in Free Modifications
Ok before i start this is quite complicated coz ive edited quite a few files for this too work. Files that need editing are streets.php attack.php attacktake.php So what does it do well its like the conventional streets or steps what ever you want to call it expect that you can be attacked by NPC's The layout is a 600x600 image grid with 60x60 selectable segments Basically its an image map ;) heres a screen shot Once ive got all my Edits together i will post the scripts on here in a few. The Layout was tested by myself and Colonel which i am greatful for his support :) -
Re: [both] Easy cPanel Login Youve gotta be joking right ?? Please tell me you are.. The way this game is bug ridden, full of injection loop holes you want us to add a cpanel login for others to mess with. Im aware no one else can see it only user ID 1 but the fact its on here will let everyone know that USER ID 1 may have his Cpanel ready to mess about with. Ever heared of adding to Favourites or even typing the link which is far more safer than what youve given us.
-
Re: free free crystal market for lite this is kinda confusing even though i know it doesnt go into the index.php new members to this site would think it would. /*----------------------------------------------------- -- OLJC co -- INDEX.php -----------------------------------------------------*/
-
Re: [mccode v2] cars_mod staff_cars Get the EDIT button back. what a stupid idea to remove it on a forum that needs the function. so if i edit a script and half way through i notice an error something like a miss ; ive gotta report the whole script or mention about the error too confuse people further,, Quit messing about and bring it back.
-
Re: [V2] cars_mod staff_cars For those that were having problem when trying to EDIT a car it would make all other cars the same Car Type heres a fix.. open up staff_cars wnd goto the EDIT part for the car find $db->query("UPDATE cars_types SET carname='{$_POST['name']}', carDESC='{$_POST['desc']}',carCOST='{$_POST['carCOST']}',carACC='{$_POST['carACC']}',carHAN='{$_POST['carHAN']}',carsPD='{$_POST['carsPD']}',carsHD='{$_POST['carsHD']}',carBUYABLE='{$_POST['carBUYABLE']}'"); and replace with $db->query("UPDATE cars_types SET carname='$name', carDESC='$desc',carCOST='{$_POST['carCOST']}',carACC='{$_POST['carACC']}',carHAN='{$_POST['carHAN']}',carsPD='{$_POST['carsPD']}',carsHD='{$_POST['carsHD']}',carBUYABLE='{$_POST['carBUYABLE']}' WHERE carid={$_POST['id']}"); You can now Edit each car without it overwiting the other ones that didnt need editiing.
-
Re: What am i doing wrong ? Cheers Zero found the problem i thought that the before the </td> would help prevent overlay but all it did do was drop the entire table :) Thanks for your help :)
-
Im trying to make a table for the explore page one that uses table sections side by side with images my problem is it keeps dropping half way down the page. <?php include "globals.php"; $tresder=(int) rand(100,999); if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } print "[b]This is your referal link: http://{$domain}/register.php?REF=$userid <b/></font> Every signup from this link earns you two valuable crystals when they reach level 3! <p align='center'><font face='Broadway' color='#888888' size='7'>[i]<u>Slave Traders Town</u>[/i]</font></p> <p align='center'><font face='Arial' color='#999999' size='2'></font></p>"; ?> <head> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <style type="text/css"> body { margin:0; padding:0; } background-color: #0A0000; font-family:calibri, helvetica, arial, geneva, sans-serif;font-size:14px;color: white; scrollbar-base-color: #005B70; scrollbar-arrow-color: #F3960B; scrollbar-DarkShadow-Color: #000000; } A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: 12; text-decoration: none; color: white} A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: 12; text-decoration: none; color: white} A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: 12; text-decoration: crosshair; color: red} smalltext {font-family: Arial; font-size: 12; color:white} table,tr,td { font-size:12pt; color: white; } img { border:none; } textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12px;color: red; } </style> <table class="one" width="100%" align='top'></tr> <tr> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>Market Place </td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff></td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>Money Makers </td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff></td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>Dark Side </td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff></td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>Statistics </td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff></td></font> <td style="background: url('round21.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>Torture </td></font> </tr> <tr> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>[url='shops.php']Shops [/url] [url='itemmarket.php']Item market [/url] <a href='cmarket.php'>Crystal Market </a> </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff> </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>LINKS 3A </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff> </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>LINKS 5A </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff> </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>LINKS 3A </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff> </td> </font> <td style="background: url('round17a.jpg');text-align:center;border:5px double #000000;"><font color=ffffff>LINKS 5A </td> </font> </tr> <tr> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;">-----</td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;"></td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;">-----</td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;"></td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;">-----</td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;"></td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;">-----</td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;"></td> <td style="background: url('round20.jpg');text-align:center;border:5px double #000000;">-----</td> </tr></table> <? $h->endpage(); ?> Any help would be appreciated as its driving me nuts i want the menus to be at the top of the page. if possible. Image
-
Re: [mccode v2] Battletent Fix All the script that i wrote does is reset the Challenges to zero once you have defeated a bot you can defeat it again once the cron you have installed expires. As regards to your problems you would need to check your battletent.php script for that
-
Re: [update] Updated Mod for MainMenu Thats a good point regards the Explore page it could do with a tidy up.
-
Re: [mccode v1] Random Explore Mod Change if(!$ir['hospital'] && $ir['prison']=="0") to if(!$ir['hospital'] && $ir['prison'] > 0)
-
Always keep a backup copy of any files that are overwritten before you start Not much of a mod more like a cleaner menu Also shows Current Male and Female Members that are Online linked to viewuser call this file mainmenu.php <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $turns=$ir['search_turns']; $mc=$ir['new_mail']; $sql = $db->query('SELECT COUNT(userid) AS num FROM `users` WHERE laston >= UNIX_TIMESTAMP() - 900'); $var = $db->fetch_row($sql); $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ($ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $minexp=(int) ($ir['mine_exp']/$ir['mine_needed']*100); $power=(int) ($ir['power']/$ir['max_power']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; $minex=100-$minexp; $pow=100-$power; $zm=money_formatter($ir['money']); $d=""; $u=$ir['username']; if($ir['donatordays']) { $u = "<font color=red>[url='viewuser.php?u={$ir[']<font color='red'>{$ir['username']}</font>[/url]</font>";$d="[img=donator.gif]"; } $gn=""; print"<table width='169' cellpadding='0' cellspacing='0'> <tr> <td width='169' height='39' background='round21.jpg'><center>[b]Attack Image[/b]</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [url='attackimageuploader.php'][img=attpics/{$ir[][/url] <tr> <td width='169' height='21' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> <tr>"; print "<table width='169' cellpadding='0' cellspacing='0'> <tr> <td width='169' height='39' background='round21.jpg'><center>Player Info</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [b]Name:[/b] $gn{$u} [{$ir['userid']}] $d [b]Money: $zm [b]Jail Rescues:[/b] {$ir['rescues']} [b]Level:[/b] {$ir['level']} [b]Crystals:[/b] {$ir['crystals']} [[url='logout.php']Emergency Logout[/url]]</td></tr> <tr> <td width='169' height='21' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> <tr> <td width='169' height='39' background='round21.jpg'><center>Player Vitals</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [b]Energy:[/b] {$enperc}% [url='crystaltemple.php?spend=refill']<font color='green'>[Refill]</font>[/url] <img src=bar_left.gif height=13><img src=fire.gif width=$enperc height=13><img src=barred.gif width=$enopp height=13><img src=bar_fil_end.gif height=13> [b]Will:[/b] {$wiperc}% <img src=bar_left.gif height=13><img src=fire.gif width=$wiperc height=13><img src=barred.gif width=$wiopp height=13><img src=bar_fil_end.gif height=13> [b]Brave:[/b] {$ir['brave']}/{$ir['maxbrave']} <img src=bar_left_purp.gif height=13><img src=fire.gif width=$brperc height=13><img src=barred.gif width=$bropp height=13><img src=bar_fil_end.gif height=13> [b]EXP:[/b] {$experc}% <img src=bar_left.gif height=13><img src=fire.gif width=$experc height=13><img src=barred.gif width=$exopp height=13><img src=bar_fil_end.gif height=13> [b]Health:[/b] {$hpperc}% <img src=bar_left.gif height=13><img src=fire.gif width=$hpperc height=13><img src=barred.gif width=$hpopp height=13><img src=bar_fil_end.gif height=13> [b]Mine Exp:[/b] {$minexp}% <img src=bar_left.gif height=13><img src=fire.gif width=$minexp height=13><img src=barred.gif width=$minex height=13><img src=bar_fil_end.gif height=13> [b]Power:[/b] {$ir['power']}/{$ir['max_power']} <img src=bar_left.gif height=13><img src=fire.gif width=$power height=13>[img=barred.gif]<img src=bar_fil_end.gif height=13> </td></tr> <tr> <td width='169' height='21' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr>"; print " <tr> <td width='169' height='39' background='round21.jpg'><center>Navigation</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [url='index.php']Home/Chat[/url] [url='inventory.php']Inventory[/url] [url='criminal.php']Crimes of Passion[/url] "; if($ir['search_turns'] > 0) { print " [url='search_map.php']<font color='red'>Scavenge ($turns)[/url] "; } else { print " [url='search_map.php']Scavange[/url] "; } if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } if($mc > 0) { print "[url='mailbox.php']<font color='red'>Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } if($ir['jail'] and !$ir['hospital']) { print "[url='jail.php']Jail ($jc)[/url] [url='gym.php']Jail Gym[/url] [url='hospital.php']Hospital ($hc)[/url] "; } else if (!$ir['hospital']) { print "[url='explore.php']Explore[/url] [url='gym2.php']Gym[/url] [url='criminal.php']Crimes[/url] [url='job.php']Your Job[/url] [url='education.php']Local School[/url] [url='garage.php']Your Slaves[/url] [url='torny.php']<font color='yellow'New!!!!</font>Tournaments[/url] [url='jail.php']Jail ($jc)[/url] [url='hospital.php']Hospital ($hc)[/url] "; } else { print "[url='jail.php']Jail ($jc)[/url] [url='hospital.php']Hospital ($hc)[/url] "; } print "[url='forums.php']Forums[/url] "; if($ir['new_announcements']) { print "[url='announcements.php']<font color='orange'>Announcements ({$ir['new_announcements']})[/url] "; } else { print "[url='announcements.php']Announcements (0)[/url] "; } print " [url='newspaper.php']Newspaper[/url] [url='search.php']Search[/url] [url='http://www.mobslife.net/chat/index.php']<font color='red'>ChatRoom[/url] [url='youtube.php']<font color='red'>YourTube[/url] <font color='yellow'>[NEW] "; if(!$ir['jail'] && $ir['gang']) { print "[url='yourgang.php']Your Gang[/url] "; } print "</td></tr> <tr> <td width='169' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr>"; if($ir['user_level'] > 1) { print " <tr> <td width='169' height='39' background='round21.jpg'><center>Staff Only</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [url='staff.php']Staff Panel[/url] \n"; print " </td></tr><tr> <td width='169' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> "; } if($ir['donatordays']) { print "<tr> <td width='169' height='39' background='round21.jpg'><center>Donators Only</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [url='friendslist.php']Friends List[/url] [url='blacklist.php']Black List[/url]</td></tr> <tr> <td width='169' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr>"; } print "<tr> <td width='169' height='39' background='round21.jpg'><center>User Control Panel</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> [url='preferences.php']Preferences[/url] [url='preport.php']Player Report[/url] [url='helptutorial.php']Help Tutorial[/url] [url='gamerules.php']Game Rules[/url] [url='viewuser.php?u={$ir[']My Profile[/url] [url='usersonline.php']Users Online ({$var['num']})[/url] [url='logout.php']Logout[/url]</tr></td><tr> <td width='169' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> <tr> <td width='169' height='39' background='round21.jpg'><center>Server Time</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center> Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); print"</td></tr><tr> <td width='169' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> "; $dip_m = mysql_query("SELECT userid,username FROM users WHERE gender='Male' AND laston>unix_timestamp()-30*30 ORDER BY laston DESC LIMIT 20"); $dip_f = mysql_query("SELECT userid,username FROM users WHERE gender='Female' AND laston>unix_timestamp()-30*30 ORDER BY laston DESC LIMIT 20"); //Display male & Female //Display males online echo "<table width='169' cellpadding='0' cellspacing='0'> <tr> <td width='169' height='39' background='round21.jpg'><center>[b]Males Online[/b]</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center>"; $c = 0; while($soc = mysql_fetch_assoc($dip_m)) { $c++; echo $c.'- [url="viewuser.php?u='.$soc['userid'].'"]'.$soc['username'].'[/url] '; } echo " <tr> <td width='169' height='21' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> <tr>"; //Split them both //Display females online echo "<table width='169' cellpadding='0' cellspacing='0'> <tr> <td width='169' height='39' background='round21.jpg'><center>[b]Females Online[/b]</td></tr> <tr> <td width='169' background='round17a.jpg' valign='top'><center>"; $c = 0; while($soc = mysql_fetch_assoc($dip_f)) { $c++; echo $c.'- [url="viewuser.php?u='.$soc['userid'].'"]'.$soc['username'].'[/url] '; echo " "; echo ""; } print "<tr> <td width='169' height='21' height='21' background='round20.jpg'><center></td></tr><tr><td> </td></tr> <tr> </table>"; ?> Now use the link below to get the images http://www.slave-traders.net/images.zip Preview NOTE Stat bars are not included in the zip..
-
[mccode v2] View User details from Admin Panel
Uridium replied to Uridium's topic in Free Modifications
Re: [mccode v2] View User details from Admin Panel place that into your smenu.php Place in the Users section for easy finding -
Re: [mccode v2] Battletent Fix if your just Attacking an NPC it should Credit you Automatically just keep an eye on your Money when you win,,
-
Re: [mccode v2] Battletent Fix This will reset all players and bots so you can Attack them again once beaten. This is a cron so you will need to set it for the time period you wat it to Run via your Cronjobs panel Has been tested and Works Fine.. Call this fille botcronattack.php <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("UPDATE challengesbeaten SET userid=0"); $db->query("UPDATE challengesbeaten SET npcid=0"); ?>
-
Re: [mccode v1] Chests Actually this game would be quite good if you had to find the keys yourself instead of having 100 to begin with,,, Those that have the streets or steps.php could find a key or keys in their searches and use them on the boxes. The idea od giving back a key however is a bit silly if its used its disposed of. That way you wouldnt need a cron at all also id make the gains from the box more satisfying like finding an item