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

    onDeath ?

    Just use this function :) onDeath(cid, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)
  2. F

    Lua Easy script with random gives allways same return

    Here is my script: local rewardItems = { {chances = 1435, item = 2238, amount = 1}, -- Worn Leather Boots {chances = 2864, item = 2237, amount = 1}, -- Dirty Cape {chances = 4275, item = 2115, amount = 1}, -- Broken Piggy Bank {chances = 4789, item = 2695, amount = 1}, -- Egg {chances = 5297...
  3. F

    Compiling Showing storages in questlog

    Hello, I found this function http://otland.net/f35/parsing-storage-values-inside-quest-xml-89354/ but it doesn't seem to work for the version I am using. TFS 0.2.14 I hope there is someone out there, who could make it working or give me an alternative solution. :D
  4. F

    Bug report with normal player

    I think you're a little wrong. When I am online with my god char and use the CTRL+Z function, the reort is saved in an external file. /data/reports/CHARACTERNAME.txt So I think it is also possible for normal characters.
  5. F

    Windows Problem with task scheduler

    This Problem only comes up, when I open it via the task function. When I double click it, it runs without any errors. And ofc all the files are in the same direction :)
  6. F

    Bug report with normal player

    On my server only GMs are allowed to report bugs, using CTRL+Z. I want to make this possible for "normal" players as well. I already checked the flags, but they seem not to work for me. I am using TFS 0.2.14
  7. F

    Windows Problem with task scheduler

    I tried to start the server.exe with a task of the task scheduler function in windows, but everytime it tries to start there comes this error... Does anyone knows how to fix that, or should I use an other programm to start the server at an specific time?
  8. F

    Solved Can't connect to my server

    Thanks, that was missing. :D
  9. F

    Solved Can't connect to my server

    Hello everyone, I'm rented a dedicated server to test hosting on it, but I have a little problem. I opened all necessary ports (7171, 7172, 8000, 90 (for website cause 80 was already used)). I can connect to the website and create an account there, and also long in with this account on the...
  10. F

    from 8.42 to 8.6??

    Depend on which version of TFS you use ;)
  11. F

    NPC trade sells for custom item (REQUEST)

    Not 100% sure, if it works, but I think it should ;) local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function...
  12. F

    NPC NPC only trades after quest/level/item, etc.

    Yes, that's right ;) But if you wanna remove a bigger amount than 1 (eg. 50 gold coins), you need to change the if getPlayerItemCount(cid, 2472) == 0 then into if getPlayerItemCount(cid, 2472) >= X then where X = amount of the item. :)
  13. F

    NPC NPC only trades after quest/level/item, etc.

    if (msgcontains(msg, 'trade') or msgcontains(msg, 'TRADE'))then if getPlayerItemCount(cid, 2472) == 0 then -- You can add level limit, quest storage or anything you want here, to make player trade able selfSay("You need a magic plate armor to trade with me.",cid) else...
  14. F

    Selling Bigfoot's Burden Quest [5 Copies]

    Nice quest. Not 100% global, but very close to it. I can really recommend it! Good work :)
  15. F

    Lua Setting Mutiple Storage Id's

    Cause you used ~= instead of == I just tried to explain it to you, in my first post. Look it up
  16. F

    Lua Setting Mutiple Storage Id's

    I am not quite sure if <movevent actionid="20001-23000"/> will work, cause I'm using 0.2.14, and there you need to write <movevent fromaid="20001" toaid="23000"/> But you can try it :)
  17. F

    Lua Setting Mutiple Storage Id's

    First of all your script explained: (gz, for using lua code instead of normal code ;)) function onStepIn(cid, item, position, fromposition) if getPlayerStorageValue(cid, 20001) == -1 then -- Checks, if Player Storage Value is equal to -1 (unused) [~= mean unequal; == means equal; < smaller...
  18. F

    Lua How to set, if monster walk over magic fields

    I'm using the latest TFS 0.2.14. I tried nearly everything now, but can't understand it :/ An Orc Walord walks over all fields. A rat, with the same attack parameters, elementPercents, etc. doesn't walk over them :/
  19. F

    [9.60/9.61] The Forgotten Server v0.2.14 (Mystic Spirit)

    Your god char needs group Id, and your god account can't be Id = 1
  20. F

    Selling Bigfoot's Burden Quest [5 Copies]

    But I think, it won't be that hard to add a 20 hours delay, so that's okay. - - - Updated - - - I'm very interested in buying your scripts. Could you on me please :)
Back
Top