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

    Lua Item time left/charges

    up
  2. C

    Lua Item time left/charges

    up
  3. C

    NPC Name change item

    Wow this works perfectly! Even better than I imagined when trying to create it :O!! Thanks you!
  4. C

    Lua Item time left/charges

    up
  5. C

    NPC Name change item

    I'm not an expert... but here is the "function onSay" function, and shouldn't there be something onUse if I want the ability to change the nickname to be activated when clicking the scroll wheel?
  6. C

    Items: World Exp Scroll / World Loot Scroll

    The scripts I had for TFS 1.4.2 (themselves assigned to items for now): World Exp +25% for 30 min: local config = { itemId = 26385, boostTime = 30 * 60, -- duration in seconds (30 minutes) boostStorage = 480665, -- unique key to store boost activity status boostExpPercent = 25...
  7. C

    Lua Item time left/charges

    I think this is a nice tidbit :) Basically, you have 10 rings or stone amulets and you see which ones have how much time/use
  8. C

    Lua Item time left/charges

    Wow this is great that it shows how much time you have left with it on! Although I asked more about what's in the backpack, because if you have a lot of e.g. time rings, you don't know which ones are 10 minutes and which are 30 seconds :D
  9. C

    Lua Item time left/charges

    up
  10. C

    NPC Name change item

    Hi, I've seen various scripts to create an item that allows you to change your nickname... But how to exclude nicknames such as "GM" "Tutor" "Admin".....? For TFS 1.4.2 I found one for 1.2 T.F.S but without what I'm looking for and it probably won't work on 1.4.2:
  11. C

    OTClient Saved position of containers

    If a genius writes so, it must be so :D
  12. C

    Items: World Exp Scroll / World Loot Scroll

    I tried to make 2 separate items ones as follows: 1 - only world exp scroll +25% exp for 30 min 2 - only world loot scroll +25% chance drop for 30 min *Everyone on the server gets a bonus when someone fires and the information appears on the screen "Player xxx has scored +25% EXP for 30...
  13. C

    Lua Item time left/charges

    Hi! :) I looked on the forum but I don't think there is one for TFS 1.4.2, otc8.... I would like to display the remaining time and charges on my items. I tried to do it myself several times but unfortunately I failed. Has anyone ever done this? :D
  14. C

    TFS 1.X+ Crash item

    Maybe something in the function? Did it work before?
  15. C

    TFS 1.X+ Pocket dummy training

    Hmm... I made these changes from the post you sent: https://github.com/otland/forgottenserver/pull/3928/files https://github.com/otland/forgottenserver/pull/3996/files and i have in luascript.cpp: // Creature int LuaScriptInterface::luaCreatureCreate(lua_State* L) { // Creature(id or name...
  16. C

    TFS 1.X+ Pocket dummy training

    Good job :D! Do you know why I'm getting this error above? :)
  17. C

    TFS 1.X+ Pocket dummy training

    I tested it but I don't know why I have a strange error... No matter where I click it uses - out-of-range Lua Script Error: [Scripts Interface] C:\OTS\forgottenserver-1.4.2\data\scripts\dummy.lua:callback LuaScriptInterface::getNumber(). Argument 2 has out-of-range value for unsigned int: -1...
Back
Top