Playing with development bot

05/02/2012 20:15 pippop#1
Hi folks,
i'm trying to explore the bot world and now i can login in dakorbit page. There i can do a lot of useful things, like bidding, upgrade skylab, sell ammo and so on... Now i try to log in map with my bot... and i have a question:
How i can access to the map? I must log in darkorbit page first and then log in to the map? there is a way to log directly in map?

Thank you in advance!:handsdown:
05/02/2012 20:20 myron836#2
i guess you can bypass the backpage... but i dunno how to *trollface*
05/02/2012 21:42 pippop#3
The focus of the question is if there is a smarter way to log in map :)
05/02/2012 23:06 mustangv7#4
With the SID you can login directly in the spacemap
05/03/2012 01:21 maxdu45000#5
Quote:
Originally Posted by mustangv7 View Post
With the SID you can login directly in the spacemap
I need this, say the solution please

Sorry for my bad english, i'm french
05/03/2012 03:16 morningstar261#6
To log directly into the space map use the following link in your program(if you're codding in C/C++ i can give you the exact code for this too):

Code:
http://{0}.darkorbit.bigpoint.com/indexInternal.es?dosid={1}&action=internalMapRevolution

{0}=serverID (i.e. us1, us1, ect...)
{1}=SessionID;
This will take you straight into a webpage and load the map.
But if you are trying to create a artificial intellegence bot for boxing, hunting, ect.. you're going to have to crack BP's encryption, write an algorithm for it to encrypt/decrypt all the incoming and outgoing packets, then use a simple login packet to connect to the map which goes something along the lines of LOGIN|UID|SID|CLIENTVERSION Try using WPE Pro to sniff the login packet and get the exact format. (hint: sniffing packets will not give you the answer as to what encryption BP uses, WPE Pro just tells you the packets are encrypted, thats it, you will have ot use other programs to crack the encryption.)
05/03/2012 03:49 maxdu45000#7
How i can connect me on darkorbit hangar with SID please?
05/03/2012 10:17 pippop#8
Quote:
Originally Posted by morningstar261 View Post
To log directly into the space map use the following link in your program(if you're codding in C/C++ i can give you the exact code for this too):

Code:
http://{0}.darkorbit.bigpoint.com/indexInternal.es?dosid={1}&action=internalMapRevolution

{0}=serverID (i.e. us1, us1, ect...)
{1}=SessionID;
This will take you straight into a webpage and load the map.
But if you are trying to create a artificial intellegence bot for boxing, hunting, ect.. you're going to have to crack BP's encryption, write an algorithm for it to encrypt/decrypt all the incoming and outgoing packets, then use a simple login packet to connect to the map which goes something along the lines of LOGIN|UID|SID|CLIENTVERSION Try using WPE Pro to sniff the login packet and get the exact format. (hint: sniffing packets will not give you the answer as to what encryption BP uses, WPE Pro just tells you the packets are encrypted, thats it, you will have ot use other programs to crack the encryption.)
First of all... thank you! I sniffed packets with wireshark and i have a general idea of the encryption. If you look here: [Only registered and activated users can see links. Click Here To Register...]
there is an good topic. If you or someone else can give me an hint it's accepted :D
05/09/2012 02:51 morningstar261#9
Quote:
Originally Posted by maxdu45000 View Post
How i can connect me on darkorbit hangar with SID please?
Its basically the same code which i posted above for logging straight into the map using SID. Except you want hangar so do this:

Code:
Links To Dark Orbit Home:
"http://{0}.darkorbit.bigpoint.com/indexInternal.es?dosid={1}&action=internalDock"ServerID,SID;
	{0}->ServerID  //your server ID us1, us2, int1, ect....
	{1}->SID  //your session ID, right click home pageand view source to get SID
Thats the basics of it, depending on what language you are coding in, the format may be different, plus you need to link the process to your GUI
In c++ it would be something like usually at the bottom of the form.h:
Code:
private: System::Void hangarToolStripMenuItem1_Click(System::Object^  sender, System::EventArgs^  e) {
			 Process  ^p;
			 ProcessStartInfo ^pInfo;
			 pInfo = gcnew ProcessStartInfo();
			 pInfo->Verb = L"open";
			 pInfo->FileName = String::Format(L"http://{0}.darkorbit.bigpoint.com/indexInternal.es?dosid={1}&action=internalDock",ServerID,SID);
			 pInfo->UseShellExecute = true;
			 p = Process::Start(pInfo);
		 }
And you need to make sure the link you click is activating the event by adding this line to the form generated code:
Code:
// 
// hangarToolStripMenuItem1
// 
this->hangarToolStripMenuItem1->Name = L"hangarToolStripMenuItem1";
this->hangarToolStripMenuItem1->Size = System::Drawing::Size(92, 22);
this->hangarToolStripMenuItem1->Text = L"Hangar";
this->hangarToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form2::hangarToolStripMenuItem1_Click);   //<--this is the line you are adding, the rest above is done for you by windows form generator
This is an example of a link added into a menu, but it can be used the same way for a button too, windows forms will generate the code for you whether its a menu link or a button. You can make a link to every page in the home page like the clan, trade, uridium, shop, galaxy gates, pilot sheet, mail, ect.. Everything you see in the home page has a link. And with your SID you can connect to it directly.

To mae it even simpler, if you can create a loggin function so you dont have to loggin manually and loo for the SID, it would be a lot simpler and better for the use of your program.