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

    Lua [TFS 1.4.2] Spawn Issue

    Did you modify this? int32_t Spawns::calculateSpawnDelay(int32_t delay)
  2. Itutorial

    Lua [TFS 1.4.2] Spawn Issue

    If you have access to source code you can change it so it will spawn them all if they are dead instead of just 1.. Otherwise decrease the size of spawns and only add a few monsters. You could also set spawn time to 1s which will give you behavior you don't really want but at least the monsters...
  3. Itutorial

    Lua [TFS 1.4.2] Spawn Issue

    Spawnrate = spawn interval + amount of creatures in spawn area if I remember correctly. So if you do a 30x30 area and you have 20 monsters inside the area with 60s interval for spawn time. A single monster spawns in the 60 seconds and it makes all others wait again for 60s. They don't all spawn...
  4. Itutorial

    TFS 1.X+ Optimizing player saves & when saves execute

    Canary is a mess though. TFS is a mess in some areas for sure but canary is literally so complex at this point with so much extra uneeded code, ect. I would rather start with something that has less, even its behind on some improvements than to have to go through 50k+ lines extra of stuff to fix.
  5. Itutorial

    TFS 1.X+ Optimizing player saves & when saves execute

    The market would just make a request to items in mailbox, depot, and inventory. Which should all be up-to-date because as I said before any item movement/change will be saved instantly. So the only data we need in memory is what type of item, how many the player has, and where to get it from. We...
  6. Itutorial

    TFS 1.X+ Optimizing player saves & when saves execute

    You are still using the idea that I will keep the current way TFS handles all this stuff. I am not going to allow 100k items on a single player on my server. There are a couple ways you can set up data like capacity to be shown without loading all items into memory. One is creating a db key that...
  7. Itutorial

    TFS 1.X+ Optimizing player saves & when saves execute

    Yes, it is immutable but we also have to make sure the save has completed before trying to do another query with data that is going to be altered in the future. So it is a bit tricky. I am cooking up something but as for when it will be even close to production code, well, don't wait on it haha...
  8. Itutorial

    Moving forward

    I guess it depends how much TFS helped you in becoming a S/E. Some people probably owe a lot to this little community and will never pay it back.
  9. Itutorial

    TFS A* Algorithm :D

    https://github.com/otland/forgottenserver/pull/4947 https://github.com/otland/forgottenserver/pull/4948 https://github.com/otland/forgottenserver/pull/4950
  10. Itutorial

    TFS A* Algorithm :D

    We did it boys. Check TFS commits for all that pathfinding updates. Hope it serves you well! And please test, test, test. That way I can fix anything if need be. https://github.com/otland/forgottenserver/commit/8fe2872ca06bbccedaa83b7b76275a4b617dfcb5...
  11. Itutorial

    Lua Player vs player Damage

    Not the best but I guess if you are happy I am happy.
  12. Itutorial

    Need help with my website

    This issue has come up many times in the past. If you can’t compile sources you may be fked.
  13. Itutorial

    Lua Player vs player Damage

    I can’t help atm don’t pay too much for it. If you just want the half damage gone it’s almost no work
  14. Itutorial

    Lua Player vs player Damage

    Its source files.
  15. Itutorial

    Lua Player vs player Damage

    Combat.cpp search for / 2 or * 0.5
  16. Itutorial

    Crow Sprite Gallery

    Thicc horse
  17. Itutorial

    Lua How can i prevent this error

    That could definitely make sense. Without knowing what operating system you are running I can’t help as far as telling you your limits. Does it crash the server when the bug happens or is it just an error output in the server console?
  18. Itutorial

    Lua How can i prevent this error

    If you can only handle 8 bits I don’t think the server would work at all. Your OS determines what you can support. X64 or x86. If you can only do 8bits I think you could only have like 255 items total
  19. Itutorial

    Lua How can i prevent this error

    if the itemid is nil it makes it a lot harder to get the actual problem item. You can mess around in npc.cpp npcscriptinterface::luaDoSellItem Or npcscriptinterface::luaOpenShopWindow Add as many logs as you can. In OpenShopWindow you can log all the items being sent and make sure none of the...
  20. Itutorial

    Lua How can i prevent this error

    Yeah well without an item I’d you have two ways too solve it. Check every shop npcs items and make sure the items exist or do what I said and print the player that tried to sell the item and try to talk to them. So try what I suggested instead of saying what you are doing that isn’t helping...
Back
Top