(Private Server) DarkOrbit Packets Thread

07/13/2017 15:32 LEJYONER(DS)#1
Hi everyone!
Herkese merhaba!


English:
I will share all the package codes I know to this thread. I think everyone should know about these codes so you should know that the emulator is coding to handle these packets. I will write the package codes in the spoiler and there will be pictures of them. I will update this thread when i find / learn some packet codes. I use this packets in 9.0 client.

Turkish:
Bildiğim bütün paket kodlarını bu konuda paylaşacağım. Bence herkesin bu paket kodlarını bilmesi gerekir ki emulator kodlamanın bu paket kodlarını işlemek olduğunu bilmelisiniz. Paket kodlarını spoiler içerisinde yazacağım ve görselle beraber koyacağım. Bu konuyu yeni bir paket kodu bulduğumda / öğrendiğimde güncelleyeceğim. Bu paketleri 9.0 sürümünde kullanıyorum.

- General - / - Genel -

- Skills - / - Yetenekler -

- Techs- / - Teknolojiler -

- Receive - / - Toplama -
07/13/2017 16:16 ZeusReally#2
Harika fakat yetenekler ve teknolojilerdeki resimler silinmiş güncellemen gerekiyor.
07/13/2017 16:17 LEJYONER(DS)#3
Teşekkürler, hemen güncelleyeceğim.
07/13/2017 16:55 [ Kysorce ]#4
Stop boosting leechers everywhere and make them learn by themselves :facepalm::facepalm: !

Also 50% of your images are down.

07/13/2017 17:28 LEJYONER(DS)#5
You can be confident that I will continue with this thread, i will re-upload all photos again. Keep your bad thoughts to yourself. Do not stay here if you do not need it...
07/13/2017 17:36 Freshek#6
Quote:
Originally Posted by KamrulHussen View Post
fuck private servers fr fuck them #closerequest
Dude, are you alright? Need some help?

About this thread. I think it's pretty good idea to have legacy packets documented somewhere, but I think I've already seen something like that on this forum.
07/13/2017 21:51 ItsTequila#7
I'm not sure they are all gonna be valid for newer / older clients.
Those legacy packets are of the version 9.0.

// Title packet
0|n|t|userID|colorid|title_key (translation)
colors =>
212 -> Blue / Lord of Likes
364 -> Bronze award
365 -> Silver award
366 -> Golden award
07/14/2017 13:15 UND3RW0RLD#8
since this seem to be server-packets send to the client, I'd love to have user-request too.

f.e.
User uses Tech (packet xy)
response from server "0|TX|A|S|ELA|(userID)"

What did the client send?
07/14/2017 13:33 LEJYONER(DS)#9
Quote:
Originally Posted by NUMANDERBUHMAN View Post
I'm not sure they are all gonna be valid for newer / older clients.
Those legacy packets are of the version 9.0.

// Title packet
0|n|t|userID|colorid|title_key (translation)
colors =>
212 -> Blue / Lord of Likes
364 -> Bronze award
365 -> Silver award
366 -> Golden award
Yes actually i use this packets on 9.0 client and all title loot id's in here: [Only registered and activated users can see links. Click Here To Register...]

The first title is "title_1" and thank you for color id's.

Quote:
Originally Posted by UND3RW0RLD View Post
since this seem to be server-packets send to the client, I'd love to have user-request too.

f.e.
User uses Tech (packet xy)
response from server "0|TX|A|S|ELA|(userID)"

What did the client send?
I use this packets on 9.0 client.
07/16/2017 16:54 45the45#10
Sorry for the ignorance but where of the server I need to put all these codes?
07/17/2017 03:05 LEJYONER(DS)#11
Quote:
Originally Posted by 45the45 View Post
Sorry for the ignorance but where of the server I need to put all these codes?
Sample: if you want make ship abilities; first check clientsettings and see other buttons like laser, rocket, etc.. After create a button in clientsettings. And write a code like; if you click this button; start this packet code: "0|SD|D|R|4|(userID)". Just like that.

Sample 2: If you want put titles; go to readyhandler and you will see some packet codes so write "0|n|t|(userID)|0|(title lootID)" this packet code just like other packet codes and you will see your title.
07/17/2017 03:12 jorg*#12
Why create a thread for something you can post at a official thread?
Private server support thread <---
07/17/2017 07:56 ItsTequila#13
Quote:
Originally Posted by jorg* View Post
Why create a thread for something you can post at a official thread?
Private server support thread <---
Easier to find.
07/18/2017 14:39 45the45#14
Quote:
Originally Posted by LEJYONER(DS) View Post
Sample: if you want make ship abilities; first check clientsettings and see other buttons like laser, rocket, etc.. After create a button in clientsettings. And write a code like; if you click this button; start this packet code: "0|SD|D|R|4|(userID)". Just like that.

Sample 2: If you want put titles; go to readyhandler and you will see some packet codes so write "0|n|t|(userID)|0|(title lootID)" this packet code just like other packet codes and you will see your title.
Sorry again for beeing so bad with computers I think I did what you told me but I can't see my title. What I did wrong? Thank you so much! :)
shit/src/simulator/netty/handlers/ReadyRequestHandler.java
PHP Code:
                    gameSession.getGameServerClientConnection()
                               .
sendPacket("0|n|t|(userID)|0|(title lootID)");
                               .
sendPacket("0|A|CC|2"); 
PHP Code:
             gameSession.getGameServerClientConnection()
                               .
sendCommand(new GroupInvitationStateCommand(false));
                    
gameSession.getGameServerClientConnection().sendPacket("0|n|d|" "|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");
                    
gameSession.getGameServerClientConnection().sendPacket("0|n|d|" "|5|2|6|0|2|6|0|2|6|0|2|6|0|2|6|0|2|6|0|1|1|0|1|2|0");
                    
gameSession.getGameServerClientConnection().sendPacket("0|n|t|(userID)|0|(title lootID)"
07/18/2017 21:02 LEJYONER(DS)#15
Quote:
Originally Posted by 45the45 View Post
Sorry again for beeing so bad with computers I think I did what you told me but I can't see my title. What I did wrong? Thank you so much! :)
shit/src/simulator/netty/handlers/ReadyRequestHandler.java
PHP Code:
                    gameSession.getGameServerClientConnection()
                               .
sendPacket("0|n|t|(userID)|0|(title lootID)");
                               .
sendPacket("0|A|CC|2"); 
PHP Code:
             gameSession.getGameServerClientConnection()
                               .
sendCommand(new GroupInvitationStateCommand(false));
                    
gameSession.getGameServerClientConnection().sendPacket("0|n|d|" "|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");
                    
gameSession.getGameServerClientConnection().sendPacket("0|n|d|" "|5|2|6|0|2|6|0|2|6|0|2|6|0|2|6|0|2|6|0|1|1|0|1|2|0");
                    
gameSession.getGameServerClientConnection().sendPacket("0|n|t|(userID)|0|(title lootID)"
You need use like that:
PHP Code:
                    gameSession.getGameServerClientConnection()
                               .
sendPacket("0|A|CC|2");

                    
gameSession.getPlayer() 
                    .
sendPacketToBoundSessions("0|n|t|" 
                     
gameSession.getAccount()
                            .
getUserId() + "|0|title_1"); 
You need use real data in brackets.
You will see <Master of the Orbit> title with this code.
Do this and post a photo for make me happy :)