Some fun with the engine

Posts 16–30 of 33 · Page 2 of 3
Quote Originally Posted by 96neko View Post
since this game is dead ass already i think it's time to post something fun too , just figure out what it does and how you can make it work , @jayjay153 since you have reversed the engine i think you can figure it out fast , if you successfully manage to make it work post a feedback , @veryboreddd maybe interesting too ?
Code:
CAutoMessage cMsg;
cMsg.Writeuint8(MID_PLAYER_CLIENTMSG);//MID
cMsg.Writeuint8(CP_DAMAGE);//MSG ID
cMsg.Writeuint8(DT_CRUSH);//DMG TYPE
cMsg.Writefloat(fDamage);//DMG AMOUNT
cMsg.Writeuint8(0);//eat da booty
cMsg.WriteObject(g_pLTClient->GetClientObject());//enemy object
g_pLTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED);
Just saw this, challenge accepted but coming from a combat arms background pretty sure I already know what this is going to do. I'll update this post once I figure it out

- - - Updated - - -

@Neko Update: 95% sure just from looking at the code it's giving fall damage to players.

Update 2:
Can't be asked to pull the sdk; but based off what you gave us and reading the sdk it's forsure giving players fall damage
Quote Originally Posted by veryboreddd View Post
Just saw this, challenge accepted but coming from a combat arms background pretty sure I already know what this is going to do. I'll update this post once I figure it out

- - - Updated - - -

@Neko Update: 95% sure just from looking at the code it's giving fall damage to players.

Update 2:
Can't be asked to pull the sdk; but based off what you gave us and reading the sdk it's forsure giving players fall damage
the bottom line of what i want to say is to make it work , thats the challenge
Quote Originally Posted by 96neko View Post
the bottom line of what i want to say is to make it work , thats the challenge
That means i have to add the sdk but fine just because I am interested in seeing this!
Quote Originally Posted by veryboreddd View Post
Just saw this, challenge accepted but coming from a combat arms background pretty sure I already know what this is going to do. I'll update this post once I figure it out

- - - Updated - - -

@Neko Update: 95% sure just from looking at the code it's giving fall damage to players.

Update 2:
Can't be asked to pull the sdk; but based off what you gave us and reading the sdk it's forsure giving players fall damage
Interesting, if it is related to fall dmg I might know which packet
Quote Originally Posted by vaisefud3 View Post
Interesting, if it is related to fall dmg I might know which packet
there's burn , choke poison and freeze not only fall damage type

edit , you can make a DamageStruct which you can define the damage type,damage and sender , the struct extends from objectrefreciver

bonus :
Code:
https://github.com/jsj2008/lithtech/blob/master/FEAR/ObjectDLL/Destructible.cpp#L65
Yeah, I couldn't do it. I thought maybe messing with the MSG_CS_DAMAGE_AI packet would do some good, but no results for CFBR.
This is the packet structure. If you can do anything with it, dm me.

Code:
ILTMessage_Write* msg;
if ( vars::g_ltcommon->CreateMessage( msg ) == LT_OK )
{
	msg->IncRef( );
	msg->Writeuint16( MSG_CS_DAMAGE_AI );
	msg->WriteBits( 0xB27AD5F7, 5 );
	msg->Writeuint8( 0 );
	msg->Writeuint8( 10 ); //changes, dunno what it is
	msg->Writeuint8( 0 );
	msg->Writeuint8( 255 );
	msg->Writeuint16( 6 ); //6 is the grenade id, maybe it can be changed to something else?

	LTVector pos;
	pos.x = *ReCa<float*>( object + 0xE8 );
	pos.y = *ReCa<float*>( object + 0xEC );
	pos.z = *ReCa<float*>( object + 0xF0 );

	msg->WriteCompLTVector( pos );

	msg->Writeint8( 0 );
	vars::g_ltclient->SendToServer( msg->Read( ), MESSAGE_GUARANTEED );
	msg->StaticDecRef( );
}
@veryboreddd how's it going there?
Code:
GAMEPROTO_CS_DAMAGE
Quote Originally Posted by dreek1 View Post
Code:
GAMEPROTO_CS_DAMAGE
That is only good for anti HE damage as far as I've seen
Quote Originally Posted by 96neko View Post
since this game is dead ass already i think it's time to post something fun too , just figure out what it does and how you can make it work , @<a href="https://www.mpgh.net/forum/member.php?u=4811090" target="_blank">jayjay153</a> since you have reversed the engine i think you can figure it out fast , if you successfully manage to make it work post a feedback , @<a href="https://www.mpgh.net/forum/member.php?u=5765395" target="_blank">veryboreddd</a> maybe interesting too ?
Code:
CAutoMessage cMsg;
cMsg.Writeuint8(MID_PLAYER_CLIENTMSG);//MID
cMsg.Writeuint8(CP_DAMAGE);//MSG ID
cMsg.Writeuint8(DT_CRUSH);//DMG TYPE
cMsg.Writefloat(fDamage);//DMG AMOUNT
cMsg.Writeuint8(0);//eat da booty
cMsg.WriteObject(g_pLTClient->GetClientObject());//enemy object
g_pLTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED);
yeah it works

Quote Originally Posted by jayjay153 View Post
yeah it works

cool , yet no credits to me?
Quote Originally Posted by 96neko View Post
cool , yet no credits to me?
i forgot to put credits.

credits:
96neko
vaisefude3
Quote Originally Posted by jayjay153 View Post
i forgot to put credits.

credits:
96neko
vaisefude3
ty , just don't share & spread it out to anyone especially those egys ( not being racist they will just use it to profit from it )
tho if u want another challenge there's another game like cf which is a bit hard to deal with , i told vaisefude3 about it but he has no exp in AC so.. if ur up tell me
Nice work great nade kill

Might wanna share the Spicy Sauce with me ?

Her is my E-Mail:
basetop@web.de
I wont spread it just want to try it out
Quote Originally Posted by EGOIST0162 View Post
I wont spread it just want to try it out
he is free to share it or not tho, however if it's shared it will be patched next day ,and i posted the base code ,scroll up
Posts 16–30 of 33 · Page 2 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us