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)

manulaiko3.0 05/06/2017 21:21

Quote:

Originally Posted by 0wnix (Post 35974818)
Okay ty, I'll see what I can do against that then

You certainly could color names, a clear example is the members of your same clan. However I ignore which packet made this, maybe some map event related packet ("0|n...")

0wnix 05/06/2017 21:28

Quote:

Originally Posted by manulaiko3.0 (Post 35974827)
You certainly could color names, a clear example is the members of your same clan. However I ignore which packet made this, maybe some map event related packet ("0|n...")

From what I've seen so far, username's label color is defined on living entity creation ("C" packet)
However I found out that in the video's window, colors are formatted with sort of html tags (<blue></blue>...)
I could "clone" this function and make it works with player's labels just by appending the "html" tags between chars (that way I could have colored usernames, but also multiple colors per username)


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

manulaiko3.0 05/06/2017 22:25

Quote:

Originally Posted by 0wnix (Post 35974842)
From what I've seen so far, username's label color is defined on living entity creation ("C" packet)
However I found out that in the video's window, colors are formatted with sort of html tags (<blue></blue>...)
I could "clone" this function and make it works with player's labels just by appending the "html" tags between chars (that way I could have colored usernames, but also multiple colors per username)


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

I would have to look at that, I'm sure there's an easier method rather than editing main.swf, at least for white/blue/green/red usernames, idk about other colors.

I'll take a look at the client and tell you if I find something.

0wnix 05/06/2017 22:41

Quote:

Originally Posted by manulaiko3.0 (Post 35974966)
I would have to look at that, I'm sure there's an easier method rather than editing main.swf, at least for white/blue/green/red usernames, idk about other colors.

I'll take a look at the client and tell you if I find something.


I've been trying things on the main.swf but every time I saved it, it got corrupted... I will try with another decompiler
I found an "easy" way to do it


Code:

      else if(this.clanDiplomacy == 2)
        {
            _loc4_ = PatternManager.colorPatterns["noAttackPact"];
        }
        else if(this.clanDiplomacy == 3)
        {
            _loc4_ = PatternManager.colorPatterns["atWar"];
        }


// _loc4_ is the clan tag and _loc3_ the username

I could just add more colors depending of the clanDiplomacy (sent through the "C" packet) and register them in game.xml
Still I need to be able to rebuild the client without corrupting it :3

manulaiko3.0 05/06/2017 23:00

Quote:

Originally Posted by 0wnix (Post 35975017)
I've been trying things on the main.swf but every time I saved it, it got corrupted... I will try with another decompiler
I found an "easy" way to do it


Code:

      else if(this.clanDiplomacy == 2)
        {
            _loc4_ = PatternManager.colorPatterns["noAttackPact"];
        }
        else if(this.clanDiplomacy == 3)
        {
            _loc4_ = PatternManager.colorPatterns["atWar"];
        }


// _loc4_ is the clan tag and _loc3_ the username

I could just add more colors depending of the clanDiplomacy (sent through the "C" packet) and register them in game.xml
Still I need to be able to rebuild the client without corrupting it :3

Try with JPEX FFDec, if still doesn't work you'll probably have to edit the bytecode with flasm

cryz35 05/06/2017 23:27

Quote:

Originally Posted by manulaiko3.0 (Post 35975062)
Try with JPEX FFDec, if still doesn't work you'll probably have to edit the bytecode with flasm

edit bytecode with JPEXS. if it doesnt work, try increasing maxstacks.
wrong quote. lul

0wnix 05/06/2017 23:34

Quote:

Originally Posted by manulaiko3.0 (Post 35975062)
Try with JPEX FFDec, if still doesn't work you'll probably have to edit the bytecode with flasm




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


Worked by editing P-code instead of AS-code - btw I only managed to insert _loc3_ = PatternManager.colorPatterns["test"]; because I don't understand how the ifs work in P-code (ofs0173, ofs0157 etc.. ??)

EDIT: I've managed to add ifs by editing the addresses, for example if you have ifne ofs0157, then for your next if you will have ofs0157:getlocal_0
[Only registered and activated users can see links. Click Here To Register...]
game.xml
Code:

      <color key="pydo1" color="555555"/>
        <color key="pydo2" color="b663ff"/>
        <color key="pydo3" color="e9f904"/>
        <color key="pydo4" color="33ff33"/>


