DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source

09/24/2021 19:05 mano79#286
Can anyone make a working auction system?
09/24/2021 21:56 -=Flavio=-#287
Quote:
Originally Posted by mano79 View Post
Can anyone make a working auction system?
If you want a tip, look for a little php and MySQL, it's not a very complicated thing, but it's kind of boring, but I recommend making the emulator check every 1 hour to make the delivery more dynamic.

I've made some improvements, here's the link to the updated [Only registered and activated users can see links. Click Here To Register...].
I will try to do constant updates for it, but please take into account that I was trying to make the 2014 gameplay so some things are disabled and changed from the original 10.0 client, but it just needs to be re-enabled by removing the code comments and re-enabling them.
The htdocs and database functions are [Only registered and activated users can see links. Click Here To Register...].
09/25/2021 08:39 mano79#288
So 2014 version?
09/25/2021 17:37 -=Flavio=-#289
Quote:
Originally Posted by mano79 View Post
So 2014 version?
There were only a few changes I made, but nothing that can't be reverted by simply removing some "/*" and "//" in the emulator.
09/25/2021 17:52 mano79#290
Which version does your files work with, 10.0?
Can an auction system be included somehow?
Or do you need to download the game cms separately from somewhere?
09/25/2021 18:44 -=Flavio=-#291
Quote:
Originally Posted by mano79 View Post
Which version does your files work with, 10.0?
Can an auction system be included somehow?
Or do you need to download the game cms separately from somewhere?
Yes, 10.0
I can't do this at the moment, I don't have time, but if you want to do it, you'll have to download some cms and adapt it to the site.
09/27/2021 11:38 rakt33#292
Quote:
Originally Posted by -=Flavio=- View Post
Today is a holiday here in Brazil so I spent this morning digging through this source code, I added Bounty Hunter to skilltree and fixed the neutral zone in the portals, later I plan to take a look at the "new" ships (Aegis, Citadel and Searhead), I was wondering if anyone is interested enough for me to post the source with updates here?
Hi, I was wondering the same. I like to edit the source and add new things, maybe we can make a group and share our edits with others. This way we can make a little dev community?
09/27/2021 12:25 mano79#293
Quote:
Originally Posted by -=Flavio=- View Post
I put in a few more skills, but I'm too busy with my classes these days to seriously work on it for now.
[Only registered and activated users can see links. Click Here To Register...]
Do you publish the source with updates?
09/27/2021 14:27 -=Flavio=-#294
Quote:
Originally Posted by rakt33 View Post
Hi, I was wondering the same. I like to edit the source and add new things, maybe we can make a group and share our edits with others. This way we can make a little dev community?
Yes, this is definitely interesting, and it would help the community that is falling apart.

Quote:
Originally Posted by mano79 View Post
Do you publish the source with updates?
I literally posted on this same page.

Quote:
Originally Posted by -=Flavio=- View Post
If you want a tip, look for a little php and MySQL, it's not a very complicated thing, but it's kind of boring, but I recommend making the emulator check every 1 hour to make the delivery more dynamic.

I've made some improvements, here's the link to the updated [Only registered and activated users can see links. Click Here To Register...].
I will try to do constant updates for it, but please take into account that I was trying to make the 2014 gameplay so some things are disabled and changed from the original 10.0 client, but it just needs to be re-enabled by removing the code comments and re-enabling them.
The htdocs and database functions are [Only registered and activated users can see links. Click Here To Register...].
HERE
09/27/2021 14:51 mano79#295
Ahh thanks
09/27/2021 18:10 Beaper#296
Hello guys.

I always wanted to do a Private server for fun and also to train my programming knowledge, but since flash is down i don't know if it possible to do it anymlore, if so could anyone help me on that case, thanks have a nice day
09/27/2021 20:01 mano79#297
for some reason I failed to add the skill point
should it be added to skill-tree.css and Functions.php ???
i added but i get this error
Notice: Undefined property: stdClass::$bountyhunter1 in C:\xampp\htdocs\files\classes\Functions.php on line 3510

Notice: Undefined property: stdClass::$bountyhunter2 in C:\xampp\htdocs\files\classes\Functions.php on line 3516

Notice: Undefined property: stdClass::$shieldMechanics in C:\xampp\htdocs\files\classes\Functions.php on line 3522

Notice: Undefined property: stdClass::$electroOptics in C:\xampp\htdocs\files\classes\Functions.php on line 3527

Notice: Undefined property: stdClass::$shiphull1 in C:\xampp\htdocs\files\classes\Functions.php on line 3532

