• 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

    Light hack with Lua instead of Cheatengine

    by default OTCv8 does not have this method for creatures You will have to modify the source code to add this method and you can use it in Lua If you add it, you should add a repetitive event that establishes the character's light from time to time since the server will be changing the...
  2. Sarah Wesker

    TFS 1.X+ Help with recent memory commit logs

    Sorry for the delay in responding, what happens is that you are showing a screenshot with TFS using 2GB+ of RAM as if it were the engine's fault. The changes that were made, or the vast majority of them, are based on improving performance with respect to CPU usage, for example using string_view...
  3. Sarah Wesker

    TFS 1.X+ Help with recent memory commit logs

    most of the RAM is used by the map, you should try with the default map and then with your map, and you will notice that there is a big difference
  4. Sarah Wesker

    OTClient New User with OPClient error (unable to load dat/spr file)

    Just create a new folder called things inside data folder, in case it doesn't exist, and then inside that folder you create another one with the name of the version you want, for example 1098 and inside there you are going to add the spr/dat files Here is a link to install tibia client 10.98...
  5. Sarah Wesker

    if you have tibia coins, give me some

    Hey, I'll join the party too, I want free coins yujuuuuuuuuuuuuuuuuu
  6. Sarah Wesker

    Problem with utito tempo condition condition_strengthened

    Simply use a single combat and add the two conditions to the same combat: local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) local condition = Condition(CONDITION_ATTRIBUTES)...
  7. Sarah Wesker

    TFS 1.4.2 onMoveItem does not react?

    The normal thing is to use integer numbers, but it is possible to use numbers with decimals, it is strange but yes, lua allows it and there is no need to prohibit this Negative numbers are also allowed, including special numbers like lowest infinity and highest infinity math.huge and -math.huge...
  8. Sarah Wesker

    TFS 1.X+ Can't equip items with script movments

    you must return true, otherwise you will be sending nil and nil is a value that is considered false function onEquip(player, item, slot) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "wear." .. item:getDescription()) return true --- <<<< HERE end function onDeEquip(player, item, slot)...
  9. Sarah Wesker

    TFS 1.4.2 onMoveItem does not react?

    All scripts matter... the one with the lowest index is executed first and the one with the highest index will be the last to be executed, but when any event returns a cancellation value such as false or a value other than a RETURNVALUE_NOERROR, the other ascending events will not be executed...
  10. Sarah Wesker

    TFS 1.X+ Creature:isMovementBlocked and Create:setMovementBlocked weird behaviour

    Well, first of all, the animation cannot be seen by other players, for them you will be immobile. Canceling this animation is impossible from the server side, you must add some mod to OTC to achieve it
  11. Sarah Wesker

    TFS [1.X] Globalevent save all players 5 minute interval

    Yes, you are right, thanks for capturing the problem. Now that I think about it, the player:save() method should not even exist, as soon as we use it in some script there is the possibility that any player can clone items, just by completing the mission, the command, the action or anything that...
  12. Sarah Wesker

    TFS [1.X] Globalevent save all players 5 minute interval

    Try the secondary version and tell me if it causes lag: TFS [1.X] Globalevent save all players 5 minute interval (https://otland.net/threads/tfs-1-x-globalevent-save-all-players-5-minute-interval.288554/#post-2749285)
  13. Sarah Wesker

    TFS [1.X] Globalevent save all players 5 minute interval

    Revscript version: local savePlayers = GlobalEvent("SavePlayers") function savePlayers.onThink(interval) for _, player in ipairs(Game.getPlayers()) do if player:save() then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Your data has been successfully saved.")...
  14. Sarah Wesker

    Lua While targetting x monster

    onThink with 1 second delay is too slow. using onDisappear would not work as one would expect, since it only activates in certain circumstances and not exactly when the player stops targeting it. The best option would be to use the bool Player::setAttackedCreature(Creature* creature) method or...
  15. Sarah Wesker

    Lua While targetting x monster

    This way you can identify when the player start attack and stop attack with specific creatures local function onStartCombat(player, target) -- YOUR CODE end local function onStopCombat(player, target) -- YOUR CODE end ---------------------------------------------- local eventIds = {}...
  16. Sarah Wesker

    OTClient OTClient partial black screen help!!

    So it is due to the features u are enabling, the official TFS 1.4.2 server is not designed to give this information to the client, and if the client has a problem reading a packet everything will be damaged. What @Mateus Robeerto said is true. For example if you want wings, you have to...
  17. Sarah Wesker

    OTClient OTClient partial black screen help!!

    The Forgotten Server - Version 1.4.2 It is for client version 10.98 If you use a different version in OTC, these problems will occur since the network messages sent to the client cannot be interpreted correctly
  18. Sarah Wesker

    Chat gpt competition?

    As long as you send a carefully written promtp it will give good results, even chatGPT does not read people's minds XD Can you show me the prompt you used?
  19. Sarah Wesker

    Chat gpt competition?

    ChatGPT usually fails a lot, even if you give it a well-documented source of knowledge, but that doesn't mean it's not useful. I have learned a lot and it has saved me a lot of time when researching things Some time ago I discovered a web application that allows you to create bots based on some...
  20. Sarah Wesker

    How to compile this TFS in ubuntu?

    Currently there is no sol2 to install on Ubuntu, you have to do it manually by cloning the sol2 repository and then compiling it. Then you have to link a path to find sol.hpp and you will have it. Honestly, I worked on the project in Windows and I did not imagine that it would be complicated for...
Back
Top