• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior AAC] 0.3.4 (beta4) fixed v5

Please help!
warning: Invalid argument supplied for foreach() in c:\xampp\htdocs\shopsystem.php on line 228

warning: Invalid argument supplied for foreach() in c:\xampp\htdocs\shopsystem.php on line 241

warning: Invalid argument supplied for foreach() in c:\xampp\htdocs\shopsystem.php on line 257
 
PHP:
warning: Invalid argument supplied for foreach() in c:\xampp\htdocs\shopsystem.php on line 228

warning: Invalid argument supplied for foreach() in c:\xampp\htdocs\shopsystem.php on line 241

warning: Invalid argument supplied for foreach() in c:\xampp\htdocs\shopsystem.php on line 257

I have same error. And pools still dont work.
 
@up: lol hes right u need to add items to the shop..
do you know how to divide my shop in different categories?
 
How do i add "Character to copy" to the database?
Help Fast now, tierd of not getting any answers.
 
@up NVM, fixed it,
replace the old CurrentPollBox in layout with this:
Lua:
<?PHP
$time = time();
$viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');
foreach($viewpoll as $p) {
$polls .= '<center>'.$p['question'].'</center>';
}
    if(count($p['id']) > 0)
{
     echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/current-poll/currentpollbox.gif);">
      <div id="CurrentPollText">'.$polls.'</div>
      <div class="ThemeboxButton" href="?subtopic=polls&id='.$p[id].'" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);"></div>
		<a href="?subtopic=polls&id='.$p[id].'"><div class="ButtonText" style="background-image:url('.$layout_name.'/images/buttons/_sbutton_votenow.gif);"></div></a>
      </div>
    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    </div>';
}
?>[/lua>

Working perfect for me xD
 
omg, can't edit-.-
Lua:
<?PHP
$time = time();
$viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');
foreach($viewpoll as $p) {
$polls .= '<center>'.$p['question'].'</center>';
}
if(count($p['id']) > 0)
{
echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/current-poll/currentpollbox.gif);">
<div id="CurrentPollText">'.$polls.'</div>
<div class="ThemeboxButton" href="?subtopic=polls&id='.$p[id].'" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);"></div>
<a href="?subtopic=polls&id='.$p[id].'"><div class="ButtonText" style="background-image:url('.$layout_name.'/images/buttons/_sbutton_votenow.gif);"></div></a>
</div>
<div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
</div>';
}
?>
 
when i try use signature generator dont work for me i have configured my db options and dont get noone error but when wil show the signature with char names the image show much short or not show. I use linux with tfs 3.5+.
some idea to my error?
this is the home page link
http://comodato.servegame.com:8080/comodato/index.php?subtopic=signatures
test it for me and give me some help plz
waiting fr the reply
 
You should fix the Name changer. You can replace anyones name and then you get his character.

Wouldn't this work instead?:
Blabla Buy name changer.
You bought Name changer. Now your character have been namelocked and waiting for the Admin to confirm your new name.

Or just check in database if the name already exist :p
 
plz help i got this : Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:229 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(229): PDO->query('SELECT `id`, `n...') #1 C:\xampp\htdocs\install.php(581): OTS_Account->load(1) #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Account.php on line 229
 
Can someone upload it somewhere else? SpeedyShare is not working or atlest not for me. :/
 
Since i have holidays now I have more time so i wanted to update this AAC to v0.5 . So please give suggestions what i should change/implent in this update !!!

@ the errors on DB:
This errors are not because the AAC is broken. I tested it and everything works fine. Remember that this is ONLY for TFS 0.3.4+ .... and NOT for TFS 0.2 . Maybe i will release such a AAC for 0.2 too...

@up:
I didnt test it on sqlite. Just try it..
 
1.Fix this error when u dont add to shop: Remove Red Skull, Changename and Unban.
PHP:
warning: Invalid argument supplied for foreach() in c:xampphtdocsshopsystem.php on line 228

warning: Invalid argument supplied for foreach() in c:xampphtdocsshopsystem.php on line 241

warning: Invalid argument supplied for foreach() in c:xampphtdocsshopsystem.php on line 257

2. Fix menu, when u arent loged at acc, and u clik "Vote Now", menu show all links.

3. Remove spaces in bar.php at first line.
 
Back
Top