• 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!

Search results

  1. raf

    What are the most used features / pages on OT websites?

    Hi, I've decided to create a fast, clean and robust "acc maker" for open tibia servers (yes, yet another one). Please list one or more feature or a page of any OT website (preferably high capacity server examples) and describe briefly - why you picked those features / pages. Example feature or...
  2. raf

    [ZNOTE] Cache

    I've already added shop pulling offers from database instead of config.php array. Now i'm working on adding, deleting and modifying offers. Adding works, offers also shows but only when i add new one. So whenever i go only on a admin_shop.php page, it doesn't show (cache is not caching). This...
  3. raf

    [ZNOTE] query with wildcard LIKE %...%

    I'm trying to get results in znote aac, with operator LIKE %...%, but it doesn't seem to work. $data = mysql_select_single("SELECT * FROM `players` WHERE `name` LIKE '%$playername%' "); I know that ZnoteAAC uses mysqli, but i have no clue how to make it work within mysql_select_single function.
  4. raf

    [ZNOTE] API

    Could someone please point me the way, or just explain, how to use ZnoteAAC API ? I'm trying to get player information in json. But i have no idea how to correctly use that API.
  5. raf

    [CSS] Striped table

    Easy way to dump PHP way of switching background colors for rows in table. That's how we used to do that: <table width="500px"> <thead> <tr bgcolor="'.$config['site']['vdarkborder'].'"> <th>Name</th> <th>Level</th> </tr> </thead> <tbody> <tr bgcolor="'.(is_int($i...
  6. raf

    GESIOR - Webshop (old shop system)

    Hi Otlanders! I've got a poll with a question for you! Would you like to see and get for free webshop for Gesior, that is similar to the offciail tibia webshop? It would look like this (its WIP). Currently, tabs are working also as search box :) It's working with AJAX, so the page doesn't...
  7. 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?
  8. 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...
  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

    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.
  11. raf

    [Gesior2012] Redeem a coupon system

    This is remake of [Znote AAC] Redeem a coupon system by @Cornex Works with Gesior2012, style it however you want. MySQL query: SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET...
  12. raf

    Gesior jQuery

    Does anyone else know how to implement jQuery to work in gesior2012 ? Whenever i'm trying to use default way to use jQuery - it doesn't work, same for noconflict.
  13. raf

    Gesior: Player decide what to show on characters.php

    Hey Otland fellows, i wan't to add a feature to my AAC, basicly i want players to choose (in accountmanagement.php) what they want to show to ppl: Equipment, skills, hp/mana/xp to next level and stuff like this. I know how to do everything except part with each player being able to set it to...
  14. raf

    Counting msges on channels

    How can i count messages sent on channels like help channel ? Does it require modifying core files or just LUA scripting ? Anyone got any ideas or thoughts - please post it here!
  15. raf

    Solved "attempt to compare number with boolean"

    I know what this thread title means :p but i just can't see in script what's wrong. function Player:getLoyaltyDescription(thing) local check = db.storeQuery("SELECT `total_premium_points` FROM `accounts` WHERE `id` = " .. db.escapeString(thing:getGuid())) local loyaltyTitle = ""...
  16. raf

    Gesior2012 Looking for few scripts

    Hey guys. I've been trying to add few cool things to my AAC website based on Gesior2012. My TFS is 1.0 but will be upgrading to 1.2 so any of those two versions will suit my purpose. I've been also wondering if someone maybe has scripts (php+lua) like: Powergamers Onlinetime "Top outfiters"...
  17. raf

    Gesior: get char name by id

    How can i get character name by id ? i have query to get latest news posts from forum: $query = $SQL->query("SELECT `z_forum`.`icon_id`,`z_forum`.`post_topic`, `z_forum`.`author_guid`, `z_forum`.`post_date`, `z_forum`.`post_text`, `z_forum`.`id`, `z_forum`.`replies`, `players`.`name` FROM...
  18. raf

    Change protocol

    How can i change protocl to 10.79 in OTClient ?
  19. raf

    AAC for TFS 1.2

    Guys, important question: Which AAC is best fitting one for TFS 1.2, most compatible, with some community additions (scripts/layouts/help). I wanted to use Panda but they say that it's not yet stable for 1.2. Please suggest your types.
  20. raf

    Linux TFS Moving 1.0 to 1.2

    Hi fellows, this time had to come sooner or later, i have to upgrade my OT from tfs 1.0 to 1.2. When i tried to simply copy my datapack to tfs 1.2 OT, it just printed thousands or errors. Is there any tutorial ? Maybe you could simply write it quickly how to convert completely OT to 1.2 from...
Back
Top