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

    Compiling error

    1.4.2 First of all, I know that there is a lot of threads here asking the same thing, but I really try a lot of them and none helped. So, I'm having an error trying to compile my server. I'm very new on compiling, and I need to research some things to understand what are they saying. I was...
  2. Z

    TFS 0.X Add a storage to another player by params

    0.4 Hi guys, I'm having a little trouble trying to do this. This spell add a storage to a player, and after 15 seconds, the storage backs to -1. I'm trying to use spells params=1 in spells.xml, just like exura sio and such, but it does not seem to work. function onCastSpell(cid, var)...
  3. Z

    TFS 0.X getSpectators error

    0.4 Hi guys, I am trying to learn more about getSpectators to make creative spells for monsters. I tried to make a simple script that would do the following: teleport the monster to a random player near it and start attacking that player, changing its target. function onCastSpell(cid...
  4. Z

    Simple way to remove monster?

    0.4 Hi, I am struggling with some think I know its very easy. I want a way to remove a creature after some time after it has been created. I have a npc script where summons a creature, and it adds an event that removes it, but if a player kills the creature, obviously returns an error. So I...
  5. 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 =...
  6. 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...
  7. 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()...
  8. 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...
  9. 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
  10. 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...
  11. 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 =...
  12. Z

    Lua Exori but healing if hit a monster or player

    0.4 Hello, I was trying to do this by myself, but I couldn't think in a way to make this work I want exactly like the title. Knight uses exori, if the spell hits a monster or a player, the knight get healed, if hits 2 monsters or players, heals 2 times the healing and so on. Thank you Exori's...
  13. Z

    TFS 0.X Making a new playable race

    0.4 Good morning guys, I'm trying to do something like this but I don't know where to begin. I want a new race for players to create and play. But where can I make it? I thought it would be easier to make as a new 'gender', like: Male, Female and Elf, for example. Where can i edit it? Source...
  14. Z

    Lua Npc let you choose an item

    0.4 Hello guys, I was trying to do by my own but I don't even have a clue how to do it, and if it is possible In a task, like: kill 50 monsters, the npc will give an reward (exp and item). What I want to know is if there is a way to make the player choose an reward, like this: The npc gives...
  15. Z

    Lua Life regen out of battle

    0.4 Morning guys, I was trying to do this on my own, but got no luck I think its simple, but I fear, the way I was thinking, will cause lag if a lot of players are online. I want the script to this: When the player is out of battle (without the x), he will start to regen health, like 5% each 5...
  16. Z

    Area effect using math?

    Hello guys, my title can be a little confusing, but I will try to explain. In my script (action), i want an area effect when the action happen, and its simple... But i want something big, very big, and so, i will have to put sqm per sqm in the whole area that i want. I think an example will...
  17. Z

    Lua Title system

    Hello. I'm using 0.4 I need something like this: Player receive a storage and then gain a title below his name. I got this part, works just fine. But, I need a talkaction where the player types !title and then show all his titles. He can also use "!title "something"" to change titles, if he...
  18. Z

    Simple task system

    Hello guys, i tried to put a simple task on my server, i already tried this post from Limos: http://otland.net/threads/npc-mission.211063/#post-2022378 But didnt work, i dont know, but it didnt count when i kill the monsters Someone have another task system ? Thx all (sry for my english)
Back
Top