Jump to content
MakeWebGames

Recommended Posts

Posted

Re: battle bots problem

i did search. and nothing i found helped me. i even changed battletent.php with this script

 <?php
include("globals.php");
echo '
<h2>Battle Tent</h2>
[b]Welcome to the battle tent! Here you can challenge NPC\'s for money.[/b]
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="table">
<tr>
	<th>Bot Name</th>
	<th>Level</th>
	<th>Times Owned</th>
	<th>Challengable</th>
	<th>Location</th>
	<th>Money Won</th>
	<th>Challenge</th>
</tr>
<tr>';
	$fetch = mysql_query("SELECT * FROM users WHERE user_level=0") or die(mysql_error());
	while($user = mysql_fetch_assoc($fetch))
	{
		$sele = mysql_fetch_assoc(mysql_query("SELECT * FROM challengebots WHERE cb_npcid=".$user['userid'])) or die(mysql_error());
		$city = mysql_fetch_assoc(mysql_query("SELECT * FROM cities WHERE cityid=".$user['location'])) or die(mysql_error());
		$count = mysql_num_rows(mysql_query("SELECT * FROM challengesbeaten WHERE npcid=".$user['userid'])) or die(mysql_error());
		echo '
	<td>[url="viewuser.php?u='.$user['userid'].'"]'.$user['username'].'[/url] ['.$user['userid'].']</td>
	<td>'.$user['level'].'</td>
	<td>'.$count.'</td>
	<td>';
		if($ir['hp'] >= $ir['maxhp']/2 && $ir['hospital'] == 0 && $ir['jail'] == 0 && $ir['location'] == $user['location'] && $user['hospital'] == 0 && $user['jail'] == 0 && $user['hp'] >= $user['maxhp']/2)
		{
			echo '
		<font color="green">Yes</font>';
		}
		else
		{
			echo '
		<font color="red">No</font>';
		}echo '
	</td>
	<td>'.$city['cityname'].'</td>
	<td>'.money_formatter($sele['cb_money']).'</td>
	<td>';
		if($ir['hp'] >= $ir['maxhp']/2 && $ir['hospital'] == 0 && $ir['jail'] == 0 && $ir['location'] == $user['location'] && $user['hospital'] == 0 && $user['jail'] == 0 && $user['hp'] >= $user['maxhp']/2)
		{
			echo '
		[url="attack.php?ID='.$user['userid'].'"]<font color="green">Attack</font>[/url]';
		}
		else
		{
			echo '
		<font color="red">You can\'t at this moment.</font>';
		}echo '
	</td>
<tr>';
	}
	echo '
</tr>
</table>';
$h->endpage();
?> [code] 

and it didn't help. so if a helpful person could give me a hhand that would be great. 
Posted

Re: battle bots problem

then find me the forum posts because i've searched battle tent about 5 times and only found one post about it and it doesn't help me

Posted

Re: battle bots problem

Why would i want to fix your game for you?

if you are searching Battle Tent over and over your a moron mix it up..and honestly your looking for a fix. LEARN HOW TO SEARCH

battle tent fix.

http://criminalexistence.com/ceforums/i ... pic=2880.0

5 seconds to find....if you cant do something like that. How are you supposed to run a game?? Honestly...

 

Yeah I know I sound like a smart azz and sound very mean. I'm just sick of seeing people that will not put forth effort themselfs. If you have been on this site as long as me then you would know what I mean. And yes its a site to help teach you. But its not daycare. And 99% of the problems you have on your game is already on here...So mix up your search cuase its here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...