View Full Version : sv_pure change
Hello,
I think that many of you know a problem with sv_pure that stated many time ago after CS:S update.
Problem - "When you played on server with sv_pure 1/2 and enter the server with sv_pure 0 it don't change and all downloaded files break".
I want to do short plugin which change this value to 0. I tryed with ClientCommand, but it don't help. Who can help with it ? Or maybe someone have already done it ?
Sorry for my English and thanks for answer.
Let players re-launch own game before join another server...
Re-launching isn't needed. You can get the same effect by just joining a sv_pure 0 server with no downloads.
1. Join sv_pure 1/2 server.
2. Join sv_pure 0 server with no downloads.
3. Join sv_pure 0 server with downloads.
4. ???????
5. Profit.
Jasonbourne
02-12-2012, 04:10
but as server operators there should be someway to achieve this
without telling players to join another server before joining ours
doesnt sound right
Well there isn't. It is up to valve this fix this issue.
you may create a server where sv_pure is 0 with no downloads which directs to your server when they joined the game...
have you tried this (http://docs.sourcemod.net/api/index.php?fastload=show&id=833&)
have you tried this (http://docs.sourcemod.net/api/index.php?fastload=show&id=833&)
Not work for sv_pure
public OnClientAuthorized(client)
{
new Handle:cvarPure;
cvarPure = FindConVar("sv_pure");
SendConVarValue(client, cvarPure, "0");
}
Console error: Invalid convar handle 0 (error 4)
When sv_pure chage to sv_gravity for example it work. Maybe i do something wrong ?
sv_pure is command... I guess.
Becuase players can use as cmd in they own console it to get server sv_pure mode.
And you can't check player cvar sv_pure value.
Maybe someone know what many people can fix it ?
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.