• 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. Sarah Wesker

    TFS 1.X+ [TFS 1.4.2] Movements script not working

    is event not type. <movevent event="StepIn" actionid="6000" script="test_script.lua" />
  2. Sarah Wesker

    [TFS 1.5] Send SquareColour when equiped a set

    This system is similar to the [TFS 1.5] Simple Aura System I published some time ago, but this time it's purely cosmetic. Essentially, by equipping certain pre-defined items in the configuration, you will automatically gain a colored square that appears at configurable intervals. Fully optimized...
  3. Sarah Wesker

    RevScripts AccountStorage - Skills add

    Test both and tell me which one works: function onLogin(player) local accountId = player:getAccountId() print("AccocuntId: " .. accountId) if Game.getAccountStorageValue(accountId, 37856) == -1 then Game.setAccountStorageValue(accountId, 37856, 0)...
  4. Sarah Wesker

    RevScripts AccountStorage - Skills add

    If it no longer throws the error, don't worry about the 0. Probably your account has ID 0 because it was placed manually from the database, or the website you use creates the accounts counting from 0.
  5. Sarah Wesker

    RevScripts AccountStorage - Skills add

    This smells like a data issue in your database. The first thing I noticed was that you're using accountId = 0. The error clearly states that it couldn't add or update a value because the reference to the accountId failed. What you can do is completely empty your table, but don't forget to first...
  6. Sarah Wesker

    RevScripts AccountStorage - Skills add

    If you are using TFS Downgrades or official TFS, these methods already exist. -- GET local value = Game.getAccountStorageValue(accountId, 1000) -- SET Game.setAccountStorageValue(accountId, 1000, 1) -- Force save Game.saveAccountStorageValues() in fact if you use TFS master you can even use...
  7. Sarah Wesker

    Lua Lua Script Error : 'doNpcSellItem' (a nil value) : When trying to purchase something from a merchant

    that function exists in TFS, probably you are mixing datapack from other engines with TFS.
  8. Sarah Wesker

    [TFS 1.5] Rewards by online time (𝒪𝓃𝓁𝒾𝓃𝑒 𝒫𝑜𝒾𝓃𝓉𝓈 𝒮𝓎𝓈𝓉𝑒𝓂)

    Yes, revscript is exactly for that, so you can write modular code, and use any trick possible with Lua.
  9. Sarah Wesker

    Lua [othire 1.0 - 7.72] Raid monster dissapear after time if not killed

    you can't get such behavior through just xml tags. I'm so sorry I can't help you, but I won't waste my time looking for a script if I don't even know what version you're using, my 🔮 broke a few days ago TFS 0.4? 1.2? 1.5? OTX, OTBR? Canary? ect...
  10. Sarah Wesker

    Lua Exp scroll Problem with save

    No, it's the same script, check the post again, I already combined them so you don't get confused.
  11. Sarah Wesker

    Lua Exp scroll Problem with save

    It is probably due to the login function, you can try this: local config = { rate = 2, storage = 1000, expstorage = 1100, register = 1200, time = 10800 } function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, config.storage) <= 0 then...
  12. Sarah Wesker

    🍬 Simple Quest Chest System 🍬

    You probably don't need it anymore, but I already made the modifications, and it works without a backpack. For those who want to use a backpack, simply add it to the container, and add the items inside that container.
  13. Sarah Wesker

    TFS 1.X+ Frags wont decrease TFS 1.3

    If you actually use TFS 1.3 vanilla why not use 1.4.2? It has many more fixes and new updates than TFS 1.3.
  14. Sarah Wesker

    Lua [TFS 1.4.2] Shows a modalwindow when onStepIn

    I'm going to ask the TFS ChatBot: I'm going to test it: Omg Only for TFS 1.5+ script.lua local moveEvent = MoveEvent() function moveEvent.onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end local...
  15. Sarah Wesker

    Lua [TFS 1.4.2] Shows a modalwindow when onStepIn

    Me here, consulting the crystal ball which version you are using.
  16. Sarah Wesker

    [TFS 1.5] Rewards by online time (𝒪𝓃𝓁𝒾𝓃𝑒 𝒫𝑜𝒾𝓃𝓉𝓈 𝒮𝓎𝓈𝓉𝑒𝓂)

    Yes, you simply need to change everything related to player.storage to player:getStorageValue and setStorageValue respectively. --𝓜𝓲𝓵𝓵𝓱𝓲𝓸𝓻𝓮 𝓑𝓣 local config = { seconds = 3600, -- 1 hour eventInterval = 1000, -- 1 second checkIP = true, checkAccount = true, allowMCs = 3...
  17. Sarah Wesker

    Important news

    I will have to learn to create content for canaries. Now
  18. Sarah Wesker

    [TFS 1.5] Counter based on a monster.

    It should work, basically all you need is the rename function for monsters. If it doesn't work, it's already your OTclient
  19. Sarah Wesker

    [TFS 1.5] Counter based on a monster.

    I have created a couple of functions that help create a monster that represents a countdown timer with its name changing every second to reflect the countdown. On each tick, an onThink function is executed if it exists, or an onEnd function is executed if it exists. This function accepts some...
  20. Sarah Wesker

    [France] [13.13] Noveria Beta | Evo | Skill Wheel | March 31st 19:00 CEST

    OMG, how beautiful this server looks, I definitely have to try it.
Back
Top