Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 02:39

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

Advertisement



Private Server Info and Support Thread

Discussion on Private Server Info and Support Thread within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 12/22/2014, 16:43   #1291
 
nckrnckr's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
Quote:
Originally Posted by BotorCrime View Post
Hi xD
Who Can help me with client 6.3.1 ^^ ?
I also need it client 6.3.1
nckrnckr is offline  
Old 12/22/2014, 19:50   #1292
 
elite*gold: 0
Join Date: May 2013
Posts: 54
Received Thanks: 5
Quote:
Originally Posted by nckrnckr View Post
I also need it client 6.3.1
Come skype ;3 (I have u (huarrez))
BotorCrime is offline  
Old 12/24/2014, 18:04   #1293
 
elite*gold: 0
Join Date: Dec 2014
Posts: 341
Received Thanks: 224
Hi Guys My Shop System Work But Click And Don't Buy Ship Please Help Me...

LEJYONER(DS) is offline  
Old 12/24/2014, 18:10   #1294
 
elite*gold: 0
Join Date: Sep 2014
Posts: 148
Received Thanks: 73
Hello LEJYONER(DS), you need learn to code...

You can see the error with Console or Network of your navigator, an example:

lCulito is offline  
Old 12/26/2014, 16:08   #1295
 
Mr.Streuner's Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 76
Received Thanks: 17
Hi, i have problem : why not load map?


P.S: Sokol and Demaner .swf = ship126, ship127
Mr.Streuner is offline  
Old 01/05/2015, 02:57   #1296
 
elite*gold: 0
Join Date: Jan 2015
Posts: 39
Received Thanks: 2
Warum?
underworld222 is offline  
Old 01/05/2015, 19:17   #1297
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by Mr.Streuner View Post
Hi, i have problem : why not load map?


P.S: Sokol and Demaner .swf = ship126, ship127
Did you add them to game.xml and resources.xml?
manulaiko3.0 is offline  
Old 01/06/2015, 03:27   #1298
 
elite*gold: 0
Join Date: Sep 2014
Posts: 148
Received Thanks: 73
Any know why the galaxy gates don't have me rewards?, i can generate with uridium but don't give rewards, if any can tell me where i need edit for give rewards i can fix, please help :c
lCulito is offline  
Old 01/06/2015, 19:09   #1299
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by lCulito View Post
Any know why the galaxy gates don't have me rewards?, i can generate with uridium but don't give rewards, if any can tell me where i need edit for give rewards i can fix, please help :c
Code it for the right tables
cryz35 is offline  
Old 01/06/2015, 21:28   #1300
 
elite*gold: 0
Join Date: Sep 2014
Posts: 148
Received Thanks: 73
Quote:
Originally Posted by cryz35 View Post
Code it for the right tables
yes, but where it's the file of request when i click on button of galaxy gates...
lCulito is offline  
Old 01/06/2015, 22:39   #1301
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by lCulito View Post
yes, but where it's the file of request when i click on button of galaxy gates...
flashinput/galaxyGates.php

It will receive some GET parameters such as userID, sessionID and gateID (maybe more).

It will return a xml file, read swf_global/gateBuilder.swf to understand what you can write in the xml.

See you!
manulaiko3.0 is offline  
Thanks
3 Users
Old 01/07/2015, 01:54   #1302
 
elite*gold: 0
Join Date: Sep 2014
Posts: 148
Received Thanks: 73
thanks manulaiko3.0,

any have packet of drone formations?
i wanna code but i don't know the packets.
lCulito is offline  
Old 01/07/2015, 02:16   #1303
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by lCulito View Post
thanks manulaiko3.0,

any have packet of drone formations?
i wanna code but i don't know the packets.
I made a tutorial (time ago) in which I showed how to find packets, this is the whole tutorial:

Quote:
We must go to the function that handel the packets that the swf receive, it's located in net->ConnectionManager.html.

There are too much letters I know.
We must search "private function onData(event: DataEvent) : void" this is the function we need.
There are a lot of _loc_ but we must search for something special: _loc_3.

Code:
 var _loc_2:* = String(event.data); _loc_3 = _loc_2.split(ATTRIBUTE_SEPERATOR)
This parse the param of the function to an array, the next important line is:

Code:
 switch(_loc_3[1])
Now we know that the packet starts with 0, asdf, FUCKYOU or whatever you want because the function starts on the next index (the index of a packet are separated by "|" so this is a normal packet INDEX0|INDEX1|INDEX2...)

Ok, let's take a look at the first case:

Code:
 case ServerCommands.PET:
If we take a look at the file ServerCommands.html (in the same folder as ConnectionManager.html) and search for PET we will see that it's a constant:

Code:
 public static const PET:String = "PET";
Now we know that the current packet is "0|PET", ok, let's continue!

Code:
 this.petAssembly.assembleCommand(_loc_3);
