AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Load models, one by one... (https://forums.alliedmods.net/showthread.php?t=65036)

SCHWEDEN 12-30-2007 13:36

Load models, one by one...
 
Hi,
I've realized by using the zombie swarm plugin by Mini_Midget that the models are the "bug" that everyone is talking about (kickouts and errormsg "svc_bad"), since it loads models for the terrorist team all at once and the engine cant handle that. By having the cvar "zs_use 0" in the server.cfg, these kickout wont occure anymore. (zs_use 0 = dont use playermodels).

I would like the models to load on one player at a time with a few millisecs interval. And ONLY for the terrorists team that is. I've tried cs_set_user_model (1, xxx) cs_set_user_model (2, xxx) and so on, trying to set a model for players 1-16 or 16-32 (since I thought maybe the the terro team is player 1-16 or 17-32 but that just screwed up the whole plugin. I guess I totally got i wrong, so please help me with this anyone, it would help a lot of ppl if it works, this is just my theory though, maybe it doesnt work? And yes ive precached the model and right now using:

if(team == CS_TEAM_T)
{
cs_set_user_model (id, "hl2_zombie")

and cs_reset_user_model for the ct team

Its a bit different from the original zombie swarm and for me it works better, but as I said, i would like the models to be loaded one by one for the whole team, please help me out all pawn 1337s out there =)

Thanks in advance

EDIT: By loading models I mean every roundstart of course. (Thats the only time ppl get kicked out because of overload on server or whatever it is)

purple nurple 12-31-2007 00:39

Re: Load models, one by one...
 
lol

SCHWEDEN 12-31-2007 03:05

Re: Load models, one by one...
 
Ok i have no idea how to do that, anyone wanna help me out? And also, are you sure that helped? I havent tried ur plugin but of what I understood, its only one person having a different model than the others and also no one spawns with a custom model so svc_bad is not a problem affecting you?

Cheers

kp_uparrow 12-31-2007 13:31

Re: Load models, one by one...
 
nice try, but setting models is a big problem, and setting them one by one will not prevent svc_bads

the only server iv seen work with zombie models is jayhaxor's two servers

SCHWEDEN 01-01-2008 21:23

Re: Load models, one by one...
 
ok I've lost all the hope now, by uparrow's reply im hereby leaving amxmodx scripting

EDIT: btw, do u happen to know the ip to those?

kp_uparrow 01-02-2008 00:18

Re: Load models, one by one...
 
66.55.159.106:27015

Mini_Midget 01-02-2008 05:01

Re: Load models, one by one...
 
@purple nurple
Are you sure you don't have the svc_bad error?
I just check your server with game-monitor and looked at the daily players graph. There was 18-20 players in one minute then in the next. It drops down to 3 - 6 players.
And don't say I 'stole your' model... It was simply given to me. You on the other hand just admitted that you 'stole' that model from another server.
Just watch what you say/type. It can be used against you later in the future.

SCHWEDEN 01-02-2008 07:01

Re: Load models, one by one...
 
@ Mini_midget, ive tried what purple nurple told me without success, although i couldnt figure out how to reset models at roundend, but i made a set task for the models to load random between 1.0 sec and 2.0 and I still get that svc_bad at round starts, so I guess it doesnt have to do with models.
If u check out this server in france, they have up to 28 players sometimes and no kickouts occur for a looong time. Im just wondering how the hell it can be so different for each server. If i could even have like 26 I would be very grateful. (mine starts to kick out ppl at 22 players)

SCHWEDEN 01-02-2008 12:26

Re: Load models, one by one...
 
oops forgot the IP for the french server: 81.93.244.215:37000


All times are GMT -4. The time now is 11:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.