(Private Server) DarkOrbit Packets Thread

08/16/2017 18:14 МаксLamyr#46
How i can catch the Packet which will revive me on same place after death?
08/16/2017 22:32 HammerTyrs22#47
i have a Problem with the Drone Packet for Client 9.0


Code:
sendPacket("0|n|d|"+1+"|2|2|2|2");
i dont know what paramter is Level, Drone_Type and Drone Level.
My Code show me Iris with Blue Design and Level 1 o.O

can you help me ?
10/31/2017 03:06 WarriorYT#48
Thanks ;)
11/04/2017 19:19 bartekxd90#49
gdzie ten link zajebany
11/04/2017 20:14 LEJYONER(DS)#50
Quote:
Originally Posted by МаксLamyr View Post
How i can catch the Packet which will revive me on same place after death?
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:
Originally Posted by HammerTyrs22 View Post
i have a Problem with the Drone Packet for Client 9.0

Code:
sendPacket("0|n|d|"+1+"|2|2|2|2");
i dont know what paramter is Level, Drone_Type and Drone Level.
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");

A sample code for drone packet.

In-game photo:

[Only registered and activated users can see links. Click Here To Register...]
11/04/2017 20:33 Marina0000#51
Gives there a packet for drone design?
11/04/2017 20:40 LEJYONER(DS)#52
Quote:
Originally Posted by Marina0000 View Post
Gives there a packet for drone design?
You can create a table in your database for drones and use it (droneID,droneLevel,Config1DroneDesign etc..) or you can use packet code for drones.
11/04/2017 21:28 Freshek#53
Quote:
Originally Posted by bartekxd90 View Post
gdzie ten link zajebany
What link? I think you are on a wrong thread.
11/05/2017 13:36 Battlemaster#2#54
dont you normally send the packets in bytearray's and not string in 9.0 client?
11/05/2017 14:16 LEJYONER(DS)#55
Quote:
Originally Posted by Battlemaster#2 View Post
dont you normally send the packets in bytearray's and not string in 9.0 client?
You can send packets in string on 9.0 client and also bytearray's using for write server command.
11/05/2017 14:26 Marina0000#56
Quote:
Originally Posted by LEJYONER(DS) View Post
You can create a table in your database for drones and use it (droneID,droneLevel,Config1DroneDesign etc..) or you can use packet code for drones.
What is the packet code of the drones?
11/05/2017 14:36 LEJYONER(DS)#57
Quote:
Originally Posted by Marina0000 View Post
What is the packet code of the drones?
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");

A sample code for drone packet.

In-game photo:

[Only registered and activated users can see links. Click Here To Register...]
11/09/2017 22:12 MuffinMario#58
Quote:
Originally Posted by Battlemaster#2 View Post
dont you normally send the packets in bytearray's and not string in 9.0 client?
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 :)
11/17/2017 07:45 ItsTequila#59
Quote:
Originally Posted by MuffinMario View Post
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 :)
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.
12/03/2017 03:57 kekexd127#60
sadly the title thing ([Only registered and activated users can see links. Click Here To Register...])
"0|n|t|(userID)|0|(title lootID)"

does not work with the andromeda files

Instead you need to use the |pt| ,wich means Permanent Title btw. instead the |t|
This gives you the purple title :/