• 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

    How popular are you?

    I'm not popular at all, especially when it comes to OTServers.
  2. Sarah Wesker

    TFS 1.X+ function onkill tfs 1.5 dont work

    The script is fine, the engine is also fine, it simply has an onPrepareDeath event that doesn't allow the player to die. This usually happens when there's a custom PvP system that handles the player's death in a very specific way from Lua. The topic should be closed, I already spoke with...
  3. Sarah Wesker

    C++ Crash in monster combat?

    Is this reproducible or just a one-time thing? How often does it happen, have you already done tests?
  4. Sarah Wesker

    C++ Crash in monster combat?

    Try checking if your sources have the changes from Combat_raw to Combat_ptr, that solved many problems with combat objects, besides fixing the issue with /reload spells and addEvent.
  5. Sarah Wesker

    [TFS 1.5] Sex System 2.0 🍑

    It wouldn't be bad to use the sprites for new special outfits for the sex system.
  6. Sarah Wesker

    TFS 1.X+ help to decrease or remove lag from this script

    You can also save the positions when the server starts, so you don't have to iterate over all the positions later. For example: local LIGHT_ON_TIME = 18 local LIGHT_OFF_TIME = 6 local LAMPS = { [1479] = 1480, [26782] = 26781, [26783] = 26784, } local LAMPS_CACHE = {} function...
  7. Sarah Wesker

    Error Attack/runes/magic in 'L'

    I understand perfectly that you might think it's a bug, but that's how it works in Tibia RL. If you want, go and check it out. On the other hand, if you dislike it so much, you can use the old line of sight. Simply revert these changes in your sources...
  8. Sarah Wesker

    Error Attack/runes/magic in 'L'

    In theory, that's how it works in Tibia RL CipSoft. That's how the line of sight is formulated. I haven't tested it in Tibia RL, but you can confirm it yourself and let us know.
  9. Sarah Wesker

    Lua Block push players in protection zone.

    The version of @Marko999x goes straight to the point, verify storage values. The version of @Xikini, verify Zones and ranges; verifying zones is the best option, the most optimized. The version of @Dakos verifies Flags of the tiles; this is the worst option if you only want to verify the...
  10. Sarah Wesker

    TFS 1.X+ Server Crashing tfs 1.2

    The problem is here: playerClickedItem[player:getId()] = { itemEx = itemEx, value = itemValue } -- Armazenar o item e o valor You cannot save items anywhere, as when you try to use them again, there is a high probability that the item has already been deleted from memory, resulting in a crash...
  11. Sarah Wesker

    permanent bonus

    If the bonus is permanent, simply increase its maximum life/mana and that's it. This could be a simple option for TFS 1.x+ local POTION_ID = 0000 local storageKey = 00000 local extraHP = 25 local extraMP = 25 local action = Action() function action.onUse(player, item, fromPos, target, toPos...
  12. Sarah Wesker

    RevScripts ❤ ℱ𝓇𝑒𝑒 𝒮𝒸𝓇𝒾𝓅𝓉𝒾𝓃𝑔 𝒮𝑒𝓇𝓋𝒾𝒸𝑒 𝒯ℱ𝒮 𝟷.𝟻+ ❤

    Hello, my pleasure, here is your script, I didn't test it in nekiro 8.0, but it should work fine anyway --[[ Script created by @MillhioreBT Request: https://otland.net/threads/free-scripting-service-tfs-1-5.281162/post-2763809 ]] local MONSTER_TYPES = nil local DROPLIST_CACHE = {}...
  13. Sarah Wesker

    RevScripts ❤ ℱ𝓇𝑒𝑒 𝒮𝒸𝓇𝒾𝓅𝓉𝒾𝓃𝑔 𝒮𝑒𝓇𝓋𝒾𝒸𝑒 𝒯ℱ𝒮 𝟷.𝟻+ ❤

    Well I made a script that complies with the first thing he asked for, a magical dust that adds statistics to the items, the NPC thing is something separate, but I'm sure you know how to make an NPC sell an item :D I didn't see any additional description of the system, so I made it as minimalist...
  14. Sarah Wesker

    RevScripts ❤ ℱ𝓇𝑒𝑒 𝒮𝒸𝓇𝒾𝓅𝓉𝒾𝓃𝑔 𝒮𝑒𝓇𝓋𝒾𝒸𝑒 𝒯ℱ𝒮 𝟷.𝟻+ ❤

    Hello everyone, it's me again... I haven't done free services in this thread for quite some time. I don't want to attend to old messages, TFS has changed a little and I want to see new messages, I will only attend to those first 5 people who write something, but yes! The rules when commenting...
  15. Sarah Wesker

    TFS 0.X Problem with target after "death".

    I don't know exactly what engine you are using, but assuming you are using this: theforgottenserver-0.4 then you don't have a method to establish a target. I was checking and there is only one method for monsters: luascript.cpp local templePosition = {x = 0, y = 0, z = 0} local dummyNpcName =...
  16. Sarah Wesker

    TFS 0.X Problem with target after "death".

    In case you don't want to or can't compile your engine with changes. I could use an npc in the temple and have the player follow that npc with the doPlayerFollowCreature(cid, target) function. That would des-select the target.
  17. Sarah Wesker

    RevScripts never ending box items

    local config = { actionId = 65300, storageKey = 46870, exhaustion = 10 -- seconds } local event = EventCallback -- or Event() function event.onMoveItem(player, item, count, fromPosition, toPosition, fromCylinder, toCylinder) if item:getActionId() == config.actionId then return...
  18. Sarah Wesker

    TFS 1.X+ Is it possible to execute effect exactly when distaneeffect hits the target

    local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_CAKE) combat:setFormula(COMBAT_FORMULA_LEVELMAGIC, 1, 1, 1, 1) local function callback(creature, variant) local target = Creature(variant:getNumber()) if...
  19. Sarah Wesker

    RevScripts if step on x/y/z give text in motd

    local config = { { position = Position(2500, 2510, 7), motd = "Welcome to the room.", storageKey = 1234 -- optional }, { position = Position(2600, 2520, 7), motd = "Welcome to the room 2." } } local motdByPos = {} for _, entry in...
  20. Sarah Wesker

    TFS 1.X+ Invisible/Ghost Effect

    HERE: forgottenserver/data/talkactions/scripts/ghost.lua at 973855c3e0a60461117b55f248ad14bab6630780 · otland/forgottenserver (https://github.com/otland/forgottenserver/blob/973855c3e0a60461117b55f248ad14bab6630780/data/talkactions/scripts/ghost.lua#L16)
Back
Top