
ColdK
Members-
Posts
108 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by ColdK
-
Re: [mccode v2] House Images [email protected]
-
Re: [mccode v2] House Images i cant see the house images on estate ??
-
Re: [mccode v2] House Images Thanks For Info Marzy
-
Re: [mccode v2] House Images Dose This Work Now 100% Bug Free ?
-
Re: Why? Get Fire fox its much faster and my viewuser is norma speed check your server load mine is always below 0.49
-
Re: [mccode v2] User Shops [$35.00] 7 Copys Left I Baught One
-
Re: Header ? 1st one error and 2nd one it centerd eveything except the game content if any one fixes this i will give them $20
-
Re: Header ? here is the main center content print <<<OUT <center> [img=title.jpg] <table width=100% border=0 class=table> <tr> <th wdith=50%>[url="donator.php>Donate</a></th>"]<a href=voting.php>Vote[/url]</th> </tr> </table> <center><table width="100%" border="0" cellpadding="0" cellspacing="0"></center> <tr> <td width="25%" valign="top"> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font>[/b]</body></html>"); } } can anyone try to get it to use all the space that is needed and center
-
Re: Header ? see the way its out of pace in the game content ?
-
Hi I Done My Own Header With 2 Menus But Im Troubled With One Thing You See The Way The <hr> is the only all the way to the right how do i do it all to the left aswell ? i want it so its all taken all the space in the middle so it hasnt got that unused space on the laft
-
[mccodes v2] Remove Fedjails from active Members [Small mod]
ColdK replied to Uridium's topic in Free Modifications
Re: [sMALL MOD] Remove Fedjails from active Members Thanks +1 -
Re: Table Help error nyna and ive fixed it now so it dont matter
-
Hi im making my 2nd site for my network and i came across recoding the login page and register and header then i came across this on the login page i added a table and then it just show the blank thin table at the bottom of the text but the text wasnt in it :? print "<table width=99% border=0 class=table> <tr> <th wdith=50%>[url="login.php>Login</a></th>"]<a href=#>Register[/url]</th> </tr> </table> <table width=80%> <tr> <td width=50%> <table width=99% border=2 class=table> <font color='gray'>Login"; print "<form action=authenticate.php method=post name=login onsubmit=\"return saveme();\">Username: <input type=text name=username> Password: <input type=password name=password> Remember me? <input type=\"radio\" value=\"ON\" name=\"save\">Yes <input type=\"radio\" name=\"save\" value=\"OFF\" checked>No <input type=submit value=Submit></form> </table> </td> Thankyou if you can help
-
Re: [mccodes v2] Mail Prank Mod <?php include "globals.php"; if($_POST['user']) { global $ir,$c,$h,$userid; $q=$db->query("SELECT * FROM users WHERE userid={$_POST['user']}"); $them=$db->fetch_row($q); $re=$db->query("UPDATE users SET new_mail={$_POST['newmail']} WHERE userid={$_POST['user']}"); if($ir['money'] > 1000) { echo 'Invalid Command. You do not have enough money to use this. > [url="index.php"]Go Home[/url]'; $h->endpage(); exit; } else { $db->query("UPDATE users SET money=money-1000 WHERE userid={$ir['userid']}"); print "Prank Done"; } else { print " Mailpranking User This user will have a set number of new mail, this will cost you $1000 <form action='mailprank.php' method='post'> User: ".user_dropdown($c,'user',$_GET['userid'])." New Mail: <input type='text' name='newmail' /> <input type='submit' value='Prank Time!' /></form>"; } $h->endpage(); ?> that right
-
Re: [mccodes v2] Mail Prank Mod i would use but
-
Re: [mccodes V2] Bounty Hunter Game thankyou and +2
-
Re: [mccodes V2] Bounty Hunter Game nice mod but where do i change the bounty price i see its at 400 million or somthing !
-
Re: [mccodes v2] Mail Prank Mod looks like you can prank yourself
-
Re: [mccode v2] house level for staff_houses insted of if $ir on the estate bit would it be else ?
-
Re: [mccode v2] house level for staff_houses yes that worked but when you buy a house it dosnt it just says You do not have enough money to buy the .You Baught test .
-
okay this is my first attemt so first open staff_houses.php now find $db->query("INSERT INTO houses VALUES(NULL, '$name', '$price', '$will')"); print "House {$name} added to the game."; stafflog_add("Created House $name"); replace with $db->query("INSERT INTO houses VALUES(NULL, '$name', '$price', '$will', '$level')"); print "House {$name} added to the game."; stafflog_add("Created House $name"); now find print "<h3>Add House</h3><hr /> <form action='staff_houses.php?action=addhouse' method='post'> Name: <input type='text' name='name' /> Price: <input type='text' name='price' /> Max Will: <input type='text' name='will' /> replace with print "<h3>Add House</h3><hr /> <form action='staff_houses.php?action=addhouse' method='post'> Name: <input type='text' name='name' /> Price: <input type='text' name='price' /> Max Will: <input type='text' name='will' /> Level To Buy: <input type='text' name='level' /> //// now onto editing houses find $db->query("UPDATE houses SET hWILL=$will, hPRICE=$price, hNAME='$name' WHERE hID={$_POST['id']}"); $db->query("UPDATE users SET maxwill=$will WHERE maxwill={$old['hWILL']}"); $db->query("UPDATE users SET will=maxwill WHERE will > maxwill"); replace with $db->query("UPDATE houses SET hLEVEL=$level, hWILL=$will, hPRICE=$price, hNAME='$name' WHERE hID={$_POST['id']}"); $db->query("UPDATE users SET maxwill=$will WHERE maxwill={$old['hWILL']}"); $db->query("UPDATE users SET will=maxwill WHERE will > maxwill"); now find Name: <input type='text' name='name' value='{$old['hNAME']}' /> Price: <input type='text' name='price' value='{$old['hPRICE']}' /> Max Will: <input type='text' name='will' value='{$old['hWILL']}' /> replace with Name: <input type='text' name='name' value='{$old['hNAME']}' /> Price: <input type='text' name='price' value='{$old['hPRICE']}' /> Max Will: <input type='text' name='will' value='{$old['hWILL']}' /> Level To Buy: <input type='text' name='level' value='{$old['hLEVEL']}' /> and thats it but im not sure if you have to do delete houses ? comment me and +1 if you like the mod thanks
-
Re: [mccode] Buy A House With Level Requirements ! thanks for your comments and help i will try and do the staff_houses
-
i was thinking of a code so if you arnt blah levle to buy the house required level you cannot buy it i was thing of this code in estate.php if($ir['hLevel'] == $ir['level'] ) { print "You Are Not The Level Required Yet"; } else { $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid"); print "You Baught {$np['hNAME']} ."; } } if that would work i dont know and alter the houses tabe with a new row with hLevel Please comment me and update it if it needs it thanks
-
Re: [mccode] Stalemate for attacks ahh i see now nice mod +1
-
Re: [mccode] Stalemate for attacks i think you have missed things out mate whats the sql for nextstep