-
Posts
2,140 -
Joined
-
Last visited
-
Days Won
148
Content Type
Profiles
Forums
Events
Everything posted by Magictallguy
-
[mccode] Improved Estate Agents for v2.0
Magictallguy replied to Ghetto's topic in Free Modifications
Re: [mccode] Improved Estate Agents for v2.0 Well it won't....This is v2! Look at page 1 near the bottom to find v1! -
Re: [mccode] Supporter Packs Ner ner!!! Oh wait...Neither do I! But I code for about 4!!
-
Re: [mccode] Supporter Packs I know this is annoying to see all over the place but...does anyone have this for v2?
-
Re: [FREE] Bodyguard V2.0 if thats for me i am spelling it right i spelt cronus'es Just to be awkward it would actually be Cronus'
-
[mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2]
Magictallguy replied to stryker's topic in Free Modifications
Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Probably forgot to change mysql_fetch_array() to rows() -
[mccode] Diamond gems, with a Diamondtemple.php for v2.0
Magictallguy replied to MDK666's topic in Free Modifications
Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 And for those who want to add the diamond amount you have on hand to the game then look for this: Open header.php and find: [b]Crystals:[/b] {$ir['crystals']} Then add this: [b]Diamonds:[/b] {$ir['diamonds']} -
Re: FREE Bug Tracker Mod I'm bored so Oxi? You can have another +1!! (I've already given you a +1 but as I said I'm bored!!)
-
Re: [mccode] Close page system Well I have an HTML tester on my Owner Panel if anyone wants it?
-
Free New City Mod For v1 and lite
Magictallguy replied to RecklessCounty's topic in Free Modifications
Re: Free New City Mod For v1 and lite Or what you could try is this... Go into your admin panel (admin.php) and add in this underneath where all the case: whatever whatever; (); stuff is case "delcity": del_city(); break; case "delcitysub": del_city_sub(); break; case 'newcity': new_city(); break; case 'newcitysub': new_city_sub(); break; case 'editcity': edit_city(); break; case 'editcitysub': edit_city_sub(); break; case 'delcity': del_city(); break; case 'delcitysub': del_city_sub(); break; Add in the link wherer you want it [[url='newcity.php?action=newcity']Create New city[/url]] [[url='newcity.php?action=editcity']Edit City[/url]] [<a href='newcity.php?action=delcity'> And go to $h->endpage and paste this above function new_city() { global $ir, $c, $h, $userid; print "<h3>Create New City</h3> This will create a new city. <form action='newcity.php?action=newcitysub' method='post'> City name: <input type='text' name='cityname' /> City desc: <input type='text' name='citydesc' /> City min level <input type='text' name='cityminlevel' /> <input type='submit' value='Create New city' /></form>"; } function new_city_sub() { global $ir, $c, $h, $userid; $_POST['cityminlevel'] = abs((int)$_POST['cityminlevel']); mysql_query("INSERT INTO cities (cityname, citydesc, cityminlevel) VALUES ('{$_POST['cityname']}', '{$_POST['citydesc']}', '{$_POST['cityminlevel']}');", $c); print "[url='admin.php']> Back[/url]"; } function edit_city() { global $ir, $c, $h, $userid, $cityid; print "<h3>Edit City</h3> This will edit a city. <form action='newcity.php?action=editcitysub' method='post'> City City id: <input type='text' name='cityid' /> City Name EXACTLY as it appears: <input type='text' name='cityname' /> City desc: <input type='text' name='citydesc' /> City min level <input type='text' name='cityminlevel' /> <input type='submit' value='Edit city' /></form>"; } function edit_city_sub() { global $ir,$c,$h,$userid; mysql_query("UPDATE cities SET cityid='{$_POST['cityid']}',cityname='{$_POST['cityname']}', citydesc='{$_POST['citydesc']}', cityminlevel='{$_POST['cityminlevel']}' WHERE cityid='{$_POST['cityid']}'",$c); print "City edited..."; } function del_city() { global $ir, $c, $h, $userid, $cityid; print "<h3>Delete City</h3> This will delete a city. <form action='newcity.php?action=delcitysub' method='post'> City id: <input type='text' name='cityid' /> <input type='submit' value='Delete city' /></form>"; } function del_city_sub() { global $ir,$c,$h,$userid; mysql_query("DELETE FROM cities WHERE cityid='{$_POST['cityid']}'",$c); print "City deleted"; } and that's it! Nothing was changed apart from where to shove it! ;P -
Re: SQL Injections You got any defensive ideas about these? I just got hacked!!!
-
Re: [mccode] Owner Panel - Simple How about this <a href='http://.gamename.com/cpanel>cPanel</a><br/ > <a href='http://gamename.com/cpanel/path/to/your/file/manager>File Manager</a> <a href='http://gamename.com/cpanel/path/to/your/phpMyAdmin>phpMyAdmin/Database</a> That seems easier to me!! ;-P
-
Re: [mccode] Black Jack If a code has this in it: <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); Then it is v1 That can also be found in generalpage.php If it has globals.php instead of all that then it is v2!
-
Re: [mccode] View Donators I'M USING KYLE'S CODE HERE - NOTHING CHANGED. 1. Go into your public_html a.k.a www folder in the File Manager. 2. Click on 'Create New File' and call it viewdonators.php, then save it as an HTML Document 3. Click on that file you just created, click edit, and add in this code: <?php /*----------------------------------------------------- kyles donator users -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['credits'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "<center> [b]<font color=red><h1>Donators</h1>[/b] <table width=75% border=1> <tr style='background:black'><th>User</th> <th>Level</th> <th>Money</th> <th>Donator days Left</th> <th><font color=white>Status</th> </tr>"; $q=mysql_query("SELECT * FROM users WHERE donatordays ORDER BY userid ASC", $c); while($r=mysql_fetch_array($q)) { if($r['laston'] >= time()-60*60) { $on="<font color=white>[b]Online[/b]</font>"; } else { $on="<font color=black>[b]Offline[/b]</font>"; } print "<tr> <td>[url='viewuser.php?u={$r[']<font color=red>[b]{$r['username']}[/b]</font>[/url] [{$r['userid']}]</td><td>{$r['level']}</td> <td>\${$r['money']}</td> <td>{$r['donatordays']}</td> <td>$on</td> </tr>"; } print "</table>"; $h->endpage(); ?> 4. Save the page by clicking save...dur. 5. Go to explore.php in your File Manager 6. Find this: [url='halloffame.php']Hall of Fame[/url] 7. Add underneath it [url='viewdonators.php']View Donators[/url] 8. Click save to save the file 9. Go to your game and have a look!! O_O There you go!! Happy now? Haha
-
[mccode] for any version copyright code
Magictallguy replied to KyleCrispy's topic in Free Modifications
Re: [mccode] for any version copyright code All documents, when saved are given a time-stamp. This can only be wrote once, if your $copy copyright has the time you made it, and it matches the time-stamp, there's your proof. There is some kind of program that can look into the time-stamps of a document. Police can do it no problem! ;-) -
mccode-v1 quantify items automatically
Magictallguy replied to seanybob's topic in Free Modifications
Re: [mccode] quantify items automatically Haha +1 for that...Needed to laugh! -
[mccode] [TGM] Delete Gang Option [TGM]
Magictallguy replied to Cronus's topic in Free Modifications
Re: [mccode] [TGM] Delete Gang Option [TGM] Nicely done!! Thanks...+1 -
Re: Fedjail cache Still, it's a good idea!! ;-)
-
Re: Fedjail cache I added that in but then whenever I went to another game link all I got was www.mygamelink.com/fedjail.cache/whatever.php
-
Re: FREE Bug Tracker Mod Thank you +1
-
Re: [FREE] Alarm clock [v1.1 v2 v1] Well, I could always add the alarm clock and set it to go to a po....ahem...nevermind
-
Re: [mccode] jail/hosp shoutbox Disregard last message...I got it working...My browser for some stupid reason doesn't accept the pressing of the ENTER key on the keyboard. When I press enter after typing in the shoutbox, it just refreshes the page O_o...Yet to figure out why!! :-P
-
Re: [mccode] jail/hosp shoutbox Well instead of putting it onto the jail.php I've put it on the index.php, and instead of if($ir['jailtime']>0 || $ir['user_level']==2) {include_once("jailshout.php");} I've put if($ir['user_level']==2 || $ir['user_level']==3 || $ir['user_level']==4 || $ir['user_level']==5 || $ir['user_level']==6 || $ir['user_level']==7) {include_once("shoutbox.php");} (I have called it shoutbox.php and changed the necessary things for it, yet when I post it still doesn't work :'-(
-
[mccode] adding a crime panel in admin panel
Magictallguy replied to seanybob's topic in Free Modifications
Re: [mccode] adding a crime panel in admin panel lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2? in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong :-D i'm using lite. i've had this same install for about 5 months. QUOTE!!! Sorry I just wanted to make a big quote box... I'll stay out of this topic now! *Goes back into the corner and stares at everyone O_O* -
Re: [mccode] Annoucement Mod I have a v1!! Lol Want that?
-
Re: [mccode] Annoucement Mod No you can post annoucements but other users can discuss about it. when you post an annoucement its a option if you want discussions to be enabled. So it's a forum then....lol