elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   DarkOrbit (https://www.elitepvpers.com/forum/darkorbit/)
-   -   [Collection Thread] Private Server Info and Support Thread (https://www.elitepvpers.com/forum/darkorbit/2830133-private-server-info-support-thread.html)

LEJYONER(DS) 12/18/2014 12:35

Quote:

Originally Posted by lCulito (Post 30476652)
[IMG=expandable: 1]http://i.epvpimg.com/5IFxd.png[/IMG]

All it's based on packets... you need send correct packets.


Spoiler:
Code:


            try
                {
                    Parallel.ForEach(Users, Pair =>
                    {
                        this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-2" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                    });
                    foreach (var Pair in Users)
                    {
                        if (Pair.Key != userId)
                            this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                        {
                }
            }
                }
            catch (Exception)
            { }


Big Thanks But Where To Paste ?

th0rex 12/18/2014 16:17

Quote:

Originally Posted by lCulito (Post 30476652)
Code:


            try
                {
                    Parallel.ForEach(Users, Pair =>
                    {
                        this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-2" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                    });
                    foreach (var Pair in Users)
                    {
                        if (Pair.Key != userId)
                            this.Users[Pair.Key].Send("0|n|d|" + userId + "|3/3-5" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/4-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + ",3/3-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "-4" + this.Users[userId].Ship.ldrones + "");
                        this.Users[userId].Send("0|n|d|" + Pair.Value.userId + "|3/3-3" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/4-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + ",3/3-5" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "-4" + Pair.Value.Ship.ldrones + "");
                        {
                }
            }
                }
            catch (Exception)
            { }


That code is slow. At least the first packet which is send. Why you do a lookup in the dictionary everytime when you could get a reference to that object only once ?

Requi 12/18/2014 16:26

Quote:

Originally Posted by LEJYONER(DS) (Post 30478820)
Big Thanks But Where To Paste ?

Don't copy&paste if you want a (good) server. Learn coding and stop asking for c&p. It's very annoying.

LEJYONER(DS) 12/18/2014 17:33

Quote:

Originally Posted by Requi (Post 30480721)
Don't copy&paste if you want a (good) server. Learn coding and stop asking for c&p. It's very annoying.

Thanks Requi...

lCulito 12/18/2014 21:14

LEJYONER, i only give you an example of code... i don't meet your code... u need learn to code, thanks for critique the code but isn't my code, i only find the code for help to LEJYONER...

bazhanyuk 12/19/2014 21:05

Guys, need help. I'm working on abilities for goliath, but I got problem. For example I want that when I play on Solace I have button with ability of solace and when on Diminisher with it ability etc. But how to do that?

manulaiko3.0 12/19/2014 21:34

Quote:

Originally Posted by bazhanyuk (Post 30492102)
Guys, need help. I'm working on abilities for goliath, but I got problem. For example I want that when I play on Solace I have button with ability of solace and when on Diminisher with it ability etc. But how to do that?

If I remember well the packet was something like
Code:

send("0|A|SD|"+ skillDesign); //skillDesign: [1-5]
Maybe I'm wrong.

See you!

SYSTEMEWAR 12/20/2014 18:42

Hi,

You know the packets for update attack ( red ships or white ) and packets of map into the group system ??

Best regards

king[amg]ua 12/20/2014 20:50

anybody know packet for "precision targeter" tech?

BotorCrime 12/21/2014 10:49

Hi xD
Who Can help me with client 6.3.1 ^^ ?

nckrnckr 12/22/2014 16:43

Quote:

Originally Posted by BotorCrime (Post 30505241)
Hi xD
Who Can help me with client 6.3.1 ^^ ?

I also need it client 6.3.1 :)

BotorCrime 12/22/2014 19:50

Quote:

Originally Posted by nckrnckr (Post 30517847)
I also need it client 6.3.1 :)

Come skype ;3 (I have u (huarrez))

LEJYONER(DS) 12/24/2014 18:04

Hi Guys My Shop System Work But Click And Don't Buy Ship Please Help Me...

[Only registered and activated users can see links. Click Here To Register...]

lCulito 12/24/2014 18:10

Hello LEJYONER(DS), you need learn to code...

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

[IMG=expandable: 1]http://i.epvpimg.com/HT2yb.png[/IMG]

Mr.Streuner 12/26/2014 16:08

Hi, i have problem : [Only registered and activated users can see links. Click Here To Register...] why not load map?


P.S: Sokol and Demaner .swf = ship126, ship127 ;)

underworld222 01/05/2015 02:57

Warum?

manulaiko3.0 01/05/2015 19:17

Quote:

Originally Posted by Mr.Streuner (Post 30554719)
Hi, i have problem : [Only registered and activated users can see links. Click Here To Register...] why not load map?


P.S: Sokol and Demaner .swf = ship126, ship127 ;)

Did you add them to game.xml and resources.xml?

lCulito 01/06/2015 03:27

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

cryz35 01/06/2015 19:09

Quote:

Originally Posted by lCulito (Post 30657833)
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

lCulito 01/06/2015 21:28

Quote:

Originally Posted by cryz35 (Post 30663474)
Code it for the right tables

yes, but where it's the file of request when i click on button of galaxy gates...

manulaiko3.0 01/06/2015 22:39

Quote:

Originally Posted by lCulito (Post 30665045)
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!

lCulito 01/07/2015 01:54

thanks manulaiko3.0,

any have packet of drone formations?
i wanna code but i don't know the packets.

manulaiko3.0 01/07/2015 02:16

Quote:

Originally Posted by lCulito (Post 30667094)
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:
Spoiler:
Note, here the packet can start with "0|LM" or "0|y" it has the same effect

-Show the message when you collect a cargo box
Code:

    packet = "0|LM|ST|CAR|"+ prometium +"|"+ endurium +"|"+ terbium +"|"+ prometid +"|"+ duranium +"|"+ xenomit +"|"+ promerium;
-Shows "You received XXX jackpot"
Code:

    packet = "0|LM|ST|JPE|"+ jackpot +"|"+ hero.jackpot;
-Shows "You received XXX experience points"
Code:

    packet = "0|LM|ST|EP|"+ exp +"|"+ hero.exp +"|"+ hero.level;
-Shows "You received XXX credits"
Code:

    packet = "0|LM|ST|CRE|"+ credits +"|"+ hero.credits;
-Shows "You received XXX uridium"
Code:

    packet = "0|LM|ST|URI|"+ uri +"|"+ hero.uri;
-Shows "You received XXX honor points"
Code:

    packet = "0|LM|ST|HON|"+ hon +"|"+ hero.hon;
-Shows "You received XXX HP"
Code:

    packet = "0|LM|ST|HTP|"+ hp;
-Shows "You received XXX YYY fireworks"
Code:

    packet = "0|LM|ST|FW|"+ fwID +"|"+ amount;
-Shows "You received XXX YYY rockets"
Code:

    packet = "0|LM|ST|ROK|"+ rokID +"|"+ amount;
-Shows "You received XXX YYY laser ammo"
Code:

    packet = "0|LM|ST|BAT|"+ ammoID +"|"+ amount;
-Shows "You received XXX YYY fireworks"
Code:

    packet = "0|LM|ST|FW|"+ fwID +"|"+ amount;
-Shows "XXX active"
Code:

    packet = "0|LM|ST|BMP|"+ aNumber;
-Shows "XXX HP deducte"
Code:

    packet = "0|LM|ST|DHP|"+ hp;
-Shows "You received extra energy for the galaxy-gates generator XXX times"
Code:

    packet = "0|LM|ST|XEN|"+ amount;
-Shows "You received XXX jump credits for the advance CPU"
Code:

    packet = "0|LM|ST|JV|"+ amount;
-Shows "You received XXX YYY mines"
Code:

    //mineID = "ACM", "DDM", "EMP", "SAB"
    packet = "0|LM|ST|AMI|"+ mineID +"|"+ amount;

-Shows "You received XXX P.E.T fuel"
Code:

    packet = "0|LM|ST|PFL|"+ amount;
-Shows "You received XXX YYY"
Code:

    /* itemID =  "ammunition_specialammo_emp-01",
      *            "resource_logfile",
      *            "equipment_exta_cpu_ajp-01",
      *            "equipment_extra_cpu_dr-01",
      *            "equipment_extra_cpu_cl04k-m",
      *            "equipment_extra_cpu_cl04k-xl",
      *            "equipment_generator_speed_g3n-6900",
      *            "equipment_generator_speed_g3n-7900",
      *            "equipment_generator_shield_sg3n-b01",
      *            "equipment_generator_shield_sg3n-b02",
      *            "equipment_weapon_laser_lf-2",
      *            "equipment_weapon_laser_lf-3",
      *            "equipment_weapon_laser_lf-4",
      *            "ship_goliath_design_solace",
      *            "ship_goliath_design_venom",
      *            "ship_goliath_design_spectrum",
      *            "ship_goliath_design_sentinel",
      *            "ship_goliath_design_diminisher",
      *            "ship_vengeance_design_corsair",
      *            "ship_vengeance_design_adept",
      *            "ship_vengeance_design_lightning",
      *            "ship_vengeance_design_revenger",
      *            "ship_vengeance_design_avenger",
      *            "ship_goliath_design_bastion",
      *            "ship_goliath_design_enforcer",
      *            "ship_goliath_design_veteran",
      *            "ship_goliath_design_exalted"
    */
    packet = "0|LM|ST|LOT|"+ itemID +"|"+ amount;

-Shows "Cargo bay full! Sell your raw materials at the space station."
Code:

    packet = "0|LM|ST|BTB";
-Show "Collecting box already"
Code:

    packet = "0|LM|ST|BAH";
-Explodes a mine
Code:

    packet = "0|LM|ST|MIN|"+ mineID;
-Shows "Remaining Jackpot Battle contestants: XXX"
Code:

    packet = "0|LM|ST|SLE|"+ amount;
-Shows "You received XXX YYY rockets"
Code:

    packet = "0|LM|ST|RL|"+ rocketID +"|"+ amount;
-Shows "You received XXX log-disks"
Code:

    packet = "0|LM|ST|LOG|"+ amount;
-General packets:
Spoiler:
-Group System:
Spoiler:
-Map events:
Spoiler:
-POI:
Spoiler:
-Pet:
Spoiler:
-Quest:
Spoiler:
-Rocket Launcher:
Spoiler:
-Set Attribute:
Spoiler:
-Settings:
Spoiler:
-Skills:
Spoiler:
-Techs:
Spoiler:

See you!

CrewMember 01/07/2015 02:19

Thanks men very nice

manulaiko3.0 01/07/2015 02:22

Quote:

Originally Posted by CrewMember (Post 30667206)
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!

cryz35 01/07/2015 08:40

Quote:

Originally Posted by manulaiko3.0 (Post 30667218)
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!

4.1 doesnt have formations. He asked that

manulaiko3.0 01/07/2015 09:48

Quote:

Originally Posted by cryz35 (Post 30667981)
4.1 doesnt have formations. He asked that

I didn't see formations xD, anyways someone might find it usefull.

Destiny 01/07/2015 15:55

in my 6.3.1 have drone formation and more :P btw i find your 6.3.1 emu cryz xd but this not done :P

th0rex 01/07/2015 16:17

Quote:

Originally Posted by edox77 (Post 30670487)
btw i find your 6.3.1 emu cryz xd but this not done :P

And who said it is done ? Just because it was leaked by some guy it does not mean it's finished.

cryz35 01/07/2015 21:08

Quote:

Originally Posted by edox77 (Post 30670487)
in my 6.3.1 have drone formation and more :P btw i find your 6.3.1 emu cryz xd but this not done :P

That is wrong emulator you have. I'm sure the 6.3.1 emulators (2 of them) arent here.. lol

Quote:

Originally Posted by manulaiko3.0 (Post 30668186)
I didn't see formations xD, anyways someone might find it usefull.

+1 babe

«Ice.Shock™ 01/07/2015 21:10

Quote:

Originally Posted by edox77 (Post 30670487)
in my 6.3.1 have drone formation and more :P btw i find your 6.3.1 emu cryz xd but this not done :P

Why do you need his emulator if you can't code yours?

YURI-ELIADE.ITALY 01/07/2015 22:05

like never tells me to verify the email when I press start as you do elimenare this problem eumulatore I resolto the problem xd

[Only registered and activated users can see links. Click Here To Register...]

Destiny 01/07/2015 22:18

Quote:

Originally Posted by «Ice.Shock™ (Post 30674262)
Why do you need his emulator if you can't code yours?

i no need it i can edit 4.1 and make smilar :P (and add ageis ability :P)

YURI-ELIADE.ITALY 01/08/2015 02:36

I solved my problem verification e-mail after 4 hours or open all folders and databases are managed are a phenomenon

manulaiko3.0 01/08/2015 02:41

Quote:

Originally Posted by YURI-ELIADE.ITALY (Post 30676327)
I solved my problem verification e-mail after 4 hours or open all folders and databases are managed are a phenomenon

You won a new achievement: Useless post of ePVPers

underworld222 01/08/2015 09:22

Quote:

Originally Posted by manulaiko3.0 (Post 30676337)
You won a new achievement: Useless post of ePVPers

So you did.. :D

I am proud of Yuri. He did it himself. :)

YURI-ELIADE.ITALY 01/08/2015 13:15

someone can tell me how to activate the chat please [Only registered and activated users can see links. Click Here To Register...]

manulaiko3.0 01/08/2015 15:03

Quote:

Originally Posted by YURI-ELIADE.ITALY (Post 30678231)
someone can tell me how to activate the chat please [Only registered and activated users can see links. Click Here To Register...]

Launch a new server on port 9338 and wait for connections, once you've received conection send the create rooms packet and then read chat's swf file to get more packets.

See you!!

YURI-ELIADE.ITALY 01/08/2015 23:02

someone can tell me what it takes to put the online private server.

Destiny 01/08/2015 23:21

lol its easy buy vps upload files run xampp put files config it start chat and game emulator enjoy :P


All times are GMT +2. The time now is 23:40.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.