Server Optimization: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
No edit summary
(Add Server Header)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page is just for some generalizations that help your server run at optimal speed, with minimal lag, and hopefully, max fun :D.  
{{ServerResources}}
== Unit limits ==
=== emp_sv_max_buildings ===
Building limit per team, includes all buildings except turrets.


== Important CVARS ==
Default value: 64


Ok, CVARS are variables that can be changed in game temporarily, or can be changed and saved in a  on your computer which gets loaded every time the server starts. A CVAR's setting is almost always a number, which sets the CVAR to do a specific task. That's probably the worst possible explanation, but that's that examples are for :D.
=== emp_sv_max_turrets ===
Turret building limit per team.


Ok, the CVAR
Default value: 24


'''emp_sv_max_vehicles'''
=== emp_sv_max_vehicles ===
Vehicle limit per team.


sets the maximum number of vehicles a team can have. This CVAR is numerical based, so the default is
{{Tip|Set this to the number of players per team.}}
Default value: 32


'''32'''.
=== emp_sv_max_walls ===
Wall limit per team.


That's a BIG number, because that means that if a griefer on each team spammed heavy tanks, there would be a total of '''64''' heavy tanks on the map. That is ''a lot'' of tanks. So unless you have a QX6950 Quad Core processor hosting your server, there's no way your server would have a chance. So, since I host on a 594 MHz processor, I set this to
Default value: 64


'''12'''.
== Self-destruction timers ==
In order to prevent abandoned vehicles using up server resources, vehicles without a player in them will self-destruct after a certain time interval. These intervals can be set on a per-chassis basis.


That's a reasonable amount of vehicles per team, and this can usually be associated with the number of max players on the server, I like '''24''' because that's 12 per team, and thats how many vehicles that team can have, so it works out nicely.
=== emp_sv_vehicle_JEEP_selfdestruct_time ===
Empty [[Jeep|Jeeps]] will self-destruct after this time limit (in seconds).


Next CVAR:
{{Tip|Set this to a low value such as 120 or 60. Jeeps are cheap and players often buy them off of their own wages.}}
Default value: 300


'''emp_sv_max_buildings'''
=== emp_sv_vehicle_LT_selfdestruct_time ===
Empty [[Light_Tank|Light Tanks]] will self-destruct after this time limit (in seconds).


This is the max number of buildings per team, default is...
Default value: 300


'''32'''
=== emp_sv_vehicle_AFV_selfdestruct_time ===
Empty [[AFV|AFV's]] will self-destruct after this time limit (in seconds).


...which I find to be a relatively stable number. You don't want this too high as many buildings = CPU inhalation, but too small and you won't have a fun game with each team having only a VF and a armory. Maybe bring this down to 25 or so, but really no lower than that.
Default value: 300


== End? ==
=== emp_sv_vehicle_APC_selfdestruct_time ===
Empty [[APC|APC's]] will self-destruct after this time limit (in seconds).


There really isn't much to it at all, its all about finding a number that works good for you. Remember, if something is confusing, try changing the CVAR to 'extremes'. Like if you don't know what the "netvitdist" CVARS do, try setting them to 1, and see how the game reacts.
{{Tip|APC's act as mobile spawnpoints. If players complain about their parked APC suddenly self-destructing, increase this value.}}
Default value: 300


There are many other CVARS that can be toyed with, so go crazy and play with them! If you find out something not in the Wiki yet, '''SAY IT HERE!!!!'''. It takes 3 seconds to make an account, and you could be helping the community greatly. Who knows, if it's big enough, your name might be put somewhere important :D.
=== emp_sv_vehicle_MED_selfdestruct_time ===
Empty [[Medium_Tank|Medium Tanks]] and [[Imperial_Tank|Imperial Tanks]] will self-destruct after this time limit (in seconds).


Have fun on your servers guys!
Default value: 300
 
=== emp_sv_vehicle_HEAVY_selfdestruct_time  ===
Empty [[Northern_Heavy_Tank|Northern Heavy Tanks]] and [[Imperial_Heavy_Tank|Imperial Heavy Tanks]] will self-destruct after this time limit (in seconds).
 
Default value: 300
 
=== emp_sv_vehicle_ARTY_selfdestruct_time ===
Empty [[Artillery|Artillery Tanks]] will self-destruct after this time limit (in seconds).
 
Default value: 300

Latest revision as of 06:03, 1 January 2024

Empires Server Resources
Dedicated Server Setup | Cvars | Optimization | Sourcemod Plugins



Unit limits

emp_sv_max_buildings

Building limit per team, includes all buildings except turrets.

Default value: 64

emp_sv_max_turrets

Turret building limit per team.

Default value: 24

emp_sv_max_vehicles

Vehicle limit per team.

Tip Tip: Set this to the number of players per team.

Default value: 32

emp_sv_max_walls

Wall limit per team.

Default value: 64

Self-destruction timers

In order to prevent abandoned vehicles using up server resources, vehicles without a player in them will self-destruct after a certain time interval. These intervals can be set on a per-chassis basis.

emp_sv_vehicle_JEEP_selfdestruct_time

Empty Jeeps will self-destruct after this time limit (in seconds).

Tip Tip: Set this to a low value such as 120 or 60. Jeeps are cheap and players often buy them off of their own wages.

Default value: 300

emp_sv_vehicle_LT_selfdestruct_time

Empty Light Tanks will self-destruct after this time limit (in seconds).

Default value: 300

emp_sv_vehicle_AFV_selfdestruct_time

Empty AFV's will self-destruct after this time limit (in seconds).

Default value: 300

emp_sv_vehicle_APC_selfdestruct_time

Empty APC's will self-destruct after this time limit (in seconds).

Tip Tip: APC's act as mobile spawnpoints. If players complain about their parked APC suddenly self-destructing, increase this value.

Default value: 300

emp_sv_vehicle_MED_selfdestruct_time

Empty Medium Tanks and Imperial Tanks will self-destruct after this time limit (in seconds).

Default value: 300

emp_sv_vehicle_HEAVY_selfdestruct_time

Empty Northern Heavy Tanks and Imperial Heavy Tanks will self-destruct after this time limit (in seconds).

Default value: 300

emp_sv_vehicle_ARTY_selfdestruct_time

Empty Artillery Tanks will self-destruct after this time limit (in seconds).

Default value: 300