Notice: Undefined property: stdClass::$shiphull2 in C:\xampp\htdocs\files\classes\Functions.php on line 3538

in function.php i added it so it is wrong
public static function GetSkillDescription($skill, $level) {
$array = [
'Engineering' => 'Lets your repair bots repair '.($level <= 1 ? '5' : ($level == 2 ? '10' : ($level == 3 ? '15' : ($level == 4 ? '20' : ($level == 5 ? '30' : '0'))))).'% more HP<br> per second',
'Shield Engineering' => 'Increases your shield strength by '.($level <= 1 ? '4' : ($level == 2 ? '8' : ($level == 3 ? '12' : ($level == 4 ? '18' : ($level == 5 ? '25' : '0'))))).'%',
'Detonation I' => 'Makes your mines cause '.($level <= 1 ? '7' : ($level == 2 ? '14' : 0)).'% more damage',
'Detonation II' => 'Makes your mines cause '.($level <= 1 ? '21' : ($level == 2 ? '28' : ($level == 3 ? '50' : 0))).'% more damage',
'Heat-seeking Missiles' => 'Increases hit probability of your rockets by '.($level <= 1 ? '1' : ($level == 2 ? '2' : ($level == 3 ? '4' : ($level == 4 ? '6' : ($level == 5 ? '10' : '0'))))).'%',
'Rocket Fusion' => 'Makes your rockets cause '.($level <= 1 ? '2' : ($level == 2 ? '2' : ($level == 3 ? '4' : ($level == 4 ? '6' : ($level == 5 ? '10' : '0'))))).'% more damage',
'Cruelty I' => 'Gives you '.($level <= 1 ? '4' : ($level == 2 ? '8' : 0)).'% more honor points',
'Cruelty II' => 'Gives you '.($level <= 1 ? '12' : ($level == 2 ? '18' : ($level == 3 ? '25' : 0))).'% more honor points',
'Explosives' => 'Increases the radius of mine explosions by '.($level <= 1 ? '4' : ($level == 2 ? '8' : ($level == 3 ? '12' : ($level == 4 ? '18' : ($level == 5 ? '25' : '0'))))).'%',
'Luck I' => 'Gives you '.($level <= 1 ? '2' : ($level == 2 ? '4' : 0)).'% more bonus-box Uridium',
'Luck II' => 'Gives you '.($level <= 1 ? '6' : ($level == 2 ? '8' : ($level == 3 ? '12' : 0))).'% more bonus-box Uridium',
'Bounty Hunter I' => 'Gives you '.($level <= 1 ? '2' : ($level == 2 ? '4' : 0)).'% damage done in PvP battles',
'Bounty Hunter II' => 'Gives you '.($level <= 1 ? '6' : ($level == 2 ? '8' : ($level == 3 ? '12' : 0))).'% damage done in PvP battles',
'Shield Mechanics' => 'Lets your shields withstand '.($level <= 1 ? '2' : ($level == 2 ? '4' : ($level == 3 ? '6' : ($level == 4 ? '8' : ($level == 5 ? '12' : '0'))))).'% more damage',
'Electro-optics' => 'Makes your lasers '.($level <= 1 ? '2' : ($level == 2 ? '4' : ($level == 3 ? '6' : ($level == 4 ? '8' : ($level == 5 ? '12' : '0'))))).'% more accurate',
'Ship Hull I' => 'Gives you '.($level <= 1 ? '5.000' : ($level == 2 ? '10.000' : 0)).' Extra max HP',
'Ship Hull II' => 'Gives you '.($level <= 1 ? '15.000' : ($level == 2 ? '25.000' : ($level == 3 ? '50.000' : 0))).' Extra max HP'
];

return $array[$skill];
}
09/27/2021 22:20 -=Flavio=-#298
Quote:
Originally Posted by mano79 View Post
for some reason I failed to add the skill point
should it be added to skill-tree.css and Functions.php ???
i added but i get this error
Notice: Undefined property: stdClass::$bountyhunter1 in C:\xampp\htdocs\files\classes\Functions.php on line 3510

Notice: Undefined property: stdClass::$bountyhunter2 in C:\xampp\htdocs\files\classes\Functions.php on line 3516

Notice: Undefined property: stdClass::$shieldMechanics in C:\xampp\htdocs\files\classes\Functions.php on line 3522

Notice: Undefined property: stdClass::$electroOptics in C:\xampp\htdocs\files\classes\Functions.php on line 3527

Notice: Undefined property: stdClass::$shiphull1 in C:\xampp\htdocs\files\classes\Functions.php on line 3532

