Which is the best server file and emulator??
i changed main.swfQuote:
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.
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_); }
<?php $res = $unity->getResolution($Users->DataRow['playerID']); if ($res == 6){ $width = 1920; $height = 974; } else{$width = 1920; $height = 1080; } header('Content-type: text/xml'); ?>
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
For the CMS copypaste this in index.php:Quote:
Best server file for initial startup????
<?php
public class Main { public static void main(String[] args) { } }
Quote:
For the CMS copypaste this in index.php:
For the emulator in java copypaste this in Main.java:PHP Code:
<?php
Rest is up to what features you want and what kind of PS you want.Code:public class Main { public static void main(String[] args) { } }
I guess you mean the packet.. I took a quick look to main.swf and if I'm not wrong should beQuote:
Hi guys, what's the package that pushes the level of enemies in minimap on Maps basics? (the yellow bars in the minimap)
0|n|w|(int value) -> 0|n|w|2 (for example)