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

    TFS 1.X+ Daily reward shrine doesn't give items

    You said that you are not receiving any item (inbox or backpack). Have you checked your store inbox or just your depot inbox?
  2. M

    TFS 1.X+ TFS 1.5 7.72 npc

    Try this. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function...
  3. M

    TFS 1.X+ OTBR Tfs 1.3 Crashlog

    @Gesior.pl do you know why they insert npc into spectators to clean it and afterwards, inserting it again? And why didn't you do the same in your fix?
  4. M

    item add exp tfs 1.3

    function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getLevel() >= 300 then player:addExperience(6000000) player:removeItem(38763,1) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have received the 6M Exp!') else...
  5. M

    add an item to a container on the map

    I don't know if it will work and also if it's the best way to do it. local position = XXXX -- Position where container is supposed to be local tile = Tile(position) local item local itemId = XXXX -- Container local id = XXXX -- Item added to container if tile then if...
  6. M

    Lua [TALK] Help me Please Need Command !reset/reset only VIP ACC

    function onSay(cid, words, param) --[Configurações de Condição]__ config = { --[[verdadeiro / Falso]] needPa = true, -- Precisa de Premium Account? [true / false] needPz = true, -- Precisa estar em Protection Zone? [true / false] battle = false, -- Precisa estar sem Batlle para Resetar...
  7. M

    Lua [TALK] Help me Please Need Command !reset/reset only VIP ACC

    function onSay(cid, words, param) --[Configurações de Condição]__ config = { --[[verdadeiro / Falso]] needPa = true, -- Precisa de Premium Account? [true / false] needPz = true, -- Precisa estar em Protection Zone? [true / false] battle = false, -- Precisa estar sem Batlle para Resetar...
  8. M

    Lua [TALK] Help me Please Need Command !reset/reset only VIP ACC

    by saying VIP ACC you mean Premium Account? If yes, lines 148, 149 and 150 should do it. Have you tested it?
  9. M

    How you fix the delay of effect on player OTCV8

    he's using player:getPosition():sendMagicEffect() @henkas otcv8 has an aura system that does exactly what you want, take a look here: https://otland.net/threads/player-addwings-player-addaura.277297/
  10. M

    How you fix the delay of effect on player OTCV8

    I think he's talking about magic effects, which in this case are sent to the player's position and not the player itself. This can cause, for example, when sending an effect at the player's position and the player walks, the effect will appear in the previous position. I believe he wants...
  11. M

    TFS 0.X Add time onUse

    Great! You can set your own configs, such as the storage value and exhaustion (in seconds). Variables are declared on config.
  12. M

    TFS 0.X Add time onUse

    function onUse(cid, item, frompos, item2, topos) local config = { protect = false, -- precisa estar em protection zone battle = false, -- precida estar sem battle removeItem = false, -- remover item ao usar exhaustedstorage = 1111111111, -- storage used to set exhaustion...
  13. M

    TFS 0.X Add time onUse

    Don't know if that's what you requested. function onUse(cid, item, frompos, item2, topos) local config = { protect = false, -- precisa estar em protection zone battle = false, -- precida estar sem battle removeItem = false -- remover item ao usar exhaustedstorage = 1111111111 --...
  14. M

    C++ [TFS 1.3] Where do items get their "(faster regeneration)" from?

    I guess that happens because there are a bunch of "if" that are filtering what each kind of items need to show when getDescription is called. I can only guess that you'll need to insert the lines of code you quoted in each "if" for your custom item type.
  15. M

    Help with REGENERATION spell scalling with ml + level

    maybe something like this? local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0) local condition = Condition(CONDITION_REGENERATION) condition:setParameter(CONDITION_PARAM_SUBID, 1)...
  16. M

    MyAAC Loot image

    Thanks, man, reloading items.xml worked for me.
  17. M

    MyAAC Loot image

    Hello guys. I am having some problems with my otserv website. On the creatures page, loots were supposed to appear with their respective percentages of drop. However, only a few images appear. I have a myaac website hosted on my computer and the images appear normally. For some reason, the site...
  18. M

    TFS 1.X+ Skill Loss

    Thanks you guys for the support! I'll try it all! You guys are the best. I'll come back to talk about the results
  19. M

    TFS 1.X+ Skill Loss

    Hello sir, the idea is to make the player lose an exact skill level when he dies. Example: a player has 30 sword skill, if he dies, he will have 29. The problem is that i have no function in my sources that does this, the only way out was to try db.query, but unfortunately it doesn't work...
Back
Top