Module: CS Team Changer Ultimate [avoids crashes in aggressive changes]
1 Attachment(s)
- Counter-Strike Team Changer - Download View CPP file I see that all plugins that change the teams excessively contain delay to avoid crashes. Native get_user_team is not used because of receiving wrong values and there are tasks with TeamInfo message. Using this extension you may change the teams without any crash, indifferently you are using an aggressive changing type or not! Also, this extension updates the AMX Mod X team indexes at clients then you will be able to use get_user_team native without problems, it will return fair values. The difference between this and CStrike module is here (42). An example is listed below. PHP Code:
It is tested, it works perfectly with thirty two players. It changes sixteen players from Terrorists to Counter-terrorists and sixteen players from Counter-terrorists to Terrorists in the same time without any headaches instead of CStrike extension that crashes the server. The header file is the one listed below. PHP Code:
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Wow dude keep up the good work man.
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Plz also point out the differences between this native and cs_set_user_team.
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
It's written in the first post.
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
I remember the normal cs_set_user_team() way working on normal server, but crashing on Zombie Plague with a lot of players. Have you tried this on ZP?
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Quote:
Quote:
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
I've not rewritten it, even if the code is quite small, I've just cleaned up a bit the code, changing some things (like changing 80% of code taken by few "if..else if..else" replacing by a "switch") and compiling. Don't know why he says "rewritten", it was not the purpose and with such small code, not really possible. So, claudiuhks, you should fix to avoid fysiks be traumatized more ;).
|
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Mister fysiks, I just said that Arkshine opened the source, wrote something in it and closed. Why did you think he made all the code? Am I supposed to say what exactly he wrote in the source? And am I supposed to hide that he helped me with some code?
How to fix the problem with 'get_user_team' while the big plugins are using set_pdata_int? Do you think the offset changing with the fakemeta module will update the AMXX API team's ID? The people are supposed to do thousands of things for make you happy mister fysiks... :) @Arkshine at Code:
you should fix to avoid fysiks be traumatized more ;). @hleV at Code:
I remember the normal cs_set_user_team() way working on normal server, but crashing on Zombie Plague with a lot of players. Have you tried this on ZP? Also this cs_team_changer module is running on my zombie plague server, it is still alive since two or three days ago... [IMG]http://img607.**************/img607/1240/unledhly.th.png[/IMG] Without proofs we don't speak :D |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
Quote:
Arkshine's comment about me being "traumatized" was a joke. FYI |
Re: Module: CS Team Changer [avoid crashes in aggressive changes]
can you explain what does "FYI" mean:mrgreen:
I'm poor in english!:oops: |
All times are GMT -4. The time now is 11:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.