Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Quote:
Quote:
Quote:
FYI, the answer can be found fastly on google. :mrgreen: |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Hello.
I do not know a lot of modules, you should not check if the player is valid?. pd:the delay is to use emessage. pd2:Sorry for my English. |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
PHP Code:
The emessage_begin and message_begin are doing approximately the same thing... |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
I know.
The zp use emessage + delay for to work register_message,but not necessary. Sorry for my English use a translator. |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Quote:
i mean would this fix fix agressive team changing crash on counter-strike es_* maps? |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
I can't say that it fix something for avoid the crashing, but, if you are thinking to change the player's team by using the CStrike extension, it will be trying to change the player's model, that is the reason why the server get crashed.
This extension, CS Team Changer, won't change any player physical information or any value, it will just update the tablescore, the API's team index and the team offset. I make sure it won't crash the server by changing the team at 32 players in same time. |
Re: Module: CS Team Changer [avoids crashes in aggressive changes]
Tested with 31 players (30bots 1human) in Zombie Plague Mod server, it give wrong team set in scoreboard when i set into Survivor round (change 31 player's team in a second).
To solve this we must add delay in team update (just like Mercylezz do in his ZP). |
Re: Module: CS Team Changer [avoids crashes in aggressive changes]
PHP Code:
|
Re: Module: CS Team Changer [avoids crashes in aggressive changes]
That was your own code, not from ZP4.3. Please take a look at this.
On function humanme: PHP Code:
PHP Code:
My fm_cs_set_user_team stock: PHP Code:
PHP Code:
|
Re: Module: CS Team Changer [avoids crashes in aggressive changes]
The Zombie Plague modification by me was wrong, so, it not needs any delay for this extension.
To edit Zombie Plague without delay takes so long. Sorry for inconvenience :cry:. |
All times are GMT -4. The time now is 10:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.