DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source

12/21/2023 02:14 Gassu231#646
H̶e̶l̶l̶o̶, H̶o̶w̶ c̶a̶n̶ I̶ a̶d̶d̶ m̶o̶r̶e̶ s̶h̶i̶p̶s̶ t̶o̶ a̶c̶c̶o̶u̶n̶t̶s̶?̶ I̶ t̶r̶i̶e̶d̶ t̶h̶i̶s̶ o̶n̶ B̶i̶g̶b̶o̶y̶ f̶i̶r̶s̶t̶ a̶n̶d̶ a̶d̶d̶e̶d̶ i̶t̶ t̶o̶ t̶h̶e̶ o̶v̶e̶r̶v̶i̶e̶w̶ b̶u̶t̶ w̶h̶e̶n̶ t̶r̶y̶i̶n̶g̶ t̶o̶ c̶l̶i̶c̶k̶ i̶t̶ a̶n̶d̶ g̶o̶ t̶o̶ e̶q̶u̶i̶p̶m̶e̶n̶t̶s̶ I̶m̶ g̶e̶t̶t̶i̶n̶g̶ e̶r̶r̶o̶r̶ ''s̶o̶m̶e̶t̶h̶i̶n̶g̶ w̶e̶n̶t̶ w̶r̶o̶n̶g̶''. I̶ a̶l̶s̶o̶ a̶d̶d̶e̶d̶ t̶h̶e̶ c̶o̶r̶r̶e̶c̶t̶ v̶a̶l̶u̶e̶s̶ f̶o̶r̶ i̶t̶ i̶n̶ d̶a̶t̶a̶b̶a̶s̶e̶ s̶o̶ i̶s̶ t̶h̶e̶r̶e̶ s̶t̶i̶l̶l̶ f̶i̶l̶e̶s̶ t̶h̶a̶t̶ I̶ n̶e̶e̶d̶ t̶o̶ a̶d̶d̶ i̶t̶?̶
Edit:forgot to put them in functions.php

Also how can I get shieldDamage to play when someone shoots you and you take shield damage, in what file are they located or in what file I should add it?
12/25/2023 22:41 Gassu231#647
Quote:
Originally Posted by Filippi View Post
Does anyone know how to make WarRank work in the 10.0 emulator so that the crown and rings work?
You mean warRank doesn't work or you want to change the rank manually?
If you put warRank = 1 it gives the account Kronos crown, I would assume 2 gives you 6 rings and so on since I don't want rings or crown on my account.
You can change the warRank on player_accounts in database
01/07/2024 17:27 chtlkbrk#648
Should I use which PHP version?

I cant run it. Anyone can help me? Using php v8.0 and trying on my website(subdomain) But doesnt work. Only white page
01/08/2024 03:28 Texters#649
Quote:
Originally Posted by chtlkbrk View Post
Should I use which PHP version?

I cant run it. Anyone can help me? Using php v8.0 and trying on my website(subdomain) But doesnt work. Only white page
7.x.x
01/08/2024 11:58 chtlkbrk#650
Quote:
Originally Posted by Texters View Post
7.x.x
Not working. Only white page
01/08/2024 18:55 Gassu231#651
Quote:
Originally Posted by chtlkbrk View Post
Not working. Only white page
I use 5.2.1 and it works fine. If you have white screen try this:

Check you MySQL error log. I had the same issue, for me it was passing null to parameter on line 17.

what I did was go to htdocs/files/config.php and change this:

if (session_start()) {
setcookie(session_name(), session_id(), true, '/', null, null, true);

To this:

if (session_start()) {
setcookie(session_name(), session_id(), true, '/', true, true, true);

And after that cleared temp files
01/08/2024 21:56 chtlkbrk#652
Quote:
Originally Posted by Gassu231 View Post
I use 5.2.1 and it works fine. If you have white screen try this:

Check you MySQL error log. I had the same issue, for me it was passing null to parameter on line 17.

what I did was go to htdocs/files/config.php and change this:

if (session_start()) {
setcookie(session_name(), session_id(), true, '/', null, null, true);

To this:

if (session_start()) {
setcookie(session_name(), session_id(), true, '/', true, true, true);

And after that cleared temp files
change to 5.2 and I have this error

"Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in files/classes/SMTP.php on line 2"
01/09/2024 02:10 Gassu231#653
Quote:
Originally Posted by chtlkbrk View Post
change to 5.2 and I have this error

"Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in files/classes/SMTP.php on line 2"
Have you modified that file? That error is just a syntax error which means there is typo in the code.

In my file it is just '' use PHPMailer\PHPMailer\PHPMailer; ''
that file can be found in xampp\htdocs\files\classes

Or try 5.3 PHP or later one and see if it fixes it
EDIT: my PHPadmin is 5.2.1 and PHP is 8.2.4, My bad.
01/09/2024 07:09 chtlkbrk#654
Quote:
Originally Posted by Gassu231 View Post
Have you modified that file? That error is just a syntax error which means there is typo in the code.

In my file it is just '' use PHPMailer\PHPMailer\PHPMailer; ''
that file can be found in xampp\htdocs\files\classes

Or try 5.3 PHP or later one and see if it fixes it
EDIT: my PHPadmin is 5.2.1 and PHP is 8.2.4, My bad.
I didnt change anything. pls add me and help me dude discord: larismus_
01/26/2024 08:48 SametOzturk#655
.
02/21/2024 21:27 mentoscz#656
Quote:
Originally Posted by Gassu231 View Post
H̶e̶l̶l̶o̶, H̶o̶w̶ c̶a̶n̶ I̶ a̶d̶d̶ m̶o̶r̶e̶ s̶h̶i̶p̶s̶ t̶o̶ a̶c̶c̶o̶u̶n̶t̶s̶?̶ I̶ t̶r̶i̶e̶d̶ t̶h̶i̶s̶ o̶n̶ B̶i̶g̶b̶o̶y̶ f̶i̶r̶s̶t̶ a̶n̶d̶ a̶d̶d̶e̶d̶ i̶t̶ t̶o̶ t̶h̶e̶ o̶v̶e̶r̶v̶i̶e̶w̶ b̶u̶t̶ w̶h̶e̶n̶ t̶r̶y̶i̶n̶g̶ t̶o̶ c̶l̶i̶c̶k̶ i̶t̶ a̶n̶d̶ g̶o̶ t̶o̶ e̶q̶u̶i̶p̶m̶e̶n̶t̶s̶ I̶m̶ g̶e̶t̶t̶i̶n̶g̶ e̶r̶r̶o̶r̶ ''s̶o̶m̶e̶t̶h̶i̶n̶g̶ w̶e̶n̶t̶ w̶r̶o̶n̶g̶''. I̶ a̶l̶s̶o̶ a̶d̶d̶e̶d̶ t̶h̶e̶ c̶o̶r̶r̶e̶c̶t̶ v̶a̶l̶u̶e̶s̶ f̶o̶r̶ i̶t̶ i̶n̶ d̶a̶t̶a̶b̶a̶s̶e̶ s̶o̶ i̶s̶ t̶h̶e̶r̶e̶ s̶t̶i̶l̶l̶ f̶i̶l̶e̶s̶ t̶h̶a̶t̶ I̶ n̶e̶e̶d̶ t̶o̶ a̶d̶d̶ i̶t̶?̶
Edit:forgot to put them in functions.php

Also how can I get shieldDamage to play when someone shoots you and you take shield damage, in what file are they located or in what file I should add it?
Hello. Have you solved those shield animations? Iīve tried multiple things but was not successfull. I also tried working with skill tree, but only skill effects that work are detonation, explosives, heatseeking missiles and rocket fusion. No luck with shield mechanics and shield engineering. I think those skill effects/animations are attached to emulator but I cannot find anything related to it in emulator.
02/25/2024 14:09 Nykus#657
Hello my friends, I would like to know if someone with a good heart can help me, if there is a specific file or place to see the ID of the ships, for example to install a new ship in the database where I can look for its ID.

Thank you
02/26/2024 22:17 Gassu231#658
Quote:
Originally Posted by mentoscz View Post
Hello. Have you solved those shield animations? Iīve tried multiple things but was not successfull. I also tried working with skill tree, but only skill effects that work are detonation, explosives, heatseeking missiles and rocket fusion. No luck with shield mechanics and shield engineering. I think those skill effects/animations are attached to emulator but I cannot find anything related to it in emulator.
I havent looked too deep into it but I think they are located here (or those that are added are here): darkorbit-emulators\DarkOrbit 10.0\Net\netty\commands

There is AttributeSkillShieldUpdateCommand.cs that I think should be the shield engineering bubble one but it seems for some reason its not working at all, no idea why as that goes beyond what I understand.

Since there isnt one for shield mechanic one would need to be made for it from scratch, at first I though it would be made with VisualModifierCommand.cs but that doesnt seem to be the case.

Quote:
Originally Posted by Nykus View Post
Hello my friends, I would like to know if someone with a good heart can help me, if there is a specific file or place to see the ID of the ships, for example to install a new ship in the database where I can look for its ID.

Thank you
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
02/26/2024 23:07 mentoscz#659
Quote:
Originally Posted by Gassu231 View Post
I havent looked too deep into it but I think they are located here (or those that are added are here): darkorbit-emulators\DarkOrbit 10.0\Net\netty\commands

There is AttributeSkillShieldUpdateCommand.cs that I think should be the shield engineering bubble one but it seems for some reason its not working at all, no idea why as that goes beyond what I understand.

Since there isnt one for shield mechanic one would need to be made for it from scratch, at first I though it would be made with VisualModifierCommand.cs but that doesnt seem to be the case.
I invested some time into it and hereīs what I found out. In old clients there was a way of sending packet to play those animations.

This is example how the "bubble" animation was played during shield regeneration.

Code:
if (this.Ship.shield != this.Ship.maxShield)
{
      this.Send("0|A|SHD|1||");
}
else
{
      this.Send("0|A|SHS|0||");
}
I donīt think this formula work in 10.0 client.

Also the second thing is that it is somehow possible to hardcode those animations in main.swf. I stumbled across old Unknown Universe files here on epvp. Animations in those files are activated by default without the need of individual skill points and they are not part of its emulator. Unluckily it is running on very old client and you cannot replicate it in 10.0.

Hope you find these informations helpful. Wish someone would tell us how to do it.
02/27/2024 12:29 megatron1234#660
Hello everyone ! Is here anyone on Discord who can help me to make this server on localhost? i have tryed to open the local ip [Only registered and activated users can see links. Click Here To Register...] but is not working . All starts well but hwn go to the local addres i get nothing ... and i idk what i do wrong ... can anyone help pe on Discord?

Discord ID: crazybull6450

I have Fix this problem ...

I need to know if anyone have a file where all Maps GG and PET are working.