• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. raf

    [GESIOR] Forum post author group

    I was trying to make avatars showing for support team posting on forum, like on official tibia website. I've looked into forums.php code but couldn't find a way to do that. So, do you know how to check if post author is in array of support group id?
  2. raf

    Lua Making an Online Training System use Offline Time?

    Offline training is stored in database, as minutes. So i would just make somehow (to limit queries, so there wont be thousands of them) "cache" storing it in script, then just do just an example local current_off_time = 1000 // you would get that from storage while (true) do...
  3. raf

    Lua Weird errors after reboot

    But in snow and walkback lua files it's passing through i think (not an expert). Anyway fixed it by uploading backuped before global.lua file ;o which was weird, because it had nothing to do with getPlayer function :P. Basiclly nothing to do with this at all - but it worked :p
  4. raf

    [GESIOR] Spliting SQL result into 2 columns.

    Thanks, that helped me alot :) Managed to finish up with this: $test123 = $SQL->prepare(' SELECT * FROM channel_message WHERE player_id>0 AND channel_id=9 ORDER BY count DESC ')...
  5. raf

    [GESIOR] Spliting SQL result into 2 columns.

    Hey there, i've been trying to split SQL result into 2 rows, to save some space on a page. I've seen alot of solutions on stackoverflow, but none of them worked for me (my guess would be something with `mysql_query` function). This is my piece of code, including query and outputing data...
  6. raf

    Znote AAC 1.4 - [TFS 0.2.13+] & [TFS 0.3.6+/0.4]

    Then it's something wrong with the AAC script for sure.
  7. raf

    Znote AAC 1.4 - [TFS 0.2.13+] & [TFS 0.3.6+/0.4]

    is your PP account main currency is set to the same as on website?
  8. raf

    Znote AAC 1.4 - [TFS 0.2.13+] & [TFS 0.3.6+/0.4]

    I've put bounty for issue #205 - To make conversion work from Gesior2012 to newest ZnoteAAC
  9. raf

    Lua Weird errors after reboot

    So i accidentally while being overtired shutdowned my server (whole dedicated server), and after booting it up again, and turning on TFS, i get weird things, it doesn't make sense for me, since nothing was changed. I'm using latest TFS 1.2 Lua Script Error: [MoveEvents Interface]...
  10. raf

    Solved help me with php top frags

    Good that you managed to work it on your own. Just one thing, your database must have look weird :o, table name P ? Btw. the code i gave you was taken from gesior top fraggers php file. It works 100 percent - i'm even using it.
  11. raf

    Gesior error step 3

    No such file or directory -> pot/OTS.php
  12. raf

    Gesior ACC, Guild logos BUG

    Check urls as @Chris mentioned, also it may be privileges issue, if it doesn't work on linux, you would have to set chmod on cache folder recursively.
  13. raf

    Solved help me with php top frags

    Use code tags instead of spoilers. <?PHP $i = 0; foreach($SQL->query('SELECT `killed_by` as `name`, COUNT(`killed_by`) AS `frags` FROM `player_deaths` WHERE `is_player` = 1 GROUP BY `killed_by` ORDER BY COUNT(`killed_by`) DESC LIMIT 0, 25;') as $player) { $i++; $main_content .= '...
  14. raf

    AAC for TFS 1.2

    It may work properly, but using it with database doesn't work. And writing items in array in a file is not convenient ;s I thought about it for a moment, it can't be that hard. Simple features like create account & char, displaying stuff, everything is based on pulling data from database, right ?
  15. raf

    AAC for TFS 1.2

    I'm back to this topic, i'm trying to launch a website for tfs 1.2 and still wondering which AAC to use, tried pandaac and devaac but they wont work. Znote ACC has alot of missing features (shop doesnt work properly). Gesior is old-coded. Is there anything else to try/use ?
  16. raf

    Lua Logging commands

    <?xml version="1.0" encoding="UTF-8"?> <commands> <command cmd="/reload" group="4" acctype="5" log="yes"/> <command cmd="/serverdiag" group="5" acctype="5" log="yes"/> <command cmd="/raid" group="4" acctype="4" log="yes"/> <command cmd="/addskill" group="4" acctype="5"...
  17. raf

    Lua Logging commands

    No, it's not. I would find it out. Thank you tho.
  18. raf

    [Tfs 1.2] Shop system MODAL window

    Which shop does it support, and how is it suppose to get items into your db table, since there's no connection to any of the AAC's ?
  19. raf

    Lua Logging commands

    Hey there, i'm trying to log every command that my staff uses (or atleast choose which ones i want to log). I know there's a commands.xml file (i'm using TFS 1.2), and it does log commands, but when i try to add there a custom command - it does not log them.
  20. raf

    Solved [Gesior2012][database query]

    $id = $player->getID(); $pawandfur = $SQL->prepare(' SELECT `value` FROM `player_storage` WHERE `player_id`=:playerid AND `key`=2500 '); // Bind the query params $pawandfur->bindParam(':playerid'...
Back
Top