DarkOrbit 7.5.3 / 9.0 / 10.0 - Open Source

04/27/2020 12:01 Labodidavid14#136
Hello! Keep up doing this good work, this code is really good. :)
I have a question, how can i make the equipment and the spacemap, so the swf elements to work on a https domain?
I'm changed the defined DOMAIN to my domain with https prefix, everything is work except the flash elements.
04/28/2020 18:04 Armandito13x#137
Quote:
Originally Posted by Labodidavid14 View Post
Hello! Keep up doing this good work, this code is really good. :)
I have a question, how can i make the equipment and the spacemap, so the swf elements to work on a https domain?
I'm changed the defined DOMAIN to my domain with https prefix, everything is work except the flash elements.
pm me
04/28/2020 20:16 Jhoe093#138
[Only registered and activated users can see links. Click Here To Register...]
guys please i'm going crazy, i can't find a solution to this problem can you help me ??
04/29/2020 08:16 Armandito13x#139
Quote:
Originally Posted by Jhoe093 View Post
[Only registered and activated users can see links. Click Here To Register...]
guys please i'm going crazy, i can't find a solution to this problem can you help me ??
use f12 and configure, add swf
05/01/2020 16:42 borsbence#140
How to publish, in darkorbit pvp Server in web?
05/03/2020 00:16 stars093#141
sorry guys really nobody can tell me how to solve this problem = ([Only registered and activated users can see links. Click Here To Register...]

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

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

[Only registered and activated users can see links. Click Here To Register...]
05/05/2020 04:58 L34NDR02020#142
Great work by the collaborators of this project, quite clean and organized, easy and didactic to understand. Keep doing this great job, at this point it is a great achievement.
At this point I had the question of how to open the 3D texture files in adobe ATF format? I was also unable to display the .SWFs well even using a decompiler for SWF, ActionScript files and their proper resources do not load in Adobe Flash Professional CS6. If anyone knows how to open these files, reply this post, I'll be attentive :)
Happy coding!
05/05/2020 10:55 S7K Yuuki#143
Quote:
Originally Posted by L34NDR02020 View Post
Great work by the collaborators of this project, quite clean and organized, easy and didactic to understand. Keep doing this great job, at this point it is a great achievement.
At this point I had the question of how to open the 3D texture files in adobe ATF format? I was also unable to display the .SWFs well even using a decompiler for SWF, ActionScript files and their proper resources do not load in Adobe Flash Professional CS6. If anyone knows how to open these files, reply this post, I'll be attentive :)
Happy coding!
Hey there!

You can export the models/textures using [Only registered and activated users can see links. Click Here To Register...]. There are some issues when trying to install the program, check out [Only registered and activated users can see links. Click Here To Register...] for more information.

About opening the SWF your best option is to use any flash decompiler like [Only registered and activated users can see links. Click Here To Register...] (My personal favorite).

Regards.-
05/06/2020 06:32 L34NDR02020#144
Thanks to S7K Yuuki for the help, it works perfectly :) if someone wanna take a look or edit on that 3D Files.

New question:
I added a new ship into the DB, I used the Goliath Gold Design because it is already declared in the XML resource, and the 3D files are in there :)
(screenshot of the ship added in phpMyAdmin -> server_ships: [Only registered and activated users can see links. Click Here To Register...])

Problem:
When I add the ship in the DB, the equipment begins to load infinitely (screenshoot: [Only registered and activated users can see links. Click Here To Register...]), so, I don't know what is the reason. I tried to register in inventory.php (in the GetDesignsLootIds() function) the new lootId name of 'ship_goliath_design_gold' (Screenshoot: [Only registered and activated users can see links. Click Here To Register...]) but nothing works, even I added the description,fullname,category,code and short data of the ship in traslationItems.php and resourceItems.xml :confused:

Maybe could be the wrong shipId, but if I'm configuring the xml resources, why am I still getting the infinite loading window in the equipment if in the in-game emulator all works fine? Someone has some updated game.xml or the shipIds?

A nice idea:
I don't know if it exists, but it would be great if we could debug compiled swf files running in the browser to diagnose what is happening inside the swf execution source.
05/06/2020 11:51 S7K Yuuki#145
Quote:
Originally Posted by L34NDR02020 View Post
Thanks to S7K Yuuki for the help, it works perfectly :) if someone wanna take a look or edit on that 3D Files.

New question:
I added a new ship into the DB, I used the Goliath Gold Design because it is already declared in the XML resource, and the 3D files are in there :)
(screenshot of the ship added in phpMyAdmin -> server_ships: [Only registered and activated users can see links. Click Here To Register...])

