Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 23:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Private Server Info and Support Thread

Discussion on Private Server Info and Support Thread within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old 03/06/2017, 16:39   #2746
 
elite*gold: 0
Join Date: Aug 2011
Posts: 18
Received Thanks: 3
Which is the best server file and emulator??
by_soul is offline  
Old 03/06/2017, 18:21   #2747
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by NoCheatImPGM View Post
You cannot execute a php code inside a .xml file.
Change the .xml file to .php and make the changes needed in the main.swf.
i changed main.swf

Code:
package net.bigpoint.darkorbit

     private function loadGameXML() : void
      {
         var _loc1_:URLRequest = null;
         if(this.antStart)
         {
            _loc1_ = new URLRequest("xml/game.xml");
         }
         else
         {
            _loc1_ = new URLRequest(Settings.basePath + "xml/game.php?__cv=" + this.revisions["gameXML"]);
         }
         var _loc2_:URLLoader = new URLLoader();
         _loc2_.addEventListener(Event.COMPLETE,this.handleGameXMLLoaded);
         _loc2_.addEventListener(IOErrorEvent.IO_ERROR,this.handleXMLLoadingError);
         _loc2_.load(_loc1_);
      }
      
      private function loadProfileXML() : void
      {
         var _loc1_:URLRequest = null;
         if(this.antStart)
         {
            _loc1_ = new URLRequest("xml/profile.xml");
         }
         else
         {
            _loc1_ = new URLRequest(Settings.basePath + "xml/profile.xml?__cv=" + this.revisions["profileXML"]);
         }
         var _loc2_:URLLoader = new URLLoader();
         _loc2_.addEventListener(Event.COMPLETE,this.handleProfileXMLLoaded);
         _loc2_.addEventListener(IOErrorEvent.IO_ERROR,this.handleXMLLoadingError);
         _loc2_.load(_loc1_);
      }
      
     
      
      private function handleGameXMLLoaded(param1:Event) : void
      {
         var _loc2_:URLRequest = null;
         gameXML = new XML((param1.currentTarget as URLLoader).data);
         PatternManager.parsePatterns(gameXML);
         var _loc3_:ResolutionPattern = PatternManager.resolutionPatterns[Settings.resolutionID];
         this.screenManager.setScreenWidth(_loc3_.width);
         this.screenManager.setScreenHeight(_loc3_.height);
         TooltipControl.getInstance().setBounds(new Rectangle(0,0,_loc3_.width,_loc3_.height));
         this.screenManager.showSimpleMessage(BPLocale.getText("loadingClaim"),"quickloader");
         var _loc4_:* = "maps_dev.xml";
         if(this.environment != ENV_LOCAL_SERVER)
         {
            _loc4_ = "maps.php";
         }
         if(this.environment == ENV_LOCAL_SERVER)
         {
            _loc2_ = new URLRequest("xml/" + _loc4_);
         }
         else
         {
            _loc2_ = new URLRequest(Settings.dynamicHost + Settings.basePath + "xml/" + _loc4_);
         }
         var _loc5_:URLLoader = new URLLoader();
         _loc5_.addEventListener(Event.COMPLETE,this.handleMapsXMLLoaded);
         _loc5_.addEventListener(IOErrorEvent.IO_ERROR,this.handleXMLLoadingError);
         _loc5_.load(_loc2_);
      }
but not load
steppdroid is offline  
Old 03/06/2017, 19:21   #2748
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by olitis1 View Post
Or with a RewriteRule in .htacces
None is smart enough to think that the easiest solution will work.
manulaiko3.0 is offline  
Thanks
1 User
Old 03/06/2017, 19:33   #2749
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by manulaiko3.0 View Post
None is smart enough to think that the easiest solution will work.
Work with RewriteRule!!! Thank!!
steppdroid is offline  
Old 03/06/2017, 19:35   #2750

 
Luffa's Avatar
 
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403

GG
Luffa is offline  
Old 03/07/2017, 00:21   #2751
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
[SLOVED]
but in game.php not run any server functions....
Code:
<?php
$res = $unity->getResolution($Users->DataRow['playerID']);
if ($res == 6){
$width = 1920;
$height = 974;
}
else{$width = 1920;
$height = 1080;
}
header('Content-type: text/xml');
?>
i have this error:

