PDA

View Full Version : sv_pure change


BFBombi
02-11-2012, 11:25
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.

Bacardi
02-11-2012, 11:29
Let players re-launch own game before join another server...

BFBombi
02-11-2012, 12:05
It isn't comfortable

Fearts
02-11-2012, 14:47
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

Fearts
02-12-2012, 10:55
Well there isn't. It is up to valve this fix this issue.

Gate
02-14-2012, 11:37
you may create a server where sv_pure is 0 with no downloads which directs to your server when they joined the game...

blodia
02-14-2012, 12:21
have you tried this (http://docs.sourcemod.net/api/index.php?fastload=show&id=833&)

BFBombi
02-15-2012, 09:43
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 ?

Bacardi
02-15-2012, 09:58
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.

BFBombi
02-15-2012, 10:15
And how i can fix it ?

BFBombi
03-04-2012, 13:13
Maybe someone know what many people can fix it ?