Darkorbit and c++ or c# packets

02/10/2012 15:00 SekhmetPOL#1
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 ;)
02/10/2012 15:06 Vonyx#2
Quote:
Originally Posted by SekhmetPOL View Post
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 ;)

Look for UdoBot source code, is c++. Since then the DO communication protocol has been updated. Never the less, since you already know c++ it should not be an issue for you to understand the gist of how the bot works.
02/10/2012 15:23 linksus#3
Quote:
Originally Posted by SekhmetPOL View Post
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 ;)
I would ask Gähn ;)
02/10/2012 15:32 supernoob.#4
why allways gahn ?!
he has his things to do :P
02/10/2012 16:23 aj1987#5
Tcp isnt so easy as it was... since the update the tcppackets are encoded...
sure there is a way, but if u ask about how do a tcp bot i think it will be more dificult...
02/10/2012 19:30 lollo900#6
gahn program in vb.net
02/10/2012 19:40 aj1987#7
Quote:
Originally Posted by lollo900 View Post
gahn program in vb.net
not at all.. but that isnt the question here...
02/10/2012 19:41 Serraniel#8
Not only VB uses .Net. Also C# can use .Net
02/11/2012 10:59 SekhmetPOL#9
Thanks.

I write this:
Code:
TcpClient klient = new TcpClient();
klient.Connect("62.146.187.186", 8080);
This code is the base but can be useful for someone.


IPAddres you can get from
Code:
http://pl3.darkorbit.bigpoint.com/spacemap/xml/maps.php
Look for source this page ;)

So you want your connection to the server DO?

After encoding this code package will work?

Code:
LOGIN|UID|SID|Clientversion
02/11/2012 11:07 Serraniel#10
Nope. This won´t work...
02/11/2012 11:18 SekhmetPOL#11
What won't work? Packet or TCP.Connect?
TCP is connected.
02/11/2012 11:28 Serraniel#12
The packet you want to send. It was in Darkorbit Version 4.x, but on 5.x it doesn´t work with those commands!
02/11/2012 11:40 SekhmetPOL#13
Quote:
Originally Posted by gähn View Post
The packet you want to send. It was in Darkorbit Version 4.x, but on 5.x it doesn´t work with those commands!

This packet does not work if they are locked all the packets?

With NoobKiller I found this packet
Code:
3.Z.....1...siddddd..5.4.2
And to map.

Code:
bu%-1%|LOGIN|UID|SID|232|LANG|noclan|2.3.1|1-1|
02/11/2012 11:43 hoocrax#14
Quote:
Originally Posted by SekhmetPOL View Post
This packet does not work if they are locked all the packets?

With NoobKiller I found this packet
Code:
3.Z.....1...siddddd..5.4.2
And to map.

Code:
bu%-1%|LOGIN|UID|SID|232|LANG|noclan|2.3.1|1-1|
The packets are encrypted... and the login packet's sid and clientversion can be simply made hex but the userid is hashed somehow :(

Btw what is this ?
Code:
bu%-1%|LOGIN|UID|SID|232|LANG|noclan|2.3.1|1-1|
Never observed this one in the new client :confused:
02/11/2012 11:58 SekhmetPOL#15
Quote:
Originally Posted by hoocrax View Post
Btw what is this ?
Code:
bu%-1%|LOGIN|UID|SID|232|LANG|noclan|2.3.1|1-1|
Never observed this one in the new client :confused:
It's packet login to spacemap.
So thanks ;d