Problem:
When I add the ship in the DB, the equipment begins to load infinitely (screenshoot: [Only registered and activated users can see links. Click Here To Register...]), so, I don't know what is the reason. I tried to register in inventory.php (in the GetDesignsLootIds() function) the new lootId name of 'ship_goliath_design_gold' (Screenshoot: [Only registered and activated users can see links. Click Here To Register...]) but nothing works, even I added the description,fullname,category,code and short data of the ship in traslationItems.php and resourceItems.xml :confused:

Maybe could be the wrong shipId, but if I'm configuring the xml resources, why am I still getting the infinite loading window in the equipment if in the in-game emulator all works fine? Someone has some updated game.xml or the shipIds?
Hello again!

I never seen how this specific server/CMS/whatever works (just seen the github code and there are a thousand of SQL injections / problems) so I don't know how the inventory was implemented. But I can tell you how it is supposed to work. The inventory swf makes an api call to `inventory.php` and retrieves "your inventory" as a json string base64 encoded. What does that mean?

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

If you base64 decode that response you will get the json (in this case real DO) is sending to me. Take a look to the json structure and figure out what does it need in order to work properly, it's pretty easy to guess.

One thing that you can do is try to see the differences between the json before adding the gold goliath and after.

Quote:
Originally Posted by L34NDR02020 View Post
A nice idea:
I don't know if it exists, but it would be great if we could debug compiled swf files running in the browser to diagnose what is happening inside the swf execution source.
You can totally do that, just open the swf with any decompiler like the one I mentioned in the previous post and add some traces. Take a look to [Only registered and activated users can see links. Click Here To Register...].

Code:
ExternalInterface.call("console.log", "My variable = " + variable);
Regards.-
05/06/2020 12:23 borsbence#146
how to create a combat base?
05/06/2020 20:13 L34NDR02020#147
Quote:
Originally Posted by S7K Yuuki View Post
Hello again!

I never seen how this specific server/CMS/whatever works (just seen the github code and there are a thousand of SQL injections / problems) so I don't know how the inventory was implemented. But I can tell you how it is supposed to work. The inventory swf makes an api call to `inventory.php` and retrieves "your inventory" as a json string base64 encoded. What does that mean?

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

If you base64 decode that response you will get the json (in this case real DO) is sending to me. Take a look to the json structure and figure out what does it need in order to work properly, it's pretty easy to guess.

One thing that you can do is try to see the differences between the json before adding the gold goliath and after.



You can totally do that, just open the swf with any decompiler like the one I mentioned in the previous post and add some traces. Take a look to [Only registered and activated users can see links. Click Here To Register...].

Code:
ExternalInterface.call("console.log", "My variable = " + variable);
Regards.-
Thank you again, problem fixed :)
Sent you my invitation from Discord, check for EH | Mirame :rolleyes:
05/06/2020 20:17 S7K Yuuki#148
Quote:
Originally Posted by L34NDR02020 View Post
Thank you again, problem fixed :)
Sent you my invitation from Discord, check for EH | Mirame :rolleyes:
Glad to hear that :)

Regards.-
05/09/2020 13:40 LEJYONER(DS)#149
Quote:
Originally Posted by S7K Yuuki View Post
Hello again!

I never seen how this specific server/CMS/whatever works (just seen the github code and there are a thousand of SQL injections / problems) so I don't know how the inventory was implemented. But I can tell you how it is supposed to work. The inventory swf makes an api call to `inventory.php` and retrieves "your inventory" as a json string base64 encoded. What does that mean?

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

If you base64 decode that response you will get the json (in this case real DO) is sending to me. Take a look to the json structure and figure out what does it need in order to work properly, it's pretty easy to guess.

One thing that you can do is try to see the differences between the json before adding the gold goliath and after.



You can totally do that, just open the swf with any decompiler like the one I mentioned in the previous post and add some traces. Take a look to [Only registered and activated users can see links. Click Here To Register...].

Code:
ExternalInterface.call("console.log", "My variable = " + variable);
Regards.-
Hi there, inventory is actually designed to just keep 1 row in database for each user and thats makes it so so fast but also not easy to control. All these items in the inventory just created in php so not in database, every user has same items and how the placement of these items in the database is with item id, you are also right there are lots of injection & sql errors maybe because of i had to do the whole cms in few days while also trying to work for emulator, i also like your explanation :)
05/11/2020 10:26 PERUANADMINDARKORBIT#150
HELP!
[Only registered and activated users can see links. Click Here To Register...]