-
Posts
680 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Raven1992
-
problem with battle tent and attack ladder
Raven1992 replied to Raven1992's topic in Modification Support
hum ok unless you can givvve me the link to your tutorial -
problem with battle tent and attack ladder
Raven1992 replied to Raven1992's topic in Modification Support
um think so -
hey guys i got a problem with my battle tent and my attack ladder on battle tent i don't get the reward for killing a bot in there and the attack ladder dosn't show anyone else and they all attacked stuffs as it only me on there um here the code for the battle tent and attack ladder any help would be nice guys battle tent php <?php /** * MCCodes Version 2.0.5b * Copyright (C) 2005-2012 Dabomstew * All rights reserved. * * Redistribution of this code in any form is prohibited, except in * the specific cases set out in the MCCodes Customer License. * * This code license may be used to run one (1) game. * A game is defined as the set of users and other game database data, * so you are permitted to create alternative clients for your game. * * If you did not obtain this code from MCCodes.com, you are in all likelihood * using it illegally. Please contact MCCodes to discuss licensing options * in this case. * * File: battletent.php * Signature: 123e75cf1636fa36e03f6f04f9a2bfc2 * Date: Fri, 20 Apr 12 08:50:30 +0000 */ require_once('globals.php'); echo "<h3>Battle Tent</h3> <b>Welcome to the battle tent! Here you can challenge NPCs for money.</b> <table width=100% cellspacing=1 class='table'> <tr style='background: gray; '> <th>Bot Name</th> <th>Level</th> <th>Times Owned</th> <th>Ready To Be Challenged?</th> <th>Location</th> <th>Money Won</th> <th>Challenge</th> </tr>"; $q = $db->query( "SELECT `cb`.`cb_money`, `c`.`npcid`, `cy`.`cityname`, `u`.`userid`, `username`, `level`, `hp`, `maxhp`, `location`, `hospital`, `jail` FROM `challengebots` AS `cb` LEFT JOIN `users` AS `u` ON `cb`.`cb_npcid` = `u`.`userid` LEFT JOIN `challengesbeaten` AS `c` ON `c`.`npcid` = `u`.`userid` AND `c`.`userid` = $userid LEFT JOIN `cities` AS `cy` ON `u`.`location` = `cy`.`cityid`"); while ($r = $db->fetch_row($q)) { $earn = $r['cb_money']; $v = $r['userid']; $countq = $db->query( "SELECT COUNT(`npcid`) FROM `challengesbeaten` WHERE `npcid` = $v"); $times = $db->fetch_single($countq); $db->free_result($countq); echo "<tr><td>{$r['username']}</td><td>{$r['level']}</td><td>$times</td><td>"; if ($r['hp'] >= $r['maxhp'] / 2 && $r['location'] == $ir['location'] && !$ir['hospital'] && !$ir['jail'] && !$r['hospital'] && !$r['jail']) { echo "<font color=green>Yes</font>"; } else { echo "<font color=red>No</font>"; } echo "</td><td>{$r['cityname']}</td><td>$earn</td><td>"; if ($r['npcid']) { echo "<i>Already</i>"; } else { echo "<a href='attack.php?ID={$r['userid']}'>Challenge</a>"; } echo "</td></tr>"; } $db->free_result($q); echo "</table>"; $h->endpage(); and here the code for attack ladder attackladder.php <?php /****************************************/ /********** Attack Ladder V1.0 **********/ /*********** Created By Seker ***********/ /****************************************/ require_once('globals.php'); $ladder = $db->query("SELECT `userid`,`username`,`datotal` FROM `users` WHERE `datotal`>0 ORDER BY `datotal` DESC,`userid` ASC LIMIT 15"); echo " <h3 align='center'>Attack Ladder</h3> <hr width='50%' align='center'> <table width='30%' align='center' border='2'> <tr style='background:#669933'> <th>Pos</th> <th>User</th> <th>Attacks</th> </tr>"; $p = 0; while ($l = $db->fetch_row($ladder)) { $total = number_format($l['datotal']); $p++; if ($l['userid'] == $userid) { $t = "<b><font color='Red'>"; $et = "</font></b>"; } else { $t = ""; $et = ""; } echo " <tr> <td align='center' width='10%'> $t$p$et </td> <td align='center' width='60%'> $t<a href='viewuser.php?u={$l['userid']}'>{$l['username']} [{$l['userid']}]</a>$et </td> <td align='center' width='30%'> $t{$total}$et </td> </tr>"; } echo " </table> <hr width='50%' align='center'>"; $h->endpage();
-
oh yeah almost forgot it changed big time we got new mods which are working
-
and i 20 not 10 i jus type differntly
-
127.0.0.1 is a localhost
-
why what your ip
-
well at least i told the truth about that
-
nope that one hosted with my dad website UK2
-
wat fucking skill i ain't got no fucking skill
-
still lloks pertty good to use
-
i sorry but people hacking my site and basiclly failed complety when will they learn here is an image of the ip adress that attempted to hack my site and failed basiclly [removed screenshot was here] if you are on this list then i sorry u jus failed i was larghing my head off when they stoped the attack
-
ok i do not own the site but as i cba to make one on my own i decided to use one allready made quite stright forward really you sign up to the gotop100 site which i will provide the link and you can then put your game site on the list and gets votes everyday people do tend to watch these toplist sites so yeah it easy to do i give u the liunk now and i put a pic for it as well http://gamestofansites.gotop100.com/ [ATTACH=CONFIG]521[/ATTACH] hope you enjoy it this pic is an example of what it should look like it got vote links but like i said this pic an example
-
looks good
-
very nice mod works well as well
-
i change it around for you so it a nice expresson
-
it beacuse the reason why it called goth central and enjoy your death is because it a phrase i use when i on darkorbit i use that phrase when i pop an enermy and untill my design layout will be done once he gets round to it so yes and the other mods will be done once i get into my cpannel as i forgot the pass to it so untill then u have to make do i am afraid
-
yes it about time the game has finally worked it is open in alpha mode as I am just adding finishes touches but it is open u jus have to accept it in alpha modes as the last reming items are in fact still in development and there will be more courses and crimes and jobs so you can have fun also i reduce the create the gang to $50,000 max no higher so please sign up to it as i am adding more in link is http://www.gothcentral.net also it under cloudflare protection as well see you on there
-
well england getting worse by the second they played good in the first few matches now they are playing **** however we will not win the euro world cup as we never do
-
well there are people selling them in anyways from paypal to sms but think this over do u want to buy the illigal version and get shut down by a webhosting company or buy the proper version with webhosting supporting your site another thing is what webhost you gonna use don't use a free one buy a premioum one
-
well as i got nothing to do and my new mods are on hold i got board and decided to make a top 100 list online if you want to use it add your site here it was only jus an idea that i would do but got held back anyways enjoy http://gamestofansites.gotop100.com/
-
now we got rooney back i sure we beat italy
-
v2.0.5b is the version i am using and i tryed everything i could do to it still showing the same message
-
what line though i mean i tryed different numbers in the boxes still getting the same message
-
ok i went to my staff pannel and went to create a user and call it the normal way NPC-something or whatever i filled all the boxes out but everytime i click create user this is the message i always get You missed one or more of the required fields. Please go back and try again. i filled every box down to the last detail