How i can catch the Packet which will revive me on same place after death?
sendPacket("0|n|d|"+1+"|2|2|2|2");
You need save your last positionX and positionY to your database after death. And you need use positionX and positionY positions from your database when you start the game.Quote:
How i can catch the Packet which will revive me on same place after death?
sendPacket("0|n|d|" + gameSession.getAccount().getUserId() + "|42|2|6|2|2|6|2|2|6|2|2|6|2|2|6|2|2|6|2|2|6|2|2|6 |2|3|6|2|4|6|2");Quote:
i have a Problem with the Drone Packet for Client 9.0
i dont know what paramter is Level, Drone_Type and Drone Level.Code:sendPacket("0|n|d|"+1+"|2|2|2|2");
My Code show me Iris with Blue Design and Level 1 o.O
can you help me ?
sendPacket("0|n|d|" + gameSession.getAccount().getUserId() + "|42|2|6|2|2|6|2|2|6|2|2|6|2|2|6|2|2|6|2|2|6|2|2|6 |2|3|6|2|4|6|2");Quote:
What is the packet code of the drones?
The server sends data and unless the character mapping is different (wide string alias Unicode for example) bytearray and string literally contain the same dataQuote:
dont you normally send the packets in bytearray's and not string in 9.0 client?
However in 6.3.1> versions that's not the case. There is a command for sending string based packets (LegacyModule) and if you send it as a plain packet you will crash the client.Quote:
The server sends data and unless the character mapping is different (wide string alias Unicode for example) bytearray and string literally contain the same data
{ 'T', 'e', 'x', 't'} and "Text" are the same if you read it in binary :)