View Single Post
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 02-20-2015 , 00:00   Re: Module: CS Team Changer Ultimate [avoids crashes in aggressive changes]
Reply With Quote #54

Is that problem happening on Linux builds? Are you using the latest HLDS version provided by SteamCMD Installer?
I can't test it any other way but on this latest version.

https://developer.valvesoftware.com/wiki/SteamCMD

I have tested it on CZero-Windows with BOTs (30 BOTs and me) and everything worked fine.
I am also going to test on Linux... Even if I feel like it's going to be the same.

Quote:
Originally Posted by EDUTz View Post
I have a question. Is this solved in current amxmodx 1.8.2 version ? some posts before were mentioning that this would be done in 1.8.2 dev version. There's a 1.8.3 dev right now so ... is this fixed, will it be fixed or should i use this module in case i wanna remove delay from changing teams ?

EDIT: kicked -> msg not present on client 255 error

EDIT2:





wtf?

EDIT3: [COUNTER-STRIKE TEAM CHANGER] Cannot access player 1, it's not safe enough!

What? Regarding "EDIT", I haven't seen this message. Can you show me the SMA script you're using?
Regarding "EDIT2", there is no way of changing Player's #0 (worldspawn) team.
Regarding "EDIT3", Player #1 was not in-game (not connected).

Show me your SMA next time before making me re-test.

This is the code I tested.

PHP Code:
// swaps CTs with Ts
new team;
for(new 
1<= get_maxplayers(); i++)
{
  if (
is_user_connected(i)&&0<(team=get_user_team(i))<3)
     
cs_set_team(iteam==1?CSTEAM_CT:CSTEAM_TERRORIST);

__________________

Last edited by claudiuhks; 02-20-2015 at 00:07.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks