hamster01
Members-
Posts
1,108 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by hamster01
-
Re: The perfect formula. How? ((will/3000)/iq)*(level/5) ??
-
Hi. This will be the millionth time i edited the crimes :( I'm trying to get a formula that will give minimum amount of exp and money. It must be hard as well. I have thought of a few, but these are my best: will/3208800*level/5 thats my hardest crime. my lowest crime: will/10+level/1 Please tell me if there is a bug in it? Or any better?
-
Re: mysql problem Yes. Try replacing the v2 function called: items_dropdown, or something with the v1's.
-
Re: Guess the next poster Hmmm.. Nope.. DeathLord (eh, im death :()
-
Re: THIS OR THAT? fish :| Bike or Car?
-
Re: What country would you live in... I hate south-africa.. when i'm out of school i want to go explore the world.. Im i could move right now ill go live in new zealand
-
Re: [Free v1 & v2] Advanced Gang Logs That should work
-
Re: [Free v1 & v2] Advanced Gang Logs <?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']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if(!isset($ir['user_level'] >= 2)) { die("Staff only!"); } print "<h3>Gang Logs</h3> You can view a complete record of this gang. "; if (!$_GET['action']){ <form action='ganglogs.php?action=ganglog' method='post'>"; $q = mysql_query("SELECT * FROM `gangs` ORDER BY `gangNAME` ASC"); print "Gang: <select name=gangID>"; while($a = mysql_fetch_array($q)){ print "<option value={$a['gangID']}>{$a['gangNAME']}</option>"; } print "</select> <input type='submit' value='View Record' /></form>"; } if ($_GET['action']=="viewlog"){ $q=mysql_query("SELECT * FROM gangs WHERE gangID='{$_POST['gangID']}'",$c); while($r=mysql_fetch_array($q)) { print "<table width=100%> <tr style='background:gray'><th>Gang Record</th></tr> <tr> <td> [b]Gang Name: [/b]{$r['gangNAME']} [b]Gang Tag:[/b] {$r['gangPREF']} [b]Gang Leader: [/b]{$r['gangPRESIDENT']} [b]Gang Co-Leader: [/b]{$r['gangVICEPRES']} [b]Gang Money: [/b]\${$r['gangMONEY']} [b]Gang Crystals: [/b]{$r['gangCRYSTALS']} [b]Gang Respect: [/b]{$r['gangRESPECT']} [b]Gang Capacity: [/b]{$r['gangCAPACITY']} [b]Gang Crime:[/b] {$r['gangCRIME']} [b]Gang Crime Hours: [/b]{$r['gangCHOURS']} </td></tr></table>"; } print "<table width=100%><tr><td bgcolor=gray colspan=3><center>[b]Gang Wars</center>[/b]</td></tr>"; $q=mysql_query("SELECT w.*,g1.gangNAME as declarer, g1.gangRESPECT as drespect, g2.gangNAME as defender, g2.gangRESPECT as frespect FROM gangwars w LEFT JOIN gangs g1 ON w.warDECLARER=g1.gangID LEFT JOIN gangs g2 ON w.warDECLARED=g2.gangID WHERE w.warDECLARER={$_POST['gangID']} OR w.warDECLARED={$_POST['gangID']}",$c); while($r=mysql_fetch_array($q)) { print "<tr> <td width=45%>[url='gangs.php?action=view&ID={$r[']{$r['declarer']}</font>[/url] [{$r['drespect']} respect]</a></td> <td width=10%>vs.</td> <td width=45%>[url='gangs.php?action=view&ID={$r[']{$r['defender']}</font>[/url] [{$r['frespect']} respect]</a></td> </tr>"; } print "</table>"; $e=mysql_query("SELECT * FROM gangevents WHERE gevGANG={$_POST['gangID']} ORDER BY gevTIME DESC LIMIT 1000",$c); print "<table width=100%><td bgcolor=gray valign=center>[b]Time[/b]</td><td bgcolor=gray valign=center>[b]Latest 1000 Events[/b]</td></tr>"; while($r=mysql_fetch_array($e)) { print "<tr><td>".date('F j Y, g:i:s a',$r['gevTIME'])."</td><td> {$r['gevTEXT']}</td></tr>"; } print " </table>"; } ?>
-
Re: Guess the next poster Nope.. :roll: *mousy* to be next... :-)
-
Re: TwIsTeD WiShEs ! No Wish :S I wish people would stop hacking :(
-
Re: THIS OR THAT? Intel.. Linux or Windows
-
Re: Counting (nr game) 1167
-
Re: [Free v1 & v2] Advanced Gang Logs MCcodes version 1 does have gang logs :|
-
Re: [mccode] Mods 4 Sale As i said: My modifications aren't cheap, neither expensive. I work purely on the value Wink And you gain adult hood at 21 not 18 ;)
-
Re: [mccode] Mods 4 Sale Okay.. Im not an adult and i can buy those mods :| Then again I am responsible.. My modifications aren't cheap, neither expensive. I work purely on the value ;)
-
Re: The evil dot of doom I do :D
-
Re: [mccode] Mods 4 Sale Okay.. Its not the + / - that i care about, if someone is having a bad day they give you -! Fedjail reports easy enough to make, but good job. 10 USD for that mailbox layout :lol:... BCC engine for 5USD :|, good. Shortcuts, easy enough.. maybe 6,8USD though :| Installation fees, geese. I hope you know allot of different types of servers ;) Other than that, good mods ;)
-
Re: Guess the next poster Hmmm.. Nope.. Mouse??
-
Re: Fav command Thats why there is "direction"! for example, if you have alot of text. <marquee direct='up' behavior='scroll'> This is actually a very long text, but as you can see im typing just to make it long spo yea..</marquee> [quote="Decepti0n"] Using it at all is un-pro :\ [/quote] True rather use flash.
-
Re: Proof Girls are Evil lol...
-
Re: Guess the next poster *shakes head* mousy.. ;)
-
Re: Guess the next poster I sceme tittle
-
Re: V2 Mccode Background Change (Middle) No its not that. I know where it is, just dont have v2 right now to show you :( Wish i had v2(No I dont XD)
-
V1.1/V1 Does anyone no where the bugs are ?
hamster01 replied to SoulOfDeath's topic in General Discussion
Re: V1.1/V1 Does anyone no where the bugs are ? OK :) -
Re: Good Hosts? I would suggest mambug's hosting, as he has the most exp. As they say: keep your friends close, but your enemies closer :lol: