• 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!

Recent content by lexus21

  1. L

    Meditation and the otland community

    Hi, I would like to ask you if you have ever heard anything about meditation, what meditation means to you? (no Googling - just what do you think about meditation) For some people, meditation may be associated with a person sitting without meaning because of boredom, and for some, it may be...
  2. L

    unique id for monsters

    I noticed that when we assign the id of a given monster to some database. And we will create monsters and remove them, so after restarting the server the id will not match the id from before the restart (in the database). I noticed that ids like to duplicate themselves. How to prevent such...
  3. L

    TFS 1.X+ How to make the summon still belong to the player after logging out in tfs 1.4?

    for (Creature* summon : creature->summons) { summon->setSkillLoss(false); summon->setMaster(summon->getMaster()) // i added this but still can't assign player //removeCreature(summon); } Is it even possible to set the owner of a logged-out player's summons (without...
  4. L

    TFS 1.X+ How to make the summon still belong to the player after logging out in tfs 1.4?

    But when I log out, the "summons" left on the map (after modification in C++) are ordinary monsters and anyone can heal them - and I want only the owner to be able to do it
  5. L

    TFS 1.X+ How to make the summon still belong to the player after logging out in tfs 1.4?

    Thanks for the answer hmm, I thought about that too. But I want to make it so that after logging out of the game, the summons are still on the map and no one can heal the summons except the player who summoned them. I thought the wall would block e.g. mass healing (unless I set the flags wrong)...
  6. L

    TFS 1.X+ How to make the summon still belong to the player after logging out in tfs 1.4?

    How to make the summon still belong to the player after logging out in tfs 1.4? do I need a change in c++ or lua? 1714133531 i removed line from game.cpp and now summons don't disappear after logging out. But summons no longer belong to that player after login
  7. L

    Lua Helmet addEvent [1.4.2]

    Hi, I'm trying to create a helmet with an event. When equipped, it should execute the script every second, but it doesn't - it executes once when equipped. function onEquip(player, item, slot) addEvent(function() print("working") end, 1000, cid) end I also tried...
  8. L

    Solved I can only see healing value on 5 monsters

    I have scripts for healing monsters within 3 squares around the player. I stand in the middle of, say, 20 monsters, only the first 5 show the healing value (in orange) I also checked mass heal (slightly modified - so that it heals monsters) and exactly the same behavior. How to make all...
  9. L

    how to execute script before server shutdown?

    I have my own script. I would like this script to execute every time the server is closed. Any ideas?
  10. L

    Otclient w przeglądarce - jak to zrobić?

    Hej. WebAssembly warto kierować się na język Rust. Nie wiem jakie masz skille w programowaniu ale chat.gpt ta płatna wersja dużo potrafi jeśli chodzi o programowanie. A koszta no : chat gpt - średnie wynagrodzenie programisty w Polsce może oscylować w granicach 10 000 - 20 000 PLN brutto...
  11. L

    TFS 1.X+ [SOLVED] Can you make a spawned NPC stay in an owned house after restart?

    how to make npc save on "shutdown"? I used function globalEvent.onShutdown() but it works strangely because this function is executed at the server startup.
  12. L

    TFS 1.X+ Assigning a lua code to a monster

    Hi how to use the .lua code to be assigned to monsters. I try this way: in xml, e.g. rat <scripts> <event name="RatThink"/> </scripts> in data\scripts\creaturescripts I added rathink.lua local creatureevent = CreatureEvent("RatThink") function creatureevent.onDeath(creature...
  13. L

    VPS/dedic benchmarks

    vpsbenchmarks.com - interesing vps benchmarks. hosthatch is efficient but they don't have ddos protection
  14. L

    OTClient OTCv8 offset of TALKTYPE_MONSTER

    Hello, I need a hint on where I can move the talktype up so that it doesn't cover the username
  15. L

    26.08.2023 TFS NEKIRO 7.72 <fmt> lib problem

    if someone have error -> 'auto' is not allowed here do this code namespace tfs { #if __has_cpp_attribute(__cpp_lib_to_underlying) inline constexpr auto to_underlying(auto e) noexcept { return std::to_underlying(e); } #else template<typename E> inline constexpr auto...
Back
Top