Code:
Warning: require(KERNEL-DOCMS/Init.php): failed to open stream: No such file or directory in D:\xampp\htdocs\spacemap\xml\game.php on line 4

Fatal error: require(): Failed opening required 'KERNEL-DOCMS/Init.php' (include_path='.;D:\xampp\php\PEAR') in D:\xampp\htdocs\spacemap\xml\game.php on line 4
steppdroid is offline  
Old 03/07/2017, 05:33   #2752
 
elite*gold: 0
Join Date: Aug 2011
Posts: 18
Received Thanks: 3
Which is the best server file and emulator??
by_soul is offline  
Old 03/07/2017, 08:03   #2753
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
Quote:
Originally Posted by by_soul View Post
Which is the best server file and emulator??
The one that you coded.
Freshek is offline  
Thanks
1 User
Old 03/07/2017, 20:43   #2754
 
elite*gold: 0
Join Date: Dec 2016
Posts: 17
Received Thanks: 13
Quote:
Originally Posted by Freshek View Post
The one that you coded.
That's pretty risky...you know

But really, what people want to do on the server and what features they would like to have. By answering those questions one can find the best way to create their server.
***NOMAD*** is offline  
Old 03/07/2017, 21:50   #2755
 
elite*gold: 0
Join Date: Nov 2012
Posts: 32
Received Thanks: 1
Guys i host my server hamachi its ready i need now put chat i have files but i do not know how work can say me steps pls?
darkorbit26410 is offline  
Old 03/07/2017, 22:36   #2756
 
elite*gold: 0
Join Date: Aug 2011
Posts: 18
Received Thanks: 3
Quote:
Originally Posted by Freshek View Post
The one that you coded.

Best server file for initial startup????
by_soul is offline  
Old 03/07/2017, 23:58   #2757
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by by_soul View Post
Best server file for initial startup????
For the CMS copypaste this in index.php:

PHP Code:
<?php
For the emulator in java copypaste this in Main.java:

Code:
public class Main
{
    public static void main(String[] args)
    {
    }
}
Rest is up to what features you want and what kind of PS you want.
manulaiko3.0 is offline  
Thanks
2 Users
Old 03/08/2017, 10:06   #2758
 
elite*gold: 0
Join Date: Aug 2011
Posts: 18
Received Thanks: 3
Quote:
Originally Posted by manulaiko3.0 View Post
For the CMS copypaste this in index.php:

PHP Code:
<?php
For the emulator in java copypaste this in Main.java:

Code:
public class Main
{
    public static void main(String[] args)
    {
    }
}
Rest is up to what features you want and what kind of PS you want.

I do not want to write from scratch

Which is the best I can edit

Sample server: uberorbit
by_soul is offline  
Old 03/09/2017, 11:03   #2759
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Hi guys, what's the package that pushes the level of enemies in minimap on Maps basics? (the yellow bars in the minimap)
steppdroid is offline  
Old 03/09/2017, 13:32   #2760
 
S7K Yuuki's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 246
Received Thanks: 398
Quote:
Originally Posted by steppdroid View Post
Hi guys, what's the package that pushes the level of enemies in minimap on Maps basics? (the yellow bars in the minimap)
I guess you mean the packet.. I took a quick look to main.swf and if I'm not wrong should be
Code:
0|n|w|(int value) -> 0|n|w|2 (for example)
Regards.-
S7K Yuuki is offline  
Thanks
1 User
Reply

Tags
2018, darkorbit, emulator, private, server


Similar Threads Similar Threads
Private private server :P READ FOR MORE INFO
12/01/2010 - SRO Private Server - 12 Replies
hey guys im wondering if there is anyway to make a real private server like ZSZC or SWSRO or MYSRO but to where i can only play and level a character and as if it was a real private server. but just for me, not like an emulator where im already lvl 90 or 120 or whatever. i mean one where i set the rates and i level. if not then ok u can close this. but i was just wondering.



All times are GMT +1. The time now is 23:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.