Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

Joined
Nov 8, 2012
Messages
453
Reaction score
25
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

Someone could tell me which files I need to change the Localhost IP To Global ?? I have everything working, but I can only try from Localhost, if anyone can sayme which files need edit the ip, i can help soon with translations and more.

Thx.

hmm i think your hosting a Server right ? if you do translation you can do it with localhost.
 
Newbie Spellweaver
Joined
Jan 9, 2007
Messages
19
Reaction score
0
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

hmm i think your hosting a Server right ? if you do translation you can do it with localhost.

Yes i can translate testing on localhost. But i want put the server on a VPS o Dedicated server (I've dedicated and VPS), and test the game from my computer, not put the server and all on my PC. If anyone could tell me which files need be edited for work on WAN, i be gratefull!
 
Newbie Spellweaver
Joined
Oct 28, 2013
Messages
44
Reaction score
1
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

hmm still no answer to marquel and my question..
what is the use of sharing , if u dont wanna share the fix...
damned short thought..
 
Junior Spellweaver
Joined
Aug 22, 2013
Messages
105
Reaction score
9
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

hmm still no answer to marquel and my question..
what is the use of sharing , if u dont wanna share the fix...
damned short thought..

stated above, he's not using D5 Files.. think 1st !
 
Joined
Nov 8, 2012
Messages
453
Reaction score
25
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

All problems is already been Solved. please try to read again . in the whole topic
 
Initiate Mage
Joined
Jun 18, 2014
Messages
2
Reaction score
0
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

can someone provide me a link other than mega, i can't download it using IDM it has no resume capability and upon downloading it the mega is stopping, if anyone can provide me a alternative link other than mega that i can download it using IDM, i with will be grateful guys. Thank You! :)
 
Initiate Mage
Joined
Mar 17, 2013
Messages
4
Reaction score
0
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

Where is vip data located, so i could edit it?
 
Newbie Spellweaver
Joined
Jan 9, 2007
Messages
19
Reaction score
0
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

Hi! Anyone can share translated files? If someone shares translations you already have, would be a better way forward for everyone. Updating the main issue with the English Patch. This way we could all continue to work and achieve well across multiple complete translation of the game. They really are very many texts and images to translate for one person, but if we as a community we could make great strides.

Thx!
 
Joined
Mar 14, 2010
Messages
501
Reaction score
25
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

this is the source of main.swf

Code:
 package {
    import flash.events.*;
    import flash.text.*;
    import com.youbt.manager.*;
    import flash.display.*;
    import flash.utils.*;
    import show.*;
    import com.youbt.asm.*;
    import flash.ui.*;
    import flash.system.*;
    import flash.external.*;
    import flash.filters.*;
    import flash.net.*;

    public final class Platform extends Sprite {

        private var param:String = "";
        private var txt:TextField;
        private var _loc_1:Class;

        public function Platform(){
            var _local3:String;
            this._loc_1 = Platform__loc_1;
            super();
            if (!stage){
                return;
            };
            this.loaderInfo.addEventListener(Event.COMPLETE, this.init);
            RFSystemManager.getInstance().vaildateDisplayList(this);
            RFSystemManager.getInstance().setStage(stage);
            stage.scaleMode = StageScaleMode.NO_SCALE;
            stage.quality = StageQuality.MEDIUM;
            stage.align = StageAlign.TOP_LEFT;
            var _local1:String = loaderInfo.loaderURL;
            var _local2:int = _local1.lastIndexOf("?");
            if (_local2 > -1){
                this.param = _local1.substr(_local2);
            };
            try {
                this.contextMenu = ((this.contextMenu) || (new ContextMenu()));
                this.contextMenu.hideBuiltInItems();
                this.contextMenu.customItems.push(new ContextMenuItem(Version.ver, false, true));
                _local3 = Capabilities.version.toString();
                if (Capabilities.isDebugger){
                    _local3 = (_local3 + "D");
                };
                this.contextMenu.customItems.push(new ContextMenuItem(_local3, false, true));
            } catch(e:Error) {
            };
        }
        private function init(_arg1:Event):void{
            this.loaderInfo.removeEventListener(Event.COMPLETE, this.init);
            try {
                if (ExternalInterface.available){
                    ExternalInterface.call("eval", "if(completeCallBack && typeof(completeCallBack) == 'function'){completeCallBack()}");
                };
            } catch(e:Error) {
            };
            this.txt = this.createTxt();
            addChild(new Show(this.txt));
            setTimeout(this.t, 300);
        }
        private function createTxt():TextField{
            var _local1:TextField = new TextField();
            _local1.textColor = 0xFFFFFF;
            _local1.filters = [new GlowFilter(0xFFFFFF, 0.3, 2, 2, 20)];
            var _local2:TextFormat = new TextFormat();
            _local2.align = TextFormatAlign.CENTER;
            _local1.defaultTextFormat = _local2;
            return (_local1);
        }
        private function t():void{
            var _local1:URLStream = new URLStream();
            _local1.addEventListener(Event.COMPLETE, this.uc);
            _local1.addEventListener(IOErrorEvent.IO_ERROR, this.err);
            _local1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.err);
            _local1.load(new URLRequest(("PlatformLoader.swf?v=" + Version.ver)));
        }
        private function uc(_arg1:Event):void{
            var _local4:Loader;
            var _local2:URLStream = (_arg1.currentTarget as URLStream);
            _local2.removeEventListener(Event.COMPLETE, this.uc);
            _local2.removeEventListener(IOErrorEvent.IO_ERROR, this.err);
            var _local3:ByteArray = new ByteArray();
            _local2.readBytes(_local3);
            if (_local3.length == Version.HASH){
                _local4 = new Loader();
                _local4.contentLoaderInfo.addEventListener(Event.COMPLETE, this.lc);
                _local4.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.err);
                _local4.loadBytes(_local3, new LoaderContext(false, ApplicationDomain.currentDomain));
            } else {
                this.eee(null);
            };
        }
        private function err(_arg1:IOErrorEvent):void{
            var _local2:IEventDispatcher = (_arg1.currentTarget as IEventDispatcher);
            _local2.removeEventListener(Event.COMPLETE, this.uc);
            _local2.removeEventListener(IOErrorEvent.IO_ERROR, this.err);
            _local2.removeEventListener(Event.COMPLETE, this.lc);
            this.eee(null);
        }
        private function lc(_arg1:Event):void{
            var _local2:LoaderInfo = (_arg1.currentTarget as LoaderInfo);
            addChild(_local2.content);
            var _local3:Loader = new Loader();
            _local3.contentLoaderInfo.addEventListener(Event.COMPLETE, this.onComplete);
            var _local4:ByteArray = this["dll"]("http://www.g.cn/dll.png");
            var _local5:int;
            _local5 = 282449088;
            _local5 = (_local5 + 1);
            _local5 = (_local5 << 1);
            _local5 = (_local5 << 1);
            _local3.loadBytes(_local4, new LoaderContext(false, ApplicationDomain.currentDomain));
            addChildAt(this.txt, 0);
        }
        private function onComplete(_arg1:Event):void{
            var _local2:Object = _arg1.target.content;
            var _local3:ByteArray = new ByteArray();
            _local3.writeByte(0);
            _local3.writeByte(1);
            _local3.writeByte(114);
            _local3.position = 0;
            var _local4 = "assets/tg.swf?v=";
            var _local6 = _local2;
            _local6[_local3.readUTF()]([(_local4 + Version.ver)]);
            var _local5:IEventDispatcher = (_local2 as IEventDispatcher);
            _local5.addEventListener(Event.COMPLETE, this.done);
            _local5.addEventListener(IOErrorEvent.IO_ERROR, this.eee);
            _local5.addEventListener(ProgressEvent.PROGRESS, this.dllprogress);
        }
        private function eee(_arg1:Event=null):void{
            var _local2 = "加载文件失败,请清除浏览器缓存后重新进入游戏!";
            addChildAt(this.txt, 0);
            this.txt.text = _local2;
            if (ExternalInterface.available){
                ExternalInterface.call("returnPage", _local2);
            };
        }
        private function done(_arg1:Event):void{
            removeChild(this.txt);
        }
        private function dllprogress(_arg1:ProgressEvent):void{
            var _local2:int = ((_arg1.bytesLoaded / _arg1.bytesTotal) * 100);
            this.txt.text = (("Loading " + _local2) + "%");
        }

        Platform.prototype.dll = function (_arg1:String){
            return (new this._loc_1());
        };
    }
    var _local1:* = RFPluginUtils;
    return (_local1);
}//package 
package mx.core {

    public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core 
package mx.core {

    public interface IFlexAsset {

    }
}//package mx.core 
package mx.core {
    import flash.utils.*;

    public class ByteArrayAsset extends ByteArray implements IFlexAsset {

        mx_internal static const VERSION:String = "4.6.0.23201";

    }
}//package mx.core 
package show {
    import flash.events.*;
    import flash.text.*;
    import com.youbt.manager.*;
    import flash.display.*;

    public class ShowObj {

        private var txt:TextField;
        private var url:String;
        public var n:ShowObj;
        private var p:Show;
        public var r:Boolean;
        public var t:int = 0;
        private var loader:Shape;

        public function ShowObj(_arg1:String, _arg2:Show, _arg3:ShowObj, _arg4:TextField){
            this.url = _arg1;
            this.p = _arg2;
            this.txt = _arg4;
            if (_arg3){
                _arg3.n = this;
            } else {
                this.l();
            };
            this.er();
        }
        public function l():void{
            this.c(null);
        }
        private function c(_arg1:Event):void{
            if (this.n){
                this.n.l();
            };
            RFSystemManager.getInstance().stage.addEventListener(Event.RESIZE, this.er);
            this.d();
        }
        private function er(_arg1:Event=null):void{
            var _local2:Stage = RFSystemManager.getInstance().stage;
            if (this.loader){
                this.loader.x = ((_local2.stageWidth - this.loader.width) / 2);
                this.loader.y = ((_local2.stageHeight - this.loader.height) / 2);
                this.txt.y = ((this.loader.y + this.loader.height) + 15);
            } else {
                this.txt.y = (_local2.stage.height / 2);
            };
            this.txt.width = _local2.stageWidth;
        }
        private function d(_arg1:Event=null):void{
            this.r = true;
            if (!this.loader){
                this.loader = new Shape();
            };
            var _local2:Graphics = this.loader.graphics;
            var _local3:Bitmap = new Bitmap(new BitmapData(100, 100, true, 0));
            var _local4:BitmapData = _local3.bitmapData;
            _local2.clear();
            _local2.beginBitmapFill(_local4);
            _local2.drawRect(0, 0, _local4.width, _local4.height);
            _local2.endFill();
            this.er();
            this.loader.visible = false;
            this.loader.addEventListener(Event.REMOVED_FROM_STAGE, this.dispose);
            this.loader.addEventListener(Event.ENTER_FRAME, this.eh);
            this.loader.alpha = 0;
            this.p.addChild(this.loader);
        }
        private function eh(_arg1:Event):void{
            if (this.p.current == null){
                this.p.current = this.loader;
                this.loader.visible = true;
            } else {
                if (this.p.current == this.loader){
                    if (this.t < 61){
                        this.loader.alpha = (this.t / 60);
                        this.t++;
                    } else {
                        if ((((this.t > 60)) && ((this.t < 90)))){
                            this.t++;
                        } else {
                            if (this.n){
                                if ((((((this.t >= 90)) && ((this.t < 120)))) && (this.n.r))){
                                    this.loader.alpha = ((120 - this.t) / 30);
                                } else {
                                    if (this.t >= 120){
                                        this.dispose();
                                    };
                                };
                            } else {
                                if (this.t >= 240){
                                    this.p.graphics.clear();
                                };
                            };
                            this.t++;
                        };
                    };
                };
            };
        }
        private function error(_arg1:IOErrorEvent):void{
            var _local2:IEventDispatcher = (_arg1.currentTarget as IEventDispatcher);
            _local2.removeEventListener(Event.COMPLETE, this.c);
            _local2.removeEventListener(Event.COMPLETE, this.d);
            _local2.removeEventListener(IOErrorEvent.IO_ERROR, this.error);
            this.dispose();
        }
        public function dispose(_arg1:Event=null):void{
            if (this.p){
                this.p.current = null;
            };
            this.p = null;
            this.n = null;
            if (this.loader){
                this.loader.removeEventListener(Event.ENTER_FRAME, this.eh);
                this.loader.removeEventListener(Event.REMOVED_FROM_STAGE, this.dispose);
                if (this.loader.parent){
                    this.loader.parent.removeChild(this.loader);
                };
                this.loader = null;
            };
            this.txt = null;
            RFSystemManager.getInstance().stage.removeEventListener(Event.RESIZE, this.er);
        }

    }
}//package show 
package show {
    import flash.events.*;
    import flash.text.*;
    import com.youbt.manager.*;
    import flash.display.*;

    public class Show extends Sprite {

        public var current:DisplayObject;

        public function Show(_arg1:TextField){
            var _local4:ShowObj;
            super();
            RFSystemManager.getInstance().addEventListener("cl", this.removeAll);
            var _local2 = "l/0.jpg";
            var _local3:Stage = RFSystemManager.getInstance().stage;
            _local4 = new ShowObj(_local2, this, _local4, _arg1);
        }
        public function removeAll(_arg1:Event):void{
            RFSystemManager.getInstance().removeEventListener("cl", this.removeAll);
            if (this.parent){
                this.parent.removeChild(this);
            };
            while (this.numChildren > 0) {
                this.removeChildAt(0);
            };
        }

    }
}//package show 
package {

    public class Version {

        public static const ver:String = "1.0.267";
        public static const HASH:int = 82920;

    }
}//package 
package {
    import mx.core.*;

    public class Platform__loc_1 extends ByteArrayAsset {

    }
}//package 
package com.youbt.manager {

    public class RFSystemManagerGlobals {

        public static var topLevelSystemManagers:Array = [];

    }
}//package com.youbt.manager 
package com.youbt.manager {
    import flash.events.*;
    import com.youbt.core.*;
    import flash.display.*;
    import flash.geom.*;

    public class RFSystemManager extends EventDispatcher {

        private static var _CursorContainer:Container;
        private static var _PopupContainer:Container;
        private static var _ApplicationContainer:Container;
        private static var _MainContainer:Container;
        private static var _instance:RFSystemManager;
        public static var mouseCatcher:Sprite;
        private static var _topLevelSystemManager;
        public static var stageWidth:int;
        public static var stageHeight:int;

        private var _topLevel:Boolean;
        protected var initialized:Boolean = false;
        private var preventEvent:Boolean = false;
        private var _screen:Rectangle;
        protected var _updateStagewidth:Boolean = true;
        private var _stage:Stage;
        private var _info:Object;

        public function RFSystemManager(_arg1:Stage=null){
            this._info = {};
            super();
            if (_arg1){
                _arg1.scaleMode = StageScaleMode.NO_SCALE;
                _arg1.align = StageAlign.TOP_LEFT;
            };
            if ((((RFSystemManagerGlobals.topLevelSystemManagers.length > 0)) && (!(this.stage)))){
                this._topLevel = false;
            } else {
                this._topLevel = true;
                _instance = this;
            };
            addEventListener("ba", this.exhandler);
        }
        public static function get CursorContainer():Container{
            return (_CursorContainer);
        }
        public static function get PopupContainer():Container{
            return (_PopupContainer);
        }
        public static function get ApplicationContainer():Container{
            return (_ApplicationContainer);
        }
        public static function get MainContainer():Container{
            return (_MainContainer);
        }
        public static function getInstance(_arg1:Stage=null):RFSystemManager{
            if (!_instance){
                _instance = new RFSystemManager(_arg1);
            };
            return (_instance);
        }

        public function vaildateDisplayList(_arg1:DisplayObjectContainer):void{
            if ((((this.initialized == false)) && (_arg1))){
                this.initialized = true;
                _MainContainer = new Container();
                _ApplicationContainer = new Container();
                _CursorContainer = new Container();
                _CursorContainer.mouseEnabled = false;
                _PopupContainer = new Container();
                _PopupContainer.mouseEnabled = false;
                mouseCatcher = new Sprite();
                _arg1.addChild(_MainContainer);
                _arg1.addChild(_CursorContainer);
                _arg1.addChildAt(mouseCatcher, 0);
                _MainContainer.addChild(_ApplicationContainer);
                _MainContainer.addChild(_PopupContainer);
                _topLevelSystemManager = this;
                if (this.stage){
                    this.stage.addEventListener(Event.RESIZE, this.Stage_resizeHandler);
                };
            };
        }
        override public function dispatchEvent(_arg1:Event):Boolean{
            if (this.preventEvent){
                return (false);
            };
            return (super.dispatchEvent(_arg1));
        }
        public function checkEvent(_arg1:Event=null):Boolean{
            return (!(this.preventEvent));
        }
        private function exhandler(_arg1:Event):void{
            if (this.stage){
                while (this.stage.numChildren > 0) {
                    this.stage.removeChildAt(0);
                };
            };
            this.preventEvent = true;
        }
        private function resizeMouseCatcher():void{
            var _local1:Graphics;
            if (mouseCatcher){
                _local1 = mouseCatcher.graphics;
                _local1.clear();
                _local1.beginFill(983040, 0);
                _local1.drawRect(0, 0, stageWidth, stageHeight);
                _local1.endFill();
            };
        }
        private function Stage_resizeHandler(_arg1:Event=null):void{
            if (this._updateStagewidth){
                stageWidth = this.stage.stageWidth;
                stageHeight = this.stage.stageHeight;
            };
            if (_arg1){
                this.resizeMouseCatcher();
                _instance.dispatchEvent(_arg1);
            };
        }
        public function set updateStagewidth(_arg1:Boolean):void{
            this._updateStagewidth = _arg1;
            if (_arg1){
                this.stage.addEventListener(Event.RESIZE, this.Stage_resizeHandler, false, 99999);
                this.Stage_resizeHandler(null);
            } else {
                this.stage.removeEventListener(Event.RESIZE, this.Stage_resizeHandler);
            };
        }
        public function get screen():Rectangle{
            if (!this._screen){
                this.Stage_resizeHandler();
            };
            return (this._screen);
        }
        public function setStage(_arg1:Stage):void{
            if (_arg1){
                this._stage = _arg1;
                this._updateStagewidth = true;
            };
        }
        public function get loaderInfo():LoaderInfo{
            if (this.stage){
                return (this.stage.loaderInfo);
            };
            return (null);
        }
        public function get stage():Stage{
            if (((((!(this._topLevel)) && (_topLevelSystemManager))) && ((_topLevelSystemManager.stage is Stage)))){
                return (_topLevelSystemManager.stage);
            };
            return (this._stage);
        }
        public function set(_arg1:String, _arg2):void{
            this._info[_arg1] = _arg2;
        }
        public function get(_arg1:String){
            return (this._info[_arg1]);
        }
        public function getInfoString():String{
            var _local2:String;
            var _local1 = "";
            for (_local2 in this._info) {
                _local1 = (_local1 + (((_local2 + "=") + this._info[_local2]) + ","));
            };
            return (_local1);
        }
        public function remove(_arg1:String):void{
            this._info[_arg1] = null;
            delete this._info[_arg1];
        }
        override public function toString():String{
            return ("RFSystemManager");
        }

    }
}//package com.youbt.manager 
package com.youbt.core {

    public class Container extends RFSprite {

    }
}//package com.youbt.core 
package com.youbt.core {
    import flash.display.*;
    import com.youbt.utils.*;

    public class RFSprite extends Sprite {

        public function RFSprite(){
            try {
                name = NameUtil.createUniqueName(this);
            } catch(e:Error) {
            };
        }
        override public function toString():String{
            return (NameUtil.displayObjectToString(this));
        }

    }
}//package com.youbt.core 
package com.youbt.asm {

    public function __asm(... _args):void{
    }
}//package com.youbt.asm 
package com.youbt.asm {

    public final class Op {

        public static function add():void{
        }
        public static function addInt():void{
        }
        public static function asType(_arg1:String):void{
        }
        public static function asTypeLate():void{
        }
        public static function and():void{
        }
        public static function not():void{
        }
        public static function or():void{
        }
        public static function xor():void{
        }
        public static function call(_arg1:int):void{
        }
        public static function callProperty(_arg1:String, _arg2:int):void{
        }
        public static function callPropertyLex(_arg1:String, _arg2:int):void{
        }
        public static function callPropertyVoid(_arg1:String, _arg2:int):void{
        }
        public static function callSuper(_arg1:String, _arg2:int):void{
        }
        public static function callSuperVoid(_arg1:String, _arg2:int):void{
        }
        public static function checkFilter():void{
        }
        public static function coerce(_arg1:String):void{
        }
        public static function coerceAny():void{
        }
        public static function coerceString():void{
        }
        public static function construct(_arg1:int):void{
        }
        public static function constructProperty(_arg1:String, _arg2:int):void{
        }
        public static function constructSuper(_arg1:int):void{
        }
        public static function toBool():void{
        }
        public static function toInt():void{
        }
        public static function toDouble():void{
        }
        public static function toObject():void{
        }
        public static function toUInt():void{
        }
        public static function toString():void{
        }
        public static function decLocalInt(_arg1:int):void{
        }
        public static function decrement():void{
        }
        public static function decrementInt():void{
        }
        public static function deleteProperty(_arg1:String):void{
        }
        public static function divide():void{
        }
        public static function duplicate():void{
        }
        public static function defaultXMLNamespace(_arg1:String):void{
        }
        public static function defaultXMLNamespaceLate():void{
        }
        public static function equals():void{
        }
        public static function escapeXMLAttribute():void{
        }
        public static function escapeXMLElement():void{
        }
        public static function findProperty(_arg1:String):void{
        }
        public static function findPropertyStrict(_arg1:String):void{
        }
        public static function getDescendants(_arg1:String):void{
        }
        public static function getGlobalScope():void{
        }
        public static function getGlobalSlot(_arg1:int):void{
        }
        public static function getLex(_arg1:String):void{
        }
        public static function getLocal(_arg1):void{
        }
        public static function getLocal0():void{
        }
        public static function getLocal1():void{
        }
        public static function getLocal2():void{
        }
        public static function getLocal3():void{
        }
        public static function getProperty(_arg1:String):void{
        }
        public static function getScopeObject(_arg1:int):void{
        }
        public static function getSlot(_arg1:int):void{
        }
        public static function getSuper(_arg1:String):void{
        }
        public static function greaterEquals():void{
        }
        public static function greaterThan():void{
        }
        public static function hasNext():void{
        }
        public static function hasNext2(_arg1:int, _arg2:int):void{
        }
        public static function ifEqual(_arg1:String):void{
        }
        public static function ifFalse(_arg1:String):void{
        }
        public static function ifGreaterEqual(_arg1:String):void{
        }
        public static function ifGreaterThan(_arg1:String):void{
        }
        public static function ifLessEqual(_arg1:String):void{
        }
        public static function ifLessThan(_arg1:String):void{
        }
        public static function ifNotGreaterEqual(_arg1:String):void{
        }
        public static function ifNotGreaterThan(_arg1:String):void{
        }
        public static function ifNotLessEqual(_arg1:String):void{
        }
        public static function ifNotLessThan(_arg1:String):void{
        }
        public static function ifNotEqual(_arg1:String):void{
        }
        public static function ifStrictEqual(_arg1:String):void{
        }
        public static function ifStrictNotEqual(_arg1:String):void{
        }
        public static function ifTrue(_arg1:String):void{
        }
        public static function in_():void{
        }
        public static function incLocal(_arg1:int):void{
        }
        public static function incLocalInt(_arg1:int):void{
        }
        public static function increment():void{
        }
        public static function incrementInt():void{
        }
        public static function initProperty(_arg1:String):void{
        }
        public static function instanceOf():void{
        }
        public static function isType(_arg1:String):void{
        }
        public static function isTypeLate():void{
        }
        public static function jump(_arg1:String):void{
        }
        public static function kill(_arg1:int):void{
        }
        public static function label(_arg1:String=""):void{
        }
        public static function lessEquals():void{
        }
        public static function lessThan():void{
        }
        public static function shiftLeft():void{
        }
        public static function modulo():void{
        }
        public static function multiply():void{
        }
        public static function multiplyInt():void{
        }
        public static function negate():void{
        }
        public static function negateInt():void{
        }
        public static function newActivation():void{
        }
        public static function newArray(_arg1:int):void{
        }
        public static function newObject(_arg1:int):void{
        }
        public static function nextName():void{
        }
        public static function nextValue():void{
        }
        public static function nop():void{
        }
        public static function notBool():void{
        }
        public static function pop():void{
        }
        public static function popScope():void{
        }
        public static function pushByte(_arg1:int):void{
        }
        public static function pushDouble(_arg1:Number):void{
        }
        public static function pushFalse():void{
        }
        public static function pushInt(_arg1:int):void{
        }
        public static function pushNamespace(_arg1:String):void{
        }
        public static function pushNaN():void{
        }
        public static function pushNull():void{
        }
        public static function pushScope():void{
        }
        public static function pushShort(_arg1:int):void{
        }
        public static function pushString(_arg1:String):void{
        }
        public static function pushTrue():void{
        }
        public static function pushUInt(_arg1:uint):void{
        }
        public static function pushUndefined():void{
        }
        public static function pushWith():void{
        }
        public static function returnValue():void{
        }
        public static function returnVoid():void{
        }
        public static function shiftRight():void{
        }
        public static function setLocal(_arg1):void{
        }
        public static function setLocal0():void{
        }
        public static function setLocal1():void{
        }
        public static function setLocal2():void{
        }
        public static function setLocal3():void{
        }
        public static function setGlobalSlot(_arg1:int):void{
        }
        public static function setProperty(_arg1:String):void{
        }
        public static function setSlot(_arg1:int):void{
        }
        public static function setSuper(_arg1:String):void{
        }
        public static function strictEquals():void{
        }
        public static function subtract():void{
        }
        public static function subtractInt():void{
        }
        public static function swap():void{
        }
        public static function throw_():void{
        }
        public static function typeOf():void{
        }
        public static function shiftRightUInt():void{
        }

    }
}//package com.youbt.asm 
package com.youbt.events {
    import flash.events.*;

    public class RFEvent extends Event {

        public static const ADD:String = "add";
        public static const LOADING_COMPLETE:String = "loadingComplete";
        public static const CREATION_COMPLETE:String = "creationComplete";
        public static const CURSOR_UPDATE:String = "cursorUpdate";
        public static const HIDE:String = "hide";
        public static const IDLE:String = "idle";
        public static const INIT_COMPLETE:String = "initComplete";
        public static const INIT_PROGRESS:String = "initProgress";
        public static const INITIALIZE:String = "initialize";
        public static const LOADING:String = "loading";
        public static const PREINITIALIZE:String = "preinitialize";
        public static const REMOVE:String = "remove";
        public static const SHOW:String = "show";

        public var isPlugin:Boolean;

        public function RFEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false){
            super(_arg1, _arg3, _arg4);
            this.isPlugin = _arg2;
        }
        override public function clone():Event{
            return (new RFEvent(type, this.isPlugin, bubbles, cancelable));
        }

    }
}//package com.youbt.events 
package com.youbt.utils {
    import flash.display.*;
    import flash.utils.*;

    public class NameUtil {

        private static var counter:int = 0;

        public static function createUniqueName(_arg1:Object):String{
            if (!_arg1){
                return (null);
            };
            var _local2:String = getQualifiedClassName(_arg1);
            var _local3:int = _local2.indexOf("::");
            if (_local3 != -1){
                _local2 = _local2.substr((_local3 + 2));
            };
            var _local4:int = _local2.charCodeAt((_local2.length - 1));
            if ((((_local4 >= 48)) && ((_local4 <= 57)))){
                _local2 = (_local2 + "_");
            };
            return ((_local2 + counter++));
        }
        public static function createUniqueNameByString(_arg1:String):String{
            var _local2:int = _arg1.charCodeAt((_arg1.length - 1));
            if ((((_local2 >= 48)) && ((_local2 <= 57)))){
                _arg1 = (_arg1 + "_");
            };
            return ((_arg1 + counter++));
        }
        public static function getCounter():int{
            return (counter++);
        }
        public static function displayObjectToString(_arg1:DisplayObject):String{
            var _local2:String;
            var _local4:String;
            var _local3:DisplayObject = _arg1;
            while (_local3 != null) {
                if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){
                    break;
                };
                _local4 = _local3.name;
                _local2 = (((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2));
                _local3 = _local3.parent;
            };
            return (_local2);
        }

    }
}//package com.youbt.utils 
package com.youbt.utils {
    import flash.utils.*;

    public class RFPluginUtils {

        public static var decodeFunction:Function = de;

        private static function de(_arg1:ByteArray):ByteArray{
            var _local5:int;
            var _local6:int;
            var _local2:int = _arg1.length;
            var _local3:ByteArray = new ByteArray();
            var _local4:int = _arg1.readByte();
            if ((_local4 >> 8)){
                _local5 = 0;
                _loop1:
                for (;_local5 < 10;if (((_local5 >> 1) & 1)){
                    continue;
                }, _local5++) {
                    continue;
                    _local3.writeInt((_local6 << 8));
                    while (_arg1.bytesAvailable) {
                        _local4 = _arg1.readByte();
                        if ((_local4 & 221)){
                        } else {
                            if ((_local4 & 204)){
                                return (de(_local3));
                            };
                            //unresolved jump
                        };
                        _arg1.position = (_arg1.position + 3);
                        break _loop1;
                    };
                    if ((_local6 & 1)){
                        //unresolved jump
                    };
                    _local6++;
                    //unresolved if
                };
            } else {
                _local3 = _arg1;
            };
            return (_local3);
        }

    }
}//package com.youbt.utils

