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
Originally Posted by veryboreddd
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
Originally Posted by 96neko
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!
Originally Posted by veryboreddd
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
Originally Posted by vaisefud3
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
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( );
}
That is only good for anti HE damage as far as I've seen
Originally Posted by 96neko
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
Originally Posted by jayjay153
yeah it works
cool , yet no credits to me?
Originally Posted by 96neko
cool , yet no credits to me?
i forgot to put credits.
credits:
96neko
vaisefude3
Originally Posted by jayjay153
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