• 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 Lucas Durais

  1. Lucas Durais

    Client 10/11 Problem

    Hello guys I'm trying to make my server run with tibia client 10 or client 11+, but it doesn't work. I already tried to change the definitions.h source to: static constexpr auto CLIENT_VERSION_MIN = 1000; static constexpr auto CLIENT_VERSION_MAX = 1110; static constexpr auto...
  2. Lucas Durais

    How to stop multiple events

    Ok, that worked for me, thanks.
  3. Lucas Durais

    How to stop multiple events

    Thanks for the replys guys I tried to put all the events with the same name, for example, event1, and stop them all with just stopEvent(event1), but also doesn't work Why is that?
  4. Lucas Durais

    How to stop multiple events

    Hello guys I want to know if there is a way of stopping a lot of events in the same time without creating a lot of stopEvent functions... I tried to do like: for i = 1, 100 do stopEvent(event+[i]) end But I get nil value for event Thanks!
  5. Lucas Durais

    Solved addBuyableItem Problem

    local function greetCallback(cid) if getPlayerStorageValue(cid, Storage.RathletonQuest.CommonerRank) < 1 then local shopModule = ShopModule:new() npcHandler:addModule(shopModule) shopModule:addSellableItem({'brass helmet'}, 2460, 120, 'brass helmet', 1)...
  6. Lucas Durais

    Solved addBuyableItem Problem

    Sorry, my tfs version is 1.2 I already search the tfs github lib and it's exactly like mine... What should I do?
  7. Lucas Durais

    Solved addBuyableItem Problem

    I've already tried to do that... The function actually doesn't have a count parameter.. This is how it is: function ShopModule:addSellableItem(names, itemid, cost, realName, itemSubType)
  8. Lucas Durais

    Solved addBuyableItem Problem

    Hello guys I'm trying to make my npc only sell some items if the player have one storage. I've tried a lot of different ways and none of them worked for me... In my last attempt I did as it follows: local function greetCallback(cid) if getPlayerStorageValue(cid, Storage.Quest.Rank) >= 1...
  9. Lucas Durais

    Windows TFS 1.2 Changed Mana & HP ticks in Vocations.xml no change

    Or you could do as @Ninja said ;p My bad
  10. Lucas Durais

    [TFS/C++] Change how instant spells are cast

    If your tfs version is 1.+ then you just need to go to the spells.xml and change the "words" used to cast the spell... Here is an example: <?xml version="1.0" encoding="UTF-8"?> <spells> <instant group="attack" spellid="62" name="Annihilation" words="exori gran ico" lvl="110"...
  11. Lucas Durais

    Windows TFS 1.2 Changed Mana & HP ticks in Vocations.xml no change

    After you change the gainhpticks="x" gainhpamount="x" gainmanaticks="x" gainmanaamount="x" it will only apply if you create another character... The ones you already created in the previous settings won't change.
  12. Lucas Durais

    Lua How to automatically change spawn

    Hello guys I'm interested in make a global event that starts up one time each 2 weeks. When this event starts, I need an entire cave respawn be changed to different monsters. There is anyway I can do that?? My tfs version is 1.2 Thanks!!
  13. Lucas Durais

    Multiple Message Greet

    Hello guys I'm trying to make my npc says more then one message using selfSay when I greet him... I already succeeded in making him saying using npcHandler:say but it takes forever... How can I do this with selfSay?? This is how I managed to do it with npcHandler: local function...
  14. Lucas Durais

    Item desappears if moved

    Just for curiosity I tried and it works flawless... You are awesome. But I'm going to let it as it was.. I think it would become too hard for the players.. Thanks!
  15. Lucas Durais

    Item desappears if moved

    Yeah... I've changed my mind.. I'll leave it as it is. Thanks very much for your help as always Xeraphus
Back
Top