-
Posts
2,142 -
Joined
-
Last visited
-
Days Won
148
Content Type
Profiles
Forums
Events
Everything posted by Magictallguy
-
Re: New exploit found! That's one way to put your foot in it! xD
-
Re: I need help plz OMG!!! HAHAHAHAHA He actually searched for the word "facilities" . not staff
-
Re: mining From what I can recal from memory.. Find this: $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); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; and change to this: $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); $mpperc=(int) ($ir['power']/$ir['maxpower']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; $mpopp=100-$mpperc; Still in header - find [b]Health:[/b] {$hpperc}% <img src=greenbar.png width=$hpperc height=10><img src=redbar.png width=$hpopp height=10> <hr /> and change to: [b]Health:[/b] {$hpperc}% <img src=greenbar.png width=$hpperc height=10><img src=redbar.png width=$hpopp height=10> [b]Mine Power:[/b] {$mpperc}% <img src=greenbar.png width=$mpperc height=10><img src=redbar.png width=$mpopp height=10> <hr /> and that should do it!
-
Re: MAILS It may not be anything to do with that.. Are you sending mass mails but it's not showing up?
-
Re: crimes with 0 exp Meh xD
-
Mccodes V2 Normal Bank.php NO FEES!
Magictallguy replied to ~Destiny-Gaming~'s topic in Free Modifications
Re: Mccodes V2 Normal Bank.php NO FEES! It annoys me when people can't spell or type properly but meh! xD -
Re: Simple SQL Injection protection This forum is for help...Not accusations (read what I'm saying, I didn't says "false accusations") Please take it to PM, I don't want to see yet another forum thread going to s*** because 2 people can't get along..
-
Re: Simple CSS menu And it's very easy to incorperate into PHP! :)
-
Re: BBCode_Engine You edited? Yea.....
-
Re: [v2]Reset Specific User[v2] I was joking ¬.¬
-
Re: wtf tables are f d up Neither would I if I had 638 posts! (You did when I posted this anyway...)
-
Mccodes V2 Normal Bank.php NO FEES!
Magictallguy replied to ~Destiny-Gaming~'s topic in Free Modifications
Re: Mccodes V2 Normal Bank.php NO FEES! Well said Destiny! xD -
Re: Simple SQL Injection protection *makes buzzer sound* Actually, Nyna isn't "always" right (as she will most likely confirm) - but she does have 30+ years of experience behind her and knows what she is doing :)
-
Re: new login.php MSN: [email protected]
-
Re: [v2]Reset Specific User[v2] O_o wouldn't push Nyna!! xD you mst remember that she is only 23! (lol :P)
-
Re: crimes with 0 exp When creating a crime, set the Crime EXP to 0
-
Re: [mccode] Personal Detals for v2.0 You need to add in the SQL!
-
Re: How Do I Lower Stat Gained In Gym v1 or v2? v1 $gain=rand(1,3)/rand(800,1000)*rand(800,1000)*(($ir['will']+20)/150); v2 $gain+=rand(1,3)/rand(800,1000)*rand(800,1000)*(($ir['will']+20)/150); Change that to a lower number and you'll be lowering the outcome of the stat gain! :)
-
Re: Help using Tables! Try this! <?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."); } if ($ir['donatorpack'] == 0) { print" <table cellpadding=8 width=95% border=1> <th width=25%> <form action=starterkit.php> <input type='submit' value='Claim your free Starter Kit now! (THIS DOES NOT WORK YET!'></form>"; } $eon = mysql_fetch_array($db->query("SELECT * FROM cities WHERE cityid = '{$ir['location']}'")); echo "<hr>{$eon['cityname']} <hr>"; $eon = mysql_fetch_array($db->query("SELECT * FROM cities WHERE cityid = '{$ir['location']}'")); echo "<marquee>Your Currently Exploring {$eon['cityname']}, Theres Going To Be All New Stuff, Coming Soon!</marquee> <hr> <center> <table width=90% cellspacing=1 class='table'> <tr style='background:grey'> <td valign=top> <center><u><font color=#0066FF><h3>Shops and Markets</h3></u> [url='shops.php']Shops[/url] [url='itemmarket.php']Item Market[/url] [url='cmarket.php']Crystal Market[/url] [url='stockmarket.php']Stock Market[/url] [url='evolutionsstore.php']Evolutions Store[/url]</td> <td valign=top> <center> <u> <font color=#0066FF><font-family: verdana><h3>Local City</h3></u> [url='monorail.php']Travel Agency[/url] [url='estate.php']Estate Agent[/url] [url='bank.php']City Bank[/url] [url='stockportfolio.php']Stock Portfolio[/url] [url='ruby_trader.php']Ruby Trader[/url] [url='crystaltemple.php']Crystal Trader[/url] "; if($ir['location'] == 5) { print " [url='cyberbank.php']Cyber Bank[/url] "; } print "</td> <td valign=top> <center><u><font color=#0066FF><h3>Dark Side</h3></u> [url='gangcentral.php']Gangs[/url] [url='gangwars.php']Gang Wars[/url] [url='slotsmachine.php?tresde=$tresder']Slots Machine[/url] [url='roulette.php?tresde=$tresder']Roulette[/url] [url='lucky.php']Lucky Boxes[/url]"; if($ir['location'] == 6) { print " [url='brothel.php']Brothel[/url] "; } if($ir['location'] == 5) { print " [url='slotsmachine3.php']Super Slots[/url] "; } print "</td> </tr> <tr height=100> <td valign=top> <center><u><font color=#0066FF><h3>Statistics Dept</h3></u> [url='userlist.php']User List[/url] [url='stafflist.php']{$set['game_name']} Staff[/url] [url='halloffame.php']Hall of Fame[/url] [url='usersonline.php']Users Online[/url]</td><td valign=top> <center><u><font color=#0066FF><h3>Mysterious</h3></u> [url='polling.php']Polling Booth[/url] [url='bounty.php']Bounty[/url] [url='battletent.php']Battle Tent[/url]</td><td valign=top> <center><u><font color=#0066FF><h3>Jails</h3></u> [url='fedjail.php']Federal Jail[/url] [url='jail.php']City Jail[/url] "; print "</td></tr></table> This is your referal link: http://{$domain}/register.php?REF=$userid Every signup from this link earns you 5 valuable crystals!"; if($ir['user_level'] > 1) { //-- Finding items query $fia=(int) rand(1000000,9999999); $fib=(int) rand(1000000,9999999); if($fia == $fib) { $iq=$db->query("SELECT * FROM items WHERE itmbuyable=1 ORDER BY rand() LIMIT 1",$c); $r=mysql_fetch_array($iq); $item=$r['itmid']; $userid=$ir['userid']; $db->query("INSERT INTO inventory VALUES ('', $item, $userid, 21)",$c); event_add($userid,"You found a {$r['itmname']} While Walking Around the city.",$c); } print " [url='staff.php']| Staff Panel |[/url] \n[b]</tr></th></td></table>[/b]"; } $h->endpage(); ?>
-
Re: Tutorial: v1 - v2 Conversion I wasn't talking about you! xD I have a friend in the UK who now actually runs a 4th site and is a worse scripter than you!
-
Re: [v2]Reset Specific User[v2] Ah fair enough. One of those "had to be there" moments was it?
-
Re: [mccode] Personal Detals for v2.0 To get back on topic!... FOR V1 ------------------------- Preferences addition function detail_change() { global $ir,$c,$userid,$h; print "<h3>Personal Details</h3> <form action='preferences.php?action=detailchange2' method='post'> <select name='personal' type='dropdown'> <option value='ON'>Yes <option value='OFF'>No</select> <input type='submit' value='Change Info' /></form>"; } function do_detail_change() { global $ir,$c,$userid,$h; $_POST['personal']=str_replace(array("<", ">", "\\\'"), array("<", ">", "'"), $_POST['personal']); mysql_query("UPDATE users SET personal='{$_POST['personal']}' WHERE userid=$userid",$c); print "People can now view your personal Details!"; } function pers_change() { global $ir,$c,$userid,$h; print "<h3>Personal Details Change</h3> Please note that you have your personal details set to off/no then people will not be able to view your personal details. <form action='preferences.php?action=eperschange2' method='post'> Name: <input type='text' name='name' /> Last Name: <input type='text' name='last' /> Age: <input type='text' name='age' /> Aim Of The Game: <input type='text' name='aog' /> MSN: <input type='text' name='msn' /> AIM: <input type='text' name='aim' /> AOL: <input type='text' name='aol' /> Yahoo: <input type='text' name='yahoo' /> <input type='submit' value='Change Personal Details' /></form>"; } function ed_pers_change() { global $ir,$c,$userid,$h; mysql_query("UPDATE users SET name='{$_POST['name']}', last='{$_POST['last']}', age='{$_POST['age']}', aog='{$_POST['aog']}', msn='{$_POST['msn']}', aim='{$_POST['aim']}', aol='{$_POST['aol']}', yahoo='{$_POST['yahoo']}' WHERE userid=$userid",$c); print "Personal Details changed!"; } Register.php query change mysql_query("INSERT INTO users (username, login_name, name, last, age, aog, msn, aim, aol, yahoo, personal, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip) VALUES( '{$username}', '{$username}', '{$_POST['name']}', '{$_POST['last']}', '{$_POST['age']}', '{$_POST['aog']}', '{$_POST['msn']}', '{$_POST['aim']}', '{$_POST['aol']}', '{$_POST['yahoo']}', '{$_POST['personal']}' md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, 'Male', unix_timestamp(), '{$_POST['email']}', -1, '$ip')", $c); $i=mysql_insert_id($c); Everything else remains the same!
-
Re: [mccode] Personal Detals for v2.0 I've just spotted the error! xD '{$_POST['personal']} needs to be '{$_POST['personal']}'
-
Re: News Paper Ads no sql CREATE TABLE `npaper` ( `npID` int(11) NOT NULL auto_increment, `npADDER` int(11) NOT NULL default '0', `npTITLE` varchar(255) NOT NULL default '', `npBODY` text NOT NULL, `npTIME` int(11) NOT NULL default '0', PRIMARY KEY (`npID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ; (Just testing the sql tags - seeing if they exist! xD)
-
Re: Edit Item Type Code Solved Nicely done :)