|
You last visited: Today at 00:52
Advertisement
DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source
Discussion on DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source within the DarkOrbit forum part of the Browsergames category.
09/24/2021, 19:05
|
#286
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
Can anyone make a working auction system?
|
|
|
09/24/2021, 21:56
|
#287
|
elite*gold: 0
Join Date: Jul 2012
Posts: 612
Received Thanks: 268
|
Quote:
Originally Posted by mano79
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  .
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  .
|
|
|
09/25/2021, 08:39
|
#288
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
Hmm
So 2014 version?
|
|
|
09/25/2021, 17:37
|
#289
|
elite*gold: 0
Join Date: Jul 2012
Posts: 612
Received Thanks: 268
|
Quote:
Originally Posted by mano79
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
|
#290
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
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
|
#291
|
elite*gold: 0
Join Date: Jul 2012
Posts: 612
Received Thanks: 268
|
Quote:
Originally Posted by mano79
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
|
#292
|
elite*gold: 0
Join Date: Aug 2012
Posts: 194
Received Thanks: 44
|
Quote:
Originally Posted by -=Flavio=-
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
|
#293
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
Hi
Quote:
Originally Posted by -=Flavio=-
I put in a few more skills, but I'm too busy with my classes these days to seriously work on it for now.
|
Do you publish the source with updates?
|
|
|
09/27/2021, 14:27
|
#294
|
elite*gold: 0
Join Date: Jul 2012
Posts: 612
Received Thanks: 268
|
Quote:
Originally Posted by rakt33
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
Do you publish the source with updates?
|
I literally posted on this same page.
Quote:
Originally Posted by -=Flavio=-
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  .
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  .
|
HERE
|
|
|
09/27/2021, 14:51
|
#295
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
Ahh thanks
|
|
|
09/27/2021, 18:10
|
#296
|
elite*gold: 0
Join Date: Sep 2021
Posts: 1
Received Thanks: 0
|
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
|
#297
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
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
|
#298
|
elite*gold: 0
Join Date: Jul 2012
Posts: 612
Received Thanks: 268
|
Quote:
Originally Posted by mano79
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
|
#299
|
elite*gold: 0
Join Date: Sep 2021
Posts: 87
Received Thanks: 1
|
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
|
#300
|
elite*gold: 0
Join Date: Jul 2012
Posts: 612
Received Thanks: 268
|
Quote:
Originally Posted by mano79
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.
|
|
|
All times are GMT +1. The time now is 00:57.
|
|