This sends the packet to the class petAssembly (PetAssembly.html, in the same folder as ConnectionManager.html), let's open it and search for the function assembleCommand.

Code:
 public function assembleCommand(param1:Array) : void { var _loc_2:* = param1[2]; if (this.delegateDict[_loc_2] != null) { var _loc_3:* = this.delegateDict; _loc_3[_loc_2](param1); } else { this.playSound(73); }// end else if return; }// end function
The important line is

Code:
 if (this.delegateDict[_loc_2] != null)
What is _loc_2??

Code:
 var _loc_2:* = param1[2];
This means that _loc_2 receives the value of the second index of the packet (remember that an array starts with index 0 so index 2 is "INDEX0|INDEX1|INDEX" the third index), now we must take a look at

Code:
 private function initDelegateDict() : void
Let's take a random line:

Code:
 this.delegateDict[ServerCommands.REPAIR_PET] = this.assemblePetRepair;
Ok, do you remember the function assembleCommand? If yes you should know that now the packet is something like "0|PET|ServerCommands.REPAIR_PET", now let's look at ServerCommands.html again and search for REPAIR_PET...

Code:
 public static const REPAIR_PET:String = "R";
Ok, the packet is "0|PET|R", and now what? Now we must look at the assemblePetRepair function:

Code:
 private function assemblePetRepair(param1:Array) : void { this.playSound(71); this.toggleRepairButtonVisbility(false); return; }// end function
Ok, as in this function there isn'tt a line that says something like ServerCommands... this means that the packet is over, we don't need to find nothing else, the final packet is "0|PET|R" and is the repair packet for the pet, but let's take a look at another function:

Code:
 private function assembleStopLaserAttack(param1:Array) : void { var _loc_2:* = 2; var _loc_3:* = int(param1[++_loc_2]); var _loc_4:* = this.main.screenManager.map; _loc_4.getCombatManager().removeLaserAttack(_loc_3);  return; }// end function
Look at the line
Code:
 var _loc_3:* = int(param1[++_loc_2]);
We use the parameter (the packet), which index? ++_loc_2, let's look for the definition of _loc_2, now we know that _loc_2 = 2, so ++_loc_2 = 1 + 2 = 3, then we know there's a 3rd index of the packet ("Index0|Index1|Index2|Index3") and it's parsed to int (number) so it can't be "0|PET|SL|asdf"

Code:
 var _loc_4:* = this.main.screenManager.map; _loc_4.getCombatManager().removeLaserAttack(_loc_3);
Now let's look at main.screenManager.map.getComnbatManager(), it returns a CombatManager object, now we must search for the class CombatManager (it's located in combat->CombatManager.html) and search for the function "removeLaserAttack"
Code:
 public function removeLaserAttack(param1:int, param2:Boolean = true) : void { var _loc_3:* = this.laserAttacks[int(param1)]; if (_loc_3 != null) { if (param2) { _loc_3.cleanup(); }// end if delete this.laserAttacks[int(param1)]; }// end if return; }// end function
With a bit of brain we can know that laserAttacks is a dictionary with userIDs as index for example an user with the userID 1 has the entry in the dictionary laserAttacks[1], so know we know that the packet is "0|PET|SL| petID" where petID is the ID of the pet.

Easy right? Maybe it's a bit boring but it's easy, I think this is called reverse engeneery.

What do we know now?

-How to find packets
-Pet repair packet: 0|PET|R
-Stop pet laser attack packet: 0|PET|SL| petID
And some packets:

Quote:
-Box Collect Response:
-General packets:
-Group System:
-Map events:
-POI:
-Pet:
-Quest:
-Rocket Launcher:
-Set Attribute:
-Settings:
-Skills:
-Techs:
See you!
manulaiko3.0 is offline  
Thanks
2 Users
Old 01/07/2015, 02:19   #1304
 
elite*gold: 0
Join Date: Dec 2014
Posts: 29
Received Thanks: 2
Thanks men very nice
CrewMember is offline  
Old 01/07/2015, 02:22   #1305
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by CrewMember View Post
Thanks men very nice
Instead of saying thanks, please, be sure you've understand the tutorial and now you can find packets by your own.

It would be a mess to have the thread full of packet request, this way is cleaner and anyone can learn a lot of things by reading main.swf

See you!
manulaiko3.0 is offline  
Reply

Tags
2018, darkorbit, emulator, private, server


Similar Threads Similar Threads
Private private server :P READ FOR MORE INFO
12/01/2010 - SRO Private Server - 12 Replies
hey guys im wondering if there is anyway to make a real private server like ZSZC or SWSRO or MYSRO but to where i can only play and level a character and as if it was a real private server. but just for me, not like an emulator where im already lvl 90 or 120 or whatever. i mean one where i set the rates and i level. if not then ok u can close this. but i was just wondering.



All times are GMT +1. The time now is 02:43.


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.