RakNet

Status
Not open for further replies.

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
I try to make it visible to me and to other players, but only the players can see me do this !!  :angry:

Code:
bool HookedRakClientInterface::Send( BitStream * bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel )
{
	traceLastFunc( "HookedRakClientInterface::Send(BitStream)" );
	
	// use this if you wanna log outgoing packets
	BYTE packetId;
	bitStream->Read( packetId );
	//Log( "< [Packet Send] %d, len: %d", packetId, bitStream->GetNumberOfBytesUsed() );

	if (packetId == ID_PLAYER_SYNC)
	{
		stOnFootData OutgoingOnFootData;

		bitStream->ResetReadPointer();

		bitStream->Read(packetId);
		bitStream->Read((PCHAR)&OutgoingOnFootData, sizeof(stOnFootData));
		
		if (cheat_state->_new.stupidwalk)
		{
			OutgoingOnFootData.fQuaternion[0] = 1;
			OutgoingOnFootData.fQuaternion[1] = 0;
			OutgoingOnFootData.fQuaternion[2] = 0;
			OutgoingOnFootData.fQuaternion[3] = 0;
		}

		bitStream->Reset();

		bitStream->Write((BYTE)ID_PLAYER_SYNC);
		bitStream->Write((PCHAR)&OutgoingOnFootData, sizeof(stOnFootData));
	}

	return g_RakClient->GetRakClientInterface()->Send( bitStream, priority, reliability, orderingChannel );
}
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
Really? Are you finally done spamming with question for question for making your s0beit project?
Make a damn thread to ask all these, or finally learn something from the help other members gave ya.
 

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
0x688 link said:
Really? Are you finally done spamming with question for question for making your s0beit project?
Make a damn thread to ask all these, or finally learn something from the help other members gave ya.
OK OK!  :watchout:
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
Set the ped quaternion? I'm not sure but it should have visual effect on both you and other players.
 

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
springfield link said:
Set the ped quaternion? I'm not sure but it should have visual effect on both you and other players.
Is not metter, the principle is other players can see me do this, and i am not see me to this.
The question is: How i can see myself do raknet shit things ? (Like Spinning)
 

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
springfield link said:
lel, you can't.
Yes??, Soo how the hell niexrlam and sonict make this?? https://youtu.be/mCmV_wIw6nI?t=424  :youdontsay:
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
NxFullieX link said:
Yes??, Soo how the hell niexrlam and sonict make this?? https://youtu.be/mCmV_wIw6nI?t=424  :youdontsay:
modify player spin...

(CPed+0x14) +0x0 to +0x2C = [dword] Is the rotation matrix


*(float*)(*(DWORD*)(*(DWORD*)(0xB6F5F0) + 0x14) + Offset) = Value

Value is float, and  0x2C <= Offset <= 0x0


for crazy spin try this :
PHP:
void CrazySpinOnce()
{
   for(int i = 0; i <= 11; i++)
 {
    float spin = -3.14f + static_cast <float> (rand()) /( static_cast <float> (RAND_MAX/(6.28f)));
  *(float*)(*(DWORD*)(*(DWORD*)(0xB6F5F0) + 0x14) + i*0x4) = spin;
 }
}
 

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
T3K link said:
modify player spin...

(CPed+0x14) +0x0 to +0x2C = [dword] Is the rotation matrix


*(float*)(*(DWORD*)(*(DWORD*)(0xB6F5F0) + 0x14) + Offset) = Value

Value is float, and  0x2C <= Offset <= 0x0


for crazy spin try this :
Thanks i will try this!  :urtheman:
Now... you or someone know how to print unicode in D3D ? (menu/HUD_TEXT/Other Shit)??
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
NxFullieX link said:
Yes??, Soo how the hell niexrlam and sonict make this?? https://youtu.be/mCmV_wIw6nI?t=424  :youdontsay:

You can't do that through raknet, that's why i told you to edit the ped struct.
Learn what the fuck packets/raknet are/is, also learn some basic C++, your questions are basic as fuck.
 
Status
Not open for further replies.
Top