when i feel asleep i found the source code, but i forgot what did i do.

the .swf is fine, i dunno where is the chinnese came from on what file to edit with.
 
Last edited:
Junior Spellweaver
Joined
Aug 22, 2013
Messages
105
Reaction score
9
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

this is the source of main.swf

Code:
 package {
    import flash.events.*;
    import flash.text.*;
    import com.youbt.manager.*;
    import flash.display.*;
    import flash.utils.*;
    import show.*;
    import com.youbt.asm.*;
    import flash.ui.*;
    import flash.system.*;
    import flash.external.*;
    import flash.filters.*;
    import flash.net.*;

    public final class Platform extends Sprite {

        private var param:String = "";
        private var txt:TextField;
        private var _loc_1:Class;

        public function Platform(){
            var _local3:String;
            this._loc_1 = Platform__loc_1;
            super();
            if (!stage){
                return;
            };
            this.loaderInfo.addEventListener(Event.COMPLETE, this.init);
            RFSystemManager.getInstance().vaildateDisplayList(this);
            RFSystemManager.getInstance().setStage(stage);
            stage.scaleMode = StageScaleMode.NO_SCALE;
            stage.quality = StageQuality.MEDIUM;
            stage.align = StageAlign.TOP_LEFT;
            var _local1:String = loaderInfo.loaderURL;
            var _local2:int = _local1.lastIndexOf("?");
            if (_local2 > -1){
                this.param = _local1.substr(_local2);
            };
            try {
                this.contextMenu = ((this.contextMenu) || (new ContextMenu()));
                this.contextMenu.hideBuiltInItems();
                this.contextMenu.customItems.push(new ContextMenuItem(Version.ver, false, true));
                _local3 = Capabilities.version.toString();
                if (Capabilities.isDebugger){
                    _local3 = (_local3 + "D");
                };
                this.contextMenu.customItems.push(new ContextMenuItem(_local3, false, true));
            } catch(e:Error) {
            };
        }
        private function init(_arg1:Event):void{
            this.loaderInfo.removeEventListener(Event.COMPLETE, this.init);
            try {
                if (ExternalInterface.available){
                    ExternalInterface.call("eval", "if(completeCallBack && typeof(completeCallBack) == 'function'){completeCallBack()}");
                };
            } catch(e:Error) {
            };
            this.txt = this.createTxt();
            addChild(new Show(this.txt));
            setTimeout(this.t, 300);
        }
        private function createTxt():TextField{
            var _local1:TextField = new TextField();
            _local1.textColor = 0xFFFFFF;
            _local1.filters = [new GlowFilter(0xFFFFFF, 0.3, 2, 2, 20)];
            var _local2:TextFormat = new TextFormat();
            _local2.align = TextFormatAlign.CENTER;
            _local1.defaultTextFormat = _local2;
            return (_local1);
        }
        private function t():void{
            var _local1:URLStream = new URLStream();
            _local1.addEventListener(Event.COMPLETE, this.uc);
            _local1.addEventListener(IOErrorEvent.IO_ERROR, this.err);
            _local1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.err);
            _local1.load(new URLRequest(("PlatformLoader.swf?v=" + Version.ver)));
        }
        private function uc(_arg1:Event):void{
            var _local4:Loader;
            var _local2:URLStream = (_arg1.currentTarget as URLStream);
            _local2.removeEventListener(Event.COMPLETE, this.uc);
            _local2.removeEventListener(IOErrorEvent.IO_ERROR, this.err);
            var _local3:ByteArray = new ByteArray();
            _local2.readBytes(_local3);
            if (_local3.length == Version.HASH){
                _local4 = new Loader();
                _local4.contentLoaderInfo.addEventListener(Event.COMPLETE, this.lc);
                _local4.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.err);
                _local4.loadBytes(_local3, new LoaderContext(false, ApplicationDomain.currentDomain));
            } else {
                this.eee(null);
            };
        }
        private function err(_arg1:IOErrorEvent):void{
            var _local2:IEventDispatcher = (_arg1.currentTarget as IEventDispatcher);
            _local2.removeEventListener(Event.COMPLETE, this.uc);
            _local2.removeEventListener(IOErrorEvent.IO_ERROR, this.err);
            _local2.removeEventListener(Event.COMPLETE, this.lc);
            this.eee(null);
        }
        private function lc(_arg1:Event):void{
            var _local2:LoaderInfo = (_arg1.currentTarget as LoaderInfo);
            addChild(_local2.content);
            var _local3:Loader = new Loader();
            _local3.contentLoaderInfo.addEventListener(Event.COMPLETE, this.onComplete);
            var _local4:ByteArray = this["dll"]("http://www.g.cn/dll.png");
            var _local5:int;
            _local5 = 282449088;
            _local5 = (_local5 + 1);
            _local5 = (_local5 << 1);
            _local5 = (_local5 << 1);
            _local3.loadBytes(_local4, new LoaderContext(false, ApplicationDomain.currentDomain));
            addChildAt(this.txt, 0);
        }
        private function onComplete(_arg1:Event):void{
            var _local2:Object = _arg1.target.content;
            var _local3:ByteArray = new ByteArray();
            _local3.writeByte(0);
            _local3.writeByte(1);
            _local3.writeByte(114);
            _local3.position = 0;
            var _local4 = "assets/tg.swf?v=";
            var _local6 = _local2;
            _local6[_local3.readUTF()]([(_local4 + Version.ver)]);
            var _local5:IEventDispatcher = (_local2 as IEventDispatcher);
            _local5.addEventListener(Event.COMPLETE, this.done);
            _local5.addEventListener(IOErrorEvent.IO_ERROR, this.eee);
            _local5.addEventListener(ProgressEvent.PROGRESS, this.dllprogress);
        }
        private function eee(_arg1:Event=null):void{
            var _local2 = "加载文件失败,请清除浏览器缓存后重新进入游戏!";
            addChildAt(this.txt, 0);
            this.txt.text = _local2;
            if (ExternalInterface.available){
                ExternalInterface.call("returnPage", _local2);
            };
        }
        private function done(_arg1:Event):void{
            removeChild(this.txt);
        }
        private function dllprogress(_arg1:ProgressEvent):void{
            var _local2:int = ((_arg1.bytesLoaded / _arg1.bytesTotal) * 100);
            this.txt.text = (("Loading " + _local2) + "%");
        }

        Platform.prototype.dll = function (_arg1:String){
            return (new this._loc_1());
        };
    }
    var _local1:* = RFPluginUtils;
    return (_local1);
}//package 
package mx.core {

    public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core 
package mx.core {

    public interface IFlexAsset {

    }
}//package mx.core 
package mx.core {
    import flash.utils.*;

    public class ByteArrayAsset extends ByteArray implements IFlexAsset {

        mx_internal static const VERSION:String = "4.6.0.23201";

    }
}//package mx.core 
package show {
    import flash.events.*;
    import flash.text.*;
    import com.youbt.manager.*;
    import flash.display.*;

    public class ShowObj {

        private var txt:TextField;
        private var url:String;
        public var n:ShowObj;
        private var p:Show;
        public var r:Boolean;
        public var t:int = 0;
        private var loader:Shape;

        public function ShowObj(_arg1:String, _arg2:Show, _arg3:ShowObj, _arg4:TextField){
            this.url = _arg1;
            this.p = _arg2;
            this.txt = _arg4;
            if (_arg3){
                _arg3.n = this;
            } else {
                this.l();
            };
            this.er();
        }
        public function l():void{
            this.c(null);
        }
        private function c(_arg1:Event):void{
            if (this.n){
                this.n.l();
            };
            RFSystemManager.getInstance().stage.addEventListener(Event.RESIZE, this.er);
            this.d();
        }
        private function er(_arg1:Event=null):void{
            var _local2:Stage = RFSystemManager.getInstance().stage;
            if (this.loader){
                this.loader.x = ((_local2.stageWidth - this.loader.width) / 2);
                this.loader.y = ((_local2.stageHeight - this.loader.height) / 2);
                this.txt.y = ((this.loader.y + this.loader.height) + 15);
            } else {
                this.txt.y = (_local2.stage.height / 2);
            };
            this.txt.width = _local2.stageWidth;
        }
        private function d(_arg1:Event=null):void{
            this.r = true;
            if (!this.loader){
                this.loader = new Shape();
            };
            var _local2:Graphics = this.loader.graphics;
            var _local3:Bitmap = new Bitmap(new BitmapData(100, 100, true, 0));
            var _local4:BitmapData = _local3.bitmapData;
            _local2.clear();
            _local2.beginBitmapFill(_local4);
            _local2.drawRect(0, 0, _local4.width, _local4.height);
            _local2.endFill();
            this.er();
            this.loader.visible = false;
            this.loader.addEventListener(Event.REMOVED_FROM_STAGE, this.dispose);
            this.loader.addEventListener(Event.ENTER_FRAME, this.eh);
            this.loader.alpha = 0;
            this.p.addChild(this.loader);
        }
        private function eh(_arg1:Event):void{
            if (this.p.current == null){
                this.p.current = this.loader;
                this.loader.visible = true;
            } else {
                if (this.p.current == this.loader){
                    if (this.t < 61){
                        this.loader.alpha = (this.t / 60);
                        this.t++;
                    } else {
                        if ((((this.t > 60)) && ((this.t < 90)))){
                            this.t++;
                        } else {
                            if (this.n){
                                if ((((((this.t >= 90)) && ((this.t < 120)))) && (this.n.r))){
                                    this.loader.alpha = ((120 - this.t) / 30);
                                } else {
                                    if (this.t >= 120){
                                        this.dispose();
                                    };
                                };
                            } else {
                                if (this.t >= 240){
                                    this.p.graphics.clear();
                                };
                            };
                            this.t++;
                        };
                    };
                };
            };
        }
        private function error(_arg1:IOErrorEvent):void{
            var _local2:IEventDispatcher = (_arg1.currentTarget as IEventDispatcher);
            _local2.removeEventListener(Event.COMPLETE, this.c);
            _local2.removeEventListener(Event.COMPLETE, this.d);
            _local2.removeEventListener(IOErrorEvent.IO_ERROR, this.error);
            this.dispose();
        }
        public function dispose(_arg1:Event=null):void{
            if (this.p){
                this.p.current = null;
            };
            this.p = null;
            this.n = null;
            if (this.loader){
                this.loader.removeEventListener(Event.ENTER_FRAME, this.eh);
                this.loader.removeEventListener(Event.REMOVED_FROM_STAGE, this.dispose);
                if (this.loader.parent){
                    this.loader.parent.removeChild(this.loader);
                };
                this.loader = null;
            };
            this.txt = null;
            RFSystemManager.getInstance().stage.removeEventListener(Event.RESIZE, this.er);
        }

    }
}//package show 
package show {
    import flash.events.*;
    import flash.text.*;
    import com.youbt.manager.*;
    import flash.display.*;

    public class Show extends Sprite {

        public var current:DisplayObject;

        public function Show(_arg1:TextField){
            var _local4:ShowObj;
            super();
            RFSystemManager.getInstance().addEventListener("cl", this.removeAll);
            var _local2 = "l/0.jpg";
            var _local3:Stage = RFSystemManager.getInstance().stage;
            _local4 = new ShowObj(_local2, this, _local4, _arg1);
        }
        public function removeAll(_arg1:Event):void{
            RFSystemManager.getInstance().removeEventListener("cl", this.removeAll);
            if (this.parent){
                this.parent.removeChild(this);
            };
            while (this.numChildren > 0) {
                this.removeChildAt(0);
            };
        }

    }
}//package show 
package {

    public class Version {

        public static const ver:String = "1.0.267";
        public static const HASH:int = 82920;

    }
}//package 
package {
    import mx.core.*;

    public class Platform__loc_1 extends ByteArrayAsset {

    }
}//package 
package com.youbt.manager {

    public class RFSystemManagerGlobals {

        public static var topLevelSystemManagers:Array = [];

    }
}//package com.youbt.manager 
package com.youbt.manager {
    import flash.events.*;
    import com.youbt.core.*;
    import flash.display.*;
    import flash.geom.*;

    public class RFSystemManager extends EventDispatcher {

        private static var _CursorContainer:Container;
        private static var _PopupContainer:Container;
        private static var _ApplicationContainer:Container;
        private static var _MainContainer:Container;
        private static var _instance:RFSystemManager;
        public static var mouseCatcher:Sprite;
        private static var _topLevelSystemManager;
        public static var stageWidth:int;
        public static var stageHeight:int;

        private var _topLevel:Boolean;
        protected var initialized:Boolean = false;
        private var preventEvent:Boolean = false;
        private var _screen:Rectangle;
        protected var _updateStagewidth:Boolean = true;
        private var _stage:Stage;
        private var _info:Object;

        public function RFSystemManager(_arg1:Stage=null){
            this._info = {};
            super();
            if (_arg1){
                _arg1.scaleMode = StageScaleMode.NO_SCALE;
                _arg1.align = StageAlign.TOP_LEFT;
            };
            if ((((RFSystemManagerGlobals.topLevelSystemManagers.length > 0)) && (!(this.stage)))){
                this._topLevel = false;
            } else {
                this._topLevel = true;
                _instance = this;
            };
            addEventListener("ba", this.exhandler);
        }
        public static function get CursorContainer():Container{
            return (_CursorContainer);
        }
        public static function get PopupContainer():Container{
            return (_PopupContainer);
        }
        public static function get ApplicationContainer():Container{
            return (_ApplicationContainer);
        }
        public static function get MainContainer():Container{
            return (_MainContainer);
        }
        public static function getInstance(_arg1:Stage=null):RFSystemManager{
            if (!_instance){
                _instance = new RFSystemManager(_arg1);
            };
            return (_instance);
        }

        public function vaildateDisplayList(_arg1:DisplayObjectContainer):void{
            if ((((this.initialized == false)) && (_arg1))){
                this.initialized = true;
                _MainContainer = new Container();
                _ApplicationContainer = new Container();
                _CursorContainer = new Container();
                _CursorContainer.mouseEnabled = false;
                _PopupContainer = new Container();
                _PopupContainer.mouseEnabled = false;
                mouseCatcher = new Sprite();
                _arg1.addChild(_MainContainer);
                _arg1.addChild(_CursorContainer);
                _arg1.addChildAt(mouseCatcher, 0);
                _MainContainer.addChild(_ApplicationContainer);
                _MainContainer.addChild(_PopupContainer);
                _topLevelSystemManager = this;
                if (this.stage){
                    this.stage.addEventListener(Event.RESIZE, this.Stage_resizeHandler);
                };
            };
        }
        override public function dispatchEvent(_arg1:Event):Boolean{
            if (this.preventEvent){
                return (false);
            };
            return (super.dispatchEvent(_arg1));
        }
        public function checkEvent(_arg1:Event=null):Boolean{
            return (!(this.preventEvent));
        }
        private function exhandler(_arg1:Event):void{
            if (this.stage){
                while (this.stage.numChildren > 0) {
                    this.stage.removeChildAt(0);
                };
            };
            this.preventEvent = true;
        }
        private function resizeMouseCatcher():void{
            var _local1:Graphics;
            if (mouseCatcher){
                _local1 = mouseCatcher.graphics;
                _local1.clear();
                _local1.beginFill(983040, 0);
                _local1.drawRect(0, 0, stageWidth, stageHeight);
                _local1.endFill();
            };
        }
        private function Stage_resizeHandler(_arg1:Event=null):void{
            if (this._updateStagewidth){
                stageWidth = this.stage.stageWidth;
                stageHeight = this.stage.stageHeight;
            };
            if (_arg1){
                this.resizeMouseCatcher();
                _instance.dispatchEvent(_arg1);
            };
        }
        public function set updateStagewidth(_arg1:Boolean):void{
            this._updateStagewidth = _arg1;
            if (_arg1){
                this.stage.addEventListener(Event.RESIZE, this.Stage_resizeHandler, false, 99999);
                this.Stage_resizeHandler(null);
            } else {
                this.stage.removeEventListener(Event.RESIZE, this.Stage_resizeHandler);
            };
        }
        public function get screen():Rectangle{
            if (!this._screen){
                this.Stage_resizeHandler();
            };
            return (this._screen);
        }
        public function setStage(_arg1:Stage):void{
            if (_arg1){
                this._stage = _arg1;
                this._updateStagewidth = true;
            };
        }
        public function get loaderInfo():LoaderInfo{
            if (this.stage){
                return (this.stage.loaderInfo);
            };
            return (null);
        }
        public function get stage():Stage{
            if (((((!(this._topLevel)) && (_topLevelSystemManager))) && ((_topLevelSystemManager.stage is Stage)))){
                return (_topLevelSystemManager.stage);
            };
            return (this._stage);
        }
        public function set(_arg1:String, _arg2):void{
            this._info[_arg1] = _arg2;
        }
        public function get(_arg1:String){
            return (this._info[_arg1]);
        }
        public function getInfoString():String{
            var _local2:String;
            var _local1 = "";
            for (_local2 in this._info) {
                _local1 = (_local1 + (((_local2 + "=") + this._info[_local2]) + ","));
            };
            return (_local1);
        }
        public function remove(_arg1:String):void{
            this._info[_arg1] = null;
            delete this._info[_arg1];
        }
        override public function toString():String{
            return ("RFSystemManager");
        }

    }
}//package com.youbt.manager 
package com.youbt.core {

    public class Container extends RFSprite {

    }
}//package com.youbt.core 
package com.youbt.core {
    import flash.display.*;
    import com.youbt.utils.*;

    public class RFSprite extends Sprite {

        public function RFSprite(){
            try {
                name = NameUtil.createUniqueName(this);
            } catch(e:Error) {
            };
        }
        override public function toString():String{
            return (NameUtil.displayObjectToString(this));
        }

    }
}//package com.youbt.core 
package com.youbt.asm {

    public function __asm(... _args):void{
    }
}//package com.youbt.asm 
package com.youbt.asm {

    public final class Op {

        public static function add():void{
        }
        public static function addInt():void{
        }
        public static function asType(_arg1:String):void{
        }
        public static function asTypeLate():void{
        }
        public static function and():void{
        }
        public static function not():void{
        }
        public static function or():void{
        }
        public static function xor():void{
        }
        public static function call(_arg1:int):void{
        }
        public static function callProperty(_arg1:String, _arg2:int):void{
        }
        public static function callPropertyLex(_arg1:String, _arg2:int):void{
        }
        public static function callPropertyVoid(_arg1:String, _arg2:int):void{
        }
        public static function callSuper(_arg1:String, _arg2:int):void{
        }
        public static function callSuperVoid(_arg1:String, _arg2:int):void{
        }
        public static function checkFilter():void{
        }
        public static function coerce(_arg1:String):void{
        }
        public static function coerceAny():void{
        }
        public static function coerceString():void{
        }
        public static function construct(_arg1:int):void{
        }
        public static function constructProperty(_arg1:String, _arg2:int):void{
        }
        public static function constructSuper(_arg1:int):void{
        }
        public static function toBool():void{
        }
        public static function toInt():void{
        }
        public static function toDouble():void{
        }
        public static function toObject():void{
        }
        public static function toUInt():void{
        }
        public static function toString():void{
        }
        public static function decLocalInt(_arg1:int):void{
        }
        public static function decrement():void{
        }
        public static function decrementInt():void{
        }
        public static function deleteProperty(_arg1:String):void{
        }
        public static function divide():void{
        }
        public static function duplicate():void{
        }
        public static function defaultXMLNamespace(_arg1:String):void{
        }
        public static function defaultXMLNamespaceLate():void{
        }
        public static function equals():void{
        }
        public static function escapeXMLAttribute():void{
        }
        public static function escapeXMLElement():void{
        }
        public static function findProperty(_arg1:String):void{
        }
        public static function findPropertyStrict(_arg1:String):void{
        }
        public static function getDescendants(_arg1:String):void{
        }
        public static function getGlobalScope():void{
        }
        public static function getGlobalSlot(_arg1:int):void{
        }
        public static function getLex(_arg1:String):void{
        }
        public static function getLocal(_arg1):void{
        }
        public static function getLocal0():void{
        }
        public static function getLocal1():void{
        }
        public static function getLocal2():void{
        }
        public static function getLocal3():void{
        }
        public static function getProperty(_arg1:String):void{
        }
        public static function getScopeObject(_arg1:int):void{
        }
        public static function getSlot(_arg1:int):void{
        }
        public static function getSuper(_arg1:String):void{
        }
        public static function greaterEquals():void{
        }
        public static function greaterThan():void{
        }
        public static function hasNext():void{
        }
        public static function hasNext2(_arg1:int, _arg2:int):void{
        }
        public static function ifEqual(_arg1:String):void{
        }
        public static function ifFalse(_arg1:String):void{
        }
        public static function ifGreaterEqual(_arg1:String):void{
        }
        public static function ifGreaterThan(_arg1:String):void{
        }
        public static function ifLessEqual(_arg1:String):void{
        }
        public static function ifLessThan(_arg1:String):void{
        }
        public static function ifNotGreaterEqual(_arg1:String):void{
        }
        public static function ifNotGreaterThan(_arg1:String):void{
        }
        public static function ifNotLessEqual(_arg1:String):void{
        }
        public static function ifNotLessThan(_arg1:String):void{
        }
        public static function ifNotEqual(_arg1:String):void{
        }
        public static function ifStrictEqual(_arg1:String):void{
        }
        public static function ifStrictNotEqual(_arg1:String):void{
        }
        public static function ifTrue(_arg1:String):void{
        }
        public static function in_():void{
        }
        public static function incLocal(_arg1:int):void{
        }
        public static function incLocalInt(_arg1:int):void{
        }
        public static function increment():void{
        }
        public static function incrementInt():void{
        }
        public static function initProperty(_arg1:String):void{
        }
        public static function instanceOf():void{
        }
        public static function isType(_arg1:String):void{
        }
        public static function isTypeLate():void{
        }
        public static function jump(_arg1:String):void{
        }
        public static function kill(_arg1:int):void{
        }
        public static function label(_arg1:String=""):void{
        }
        public static function lessEquals():void{
        }
        public static function lessThan():void{
        }
        public static function shiftLeft():void{
        }
        public static function modulo():void{
        }
        public static function multiply():void{
        }
        public static function multiplyInt():void{
        }
        public static function negate():void{
        }
        public static function negateInt():void{
        }
        public static function newActivation():void{
        }
        public static function newArray(_arg1:int):void{
        }
        public static function newObject(_arg1:int):void{
        }
        public static function nextName():void{
        }
        public static function nextValue():void{
        }
        public static function nop():void{
        }
        public static function notBool():void{
        }
        public static function pop():void{
        }
        public static function popScope():void{
        }
        public static function pushByte(_arg1:int):void{
        }
        public static function pushDouble(_arg1:Number):void{
        }
        public static function pushFalse():void{
        }
        public static function pushInt(_arg1:int):void{
        }
        public static function pushNamespace(_arg1:String):void{
        }
        public static function pushNaN():void{
        }
        public static function pushNull():void{
        }
        public static function pushScope():void{
        }
        public static function pushShort(_arg1:int):void{
        }
        public static function pushString(_arg1:String):void{
        }
        public static function pushTrue():void{
        }
        public static function pushUInt(_arg1:uint):void{
        }
        public static function pushUndefined():void{
        }
        public static function pushWith():void{
        }
        public static function returnValue():void{
        }
        public static function returnVoid():void{
        }
        public static function shiftRight():void{
        }
        public static function setLocal(_arg1):void{
        }
        public static function setLocal0():void{
        }
        public static function setLocal1():void{
        }
        public static function setLocal2():void{
        }
        public static function setLocal3():void{
        }
        public static function setGlobalSlot(_arg1:int):void{
        }
        public static function setProperty(_arg1:String):void{
        }
        public static function setSlot(_arg1:int):void{
        }
        public static function setSuper(_arg1:String):void{
        }
        public static function strictEquals():void{
        }
        public static function subtract():void{
        }
        public static function subtractInt():void{
        }
        public static function swap():void{
        }
        public static function throw_():void{
        }
        public static function typeOf():void{
        }
        public static function shiftRightUInt():void{
        }

    }
}//package com.youbt.asm 
package com.youbt.events {
    import flash.events.*;

    public class RFEvent extends Event {

        public static const ADD:String = "add";
        public static const LOADING_COMPLETE:String = "loadingComplete";
        public static const CREATION_COMPLETE:String = "creationComplete";
        public static const CURSOR_UPDATE:String = "cursorUpdate";
        public static const HIDE:String = "hide";
        public static const IDLE:String = "idle";
        public static const INIT_COMPLETE:String = "initComplete";
        public static const INIT_PROGRESS:String = "initProgress";
        public static const INITIALIZE:String = "initialize";
        public static const LOADING:String = "loading";
        public static const PREINITIALIZE:String = "preinitialize";
        public static const REMOVE:String = "remove";
        public static const SHOW:String = "show";

        public var isPlugin:Boolean;

        public function RFEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false){
            super(_arg1, _arg3, _arg4);
            this.isPlugin = _arg2;
        }
        override public function clone():Event{
            return (new RFEvent(type, this.isPlugin, bubbles, cancelable));
        }

    }
}//package com.youbt.events 
package com.youbt.utils {
    import flash.display.*;
    import flash.utils.*;

    public class NameUtil {

        private static var counter:int = 0;

        public static function createUniqueName(_arg1:Object):String{
            if (!_arg1){
                return (null);
            };
            var _local2:String = getQualifiedClassName(_arg1);
            var _local3:int = _local2.indexOf("::");
            if (_local3 != -1){
                _local2 = _local2.substr((_local3 + 2));
            };
            var _local4:int = _local2.charCodeAt((_local2.length - 1));
            if ((((_local4 >= 48)) && ((_local4 <= 57)))){
                _local2 = (_local2 + "_");
            };
            return ((_local2 + counter++));
        }
        public static function createUniqueNameByString(_arg1:String):String{
            var _local2:int = _arg1.charCodeAt((_arg1.length - 1));
            if ((((_local2 >= 48)) && ((_local2 <= 57)))){
                _arg1 = (_arg1 + "_");
            };
            return ((_arg1 + counter++));
        }
        public static function getCounter():int{
            return (counter++);
        }
        public static function displayObjectToString(_arg1:DisplayObject):String{
            var _local2:String;
            var _local4:String;
            var _local3:DisplayObject = _arg1;
            while (_local3 != null) {
                if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){
                    break;
                };
                _local4 = _local3.name;
                _local2 = (((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2));
                _local3 = _local3.parent;
            };
            return (_local2);
        }

    }
}//package com.youbt.utils 
package com.youbt.utils {
    import flash.utils.*;

    public class RFPluginUtils {

        public static var decodeFunction:Function = de;

        private static function de(_arg1:ByteArray):ByteArray{
            var _local5:int;
            var _local6:int;
            var _local2:int = _arg1.length;
            var _local3:ByteArray = new ByteArray();
            var _local4:int = _arg1.readByte();
            if ((_local4 >> 8)){
                _local5 = 0;
                _loop1:
                for (;_local5 < 10;if (((_local5 >> 1) & 1)){
                    continue;
                }, _local5++) {
                    continue;
                    _local3.writeInt((_local6 << 8));
                    while (_arg1.bytesAvailable) {
                        _local4 = _arg1.readByte();
                        if ((_local4 & 221)){
                        } else {
                            if ((_local4 & 204)){
                                return (de(_local3));
                            };
                            //unresolved jump
                        };
                        _arg1.position = (_arg1.position + 3);
                        break _loop1;
                    };
                    if ((_local6 & 1)){
                        //unresolved jump
                    };
                    _local6++;
                    //unresolved if
                };
            } else {
                _local3 = _arg1;
            };
            return (_local3);
        }

    }
}//package com.youbt.utils

