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

Improving TFS

esfomeado

N o_0 B
Joined
Nov 29, 2010
Messages
277
Reaction score
21
In the last days i have been benchmarking/testing and analyzing the TFS source code and i have found some things that could be improved.

I consider this the main thing that could be improve on TFS.
Map Format:
Actual: Load all the map in the memory on startup
The main advantage of this is the speed of accessing the map.

New Format: Split in the map in chunks and loaded them into memory only when needed.
Advantages:
  1. Really small memory usage
  2. Faster server saves
  3. You can buy cheaper VPS/Dedicated Servers because it will use lees recourses.
  4. Others
Disadvantages:
  1. Small performance decrease. (It will make no difference for players)
Other Improvements:
  1. Stacked items aren't all a item and what i mean by this is if you have a stack of 100 gold you will have 100 items and this leads to a big memory waste because you could have only a item and say that item is actually 100 of them.
  2. More ideias coming soon!
 
Back
Top