
Strats
Members-
Posts
649 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Strats
-
Re: [V2]Donator Packs as Items[V2] The donator pack wont open tho lmao
-
Re: [V2]Donator Packs as Items[V2] Whats Donor IPN are you using Never mind it already makes them in to packs lol I just saw :lol:
-
Re: [mccode v2] Donator's Bank Ahhh Thanks Crazy :-)
-
Re: [V2]Donator Packs as Items[V2] I have purchased a mod that makes donator packs. Would someone be willing to edit my item use and donator pages so that they can be items? I am willing to pay for this service.
-
Re: [mccode v2] Donator's Bank Pop. Bringing an old topic back just to ask about it. I have wanted a donator bank and thought this seemed great. I have installed it and not at all altered it. I get this message when I click on the bank : Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/******/public_html/donatorbank.php on line 82 Which is : global db,$ir,$c,$userid,$h; What should it be? Thank you to anyone who can help.
-
Re: My jailescape I gave your your first proper +1 :P
-
Re: Auto ban mod [V2] I think it's a good idea, but I don't think you should sell it
-
Adding another type of crystals in to a game...
Strats replied to Strats's topic in General Discussion
Re: Adding another type of crystals in to a game... Sorry for the bump. Is there a sql that can be made for the basic settings to add tradingcards to it. I want them to work as crystals do refill energy ect. If I can do that I can see how to change it so It does other things instead.. Hope that makes sense lol -
Re: [mccode v2]My Simple Search Streets I can try lol
-
[mccodes v2] Crafting System Mod - players can craft items! ($65)
Strats replied to acwebs's topic in Paid Modifications
Re: [mccodes v2] Crafting System Mod - players can craft items! ($65) Now the porno has been removed... this is not directed to anyone except for the guy who was advertising porno ; Lol I remember that little twat -
Re: Promo Codes Thats ok honey
-
Re: My jailescape Thanks for that Alabma
-
Re: My jailescape Works perfect, Thanks!
-
[mccodes v2] Crafting System Mod - players can craft items! ($65)
Strats replied to acwebs's topic in Paid Modifications
Re: [mccodes v2] Crafting System Mod - players can craft items! ($65) This is an old mod, This is seen on battle of the valley. But on there's its make drugs. -
Re: [mccode v2]My Simple Search Streets I like it. I'll wait for your next one tho :)
-
Adding another type of crystals in to a game...
Strats replied to Strats's topic in General Discussion
Re: Adding another type of crystals in to a game... I need to add this to staff.php right? So that the tradingcards work like the crystals. Well this is the little code from the basic settings, what do I do to make it work as the crystals? print "</select> Energy Refill Price (crystals): <input type='text' name='ct_refillprice' value='{$set['ct_refillprice']}' /> IQ per crystal: <input type='text' name='ct_iqpercrys' value='{$set['ct_iqpercrys']}' /> Money per crystal: <input type='text' name='ct_moneypercrys' value='{$set['ct_moneypercrys']}' /> -
Adding another type of crystals in to a game...
Strats replied to Strats's topic in General Discussion
Re: Adding another type of crystals in to a game... Lets see If I can do this .... lol :wink: -
Re: [mccode v2]My Simple Search Streets Looks cool. Can you find items on this streets?
-
I have added trading cards to my game as a little extra But I only want people to get them from voting. I am using Cronus's voting for my game. Is there a way to add reward type 7 - trading cards? I have tried but failed. <?php include "globals.php"; $time=time(); $huj=$db->query("SELECT * FROM votes WHERE userid=0"); $ts=$db->fetch_row($huj); if($ts['site'] < $time) { $db->query("DELETE FROM votes WHERE userid>0"); $new=mktime(0,0,0)+86400; $db->query("UPDATE votes SET site=$new WHERE userid=0"); } print " <center>"; if($userid == 1) { print"<a href=voting.php?add=site>Add New Voting Site</a> "; } $width=50; $second=""; if($userid == 1) { $width=70; $second="<th>---</th><th>---</th>"; } print"<table width=$width% border=1> <tr><th>Voting Site</th><th>Reward</th><th>---</th>$second</tr>"; $hk=$db->query("SELECT * FROM votingsites"); while($r=$db->fetch_row($hk)) { $blahhh=$db->query("SELECT * FROM votes WHERE site={$r['id']} && userid=$userid"); if($db->num_rows($blahhh) > 0) { $link="<font color=red>[i]Done![/i]</font>"; } else { $link="<a href=voted.php?ID={$r['id']} target=_blank>[b]<font color=green>Vote</font>[/b]</a>"; } if($r['rewardtype'] == 1) { $reward=money_formatter($r['reward']); } if($r['rewardtype'] == 2 && $r['reward'] > 1) { $reward="{$r['reward']} Crystals"; } if($r['rewardtype'] == 2 && $r['reward'] == 1) { $reward="{$r['reward']} Crystal"; } if($r['rewardtype'] == 3) { $juk=$db->query("SELECT * FROM items WHERE itmid={$r['reward']}"); $item=$db->fetch_row($juk); $reward="{$item['itmname']}"; } if($r['rewardtype'] == 4) { $reward="{$r['reward']} Energy"; } if($r['rewardtype'] == 5) { $reward="{$r['reward']} Brave"; } if($r['rewardtype'] == 6) { $reward="{$r['reward']} Will"; } if($userid == 1) { $sekond="<td><center><a href=voting.php?edit={$r['id']}><font color=blue>Edit</font></a></center></td><td><center><a href=voting.php?del={$r['id']}><font color=red>Del</font></a></center></td>"; } print"<tr><td>{$r['name']}</td><td><center>$reward</center></td><td><center>$link</center></td>$sekond</tr>"; } print"</table></center>"; if($userid == 1 && $_GET['add']) { print" <hr width=75%> "; if($_POST['name'] && $_POST['link'] && $_POST['type'] && $_POST['reward']) { $type = abs((int) $_POST['type']); $reward = abs((int) $_POST['reward']); $info=str_replace(array("'","\n"),array("'"," "),strip_tags($_POST['name'])); $name = mysql_real_escape_string($info); $info=str_replace(array("'","\n"),array("'"," "),strip_tags($_POST['link'])); $link = mysql_real_escape_string($info); if($type == 3) { $juk=$db->query("SELECT * FROM items WHERE itmid=$reward"); if($db->num_rows($juk) == 0) { print"<center>The item you have selected for a reward does not exist. ><a href=voting.php>Back</a>"; die(""); } } $db->query("INSERT INTO votingsites VALUES ('','$name','$link','$type','$reward');"); print"<center>You have successfully added the site: $name ><a href=voting.php>Back</a>"; } else { print"<form action='voting.php?add=site' method='post'> <table width=40% border=1> <tr> <th colspan=2>Add A New Voting Site</th> </tr> <tr> <th>Name:</th> <td><center><input type='text' name='name' value='{$_POST['name']}' /></center></td> </tr> <tr> <th>Voting Link: <font size=1 color=red>Include http://<font></th> <td><center><input type='text' name='link' value='{$_POST['link']}' /></center></td> </tr> <tr> <th>Reward Type:</th> <td><center><select type='dropdown' name='type'> <option value='1'>Money <option value='2'>Crystals <option value='3'>Item <option value='4'>Energy <option value='5'>Brave <option value='6'>Will </select></center></td> </tr> <tr> <th>Reward Amount: <font size=1 color=red>If Item Put ID #</font></th> <td><center><input type='text' name='reward' value='{$_POST['reward']}' /></center></td> </tr> <tr> <th colspan=2><input type='submit' value='Add New Voting Site' /></form></th> </tr> </table>"; } } if($userid == 1 && $_GET['edit']) { $_GET['edit'] = abs((int) $_GET['edit']); $blak=$db->query("SELECT * FROM votingsites WHERE id={$_GET['edit']}"); if($db->num_rows($blak) == 0) { print"<center>This voting site does not exist! >Back</center>"; die(""); } else { $r=$db->fetch_row($blak); } print" <hr width=75%> "; if($_POST['name'] && $_POST['link'] && $_POST['type'] && $_POST['reward']) { $type = abs((int) $_POST['type']); $reward = abs((int) $_POST['reward']); $info=str_replace(array("'","\n"),array("'"," "),strip_tags($_POST['name'])); $name = mysql_real_escape_string($info); $info=str_replace(array("'","\n"),array("'"," "),strip_tags($_POST['link'])); $link = mysql_real_escape_string($info); if($type == 3) { $juk=$db->query("SELECT * FROM items WHERE itmid=$reward"); if($db->num_rows($juk) == 0) { print"<center>The item you have selected for a reward does not exist. ><a href=voting.php>Back</a>"; die(""); } } $db->query("UPDATE votingsites SET name='$name' WHERE id='{$_GET['edit']}'"); $db->query("UPDATE votingsites SET url='$link' WHERE id='{$_GET['edit']}'"); $db->query("UPDATE votingsites SET rewardtype='$type' WHERE id='{$_GET['edit']}'"); $db->query("UPDATE votingsites SET reward='$reward' WHERE id='{$_GET['edit']}'"); print"<center>You have successfully edited the site: $name ><a href=voting.php>Back</a>"; } else { print"<form action='voting.php?edit={$_GET['edit']}' method='post'> <table width=40% border=1> <tr> <th colspan=2>Edit An Existing Voting Site</th> </tr> <tr> <th>Name:</th> <td><center><input type='text' name='name' value='{$r['name']}' /></center></td> </tr> <tr> <th>Voting Link: <font size=1 color=red>Include http://<font></th> <td><center><input type='text' name='link' value='{$r['url']}' /></center></td> </tr> <tr> <th>Reward Type:</th> <td><center><select type='dropdown' name='type'> <option "; if($r['rewardtype'] == 1) { print"selected "; } print"value='1'>Money <option "; if($r['rewardtype'] == 2) { print"selected "; } print"value='2'>Crystals <option "; if($r['rewardtype'] == 3) { print"selected "; } print"value='3'>Item <option "; if($r['rewardtype'] == 4) { print"selected "; } print"value='4'>Energy <option "; if($r['rewardtype'] == 5) { print"selected "; } print"value='5'>Brave <option "; if($r['rewardtype'] == 6) { print"selected "; } print"value='6'>Will </select></center></td> </tr> <tr> <th>Reward Amount: <font size=1 color=red>If Item Put ID #</font></th> <td><center><input type='text' name='reward' value='{$r['reward']}' /></center></td> </tr> <tr> <th colspan=2><input type='submit' value='Edit Voting Site' /></form></th> </tr> </table>"; } } if($userid == 1 && $_GET['del']) { $_GET['del'] = abs((int) $_GET['del']); $blak=$db->query("SELECT * FROM votingsites WHERE id={$_GET['del']}"); if($db->num_rows($blak) == 0) { print"<center>This voting site does not exist! ><a href=voting.php>Back</a></center>"; die(""); } else { $r=$db->fetch_row($blak); } print" <hr width=75%> "; if($_GET['confirm']) { $db->query("DELETE FROM votingsites WHERE id='{$_GET['del']}'"); print"<center>You have successfully deleted the site: {$r['name']} ><a href=voting.php>Back</a>"; } else { print"<form action='voting.php?del={$_GET['del']}&confirm=delete' method='post'> <table width=55% border=1> <tr> <th colspan=2>Are you sure you would like to delete {$r['name']}?</th> </tr> <tr> <th colspan=2><input type='submit' value='Delete Voting Site' /></form></th> </tr> </table>"; } } $h->endpage(); ?> What other page do I need to edit to do this? Will I need another sql? I have put in one to add trading cards to the actual game.
-
Re: Is this bad? Lol Done that. Was just going to close this thread lol
-
I have put a couple of mods in my game and for some reason now the hospital and jail shows this : Hospital () Jail () when it's usually like this : Events (0) Mailbox (0) Hospital (0) Jail (0) Is this bad and can it be fixed?
-
Re: [mccode v2] Gift.php [edited] Great work!
-
Re: [mccode v2] Gift.php [edited] Don't matter i don't want to use it now
-
Re: [mccode v2] Gift.php [edited] Nah it still don't work. This is poorly made. I wont add it to me game.
-
Re: [mccode v2] Gift.php [edited] I thought that too, I did change it but still get this error: Parse error: syntax error, unexpected T_IF in /home/******/public_html/gift.php on line 13 which is : if (auto = 1) then the rest of the code is ... # { # $db->query("UPDATE users SET money"money+750 WHERE userid=$userid", $c); # $db->query("UPDATE users set gift=gift+1 WHERE userid={$ir['userid']}", $c); # print "Today You Was Given $750.00"; # } # if ($auto = 2)