Raised This Month: $ Target: $400
 0% 

[REQ] Teamswitch or Swap that works :>


Post New Thread Reply   
 
Thread Tools Display Modes
Rizla
SourceMod Donor
Join Date: Jun 2010
Old 09-07-2010 , 17:10   Re: [REQ] Teamswitch or Swap that works :>
Reply With Quote #11

Ive just started using ygmsm (ye gods match server manager) and they have a team swapper that works..
Rizla is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-08-2010 , 00:32   Re: [REQ] Teamswitch or Swap that works :>
Reply With Quote #12

Quote:
Originally Posted by Afronanny View Post
All of the teamswap plugins work the same way, using either ChangeClientTeam or CS_SwitchTeam. If neither of those work for you then there is not a working plugin that can be made right now. It's quite possible that the SourceMod developers need to update the Counter-Strike gamedata so these functions can work correctly.

There are plenty of people in #sourcemod on irc.gamesurge.net that will be willing to help you resolve the issue, or help you file a bug report if it is indeed a sourcemod bug.
I have not tested this functionality, but he hit the nail on the head. If that function is not working, then none of the plugins would work.

I am wondering if CS_SwitchTeam needs to be looked at.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 09-08-2010 , 16:01   Re: [REQ] Teamswitch or Swap that works :>
Reply With Quote #13

Quote:
Originally Posted by Antithasys View Post
I have not tested this functionality, but he hit the nail on the head. If that function is not working, then none of the plugins would work.

I am wondering if CS_SwitchTeam needs to be looked at.
I believe it does. I can't find the signature for CS_SwitchTeam in Counter-Strike's server.dll, even when accounting for wildcards. Bug filed here

Last edited by Afronanny; 09-08-2010 at 16:03.
Afronanny is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-08-2010 , 17:30   Re: [REQ] Teamswitch or Swap that works :>
Reply With Quote #14

Quote:
Originally Posted by Afronanny View Post
I believe it does. I can't find the signature for CS_SwitchTeam in Counter-Strike's server.dll, even when accounting for wildcards. Bug filed here
I do not believe it's called that in the .dll. I think this function is exactly the same as ChangeClientTeam() but it eliminates the "death" part for stats and scoring in CSS.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 09-08-2010 , 18:09   Re: [REQ] Teamswitch or Swap that works :>
Reply With Quote #15

Quote:
Originally Posted by Antithasys View Post
I do not believe it's called that in the .dll. I think this function is exactly the same as ChangeClientTeam() but it eliminates the "death" part for stats and scoring in CSS.
No it is not.

In the .dll, it looks like this (this is from the outdated gamedata)
Code:
\x83\xEC\x10\x56\x57\x8B\x7C\x24\x1C\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\x85\xC0\x0F\x84\xEA\x00\x00\x00\x83\xFF\x03\x74\x09\x83\xFF\x02\x0F\x85\xDC\x00\x00\x00\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x3B\xF8\x0F\x84\xDC\x00\x00\x00\x57\x8B\xCE\xC6\x86\x2A\x2A
Afronanny is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:20.


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