• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Z

    DoRemoveCreature and DoCreateNPC

    Up
  2. Z

    DoRemoveCreature and DoCreateNPC

    @mano368 Same error man. Also, I checked the name and it is spelled correctly
  3. Z

    DoRemoveCreature and DoCreateNPC

    0.4 Hello guys, I'm trying to do a NPC something like this: Player says something to him, there is a chance of the npc desappears and, if he desappears, he will appears again later. Until now, I made this: local keywordHandler = KeywordHandler:new() local npcHandler =...
  4. Z

    Lua How to sum storages

    0.4 Hi guys, I had an idea about a cool system, but this idea will require me to sum storages, like this. Player kill a monster and gain some storage value, like 2, so if he had (14000, -1), now it would be (14000, 1), and if he killed another monsters, (14000, 3), and so on I already have...
  5. Z

    AddEvent issue

    @Xikini Worked perfectly. Thanks for your patience
  6. Z

    AddEvent issue

    @Xikini 1648934916 Only in BLUE returned error
  7. Z

    AddEvent issue

    @Xikini Didn't work. Only send "2", and then nothing more. I don't think the (cid) is doing something positive
  8. Z

    AddEvent issue

    @Xikini local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) function onCastSpell(cid, var) doCombat(cid, combat, var) doSendAnimatedText(getCreaturePos(cid), "2", 215) addEvent(function() if isCreature(cid) then...
  9. Z

    AddEvent issue

    @Xikini Lol, that simple. Completely forgot about cid Thank you. 1648924774 Actually, @Xikini I was testing only removing the target when the spell was casting, but now, letting the spell be completed, it does not send any shoot effect to the target and does not hit it's health. What can it be?
  10. Z

    AddEvent issue

    0.4 Hello everyone, I'm doing some custom spells for my monsters, and one particular spell is: It begins to 'charge' and then hit the player (one target), but, if the player disappears (logout or die), it will return this error: It is this part (inside onCastSpell): addEvent(function()...
  11. Z

    C++ Storage in Monster? TFS 1.X

    @Infernum Can you convert this code in 0.4? Sry, I have no ideia about 1.X stuff
  12. Z

    Addevent error when logout

    @Boy67 Thank you @Xikini Lol, it was that. Only the order was wrong. Thank you
  13. Z

    Addevent error when logout

    0.4 Morning, I know there is a lot of threads talking about the same error, but I haven't found one that helped me. I made this spell, where after 2 seconds, deals damage on the target. Simple. The problem is: if the player (or creature) that used the spell cease to exist (logging out or...
  14. Z

    Can only store certain items inside the bag

    @Xikini @Roddet Thx for the reply guys, sorry for the delay to answer. My source have a lot of errors and i can't compile them, so i kinda just give up of the idea, sorry. But thanks a lot for the reply.
  15. Z

    Can only store certain items inside the bag

    0.4 Just want to know (and if possible, how). There is a way to make a bag, and you can't store any item unless it is specify in the script? Like an quiver, you can only store arrows. Thanks
  16. Z

    Creating an item with actionid

    @Gesior.pl Works perfectly, thank you very much
  17. Z

    Creating an item with actionid

    0.4 Ok, its not that simple. I'm trying to make the following idea. Player clicks in an item, the item breaks and after some time, the script create the same item and set an actionid 2 things that I'm having trouble with: How to destroy an item but the script will remember where it was (using...
  18. Z

    TFS 0.X double exori

    @Gesior.pl Wow, that's pretty good. Didn't know about Variants, thank you for showing me this!
  19. Z

    TFS 0.X double exori

    @Silba Simple as that. Thank you
  20. Z

    TFS 0.X double exori

    0.4 Hello guys, Im having a little problem here. I was trying to do a double exori, when the player uses the exori, it hits once, and them after 2sec, hits again But, if the player moves, the exori will not follow him and it will happen in the spot of the first exori local combat =...
Back
Top