• 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. X

    subdomain??

    read about mod_rewrite and use .htaccess for example and it will work. You don't need any special rights to do it. It's very simple.
  2. X

    Sort function in php??

    sort() won't work you should write your own sorter looking at attribute you want to sort by. Look also at function multisort() but better is usort() and remmeber that you are sorting array of objects. I found solution in net but not for simplexml ?php // DOM creation (working) $doc = new...
  3. X

    Need Bonus System Addon Help!

    is there working version for tfs 0.4?
  4. X

    CreatureEvent Addon "Bonus System"

    Will it be updated to 0.4 soon?
  5. X

    gesior for tfs 0.3.6 date timezone bug

    write in index.php or config.php line below onto header of file date_default_timezone_set('Europe/Warsaw'); if it won't work write error_reporting(E_ALL & ~ E_NOTICE & ~E_WARNING); or put @ before function
  6. X

    Solved Potion problem 8.6 tfs 0.4

    I've fixed it. I've put another actions file and it worked.
  7. X

    Solved Potion problem 8.6 tfs 0.4

    I have got weird problem with potions. When I buy potions in npc they are stacked when I use one all are gone. Do you have any idea how can I fix it?
  8. X

    Server Status

    Yes. Really.
  9. X

    [ModernAAC] Start/Stop Server In Admin Panel!

    make file <?php exec('killall -9 theforgottenserver'); ?> but it depends on how you run ot. So you should really personalize it to your ot.
  10. X

    Server Status

    if you really wants to know php open server with fsocket~ send special package get your xml respond and parse it with simple xml
  11. X

    Help Please .. Please

    You don't understand. You need to loop the results in foreach for example. Now you are only showing 1 result from each query. It does not matter that query returns more because you are fetching only one.
  12. X

    Error when check characters

    put in players.php in line 61 try{ //here the line that causes problem } catch(Exception $e){ echo $e->getMessage().'<br>'.$e->getTraceAsString(); exit;} when you do it paste here the output.
  13. X

    Help Please .. Please

    because you use fetch() instead of fetchAll() I don't see also any kind of loop here. try something like $query2 = $SQL->query('SELECT `id`, `name` FROM `players` ORDER BY `id` DESC LIMIT 10;')->fetchAll(); foreach($query2 as $row) { echo $row['name']; } fit it to your needs
  14. X

    Show OTS status error.

    parse xml respond from server by your own like I do on roxyot.pl you can see stats on right side of page.
  15. X

    [ModernAAC] Start/Stop Server In Admin Panel!

    you can use exec() function in PHP but php user needs to have rights to do it. You can execute sh script that is responsible for stopping server for example by killing it with command killall -9 theforgottenserver or something similar to it.
  16. X

    [PHP] Display deaths?

    put it: echo count($player->deaths);exit; after if ($player->deaths) { and tell me what number is being shown.
  17. X

    Real Tibia Letters for Gesior ACC News

    function changeFirstLetter($string,$path='',$ext='.gif',$checkIfFileExists=false) { $tpl = "<img src='{path}' alt='' title=''/>"; if(is_string($string) && strlen($string)>0) { $string = ucfirst($string); $ASCII = ord($string[0]); //if($ASCII > 0x40 && $ASCII < 0x5A)...
  18. X

    Some basic html...

    I'm sorry I saw reply from yesterday :) that is why I've answered.
  19. X

    Some basic html...

    XHTML my dears. Don't teach them HTML because you hurt them :)
  20. X

    Save characters

    how to export databse in phpmyadmin - Szukaj w Google google should be friend of yours :)
Back
Top