Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 15:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Darkorbit and c++ or c# packets

Discussion on Darkorbit and c++ or c# packets within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 02/11/2012, 12:20   #16
 
hoocrax's Avatar
 
elite*gold: 62
Join Date: Jan 2011
Posts: 1,242
Received Thanks: 1,531
But it says 2.3.1 ? OOOLd client ? coz new client is 5++
hoocrax is offline  
Thanks
1 User
Old 02/11/2012, 12:24   #17



 
Serraniel's Avatar
 
elite*gold: 0
The Black Market: 205/1/0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
That´s not login packet. It looks like this:
Code:
00 1A 4F E8 05 17 00 1C 4A F8 EE EB 08 00 45 00 
00 5B C3 D8 40 00 80 06 C5 FC C0 A8 B2 39 3E 92
BF 53 09 B1 1F 90 6C A6 A4 F2 56 B0 A2 43 50 18
FF FF 1D 14 00 00 00 31 00 03 00 00 01 AA 7E 84
00 00 00 20 38 32 37 65 35 62 34 31 31 32 35 64
30 37 61 38 30 36 64 34 63 66 35 38 39 33 32 61
39 39 62 34 00 03 35 2E 31
. This is an old sniffed login from 5.1.2 or sth like this...
Serraniel is offline  
Thanks
3 Users
Old 02/11/2012, 12:31   #18
 
hoocrax's Avatar
 
elite*gold: 62
Join Date: Jan 2011
Posts: 1,242
Received Thanks: 1,531
Yeah exactly,

The above u showed :
Quote:
3.Z.....1...siddddd..5.4.2
Is the new packet.. it appears as ... because it is encrypted !
hoocrax is offline  
Thanks
1 User
Old 02/11/2012, 12:52   #19
 
SekhmetPOL's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
Quote:
Originally Posted by hoocrax View Post
But it says 2.3.1 ? OOOLd client ? coz new client is 5++

This packet is from today, but i don't know why is 2.3.1
SekhmetPOL is offline  
Old 03/11/2012, 10:49   #20
 
SekhmetPOL's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
Okey, i have login packet from UridiumWars.
HTML Code:
LOGIN|UID|SID|ClientVersion.
I write that code:
Code:
 int SendPacket(Socket s, String str) {
            TcpClient k = new TcpClient("62.146.187.186", 8080);
            try {
			str += "\n\0";
            ASCIIEncoding encoder = new ASCIIEncoding();
            byte[] packet = encoder.GetBytes(str);
			
			if(k.Connected)
			    k.Send(packet,str.Length, 0);
		    }
		    catch(SocketException e) {
			return e.ErrorCode;
		    }
		    return 0;
	        }
But I don't know how send packet in C#
In C++:
Code:
k->Send(packet,str.Length, 0);


Thanks.
SekhmetPOL is offline  
Old 03/11/2012, 10:56   #21



 
Serraniel's Avatar
 
elite*gold: 0
The Black Market: 205/1/0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
Quote:
Originally Posted by SekhmetPOL View Post
Okey, i have login packet from UridiumWars.
HTML Code:
LOGIN|UID|SID|ClientVersion.
You said it. It´s from uri wars, and not for normal serveers. it won´t work. and the . at the end isn´t part of the packet!
Serraniel is offline  
Thanks
1 User
Old 03/11/2012, 11:02   #22
 
SekhmetPOL's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
Yes, i know.
But I programming this for UriWars, not DarkOrbit.
SekhmetPOL is offline  
Old 03/11/2012, 11:06   #23
 
elite*gold: 79
Join Date: Jun 2011
Posts: 2,477
Received Thanks: 596
i saw Udobot 4.1 for URidium wars . That was on , also working perfectly
Prime.™ is offline  
Old 03/11/2012, 11:15   #24
 
SekhmetPOL's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
Quote:
Originally Posted by imaboortsog View Post
i saw Udobot 4.1 for URidium wars . That was on , also working perfectly
And...?

My passion is programming. Not use ready-made programs
SekhmetPOL is offline  
Old 06/02/2012, 02:42   #25
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
Just so you know, DarkOrbit Packets aren't encrypted, just, serialized... with BigEndian. It's pretty easy to change the mode of a Socket to BigEndian

-jD
»jD« is offline  
Thanks
2 Users
Old 06/02/2012, 07:09   #26
 
SekhmetPOL's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
o.0
I anaylze SeaCrusher and packets are decryped in 2 functions.
SekhmetPOL is offline  
Old 06/02/2012, 10:44   #27
 
elite*gold: 0
Join Date: May 2011
Posts: 500
Received Thanks: 261
Quote:
Originally Posted by SekhmetPOL View Post
And...?

My passion is programming. Not use ready-made programs
if u r coding for uridium wars , u can just get help from UDObot 4.1 source code
as UW uses client something 2.x.x , it uses same packets as DO before , u can get all packets there in source , For DO ver 5.x.x packets are changed a lot , u can use UDO bot source to get functioning of bot, not packets

best of luck , coding is really fun when there are challenges
ßΙЍȺƦƴßȰȾ is offline  
Old 06/02/2012, 14:33   #28
 
elite*gold: 150
Join Date: Jun 2009
Posts: 55
Received Thanks: 3
I recently decompiled the (normal) DO Client.
In the ActionScript file which represents the logincommand, there's written:

Code:
public function _-dD(arg1:flash.utils.IDataOutput):void
        {
            arg1.writeShort(ID);                  //const ID:int = 160
            arg1.writeShort(this._-4z());      //_-4z() returns always 0
                                                        //(maybe decompile error)
            arg1.writeInt(this.userID);
            arg1.writeShort(this.factionID);
            arg1.writeUTF(this.sessionID);
            arg1.writeUTF(this.version);
            arg1.writeInt(this.instanceId);
            return;
        }
So the loginpacket may look like this:
160|0|USERID|FACTIONID|SESSID|CLIENTVERSION|INSTAN CEID
bottdo is offline  
Thanks
1 User
Old 06/02/2012, 15:56   #29
 
SekhmetPOL's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
But i must crypted packet to send to DO servers.
SekhmetPOL is offline  
Old 06/03/2012, 20:40   #30
 
elite*gold: 150
Join Date: Jun 2009
Posts: 55
Received Thanks: 3
The packets aren't crypted... it's only hard to read them if you use a packet sniffer. You only have to set your socket properly.
bottdo is offline  
Reply

Tags
darkorbit, packets, sockets


Similar Threads Similar Threads
[Packets] Wie änder ich flyff packets?
07/16/2011 - Flyff Private Server - 19 Replies
HeyHo, Ich würde sehr gerne wissen wie man die Flyff Packets ändert... ich denke mal Zahlen ändern werden nicht ausreichen oder?
[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 +1. The time now is 15:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.