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

    CreatureEvent onTarget Interact with Npc

    ah, i forgot to add npc check if (self:isPlayer() and target:isNpc()) then local distance = getDistanceBetween(self:getPosition(), target:getPosition()) if (distance > minDist) then self:sendTextMessage(MESSAGE_STATUS_SMALL, "Get closer to talk to NPC.")...
  2. Joe Rod

    CreatureEvent onTarget Interact with Npc

    you have to add this function and variable (maybe at the beginning of file) function getDistanceBetween(fromPosition, toPosition) local x, y = math.abs(fromPosition.x - toPosition.x), math.abs(fromPosition.y - toPosition.y) local diff = math.max(x, y) if(fromPosition.z ~= toPosition.z)...
  3. Joe Rod

    CreatureEvent onTarget Interact with Npc

    Hi guys, with this you would greet the npc and open its shop (if has) only target it! Tested on OTX3, it will work on TFS 1.x i guess combat.cpp find: if (player->hasFlag(PlayerFlag_CannotUseCombat) || !target->isAttackable()) { now go to a line who look like this (4 lines below): return...
  4. Joe Rod

    Scripter I need scripter 0.3.6 (Szukam Skryptera 0.3.6)

    be careful with this guy
  5. Joe Rod

    CreatureEvent onLook Interact with NPC

    idk why i can't edit main post :/ replace if (thing:isCreature() and thing:isNpc() and distance <= minDist) then to if (thing:isCreature() and thing:isNpc()) then if (distance > minDist) then self:sendTextMessage(MESSAGE_STATUS_SMALL, "Get closer to talk to NPC.")...
  6. Joe Rod

    CreatureEvent onLook Interact with NPC

    Hi guys, with this you would greet the npc and open its shop (if has) It works on directly look and look on battlelist This is really simple, but someone could find it useful data/events/scripts/player.lua at the beginning of file paste this local minDist = 5 --this will be the min...
  7. Joe Rod

    Looking for TFS 1.3 / OTX 3 developer

    i bet lib folder is missing
  8. Joe Rod

    Team Spectrum RPG [Mappers] [Developers] [Writers]

    +1, i worked with him once for a while and i did many systems and he paid me only 40cad
  9. Joe Rod

    Compile Tfs 1.2 64-Bit

    pm'ed
  10. Joe Rod

    Feature Auto recharge ammo

    ye
  11. Joe Rod

    Can't install Gesior with OTX Based on 8.6

    He was using OTX2, worked on gesior 0.4 config.lua removed comments on coresUsed and encryptionType did the trick
  12. Joe Rod

    Fix/Patch Teleport Stackoverflow

    nice, thanks for sharing :D
  13. Joe Rod

    [MMO Options in Tibia Client] [not otc]

    Which language are you using? C#?
  14. Joe Rod

    Max Level

    test local maxLevel = 999 function onAdvance(cid, skill, oldLevel, newLevel) if (skill == SKILL__LEVEL and newLevel > maxLevel) then return false end return true end
  15. Joe Rod

    Solved Linux debian 8.0 su - apt-get install help

    ok mr. smart
  16. Joe Rod

    fuction bring me to

    function bringMeTo(cid) if (isPlayer(cid)) then local townId = getPlayerTown(cid) local position = getTownTemplePosition(townId) doTeleportThing(cid, position, false) end end
Back
Top