(Private Server) DarkOrbit Packets Thread

12/03/2017 19:00 LEJYONER(DS)#61
Quote:
Originally Posted by kekexd127 View Post
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 :/
Actually you need to use your ship informations in packet code like that:

"0|n|t|+ User.getUserId +|0|+ User.getTitleId +"

You need to change the information in the brackets with the user's information to run the packet code.
12/06/2017 19:19 kekexd127#62
no, youre getting me wrong.
In the andromeda files this would not work, since you will get a blue title, wich is not able to get changed.

My code is like that now: (it automaticly adds the 0, so no worries)

Session.SendData(PacketComposer.Compose("n", "pt|" + (object) Session.CharacterId + "|" + Session.CharacterInfo.GameTitle));

if im using this ill get that:
[Only registered and activated users can see links. Click Here To Register...]

but when im using the code in the correct version, t only instead of pt ,then this happens:
[Only registered and activated users can see links. Click Here To Register...]

So sadly the problem is, that it would not accept the TitleID, it will take the input directly.
Also you cant change the color of it.
12/06/2017 19:50 LEJYONER(DS)#63
Quote:
Originally Posted by kekexd127 View Post
no, youre getting me wrong.
In the andromeda files this would not work, since you will get a blue title, wich is not able to get changed.

My code is like that now: (it automaticly adds the 0, so no worries)

Session.SendData(PacketComposer.Compose("n", "pt|" + (object) Session.CharacterId + "|" + Session.CharacterInfo.GameTitle));

if im using this ill get that:
[Only registered and activated users can see links. Click Here To Register...]

but when im using the code in the correct version, t only instead of pt ,then this happens:
[Only registered and activated users can see links. Click Here To Register...]

So sadly the problem is, that it would not accept the TitleID, it will take the input directly.
Also you cant change the color of it.
Ooo man my code is for 9.0 client.
12/06/2017 22:15 ItsTequila#64
Quote:
Originally Posted by LEJYONER(DS) View Post
Actually you need to use your ship informations in packet code like that:

"0|n|t|+ User.getUserId +|0|+ User.getTitleId +"

You need to change the information in the brackets with the user's information to run the packet code.
0 is color id.

ref to here: [Only registered and activated users can see links. Click Here To Register...]

Read that and you'll get a better understanding on what the title packet is.
12/08/2017 22:01 kekexd127#65
yes LEJYONER(DS) this is why i said that it does not work. ^^ and this is also why i said you have to use PT instead of T because T is title and PT is permanent title. and the T Title is the upper one, and the PT Title is the lower one
12/08/2017 22:29 LEJYONER(DS)#66
Quote:
Originally Posted by NUMANDERBUHMAN View Post
0 is color id.

ref to here: [Only registered and activated users can see links. Click Here To Register...]

Read that and you'll get a better understanding on what the title packet is.
Thank you but I thought he don't used his ship information so i wrote it :D