manulaiko3.0 05/07/2017 00:33

Quote:

Originally Posted by 0wnix (Post 35975131)
[IMG=expandable: 1]http://i.epvpimg.com/eGHoeab.png[/IMG]


Worked by editing P-code instead of AS-code - btw I only managed to insert _loc3_ = PatternManager.colorPatterns["test"]; because I don't understand how the ifs work in P-code (ofs0173, ofs0157 etc.. ??)

EDIT: I've managed to add ifs by editing the addresses, for example if you have ifne ofs0157, then for your next if you will have ofs0157:getlocal_0
[Only registered and activated users can see links. Click Here To Register...]
game.xml
Code:

      <color key="pydo1" color="555555"/>
        <color key="pydo2" color="b663ff"/>
        <color key="pydo3" color="e9f904"/>
        <color key="pydo4" color="33ff33"/>


That's a nice work.

Btw, instead of manually setting the color you could send the hex color in the ship initialization and ship create commands.

0wnix 05/07/2017 00:41

Quote:

Originally Posted by manulaiko3.0 (Post 35975274)
That's a nice work.

Btw, instead of manually setting the color you could send the hex color in the ship initialization and ship create commands.

Thanks - regarding the hex thing, I think that would be much harder to achieve through p-code / also I now have every primary/secondary color, which is enough I guess :p


Unfortunately, with my trick, I can't have multicolored usernames :/

S7K Yuuki 05/07/2017 00:49

Yay finally some quality posts!

Good to see you back @[Only registered and activated users can see links. Click Here To Register...]x ^^

Regards.-

manulaiko3.0 05/07/2017 01:11

Quote:

Originally Posted by 0wnix (Post 35975287)
Thanks - regarding the hex thing, I think that would be much harder to achieve through p-code / also I now have every primary/secondary color, which is enough I guess :p


Unfortunately, with my trick, I can't have multicolored usernames :/

For multicolored names I think the best solution would be sending the suername with the colors and formatting it in the client. Obviously won't be easy, but shouldn't be hard either.
Something like #0f0f0fUsername#ffffffMulti#c3c3c3Colored. Or using ANSI instead of hex colors

0wnix 05/07/2017 01:54

Yeah that's somehow what I wanted to do first, but it would take way too much time for what it's worth - so I won't do that :V

manulaiko3.0 05/09/2017 11:11

I've been working on properly building the drones packet, this is the result:

[IMG=expandable: 1]https://i.snag.gy/HiF7vM.jpg[/IMG]

It works with all drone combinations, from 0 to 12 (you can have more, but only 12 will be sent to the client).

This is how they're positioned:

* 1 to 4: all at bottom.
* 5: 3 at bottom, 1 to the left, 1 to the right.
* 6: 4 at bottom, 1 to the left, 1 to the right.
* 7: 3 at bottom, 2 to left, 2 to right.
* 8: 4 at bottom, 2 to left, 2 to right.
* 9: 3 at bottom, 3 to left, 3 to right.
* 10: 4 at bottom, 3 to left, 3 to right.
* 11: 3 at bottom, 4 to left, 4 to right.
* 12+: 4 at bottom, 4 to left, 4 to right.

You can edit how they're positioned by looking at the _setGroups method.
Here's the source so you can take a look at how they work (I won't be helping copypasters): [Only registered and activated users can see links. Click Here To Register...]

One more pic 'cuz it's cool af:
[IMG=expandable: 1]https://i.snag.gy/2armOU.jpg[/IMG]

I'm using client 1.6 but it should work with client 4.1 too.

olitis1 05/09/2017 13:01

Quote:

Originally Posted by manulaiko3.0 (Post 35981222)
I've been working on properly building the drones packet, this is the result:

[IMG=expandable: 1]https://i.snag.gy/HiF7vM.jpg[/IMG]

It works with all drone combinations, from 0 to 12 (you can have more, but only 12 will be sent to the client).

This is how they're positioned:

* 1 to 4: all at bottom.
* 5: 3 at bottom, 1 to the left, 1 to the right.
* 6: 4 at bottom, 1 to the left, 1 to the right.
* 7: 3 at bottom, 2 to left, 2 to right.
* 8: 4 at bottom, 2 to left, 2 to right.
* 9: 3 at bottom, 3 to left, 3 to right.
* 10: 4 at bottom, 3 to left, 3 to right.
* 11: 3 at bottom, 4 to left, 4 to right.
* 12+: 4 at bottom, 4 to left, 4 to right.

You can edit how they're positioned by looking at the _setGroups method.
Here's the source so you can take a look at how they work (I won't be helping copypasters): [Only registered and activated users can see links. Click Here To Register...]

One more pic 'cuz it's cool af:
[IMG=expandable: 1]https://i.snag.gy/2armOU.jpg[/IMG]

I'm using client 1.6 but it should work with client 4.1 too.

That's a great class! Keep up the good work!

Between, when I worked with 1.6 client, I noticed that movement wasn't smooth, it was like all the ships were moving slowlier than they should have.

Isn't the move's code like this?

Code:

"0|1|shipId|finalX|finalY|timeToReachFinalPoint"

ItsTequila 05/10/2017 11:05

Quote:

Originally Posted by olitis1 (Post 35981444)
That's a great class! Keep up the good work!

Between, when I worked with 1.6 client, I noticed that movement wasn't smooth, it was like all the ships were moving slowlier than they should have.

Isn't the move's code like this?

Code:

"0|1|shipId|finalX|finalY|timeToReachFinalPoint"

That's the hero movement packet. In fact that's the only packet you should send about your own movement. The other one which is the global move command you should send to all the rest of the entities however I tested it and well it doesn't make much of a difference to me but can do to you =)

olitis1 05/10/2017 14:27

Quote:

Originally Posted by NUMANDERBUHMAN (Post 35984532)
That's the hero movement packet. In fact that's the only packet you should send about your own movement. The other one which is the global move command you should send to all the rest of the entities however I tested it and well it doesn't make much of a difference to me but can do to you =)

If I'm reading the main correct, the Hero movement packet is:
Code:

"0|T|heroToX|heroToY"
But what I'm really asking is why the last parameter in the code of movement (mills) doesn't match with the time the ship takes to reach toX toY point. Because when I send it, it takes more time (visually / client side) to reach the point.

KamrulHussen 05/14/2017 10:26

I can't code can someone teach me how to so I can make my own private sever? Thanks :)

rakt33 05/18/2017 10:51

Quote:

Originally Posted by KamrulHussen (Post 35994958)
I can't code can someone teach me how to so I can make my own private sever? Thanks :)

I don't think they will, the best way is to learn it your self on youtube.
Or you can download an stolen version that is unpack the files and play.

0wnix 05/18/2017 11:59

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

Some AIs tests

Destiny 05/18/2017 12:36

Quote:

Originally Posted by 0wnix (Post 36006618)
[Only registered and activated users can see links. Click Here To Register...]

Some AIs tests

how you get this info windown ?

45the45 05/18/2017 17:23

sombody have title id's?

LEJYONER(DS) 05/18/2017 18:42

Quote:

Originally Posted by 45the45 (Post 36007384)
sombody have title id's?

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

The first title is "title_1".

0wnix 05/18/2017 21:54

Quote:

Originally Posted by =INFINITY= (Post 36006698)
how you get this info windown ?

Code:

    def displayVideoWindow(self):
        self.send("0|UI|VID|CW|1000|1|1|1|pydo_video_message_hg_1|tutorial_video_msg_3_1")
        #1000|1|show_buttons|1|msg_id|msg2_id etc.


darkorbit26410 05/19/2017 01:32

Hi all I have my packs ready 9.0 2015-2016 I fix all and work perfect! But my question its I want someone say me or give me link one good old pack 2010-2013 year darkorbit for I make it! Because I what make style black galaxy! Say me if you know something! Thx! And sorry for my bad English! :D

45the45 05/19/2017 16:09

Somebody have Azure files? The links don't work

0wnix 05/21/2017 12:32

Stress test (500 npcs with the AI "DefaultNPC" (Original-like npc AI) - safe zones etc.)

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

Destiny 05/22/2017 03:46

Quote:

Originally Posted by 0wnix (Post 36015457)
Stress test (500 npcs with the AI "DefaultNPC" (Original-like npc AI) - safe zones etc.)

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

i dont want how much fps you got xd i think best version of do where you can see alot ships is 2.0 and 1.6 xd

WarriorYT 05/22/2017 08:58

I have the solution to all the errors they have, in fact I reschedule and remove all the bugs in 9.0, but in my emulator. ;)

steppdroid 05/22/2017 09:29

Why my minimap have a blackscreen?
[Only registered and activated users can see links. Click Here To Register...]

manulaiko3.0 05/22/2017 10:49

Quote:

Originally Posted by WarriorYT (Post 36018257)
I have the solution to all the errors they have, in fact I reschedule and remove all the bugs in 9.0, but in my emulator. ;)

Congrats.
Here's your certificate: [IMG=expandable: 1]https://i.snag.gy/x9cfpP.jpg[/IMG]

Quote:

Originally Posted by steppdroid (Post 36018290)
Why my minimap have a blackscreen?
[Only registered and activated users can see links. Click Here To Register...]

probably a missing resource

NEWFILESOFMARCH 05/22/2017 10:52

Quote:

Originally Posted by steppdroid (Post 36018290)
Why my minimap have a blackscreen?
[Only registered and activated users can see links. Click Here To Register...]


Because youre not a coder, and you doesnt know how to fix it.

GG

ItsTequila 05/22/2017 11:31

Quote:

Originally Posted by NEWFILESOFMARCH (Post 36018426)
Because youre not a coder, and you doesnt know how to fix it.

GG

Look who spoke, the one who's leaking files on epvp :rolleyes:

Eatforyou 05/22/2017 13:30

Quote:

Originally Posted by steppdroid (Post 36018290)
Why my minimap have a blackscreen?
[Only registered and activated users can see links. Click Here To Register...]

Because old Coder removed it, but why, dont ask me, because this makes zero sense, why it got removed

Regards.

FreddieUranus 05/24/2017 21:09

Quote:

Originally Posted by LEJYONER(DS) (Post 36024976)
Hey guys, how i can found all item loot id's like that:

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

I need loot id for button image like that:

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

you mean CPU's or all that (drone formations, cpu, ammo, techno)?

LEJYONER(DS) 05/24/2017 22:08

Quote:

Originally Posted by FreddieUranus (Post 36026048)
you mean CPU's or all that (drone formations, cpu, ammo, techno)?

for all category (laser, rocket, rocket launcher, special items, mines, cpus, credits, techno, ship ability, drone formations)

~Skyfall~ 05/28/2017 19:19

How can I add fat lasers in OrbitReborn Files

HimerOK 05/29/2017 11:59

WarUniverse
 
Hello guys.
Im creating standalone game called WarUniverse with gameplay like darkorbit at 2009 year. It would be native for Android and Desktop. So before first release, i need to test it.

I need 10 testers, who helped me to find major bugs.

Main features are ready: maps, npcs, ships, equipment system, drones, etc

Please contact me (strannik_himer on skype), if you want to play it first.

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

torbaci21 06/02/2017 11:14

video link please

Freshek 06/04/2017 13:19

Quote:

Originally Posted by WarriorYT (Post 36058517)
Oh thank you very much son of a bitch :D

You've just called 'son of a bitch' one of the guys that made the sources you're using. But wait, you are pro 2k17 Java developer who fixed SOMEONE'S else source. Congratulations.

oh wait
[IMG=expandable: 1]http://i.epvpimg.com/Mw9Ncab.png[/IMG]

you've won the same certificate 2nd time
[IMG=expandable: 1]https://i.snag.gy/x9cfpP.jpg[/IMG]

nikola99 06/04/2017 23:20

Guys can you explain me the difference between DO's 2d and 3d code
I have intentions to create my own private server, but only browser games i ever worked on are pure html/php games similar to travian/ikariam and such...
I managed to create basic hangar and gg, but i just don't know where to start from in the actual game...
I looked for similar topics, but found none... i'm sorry if there is one


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

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