Quote:
Originally Posted by Zro Freaks
Your source is pure hardcode
Hardcode = LAG
|
"Hardcode = LAG" actually, a hardcoded code will most of the time be done (if done by devs in the real world of devs, not by script kiddies) for performance optimization purposes

.
PS : OpenNos does not "lag" because of hardcode, it's not performant because of badly :
- Thread Blocking I/O (synchronous DB calls, Communication between World <> Master)
- Multithreading (Look how many thread.Sleep are used without being in a managed thread while it could easily be managed as a background task by asynchronous programming)
- Scheduling (everything is scheduled without really being managed, this gives a lot of threads just being in idle mode and the main threads are being overused)
- Some non negligible overhead due to bad implementations (especially on Inventory management and its saving)