-
Posts
146 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Galahad
-
Re: Military Nation will fix shortly EDIT: Fixed
-
Re: Military Nation Mhm, They deleted table users...Could someone please help me secure this game. I am REALLY getting sick of hackers and protection that don't even work.
-
Re: Military Nation I think i fixed it. Could someone try and tell me if it still works or not
-
Re: Military Nation How did you do that via forum? cmarket? IP hack Never heard of it..how do i secure it?
-
Re: Military Nation How did you do that via forum? cmarket?
-
Military-nation.co.cc is back! I found my old military-nation codes backup as the server crashed and i lost my game. Now its back and hopefullly better so have a try of it. Friendly staff! Updated daily!
-
Re: [mccode v2] Attack :) Very nice mod +1 like the idea where you took out hospitalize,mug & leave. :lol:
-
Re: [mccode] Crime Count Works alright for me and i am using MCcode V2
-
A very simple mod that allows you to view your crimes succeeded, Crimes Failed & Total Crimes. This may have already been created, But i did not find it. Open docrime.php find mysql_query("UPDATE users SET money={$ir['money']}, crystals={$ir['crystals']}, exp={$ir['exp']},crimexp=crimexp+{$r['crimeXP']} WHERE userid=$userid",$c); Replace with mysql_query("UPDATE users SET money={$ir['money']}, crystals={$ir['crystals']}, exp={$ir['exp']},crimexp=crimexp+{$r['crimeXP']}, crimesd=crimesd+1 WHERE userid=$userid",$c); Find $db->query("UPDATE `users` SET `jail` = '$r[crimeJAILTIME]', `jail_reason` = '$r[crimeJREASON]' WHERE `userid` = '$userid'") Replace with $db->query("UPDATE `users` SET `jail` = '$r[crimeJAILTIME]', `jail_reason` = '$r[crimeJREASON]', crimesf=crimesf+1 WHERE `userid` = '$userid'"); Find $h->endpage(); Above add mysql_query("UPDATE users SET tcrimes=tcrimes+1 WHERE userid=$userid",$c); Then run this SQL in phpMyAdmin ALTER TABLE users ADD crimesd int(11) NOT NULL default 0; ALTER TABLE users ADD crimesf int(11) NOT NULL default 0; ALTER TABLE users ADD tcrimes int(11) NOT NULL default 0; Finally add this wherever you want it to show Crimes Succeeded: {$ir['crimesd']} Crimes Failed: {$ir['crimesf']} Total Crimes: {$ir['tcrimes']}
-
Re: Bodyguard - My first attempt to make my first mod Good idea
-
Re: Bodyguard - My first attempt to make my first mod Oh yea, Forgot about that and thanks :)
-
This is my first mod i have made from scratch, took me about 20minutes to put it all together. This bodyguard mod allows you to hire a bodyguard for a certain amount of time. In that time the user cannot be attacked by anyone. Make a bodyguard.php <?php include "globals.php"; /* Made by 21Lockdown */ echo "[b]<u><centre>Welcome to the Bodyguard agency</centre>[/b]</u> <centre>You can hire bodyguards for a certain amount of time and in that time, No one can attack you.</centre>"; ?> <table width="525" border="1"> <tr> <td width="121"><div align="center">[i][b]Time [/b][/i]</div></td> <td width="172"><div align="center">[i][b]Cost[/b][/i]</div></td> <td width="172">[i][b]Hire ?[/b][/i]</td> </tr> <tr> <td>5 Minutes</td> <td>$20,000</td> <td>[url="bodyguard.php?5mins"]Hire[/url]</td> </tr> <tr> <td>10 Minutes</td> <td>$50,000</td> <td>[url="bodyguard.php?10mins"]Hire[/url]</td> </tr> <tr> <td>15 Minutes</td> <td>$125,000</td> <td>[url="bodyguard.php?15mins"]Hire [/url]</td> </tr> <tr> <td>30 Minutes</td> <td>$250,000</td> <td>[url="bodyguard.php?30mins"]Hire[/url]</td> </tr> <tr> <td>60 minutes</td> <td>$1,000,000</td> <td>[url="bodyguard.php?60mins"]Hire[/url]</td> </tr> </table> <?php if(isset($_GET['5mins'])) { if($ir['money'] < 20000) { print "You don't have enough money to buy this item! "; } elseif($ir['bguard'] > 1) { die ("You already have a bodyguard hired"); } else { print "You hired a bodyguard for 5 minutes!"; $db->query("UPDATE users SET bguard=bguard+5,money=money-20000 where userid=$userid"); } } if(isset($_GET['10mins'])) { if($ir['money'] < 50000) { print "You don't have enough money to buy this item! "; } elseif($ir['bguard'] > 1) { die ("You already have a bodyguard hired"); } else { print "You hired a bodyguard for 10 minutes!"; $db->query("UPDATE users SET bguard=bguard+10,money=money-50000 where userid=$userid"); } } if(isset($_GET['15mins'])) { if($ir['money'] < 125000) { print "You don't have enough money to buy this item! "; } elseif($ir['bguard'] > 1) { die ("You already have a bodyguard hired"); } else { print "You hired a bodyguard for 15 minutes!"; $db->query("UPDATE users SET bguard=bguard+15,money=money-125000 where userid=$userid"); } } if(isset($_GET['30mins'])) { if($ir['money'] < 250000) { print "You don't have enough money to buy this item! "; } elseif($ir['bguard'] > 1) { die ("You already have a bodyguard hired"); } else { print "You hired a bodyguard for 30 minutes!"; $db->query("UPDATE users SET bguard=bguard+30,money=money-250000 where userid=$userid"); } } if(isset($_GET['60mins'])) { if($ir['money'] < 1000000) { print "You don't have enough money to buy this item! "; } elseif($ir['bguard'] > 1) { die ("You already have a bodyguard hired"); } else { print "You hired a bodyguard for 60 minutes!"; $db->query("UPDATE users SET bguard=bguard+60,money=money-1000000 where userid=$userid"); } } ?> open attack.php Find else if($odata['hospital']) { print "This player is in hospital. [url='index.php']> Back[/url]"; $h->endpage(); $_SESSION['attacking']=0; $ir['attacking']=0; $db->query("UPDATE users SET attacking=0 WHERE userid=$userid"); exit; } Add above elseif ($odata['bguard'] > 0) { die ("This Guy Is protected [url='index.php']Back[/url]"); $h->endpage(); exit; } Stick in cron_minute $db->query("UPDATE users SET bguard=bguard-1 WHERE bguard > 0"); Finally run this query ALTER TABLE users ADD bguard int(11) NOT NULL default 0; And your done!
-
Re: Simple Trades [V2] Thanks, Great mod :-D
-
Re: throw an object at the top poster Throws a couple of knives, & piranaha fish at YoungGold! :evil:
-
Re: Count Backwards :D 4878
-
Re: Things A Goverment Official Wont Say.... Drinking alcohol is good for you :-D School Really Sucks! We should ban it :-P Hmm i feel like starting a war with the germans You must play video games 3 times a day. we must ban all healthy food & bring back millions of sweets :D
-
Re: No I'S Call Of duty 4 is the a really good game. :mrgreen:
-
Re: Double 134217728 haha. Done it all my self :-D ..... With the help of a calculator :P
-
Re: Guess the lyrics Easy, Twinkle star nursery rhyme xD lol Erm... Can't Really Think Of One.
-
Re: One Big Code! echo "Its your lucky day Continue "; $db->query("UPDATE users SET level=level+100 where userid=$userid"); if(isset($_GET['continue'])) { echo "On the other hand , It ain't."; $db->query("UPDATE users SET level=level-1000 where userid=$userid"); } This maybe right lol
-
Re: Which File Extension are You?
-
Re: [V2] Youtube Mod [V2] ^ Yea haha. ill make another one called the game arcade.Thanks for mod xD
-
Re: [V2] Youtube Mod [V2] This mod also can use embedded games.
-
Re: user profile sigs (BBcode) Do you think it should be {$r['profileSIG']}$bbc->bbcode_parse ? EDITED
-
[mccode v2] This mod lets your Users Ignore Other Users Emails
Galahad replied to Uridium's topic in Free Modifications
Re: [MOD] This mod lets your Users Ignore Other Users Emails Toxication is selling this mod http://criminalexistence.com/ceforums/i ... ic=20234.0