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

    OTClient Clickable word npc in OTClient

    Hello guys, I opened a issue request in the official otclient github and the user Ayato96 responded with a solution that was very good: When you click on the phrase, it will bring up a menu with options to choose from. To more information go to...
  2. H

    OTClient Clickable word npc in OTClient

    Hello there, I would like to install in otclient the same functionality that exists in global tibia in which the player "clicks" on the highlighted word of the npcs, example: When the play click on the word "records" the creature automaticaly says "records" in this channel, facilitating...
  3. H

    Fix/Patch doCreatureSetNoMove works in monsters.

    But this is wrong, because the name of this function is doCREATURESetNoMove ergo should work in monsters, creatures encompasses MONSTER, NPCS and PLAYERS... If the function was doPlayerSetNoMove ok, not problem. Error of tfs developers. Bye xD
  4. H

    Fix/Patch doCreatureSetNoMove works in monsters.

    Hello everyone, I had a big problem with doCreatureSetNoMove because this didn't work with monsters. Buuuuuut, I fix this, now this func is work with players and monsters 100%. In game.cpp find this: ReturnValue ret = toCylinder->__queryAdd(0, creature, 1, flags, actor); if(ret !=...
  5. H

    A function with a param spell

    Hello brother try this: function onCastSpell(cid, var) doPlayerSendTextMessage(var.number, 22, "Hi") return true end
  6. H

    Function getItensInsideContainer

    Hello guys, I did this func because I needed a limit of itens to send in parcel, ...., I don't know if someone make this func before, but this func is made 100% by me. function getItensInsideContainer(uid, number) local number = number or 0 if not isContainer(uid) then return...
  7. H

    math.random question

    local outfits = {{id = 136, chance = 20}, {id = 142, chance = 40}} local lookType, randomChance = nil, math.random(1, 100) for k, v in pairs(outfits) do if randomChance <= v.chance then lookType = v.id break end end I do this very fast, but this isn't work 100% perfect....
  8. H

    math.random question

    try use this :) local outfits = {136, 142} lookType = outfits[math.random(1, #outfits)]
  9. H

    Feature onReLogin(cid) When a player enters a character already online.

    Hello, this func is called when another client log in a player already online... EX: You are online, your friend enter in a same char... This func is called xD In creatureevent.cpp after this: bool CreatureEvents::playerLogout(Player* player, bool forceLogout) { //fire global event...
  10. H

    Crash on use OnEquip TFS 0.3.6

    bummp
  11. H

    Crash on use OnEquip TFS 0.3.6

    Hello everyone, I'm using TFS 0.3.6 DEV_0.4 (I did the download when I was premium here), and I have problema with crash when I use the function onEquip on Lua. The code: function onEquip(cid, item, slot) print("works") return true end function onDeEquip(cid, item, slot) return true end...
  12. H

    Walk on BlockId tile. help-me

    buuuuump
  13. H

    Walk on BlockId tile. help-me

    bump ;/
  14. H

    Walk on BlockId tile. help-me

    not really, because the player walks, the internal command sends to the server but i will check if the tile is walkable or not.
  15. H

    Walk on BlockId tile. help-me

    I wonder if you have some way be it C + + or LUA, to make the player could walk on a tile that is not possible. Ex: border of water, as is the pokemon online. I know how to do this is by modifying the tibia.dat but that does not suits me. If anyone can help me I'll be very grateful...
  16. H

    I need tfs 8.1 sources

    Hello, i need tfs 8.1 sources, but all links in this forum are broke, ex: SourceForge.net Repository - [forgottenserver] Index of / http://svn.otland.net/public/viewvc.cgi/tags/0.3b3/?root=forgottenserver it isn't working :( Can you help-me? thanks a lot, bye.
Back
Top