[Release] Force Team Update

01/02/2017 14:43 Cyrex'#1
Code:
using fnChangeTeam = bool ( __thiscall* )( void* /* this */, uint32_t /* teamId */, int32_t /* a3 */);

auto s4 = reinterpret_cast< uint32_t >( GetModuleHandleA( "S4Client.exe" ) );
auto ppgsc = reinterpret_cast< GameServerClient** >( s4 + 0x16BD348 );
auto GSC_ChangeTeam = reinterpret_cast< fnChangeTeam >( s4 + 0xB55C90 );

// -------------------------------------------------------------------

uint32_t teamId; // shouldn't be a stack var in this kinda usage
g_pGUI->RegisterEventHandler( CONTROLS::TextBox, Helpers::GetControlByID("txt_teamid"), &teamId );

// -------------------------------------------------------------------

// internally offsets GSC to GameRuleC2S (+0x6C)
// then calls the third vfunc to send a Room_TeamChange_Req
GSC_ChangeTeam( ppgsc, teamId, 1 );
Code:
"neutral = 0, alpha = 1, beta = 2, auto assign = 3"
01/02/2017 14:55 NorthGirl11#2
May I ask, what can it do? :)
01/02/2017 14:57 Cyrex'#3
Quote:
Originally Posted by NorthGirl11 View Post
May I ask, what can it do? :)
You can change your team ingame/in-lobby by sending this packet.
01/02/2017 15:07 darksirkhue#4
make a speedhack config configurable it would be great :)
01/02/2017 15:21 xsulker#5
how can i use it ?
01/02/2017 16:38 shinobika#6
what is this
01/02/2017 16:42 D1v1nox#7
Thnx broo usefull
01/02/2017 16:52 vaqif.azeri.2000#8
Hi Bro When you add the legitimize hack ? Time Pls !Fast&good job thx.
01/02/2017 17:13 JoseMariaGamer2000#9
Quote:
Originally Posted by vaqif.azeri.2000 View Post
Hi Bro When you add the legitimize hack ? Time Pls !Fast&good job thx.
Just let him time and don't pressure him dude, he is a great person giving us a chance to use a new free itc.
01/02/2017 22:07 Ⓜiku Ⓗatsune#10
nice work
01/02/2017 22:47 anonymous-29742#11
Thanks ♥
01/02/2017 23:20 SilverEmerald#12
This shit won't work ingame when match is started though.
01/03/2017 06:59 abdullahmohamed#13
How i Can Use it ? :v
01/03/2017 16:19 mortal3540#14
screen ss ? video pls..
01/04/2017 12:06 Shinzuya#15
rofl, funny how nobody knows how to use it XD