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

Recent content by Kahras

  1. K

    C++ Walk trough summon - C++

    Hello, I have a problem! I changed it in tile.cpp: if (const Monster* monster = creature->getMonster()) { if (hasFlag(TILESTATE_PROTECTIONZONE | TILESTATE_FLOORCHANGE | TILESTATE_TELEPORT)) { return RETURNVALUE_NOTPOSSIBLE; } for this: if (const Monster*...
  2. K

    Lua How to get UID creature

    Thank you, the script works great!
  3. K

    Lua How to get UID creature

    Hello! I have a problem, I can't get the creature's UID. I wrote functions in lib doCheckBotPlayer(player, monsterName) The function is that it creates a unique monster and is triggered by talkactions. And I would like to make it so that when the character logs out, the monster automatically...
  4. K

    Komenda wyświetlająca wykonane questy

    działa wyśmienicie a np. w jaki sposób mógłbym jeszcze pobrać wartości z tabeli bez pętli bądź jest na to jakiś inny sposób bo mi nic do głowy nie przychodzi? Bo dla przykładu jakbym chciał pobrać wartość name z tabeli w ten sposób: for _, nazwy in pairs(questId) do if param ==...
  5. K

    Lua function doCreateItemArea

    ref
  6. K

    Lua function doCreateItemArea

    It works very well and do you know how to make it create items at the top? Im add to the script: stackpos poss = {x = math.random(leftTopCorner.x, rightBottomCorner.x), y = math.random(leftTopCorner.y, rightBottomCorner.y), z = leftTopCorner.z, stackpos = 1} I tried stackpos 1, 2, 0, 255 and on...
  7. K

    Lua function doCreateItemArea

    Hello, I have a problem with a function I wrote. It is supposed to work so that from position to position it creates items, but only in places where it is possible. function Position:isWalkable() local tile = Tile(self) if not tile then return false end local ground =...
  8. K

    Lua mission global save

    Thanks, that's what I was having trouble with, but now I know everything. Will use the first option.
  9. K

    Lua mission global save

    Hi, I am writing asking if anyone has an idea how I could do a mission that resets after server save and the player could do it again? I'd like someone to guide me, I'll do the rest myself.
  10. K

    TFS 1.X+ addEvent spells monster

    thx ;) very good!
  11. K

    PHP Get count players storage

    thankks! very goood
  12. K

    PHP Get count players storage

    I need a mysql query that will return me the number of players who have storage 5000 == 1 Can anyone help?
  13. K

    TFS 1.X+ addEvent spells monster

    Hello I have such a script for a spell and I have a problem with addEvent: Position.directionOffset = { [DIRECTION_NORTH] = {x = 0, y = -1}, [DIRECTION_EAST] = {x = 1, y = 0}, [DIRECTION_SOUTH] = {x = 0, y = 1}, [DIRECTION_WEST] = {x = -1, y = 0}, [DIRECTION_SOUTHWEST] = {x...
  14. K

    TFS 1.X+ How to crash log TFS 1.2 ubuntu

    Hi how do i get the crash log? I'm using downgrade by Ninja and the server crashes sometimes. I did as here: How to make crash report(OTServ and Tfs) (https://otland.net/threads/how-to-make-crash-report-otserv-and-tfs.59083/) He gets a message :Is a directory Anyone know what the problem is?
  15. K

    Lua TFS 1.2 NPC focus

    After quickly going down the NPC continues to talk to me. stack traceback: [C]: in function '__index' data/npc/scripts/addon.lua:100: in function 'callback' data/npc/lib/npcsystem/npchandler.lua:401: in function 'onCreatureSay' data/npc/scripts/addon.lua:7: in function...
Back
Top