.:`=-~rANdOm~`-=:. Game Servers

Support (Read Only) => Suggestions => Topic started by: Gilgamesh on September 29, 2011, 11:43:03 AM

Title: Wirebuild PAC solution to fix lag issue
Post by: Gilgamesh on September 29, 2011, 11:43:03 AM
a lot of lag is caused from PAC because the server has it's own list of outfits stored on it and sends those outfits to the individual players when they join. now this would not be a problem if that was disabled but there is a cvar you can use to do just that. I only leave this here because I used to go on the wirebuild server to make outfits and occasionally build a house there but lag issues with PAC have been stopping me from doing  so. anyway I just wanted to throw that out there.
P.S. I do not know the cvar :C
Title: Re: Wirebuild PAC solution to fix lag issue
Post by: Dale Feles on September 29, 2011, 01:36:59 PM
I'm not sure if this is just me, but when a lot of people wears a PAC costume, the server lags. Although, I do know how to disable costumes. I'd be fun to find a way to reduce this kind of lag.
Title: Re: Wirebuild PAC solution to fix lag issue
Post by: Gilgamesh on September 29, 2011, 01:42:15 PM
like I said there is a cvar but I do not know how to configure it. I wish I did. if the costumes from the server didn't have to download to the clients then lag would be non existent. or at the very least drastically reduced.
Title: Re: Wirebuild PAC solution to fix lag issue
Post by: coolzeldad on September 30, 2011, 02:37:20 PM
There is no cvar to what you are referring to for PAC.

This is the complete cvar list for PAC atm

concommand.Add("pac_save_config_cl", function(ply, command, arguments)
concommand.Add("pac_load_config_cl", function(ply, command, arguments)
concommand.Add("pac_convert_legacy_outfits", function()
concommand.Add("pac_refresh_files", function()
concommand.Add("pac_show_editor", function()
concommand.Add("pac_sync", function(ply)
concommand.Add("pac_load_config_sv", function(ply, command, arguments)
concommand.Add("pac_rename_config_sv", function(ply, command, arguments)
concommand.Add("pac_delete_config_sv", function(ply, command, arguments)
concommand.Add("in_pac_editor", function(ply, command, arguments)
concommand.Add("pac_get_server_outfits", function(ply)
concommand.Add("pac_precache_effect", function(ply, command, arguments)
concommand.Add("pac_ban", function(ply, cmd, arguments)
concommand.Add("pac_unban", function(ply, cmd, arguments)

CreateConVar("pac_server_outfits", "1", FCVAR_ARCHIVE)

None of these disable sending outfits to clients.

What I believe creates the majority of the lag, is that on every tick the server syncs the entities parented to the player and send them all to the client.
Without this you would not be able to see the outfits or have them.
This is the effect of many player parented entities.

If you mean disabling sending the list of stored outfits then that last convar is what you are referring to. Is that so?
Title: Re: Wirebuild PAC solution to fix lag issue
Post by: Gilgamesh on October 01, 2011, 10:15:15 AM
uhhh yeah that was it.

http://www.facepunch.com/threads/887940?p=32348754&viewfull=1#post32348754 (http://www.facepunch.com/threads/887940?p=32348754&viewfull=1#post32348754)

this is the post from caps wher I got the cvar info from.
Title: Re: Wirebuild PAC solution to fix lag issue
Post by: coolzeldad on October 01, 2011, 09:13:19 PM
k disabled that convar