Helpsetting up Send to Server in a menu

Posts 1–8 of 8 · Page 1 of 1
setting up Send to Server in a menu
i forget how to do it. It's not for CA, it's for a team of people i'm with's FPS game TPS that's on the lithtech engine and i need to know what to patch in the game's code.

it's been awhile and i can't remember XD
Tip: int TSendtoServer = 1;
did not quite understand ...
o.0
What do you wanna do? I dont get you...
Do you wanna hook S2S or do you wanna set it up in your own game to use it there?
I wouldnt use that engine at all because your game will end like CA xD
well @supercarz1991 I have quite a bit of respect for you in the CA community so i'll help you with both ways of hooking and just using it for cheats like voice spammer etc..

Let's start with the easy one:

Code:
Not sure if these are up to date or not but here's the address's these may or may not be a patch old.

#define S2S					 0x47AF20
#define LTClient  			 0x379498F4
Code:
I know you know your stuff so I won't blab with details just grab the codes below and place them accordingly

CLTClient* g_LTClient;
CCommonLT* g_CommonLT;

unsigned int ValidPointer( void* p )
{ 
	return ( p != 0 ) ? 1 : 0;
}

if(vspammer)
	{
		pSendToServer = (tSendToServer)ADDR_S2SE;
		g_LTClient = *(CLTClient**)ADDR_LTCLIENT;
		g_CommonLT = g_LTClient->Common();
		if(ValidPointer(g_LTClient))
		{
			CAutoMessage Msg;
			Msg.Writeuint8( 190 );
			Msg.Writeuint16( 0 );
			Msg.Writeuint32( 0 );
			Msg.Writeuint8( 2 );
			Msg.Writeuint8( 8 );
			pSendToServer(Msg.Read(), MESSAGE_GUARANTEED);
		}
	}

#include "message.h"

If you need the SDK let me know
And as for hooking s2s i'll just give you a base to pick apart, don't worry though it's noob proof. It only demos the s2s hacks but everything you need to hook s2s for ex: logging or unlim ammo is there. Just update some things and throw in a detour and hook



Edit: I just re read your post, this probably won't help but it's here now anyways. My bad. :P
If you need help working with lithtech lemme know I may be of some use.
CA UNLIM AMMO S2S_mpgh.net.rar1006 KB · 27 downloads Clean
@Acea

that was extremely helpful in helping me understand the issues i'm having. The only other issue i seem to have is the physical SDK itself

i keep getting errors like this

Code:
1>e:\users\boxxi\documents\visual studio 2010\projects\d3d\hackingscene public base\razor1337 base\ltclient.h(5) : fatal error C1083: Cannot open include file: 'SDK\iltmessage.h': No such file or directory
and that's obviously an existing file. I checked. it's included in my project

the other issue is my SDK doesn't even have this file... #include "ltlibraryloader.h"
i've tried like 5-6 different sdk's. 2 of which i actually have used in the past.

the only other issue is this

Code:
1>e:\users\boxxi\documents\visual studio 2010\projects\d3d\hackingscene public base\razor1337 base\crasher\ltstrutils.h(110) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
lots of those LOL i might just wait until mat's ready to take this step toward the anti-cheat because i have bad luck with this stuff.
Quote Originally Posted by supercarz1991 View Post
@Acea

that was extremely helpful in helping me understand the issues i'm having. The only other issue i seem to have is the physical SDK itself

i keep getting errors like this

Code:
1>e:\users\boxxi\documents\visual studio 2010\projects\d3d\hackingscene public base\razor1337 base\ltclient.h(5) : fatal error C1083: Cannot open include file: 'SDK\iltmessage.h': No such file or directory
and that's obviously an existing file. I checked. it's included in my project

the other issue is my SDK doesn't even have this file... #include "ltlibraryloader.h"
i've tried like 5-6 different sdk's. 2 of which i actually have used in the past.

the only other issue is this

Code:
1>e:\users\boxxi\documents\visual studio 2010\projects\d3d\hackingscene public base\razor1337 base\crasher\ltstrutils.h(110) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
lots of those LOL i might just wait until mat's ready to take this step toward the anti-cheat because i have bad luck with this stuff.
Don't include ltclient.h, it's not generally needed. However if you do need it I can help you fix it, whatever you're trying to do should work fine without it though

and for the warning message just do:

Code:
#pragma warning(disable : 4996)
Quote Originally Posted by Acea View Post
Don't include ltclient.h, it's not generally needed. However if you do need it I can help you fix it, whatever you're trying to do should work fine without it though

and for the warning message just do:

Code:
#pragma warning(disable : 4996)
add me on skype if you wanna help. might be fun :P

it's KaptinBoxxi for my skype username
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us