banner
Rating
Voted0

Server side simulation (real dedicated server)

0
Mod version:1
Game version:all
The mod has been successfully tested for the absence of viruses
321.46K66.92K

Report mod

  • image
modalImage

About This Mod

For dedicated servers: Move the World simulation and monster simulation to the server, which can improve client performance.


Hildir's query has been updated.

For dedicated servers: Move the World simulation and monster simulation to the server, which can improve client performance.


Support for Hildir query update (0.217.31).



Features

The server simulates world physics and artificial intelligence.

Enhanced Client FPS

The ship is modeled by the driver to improve steering quality with high delay.


Notes

Mods can significantly increase the use of server resources and lead to poor gameplay.

If you use the optterrain command, you must disable the mode.

It runs only on a dedicated server.

This mode doesn't prevent any client tricks or manipulation.

This mod is very small in complexity, but like most mods, future Valheim patches can break the mode in unexpected ways. It is recommended that you back up your character or world, or disable this mode when you release a new game patch.


Why?


Normally, in order to maintain low server resource usage, the Valheim server passes a domain simulation to the first client that will join the domain. However, if the player in charge of the zone has poor communication, all other players in the zone will be affected. This mode attempts to improve this particular situation by increasing the latency for clients that typically have this space.


How are you?


This special server mode is designed to map landscapes, monsters, and other objects typically created and owned by the client to other objects created, owned, and modeled on the server.


For mod developers - server simulation compatibility


For mod developers interested in server-side simulation compatibility:


If your mode makes changes related to modeling / behavior of the world, it should be able to run on a dedicated server, and these points should be taken into account:

Player: Your code should check this out.

On a dedicated server, ZNet.Example.GetReferencePosition() returns a position outside the world and has nothing to do with the player's position.

Code associated with graphics or hud must probably be behind Znet.Example.IsDedicated() checks if this code is expected to run on the server.

Similar Mods/Addons

Game Version *

all (Serverside Simulations-863-1-1-6-1700674876.zip)