Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
help me please UDP3 Event Position Error
#1
UDP3 Event Position Error how to fix
https://www.youtube.com/watch?v=rDUIK4Up...e=youtu.be
Ответ
#2
One of the packets is sent with not correct structure, as a result the player receives not correct coordinates and because of this the player is teleported.

How does the death of player happen?

First u need to send (Hit = 0x200000), then synchronize the quantity of HP (HpSync = 0x100) and only when HP will be equal to 0 - the PROTOCOL_BATTLE_DEATH_ACK to be sent
Ответ
#3
I don't know what the point?
Ответ
#4
I need a sample structure Hit
Ответ
#5
[SRC="csharp"]// byte (count)

// int (hitInfo)
// byte
// byte
// byte
// int (itemId)

// FirePos
// float (X)
// float (Y)
// float (Z)

// TargetPos
// float (X)
// float (Y)
// float (Z)[/SRC]
Ответ
#6
send Event 4 correct?
Код:
if ((P2P.Flag & 4) > 0)
{
    UDP_PosRotation Position = new UDP_PosRotation(Read.readUnsignedShort(), Read.readUnsignedShort(), Read.readUnsignedShort(), Read.readUnsignedShort(), Read.readUnsignedShort(), Read.readUnsignedShort());
    Player.Position = Position;
    Send.Buffer.writeShort(Position.X);
    Send.Buffer.writeShort(Position.Y);
    Send.Buffer.writeShort(Position.Z);
    Send.Buffer.writeShort(Position.CamX);
    Send.Buffer.writeShort(Position.CamY);
    Send.Buffer.writeShort(Position.Area);
    P2P.Flag ^= 4;
}
Ответ
#7
The structure is correct but does the writeShort write uint16?
Ответ
#8
read = short, write = ByteBuf(int arg0) is correct?
#Java
Ответ
#9
read = short, write = ByteBuf(int arg0) is correct?
#Java
Ответ
#10
plz @PROGRAMMATOR
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  UDP3 MomzGames - Auth Protected (v42) vinne 0 3,855 01-08-2020, 03:02 AM
Последний пост: vinne
  [Source] UDP3 MoMz Auth Protected vinne 0 3,428 01-08-2020, 03:01 AM
Последний пост: vinne
  UDP3 Helicopter animation nikolen 0 2,462 09-01-2019, 08:46 PM
Последний пост: nikolen
  [Help] Point blank UDP3 ON indows 0 2,315 07-04-2019, 03:41 AM
Последний пост: indows
  UDP3 Grenade problem zOne62 5 2,365 12-16-2018, 12:03 PM
Последний пост: zOne62
  UDP3 POSITION ERROR Comandante9901 13 5,761 10-10-2018, 09:20 AM
Последний пост: ChunkyHunt
  help me UDP3 DeathDataForClient Event Id 2048 bmzproject 2 1,859 07-20-2018, 07:04 AM
Последний пост: battleBugado
  UDP3 answer ManuelDev 3 2,266 07-03-2018, 04:27 PM
Последний пост: bmzproject
  UDP3 Send-back packet ManuelDev 3 2,108 06-29-2018, 12:18 PM
Последний пост: ManuelDev
  pay for udp3 Light 0 1,661 06-29-2018, 02:04 AM
Последний пост: Light

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)