Notice: Undefined property: stdClass::$shiphull2 in C:\xampp\htdocs\files\classes\Functions.php on line 3538

in function.php i added it so it is wrong
public static function GetSkillDescription($skill, $level) {
$array = [
'Engineering' => 'Lets your repair bots repair '.($level <= 1 ? '5' : ($level == 2 ? '10' : ($level == 3 ? '15' : ($level == 4 ? '20' : ($level == 5 ? '30' : '0'))))).'% more HP<br> per second',
'Shield Engineering' => 'Increases your shield strength by '.($level <= 1 ? '4' : ($level == 2 ? '8' : ($level == 3 ? '12' : ($level == 4 ? '18' : ($level == 5 ? '25' : '0'))))).'%',
'Detonation I' => 'Makes your mines cause '.($level <= 1 ? '7' : ($level == 2 ? '14' : 0)).'% more damage',
'Detonation II' => 'Makes your mines cause '.($level <= 1 ? '21' : ($level == 2 ? '28' : ($level == 3 ? '50' : 0))).'% more damage',
'Heat-seeking Missiles' => 'Increases hit probability of your rockets by '.($level <= 1 ? '1' : ($level == 2 ? '2' : ($level == 3 ? '4' : ($level == 4 ? '6' : ($level == 5 ? '10' : '0'))))).'%',
'Rocket Fusion' => 'Makes your rockets cause '.($level <= 1 ? '2' : ($level == 2 ? '2' : ($level == 3 ? '4' : ($level == 4 ? '6' : ($level == 5 ? '10' : '0'))))).'% more damage',
'Cruelty I' => 'Gives you '.($level <= 1 ? '4' : ($level == 2 ? '8' : 0)).'% more honor points',
'Cruelty II' => 'Gives you '.($level <= 1 ? '12' : ($level == 2 ? '18' : ($level == 3 ? '25' : 0))).'% more honor points',
'Explosives' => 'Increases the radius of mine explosions by '.($level <= 1 ? '4' : ($level == 2 ? '8' : ($level == 3 ? '12' : ($level == 4 ? '18' : ($level == 5 ? '25' : '0'))))).'%',
'Luck I' => 'Gives you '.($level <= 1 ? '2' : ($level == 2 ? '4' : 0)).'% more bonus-box Uridium',
'Luck II' => 'Gives you '.($level <= 1 ? '6' : ($level == 2 ? '8' : ($level == 3 ? '12' : 0))).'% more bonus-box Uridium',
'Bounty Hunter I' => 'Gives you '.($level <= 1 ? '2' : ($level == 2 ? '4' : 0)).'% damage done in PvP battles',
'Bounty Hunter II' => 'Gives you '.($level <= 1 ? '6' : ($level == 2 ? '8' : ($level == 3 ? '12' : 0))).'% damage done in PvP battles',
'Shield Mechanics' => 'Lets your shields withstand '.($level <= 1 ? '2' : ($level == 2 ? '4' : ($level == 3 ? '6' : ($level == 4 ? '8' : ($level == 5 ? '12' : '0'))))).'% more damage',
'Electro-optics' => 'Makes your lasers '.($level <= 1 ? '2' : ($level == 2 ? '4' : ($level == 3 ? '6' : ($level == 4 ? '8' : ($level == 5 ? '12' : '0'))))).'% more accurate',
'Ship Hull I' => 'Gives you '.($level <= 1 ? '5.000' : ($level == 2 ? '10.000' : 0)).' Extra max HP',
'Ship Hull II' => 'Gives you '.($level <= 1 ? '15.000' : ($level == 2 ? '25.000' : ($level == 3 ? '50.000' : 0))).' Extra max HP'
];

return $array[$skill];
}
Both files should be in the htdocs I uploaded, could you check it out for me?

I just looked, they are in the .rar file I uploaded. (Functions.php and skill-tree.css)
09/28/2021 06:17 mano79#299
So if I add the capabilities to the function.php file and skilltree.cs I get these errors
Doesn't what you shared work in another version?

Maybe how to add capabilities to another cms version?
09/28/2021 06:49 -=Flavio=-#300
Quote:
Originally Posted by mano79 View Post
So if I add the capabilities to the function.php file and skilltree.cs I get these errors
Doesn't what you shared work in another version?

Maybe how to add capabilities to another cms version?
These files are exclusively for version 10.0 of this source only.
I haven't tested it on another version, try this: make a backup of your functions and then replace them with this one, and let's see what happens.
Anything update me.