|
You last visited: Today at 07:20
Advertisement
Darkorbit and c++ or c# packets
Discussion on Darkorbit and c++ or c# packets within the DarkOrbit forum part of the Browsergames category.
02/10/2012, 15:00
|
#1
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Darkorbit and c++ or c# packets
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
|
#2
|
elite*gold: 0
Join Date: Jul 2010
Posts: 163
Received Thanks: 131
|
Quote:
Originally Posted by SekhmetPOL
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
|
#3
|
elite*gold: 60
Join Date: Apr 2011
Posts: 7,894
Received Thanks: 3,067
|
Quote:
Originally Posted by SekhmetPOL
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
|
#4
|
elite*gold: 20
Join Date: Dec 2010
Posts: 2,429
Received Thanks: 570
|
why allways gahn ?!
he has his things to do :P
|
|
|
02/10/2012, 16:23
|
#5
|
elite*gold: 1003
Join Date: Feb 2010
Posts: 791
Received Thanks: 709
|
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
|
#6
|
elite*gold: 0
Join Date: Feb 2011
Posts: 1,196
Received Thanks: 359
|
gahn program in vb.net
|
|
|
02/10/2012, 19:40
|
#7
|
elite*gold: 1003
Join Date: Feb 2010
Posts: 791
Received Thanks: 709
|
Quote:
Originally Posted by lollo900
gahn program in vb.net
|
not at all.. but that isnt the question here...
|
|
|
02/10/2012, 19:41
|
#8
|
elite*gold: 0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
|
Not only VB uses .Net. Also C# can use .Net
|
|
|
02/11/2012, 10:59
|
#9
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
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
|
#10
|
elite*gold: 0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
|
Nope. This won´t work...
|
|
|
02/11/2012, 11:18
|
#11
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
What won't work? Packet or TCP.Connect?
TCP is connected.
|
|
|
02/11/2012, 11:28
|
#12
|
elite*gold: 0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
|
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
|
#13
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Quote:
Originally Posted by gähn
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
|
#14
|
elite*gold: 62
Join Date: Jan 2011
Posts: 1,242
Received Thanks: 1,531
|
Quote:
Originally Posted by SekhmetPOL
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
|
|
|
02/11/2012, 11:58
|
#15
|
elite*gold: 0
Join Date: Dec 2011
Posts: 141
Received Thanks: 104
|
Quote:
Originally Posted by hoocrax
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 
|
It's packet login to spacemap.
So thanks ;d
|
|
|
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 07:22.
|
|