Page 1 of 1

cl_minmodels 1 and mole

Posted: Thu Sep 29, 2005 2:26 pm
by Zapy
i did just got some reports from one of my admins that with cl_minmodels 1 you will see the mole directly, i guess that this is a bugg and can be coreccted.

Im running 225 and amxx 160 with amxbans slay loosing team hpk and no more.

tell me if you want some more info.
Geesu you know where to find me, and the downloads on warzone.nu for wc3ft is just climbing ;)

Posted: Thu Sep 29, 2005 5:53 pm
by Geesu
Well yes... nothing I can do about it, it is sort of reduced, but people can bind a key to it and its over.... Nothing I can do :/

Posted: Thu Sep 29, 2005 7:58 pm
by ferret
I always play with cl_minmodels 1 :P

Posted: Fri Sep 30, 2005 12:12 am
by Zapy
geesu what about forcing cvars then?
amxx 1.60 can force client cvars from plugins or isnt cl_min... a cvar? :o
btw, hlguard can force interp cant you do something likley that?

Posted: Fri Sep 30, 2005 6:54 am
by Geesu
i'll look into it...

Posted: Fri Sep 30, 2005 7:04 am
by Geesu
this is all i see:

[small// Dispatches a client cvar query
// id: Player id
// cvar: cvar name
// resultFunc: public handler function
// paramLen + params: optional array parameter
// resultFunc looks like:
// public callbackCvarValue(id, const cvar[], const value[])
// or if you use the optional parameter:
// public callbackCvarValue(id, const cvar[], const value[], const param[])
native query_client_cvar(id, const cvar[], const resultFunc[], paramlen=0, const params[] = "");[/small]

I don't see how this would help

Posted: Fri Sep 30, 2005 7:21 am
by ferret
psuedo code:

query_client_cvar(id, cl_minmodels, result)
{
if(result)
client_exec(id,"cl_minmodels 0")
}

Posted: Fri Sep 30, 2005 8:24 am
by nightscream
i do it sometimes to but it never last for a whole map but i think it has something to do with sv_cheats

Posted: Fri Sep 30, 2005 8:24 am
by nightscream
i do it sometimes to but it never last for a whole map but i think it has something to do with sv_cheats

Posted: Fri Sep 30, 2005 8:52 am
by ferret
cl_minmodels is unrestricted, nothing controls it. It forces all Terrorists to use the leet model, and forces all CTs to use SAS (I believe). Hence, Mole can't work because the skin isn't allowed to be anything but those two.

Posted: Fri Sep 30, 2005 1:32 pm
by nightscream
XxAvalanchexX made this script today
and you can put this in a plugin if you want and put it in plugins.ini or geesu can put it in war3ft code
[small]
#include <amxmodx>
#include <engine>

#define FRAME 30
new currentFrame[33];

public client_PreThink(id) {
if( currentFrame[id] >= FRAME ) {
client_cmd( id, "cl_minmodels 0" );
currentFrame[id] = 0;
}
currentFrame[id]++;
}
[/small]

Posted: Fri Sep 30, 2005 6:48 pm
by Geesu
ok uhhhh.... Doing that in client_prethink... NOT a good idea... If you guys want to use it then do it, but I'm NOT going to do that.

It executes every 3 seconds (with war3ft), and thats even too much.

Also ferret I realize that :P

But.... I don't want to call it like every second, and ESPECIALLY not every frame.

Posted: Sun Oct 02, 2005 10:27 am
by Zapy
cant it be forced on join and when client changes it the server changes it back ( lite hlguars interp detection )

Posted: Sun Oct 02, 2005 3:28 pm
by Geesu
2.2.7 will check every .7 seconds... and kick the player if its set

Posted: Sun Oct 02, 2005 3:46 pm
by mezen
kicking because some1 play with cl_minimodels 1?

Posted: Sun Oct 02, 2005 7:46 pm
by Geesu
yes

Posted: Mon Oct 03, 2005 4:30 am
by Lazarus Long
Uuuuhhhhhh, Geesu don't like getting killed when he moles...

Posted: Mon Oct 03, 2005 6:56 am
by Geesu
:P

Posted: Tue Oct 04, 2005 2:22 am
by Zapy
nice, btw, does this load the server mutch? if it does, maybe make an option if you want it on or not :o

anyway thx Geesu, Lazarus and ferret

Posted: Tue Oct 04, 2005 8:23 am
by Geesu
This has been in war3ft for about 20 versions, the .7 second execution