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

    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...
  3. 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 =...
  4. 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.
  5. 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?
  6. 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...
  7. 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?
  8. 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...
  9. K

    AAC Gesior Acc HTTP ERROR 500 view characters

    When I go to the characters.php tab, it gives me an error HTTP ERROR 500. I use apache, ubuntu. I tested on windows and no problem. 1668701473 error log:
  10. K

    AAC Top Quests Gesior 2012

    Hi, I'm trying to convert this script to Gesior 2012: <?PHP $cache_sec = 50; $q = array(6132,0 => 12900,1 => 12424,2 => 11117,3 => 9000,4 => 8560,5 => 62201,6 => 5159,7 => 5116,8 => 2196,9 => 7697,10 => 90241,11 => 91141,12 => 90231,13 => 91631,14 => 8266,15 => 8865,16 => 8872,17 => 6433,18...
  11. K

    AAC myAcc top quests, top achievements

    Hello, I am looking for someone who will help me transfer the script from Gęsior to MyAcc. 1. Look achievements in characters 2. Look VIP in characters 3. Top Achievements 4. Top Quests 1 look achievements in characters: $osiagniecia_enabled = $config['characters']['osiagniecia'] &&...
  12. K

    Lua local print nil value

    Hi, I have such a script on manarune: local exhaust = Condition(CONDITION_EXHAUST_HEAL) exhaust:setParameter(CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 100)) -- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have...
  13. K

    Lua get storage MySQL query

    hello, help me write a mysql query -> players_storage which will return the player_id of one player with the largest storage 7777 value?
  14. K

    VPS wybór

    Siemasz poleci ktoś VPS'a pod mały serwer ok. 30 graczy / test serwer? Nigdy tego nie ogarniałem i jestem w tym zielony a chciałbym się pobawić conieco ;)
  15. K

    Lua resetting storage after 24 hours

    local function getExpForLevel(level) level = level - 1 return ((50 * level * level * level) - (150 * level * level) + (400 * level)) / 3 end local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local talkState = {} function onCreatureAppear(cid)...
  16. K

    Lua math.random teleport

    local config = { playerPositions = { Position(736, 929, 8), Position(737, 929, 8), Position(738, 929, 8) }, newPositions = { Position(748, 933, 8), Position(750, 933, 8), Position(732, 929, 8) } } function onUse(player, item...
  17. K

    Lua define function

    You can guide me on how to define a doCreateMonster that was used in the onKill function so that I can define this function in onLogout? function onKill(player, target) a = doCreateMonster(xxxx) return true end function onLogout(player) doRemoveCreature(a) return true end local...
  18. K

    Lua Script repeat every second

    addEvent(function() if player:getStorageValue(76767) == Number then player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) end end, 1000) how to make the script repeat every second until the if condition is met?
  19. K

    C++ TFS 1.2 downgrade by Ninja show healing

    Hello i am using TFS 1.2 downgrade by Ninja and want it to show healing. my function combatChangeHealth on game.cpp: bool Game::combatChangeHealth(Creature* attacker, Creature* target, CombatDamage& damage) { const Position& targetPos = target->getPosition(); if (damage.primary.value >...
  20. K

    Lua onHealthChange monster TFS 1.2

    delete
Back
Top