|
You last visited: Today at 18:54
Advertisement
[Collection] DarkOrbit Packets
Discussion on [Collection] DarkOrbit Packets within the DarkOrbit forum part of the Browsergames category.
09/02/2012, 11:20
|
#1
|
elite*gold: 0
Join Date: Jul 2012
Posts: 63
Received Thanks: 20
|
[Collection] DarkOrbit Packets
Hello bot-developers,
i have made a packet Collection. If you have a packet for me you can post in this thread.
I hope I helped and the packets are not too old.
Packets:
Note:
i = count
UID = userid
SID = sessionid
CV = clientversion
hero = botting ship
Login:
Quote:
Sell...
Sell Prometium:
Quote:
Sell Endurium:
Quote:
Sell Terbium:
Quote:
Sell Promerid:
Quote:
Sell Duranium:
Quote:
Sell Promerium:
Quote:
Move:
Quote:
// Note: x = fly to this x cordinate ; y =fly to this x cordinate ; hero.X = your X-pos ; hero.Y = your Y-pos
Change config:
Quote:
// Note : c = config
Switch laser:
Quote:
// Note: laser = 1 for X1; 2 for X2 ;3 for X3; 4 for X4
Attack with laser:
Quote:
//Note: id = id of the ship to attack
Please post in this thread if you have packets for the collection
Press THANKS if i helped.
|
|
|
09/02/2012, 11:30
|
#2
|
elite*gold: 260
Join Date: Sep 2012
Posts: 39
Received Thanks: 42
|
Allright let me share some real one's lol
Movement
Code:
OutgoingPacket OP = new OutgoingPacket(3357); // Old ID!
OP.Short(0);
OP.Integer(iHero.userX);
OP.Integer(y);
OP.Integer(x);
OP.Integer(iHero.userY);
PacketHandler.SendMessage(OP, Tcp);
Repair robot start
Code:
OutgoingPacket CM4 = new OutgoingPacket(22246); // Old ID!
CM4.Short(0);
CM4.UTF("S|ROB");
PacketHandler.SendMessage(CM4, Tcp);
Request Server (client) Version for DO:
Code:
OutgoingPacket Out = new OutgoingPacket(666); // Old ID (May not have changed..)
Out.Short(0);
Out.Integer(6);
Out.Integer(6);
Out.Integer(3);
SendMessage(Out, Tcp);
Reconnect & killscreen packet:
Code:
OutgoingPacket CM = new OutgoingPacket(8527);
CM.Short(0);
CM.Short(27513);
CM.Short(0);
CM.Short(1);
CM.Short(27704);
CM.Short(0);
CM.Integer(int.Parse(UID));
CM.Short(short.Parse(FACID));
CM.UTF(SSID);
CM.UTF("6.6.3");
CM.Integer(int.Parse(PID));
SendMessage(CM, Tcp);
ObjectSystem.isDeath = true;
SendCversion(Tcp);
Login packets (nowadays..)
Code:
OutgoingPacket CM = new OutgoingPacket(27704); // Old ID!
CM.Short(0);
CM.Integer(int.Parse(UID));
CM.Short(short.Parse(FACID));
CM.UTF(SSID);
CM.UTF("6.6.3");
CM.Integer(int.Parse(PID));
SendMessage(CM, Tcp);
OutgoingPacket CM3 = new OutgoingPacket(6588); // Old ID!
CM3.Short(0);
SendMessage(CM3, Tcp);
OutgoingPacket CM2 = new OutgoingPacket(19116); // Old ID!
CM2.Short(0);
CM2.Short(6);
SendMessage(CM2, Tcp);
OutgoingPacket CM4 = new OutgoingPacket(22246); // Old ID!
CM2.setNROL(false);
CM4.Short(0);
CM4.UTF("JCPU|GET");
SendMessage(CM4, Tcp);
|
|
|
09/02/2012, 11:33
|
#3
|
elite*gold: 0
Join Date: Jul 2012
Posts: 63
Received Thanks: 20
|
Quote:
Originally Posted by Neo Invincible
Allright let me share some real one's lol
Movement
Code:
OutgoingPacket OP = new OutgoingPacket(3357); // Old ID!
OP.Short(0);
OP.Integer(iHero.userX);
OP.Integer(y);
OP.Integer(x);
OP.Integer(iHero.userY);
PacketHandler.SendMessage(OP, Tcp);
Repair robot start
Code:
OutgoingPacket CM4 = new OutgoingPacket(22246); // Old ID!
CM4.Short(0);
CM4.UTF("S|ROB");
PacketHandler.SendMessage(CM4, Tcp);
Request Server (client) Version for DO:
Code:
OutgoingPacket Out = new OutgoingPacket(666); // Old ID (May not have changed..)
Out.Short(0);
Out.Integer(6);
Out.Integer(6);
Out.Integer(3);
SendMessage(Out, Tcp);
Reconnect & killscreen packet:
Code:
OutgoingPacket CM = new OutgoingPacket(8527);
CM.Short(0);
CM.Short(27513);
CM.Short(0);
CM.Short(1);
CM.Short(27704);
CM.Short(0);
CM.Integer(int.Parse(UID));
CM.Short(short.Parse(FACID));
CM.UTF(SSID);
CM.UTF("6.6.3");
CM.Integer(int.Parse(PID));
SendMessage(CM, Tcp);
ObjectSystem.isDeath = true;
SendCversion(Tcp);
Login packets (nowadays..)
Code:
OutgoingPacket CM = new OutgoingPacket(27704); // Old ID!
CM.Short(0);
CM.Integer(int.Parse(UID));
CM.Short(short.Parse(FACID));
CM.UTF(SSID);
CM.UTF("6.6.3");
CM.Integer(int.Parse(PID));
SendMessage(CM, Tcp);
OutgoingPacket CM3 = new OutgoingPacket(6588); // Old ID!
CM3.Short(0);
SendMessage(CM3, Tcp);
OutgoingPacket CM2 = new OutgoingPacket(19116); // Old ID!
CM2.Short(0);
CM2.Short(6);
SendMessage(CM2, Tcp);
OutgoingPacket CM4 = new OutgoingPacket(22246); // Old ID!
CM2.setNROL(false);
CM4.Short(0);
CM4.UTF("JCPU|GET");
SendMessage(CM4, Tcp);
|
this is code. what are the packets?
|
|
|
09/02/2012, 11:34
|
#4
|
elite*gold: 260
Join Date: Sep 2012
Posts: 39
Received Thanks: 42
|
Quote:
Originally Posted by DarkPlayer123
this is code. what are the packets?
|
You actually were away for a while don't ya?
This are packets, based on ByteArray's..
Code:
public class OutgoingPacket
{
public List<byte> Message;
public bool NROL;
public OutgoingPacket(short ID, bool NeedReverseOrLength = true)
{
Message = new List<byte>();
NROL = NeedReverseOrLength;
Short(ID);
}
public void setNROL(bool to)
{
NROL = to;
}
public void Integer(int Int32)
{
AddBytes(BitConverter.GetBytes(Int32), true);
}
public void Short(short Short)
{
AddBytes(BitConverter.GetBytes(Short), true);
}
public void UTF(string String)
{
Short((short)String.Length);
AddBytes(Encoding.Default.GetBytes(String), false);
}
public void Boolean(bool Bool)
{
AddBytes(new byte[] { (Bool) ? (byte)1 : (byte)0 }, false);
}
public void AddBytes(byte[] Bytes, bool IsInt)
{
if (IsInt)
{
for (int i = Bytes.Length - 1; i > -1; i--)
{
this.Message.Add(Bytes[i]);
}
}
else
{
this.Message.AddRange(Bytes);
}
}
public byte[] ToByteArray()
{
List<byte> NewMsg = new List<byte>();
NewMsg.AddRange(BitConverter.GetBytes(Message.Count));
NewMsg.Reverse();
NewMsg.AddRange(Message);
List<byte> NewMsg2 = new List<byte>();
for (int i = 2; i < NewMsg.ToArray().Length; i++)
{
NewMsg2.Add(NewMsg.ToArray()[i]);
}
return NewMsg2.ToArray();
}
}
Simple explaination of the working of DO's ByteArrays:
For example: Alien packets:
Code:
.H{......^...T........-=[ Streuner ]=-..!F.........................................^..!i...q...
the HEX of it:
Code:
00 48 7B 1C 00 00 05 E6 A7 5E 00 00 00 54 00 00 00 01 00 00 00 10 2D 3D 5B 20 53 74 72 65 75 6E 65 72 20 5D 3D 2D 00 00 21 46 00 00 18 C9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 14 18 A2 00 00 05 E6 A7 5E 00 00 21 69 00 00 19 71 00 00 03 E8
Then u pick the FIRST 2 Hex (bytes).. and parse them with:
00 48
Result=72 => We got the length of the whole packet here (Doesn't mean u need to add 72 items.. no)
Then the second 2 bytes: 7B 1C
There u got the Packet ID.. and from that way u can find more.. but I'll explain this later
|
|
|
09/02/2012, 11:40
|
#5
|
elite*gold: 56
Join Date: Jul 2010
Posts: 1,232
Received Thanks: 397
|
***** half your post comes in this thread 0 thanks post up whole codes for the packers lol xDD
|
|
|
09/02/2012, 11:41
|
#6
|
elite*gold: 260
Join Date: Sep 2012
Posts: 39
Received Thanks: 42
|
Quote:
Originally Posted by joepie1215
***** half your post comes in this thread 0 thanks post up whole codes for the packers lol xDD
|
As I said.. people don't know me (yet)
|
|
|
09/02/2012, 11:41
|
#7
|
elite*gold: 0
Join Date: Jul 2012
Posts: 63
Received Thanks: 20
|
Quote:
Originally Posted by Neo Invincible
You actually were away for a while don't ya?
This are packets, based on ByteArray's..
Code:
public class OutgoingPacket
{
public List<byte> Message;
public bool NROL;
public OutgoingPacket(short ID, bool NeedReverseOrLength = true)
{
Message = new List<byte>();
NROL = NeedReverseOrLength;
Short(ID);
}
public void setNROL(bool to)
{
NROL = to;
}
public void Integer(int Int32)
{
AddBytes(BitConverter.GetBytes(Int32), true);
}
public void Short(short Short)
{
AddBytes(BitConverter.GetBytes(Short), true);
}
public void UTF(string String)
{
Short((short)String.Length);
AddBytes(Encoding.Default.GetBytes(String), false);
}
public void Boolean(bool Bool)
{
AddBytes(new byte[] { (Bool) ? (byte)1 : (byte)0 }, false);
}
public void AddBytes(byte[] Bytes, bool IsInt)
{
if (IsInt)
{
for (int i = Bytes.Length - 1; i > -1; i--)
{
this.Message.Add(Bytes[i]);
}
}
else
{
this.Message.AddRange(Bytes);
}
}
public byte[] ToByteArray()
{
List<byte> NewMsg = new List<byte>();
NewMsg.AddRange(BitConverter.GetBytes(Message.Count));
NewMsg.Reverse();
NewMsg.AddRange(Message);
List<byte> NewMsg2 = new List<byte>();
for (int i = 2; i < NewMsg.ToArray().Length; i++)
{
NewMsg2.Add(NewMsg.ToArray()[i]);
}
return NewMsg2.ToArray();
}
}
|
i have the packets from UDOBot...
and i don't code java... or understand java. or which language it's coded?
|
|
|
09/02/2012, 11:42
|
#8
|
elite*gold: 464
Join Date: Dec 2010
Posts: 3,999
Received Thanks: 3,909
|
@TE
Your packets are the very old packets
Not the acutally ones
|
|
|
09/02/2012, 11:43
|
#9
|
elite*gold: 260
Join Date: Sep 2012
Posts: 39
Received Thanks: 42
|
Actually it's C#, and not hard to learn.. packets from UDOBot are quite old.. let me say very old
|
|
|
09/02/2012, 11:45
|
#10
|
elite*gold: 0
Join Date: Jul 2012
Posts: 63
Received Thanks: 20
|
i'll learn to sniff packets, but i dont understand how to
|
|
|
09/02/2012, 11:46
|
#11
|
elite*gold: 260
Join Date: Sep 2012
Posts: 39
Received Thanks: 42
|
Protip: WPEProMod.. or WireShark or something simular, then u'll get also things like:
Code:
.)h....#0|D|7034|7637|0|0|0|0|0|0|7267|7295.
Yes! there are some "old like" packets in DO.. still much of them are used, but another way like before (quite smart).
|
|
|
09/02/2012, 11:49
|
#12
|
elite*gold: 0
Join Date: Jul 2012
Posts: 63
Received Thanks: 20
|
Quote:
Originally Posted by Neo Invincible
Protip: WPEProMod.. or WireShark or something simular, then u'll get also things like:
Code:
.)h....#0|D|7034|7637|0|0|0|0|0|0|7267|7295.
Yes! there are some "old like" packets in DO.. still much of them are used, but another way like before (quite smart).
|
i have WPEProMod ... i think the problem is... i dont understand hex...
|
|
|
09/02/2012, 13:04
|
#13
|
elite*gold: 2
Join Date: Aug 2012
Posts: 1,029
Received Thanks: 1,109
|
The flying packet was something like
FLY|Hero.X|NewX|Hero.Y|NewY
or
FLY|NewX|Hero.X|NewY|Hero.Y
but NOT
FLY|x|y|hero.x|hero.y
|
|
|
|
Similar Threads
|
How Do You Decrypt Darkorbit Packets?
07/26/2012 - DarkOrbit - 4 Replies
Been looking into this the past few days now, i see the data, i know parts of it are encrypted but i dont know how to go about decrypting them. Been using WireShark to read the packets.
I heard to use MD5 was used, but i've found very little other information about the subject here or abroad.
|
[C#] DarkOrbit - Packets Handler
07/12/2012 - .NET Languages - 1 Replies
Hi community!
I play on UridiumWars (old Darkorbit - old packets etc.)
I write bot in C#. I write login(work), but I analyze UDOBOT and i have a problem.
I found function: void PacketHandler
She takes the arguments:
Socket ^hSocket, String ^packet
I have socket, but i don't what's going on with packet.
When you call the function:
|
Darkorbit and c++ or c# packets
06/23/2012 - DarkOrbit - 31 Replies
Hi
i programing in c++ and c#, but i don`t understand how we write DO bots. I can write tools, but with webbrowser control(it‘s very stupid). can we give me links to tutorials about this(sockets, packets in web games) or ezample codes(fe. login into darkorbit)
Thank ;)
Sorry for my English. I‘m Polish ;)
|
Darkorbit Packets
06/18/2012 - DarkOrbit - 0 Replies
Hat sich geklärt kann geclosed werden
lg.deathline4ever
|
[Developing] Darkorbit Bot Packets
01/16/2011 - DarkOrbit - 11 Replies
Hallo,
ich bin gerade dabei einen DO Bot zu erstellen. allerdings hab ich ein problem bei den Packets:
Also als erstes muss ich ja wissen, an welche IP die Daten gesendet werden müssen. Nunja, die IP habe ich bisher nur von der Startseite rausbekommen, und diese hat sich auch schon geändert. Aber ist die von der Startseite überhaupt die richtige? Und Port ist doch 8080 oder? (Ich weiß das ich auch einfach in der eingabeaufforderung netstat -n eingeben kann. Aber bei der IP klappts auch net...
|
All times are GMT +2. The time now is 18:54.
|
|