when i feel asleep i found the source code, but i forgot what did i do.

the .swf is fine, i dunno where is the chinnese came from on what file to edit with.
all can be edited in res/assets/zhcn (gameconfig/system_config)
 
Joined
Mar 14, 2010
Messages
501
Reaction score
25
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

all can be edited in res/assets/zhcn (gameconfig/system_config)

all .swf in zhcn is not be edit. it gives error when decompiling it.



as of now, i'm editing some inner files. i hope it gives me no error when starting the game.
 
Initiate Mage
Joined
Jun 18, 2014
Messages
2
Reaction score
0
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

all .swf in zhcn is not be edit. it gives error when decompiling it.



as of now, i'm editing some inner files. i hope it gives me no error when starting the game.


Marcuel, can i ask for help on your previous problem on java when the server is not starting successfully? how can i solved that? it says "press any key to continue".
 
Joined
Mar 14, 2010
Messages
501
Reaction score
25
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

Marcuel, can i ask for help on your previous problem on java when the server is not starting successfully? how can i solved that? it says "press any key to continue".

download the d5 files, the first page given files is not working in java. try to download d5 files, i think its on page 2-5 its on google docs i think.



all can be edited in res/assets/zhcn (gameconfig/system_config)

you have sys_config english translated?
 
Newbie Spellweaver
Joined
Apr 26, 2012
Messages
47
Reaction score
21
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

D6 files with Marriage System working !!!!
Have fun !!!
 
Junior Spellweaver
Joined
Aug 22, 2013
Messages
105
Reaction score
9
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

download the d5 files, the first page given files is not working in java. try to download d5 files, i think its on page 2-5 its on google docs i think.





you have sys_config english translated?

can someone upload this file to mega.co.nz?
 
Joined
Mar 14, 2010
Messages
501
Reaction score
25
Re: [Release]The cerebrum Heavenly Palace - 大 闹天宫 ONLINE

now i missed up my files is not supported anymore, sadly i will go back to the first stage.

anyone have English translate files?
 
Back
Top