• 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

    Issue with Signs Not Displaying Text Properly

    0.4 Hello everyone, I'm experiencing a really annoying issue with signs in my 0.4 server. Ingame, if I click on a sign using both mouse buttons, it only displays "You see a sign." and doesn't show the text written on it. However, if I right-click the sign, it opens a window showing the...
  2. Z

    Doors problem

    0.4 Good evening, everyone. I’d like to start by saying that I know this question has been posted a few times before, but I couldn’t find an answer that worked for me. I’m encountering these errors in the console, which say: [Warning - Items::loadFromXml] Unknown key value transformUseTo...
  3. Z

    C++ Spells with crosshair

    0.4 Good evening everyone. Since I finally managed to compile my server, I am making some changes to the sources that I have always wanted to make, and one of them is, when the player uses certain spells, a crosshair will appear, and they will be able to select the area or target for the...
  4. Z

    Items.xml don't recognize "-"

    0.4 Good afternoon everyone, I didn't know how to explain my problem in the title, so I apologize. My items.xml doesn't recognize this dash, so all items that are, for example, like this: <item id="4667-4690" name="dirt"/> On the server it looks like this: You see an item of type 4690, please...
  5. Z

    cannot open data/npc/lib/npcsystem/main.lua: No such file or directory

    0.4 Good afternoon everyone, I'm encountering an issue that's affecting all the NPCs on my server. When I launch the server, the following error message appears for all the NPCs on the map: After researching the error, I found a thread with essentially the same problem: Windows -...
  6. 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...
  7. 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)...
  8. 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...
  9. 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...
  10. 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 =...
  11. 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...
  12. 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()...
  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

    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
  15. 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...
  16. 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 =...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top