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

Snow walk speed remove

Another thing you might want to keep in mind is that you probably did not use this script on a production server so you dont have 150 players moving at once.
I'm thinking about this in my own limited interpretation as Lua is not something I'm well versed in. If you have a much more efficient way to do this in Lua let me know.

Indeed I do, my secret is I build optimal code on a really old dinosaur of a machine and if it runs fast on that it will run super fast on a high end server with 1k players :)
 
I know the server and client check tiles every time, but they do it in fast compiled C++ code that is alot(Not lua benchmarks but it sort of shows how much faster compiled code is when compared to an interpreted language: here and here) faster than anything that can be done in Lua.

Another thing you might want to keep in mind is that you probably did not use this script on a production server so you dont have 150 players moving at once.

I'm thinking about this in my own limited interpretation as Lua is not something I'm well versed in. If you have a much more efficient way to do this in Lua let me know.
wow its making me think about change the floor ground, well ok mate i will tell you if i can find another way.
 
Indeed I do, my secret is I build optimal code on a really old dinosaur of a machine and if it runs fast on that it will run super fast on a high end server with 1k players :)

It still feels like an inefficient way knowing that it can be done alot faster in C++ but who am I to complaint, if it works great! :P
 
Back
Top