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

    Fragslist php

    Bump
  2. SoloQ

    Fragslist php

    Hello, I am using [Gesior AAC] Victims list (https://otland.net/threads/gesior-aac-victims-list.69303/) //frags list by Xampy $frags_limit = 10; // frags limit to show? // default: 10 $player_frags = $SQL->query('SELECT `player_deaths`.*...
  3. SoloQ

    Connecting to Mysql in Php

    Ah yes I changed all my mysql to mysqli, thank alot. I havent been active in the last few years, gotta learn up I see!
  4. SoloQ

    Connecting to Mysql in Php

    Hello, After a few years of no tibia I tried to setup an old project I was working on. I downloaded Xampp and booted it all up. My website was working as far as I can remember but when going to my bounty hunters page I got the following error: Fatal error: Uncaught Error: Call to undefined...
  5. SoloQ

    Solved Talkaction wont work

    I checked, I only have groups 1 to 3 for the player. Will have to set Account Type I guess. Thanks for the help though @Itutorial I will figured something out
  6. SoloQ

    Solved Talkaction wont work

    Seeing as I only have groups 1 to 3 and having 3 set to make me god this wont work will it? Access for gamemaster and god is also the same. Only the script checks for the account_type
  7. SoloQ

    Solved Talkaction wont work

    @Itutorial seeing we are using ACCOUNT_TYPE_TUTOR this will affect all the characters, not? Can the ACCOUNT_TYPE_TUTOR/GAMEMASTER/GOD be redirected to PLAYER_TYPE_TUTOR/GAMEMASTER/GOD?
  8. SoloQ

    Solved Talkaction wont work

    I tried adding my old groups.xml from 8.6 that had the tutors and everything in but i cant use that one since I think the Flags are wrong? How can I get them to 10.9?
  9. SoloQ

    Solved Talkaction wont work

    Did you even read that that was not my group.xml? Setting my account typ to 5 did the job, cheers man. But seeing my group.xml only has player, gamemaster and god. How can I add like tutor and set him certain commands? also: if player:getAccountType() < ACCOUNT_TYPE_TUTOR then...
  10. SoloQ

    Solved Talkaction wont work

    @Itutorial Nah bruh cus if I do that it says i cant login since that group doesnt exist. Didnt u even see the https://otland.net/threads/talkaction-wont-work.243205/#post-2359080 @Zothion I cant since I only got group 1-3 see https://otland.net/threads/talkaction-wont-work.243205/#post-2359080...
  11. SoloQ

    Solved Talkaction wont work

    Any clue where I could find this value?
  12. SoloQ

    Solved Talkaction wont work

    Yes, this has worked but does this mean that I have to edit every script for who may use it by group id? Can i not remove the lines where it looks for the group id in the script and make the restriction in the talkactions.xml by setting an access?
  13. SoloQ

    Solved Talkaction wont work

    I have replaced it and get this: https://gyazo.com/33246c44c3c7237cfe70c6057e2be80e
  14. SoloQ

    Solved Talkaction wont work

    This gives me the following: https://gyazo.com/a207d2734a697d24b251e9d99522b616 Note that I am using the /a to test it. function onSay(player, words, param) if not player:getGroup():getAccess() then return true end local steps = tonumber(param) if not steps then...
  15. SoloQ

    Solved Talkaction wont work

    It prints: 1 5 true -edit I got myself as group_id 3 in the datebase (just adding this)
  16. SoloQ

    Solved Talkaction wont work

    Yes I have found that if I remove it it works. Done some digging and found: <?xml version="1.0" encoding="UTF-8"?> <groups> <group id="1" name="player" flags="0" access="0" maxdepotitems="0" maxvipentries="0" /> <group id="2" name="gamemaster" flags="137438953471" access="1"...
  17. SoloQ

    Solved Talkaction wont work

    If I take out if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end It should work then?
  18. SoloQ

    Solved Talkaction wont work

    Hey guys, I compiled myself a server and am trying out all the commands but i can only do /a with my god char. All other talkactions like /n , /m and /i dont work. I dont get a message ingame or a console message. Any ideas? I compiled this distribution...
  19. SoloQ

    Solved Cannot compile a tibia 10.9 version

    @Shyzoul he was talking about downgrading 2015 update 2 towards 2015 upgrade 1 =) , but adding those 3 lines into the code @Zothion stated it also works.
  20. SoloQ

    Solved Cannot compile a tibia 10.9 version

    Yes you are totally right I can announce i compiled my first .exe! Thanks for the help guys!!
Back
Top