Results 1 to 3 of 3
  1. #1
    hermeticlock's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    49
    Reputation
    10
    Thanks
    7
    My Mood
    Amused

    Getting Epic Duel To Load Up (For Trainers/Bots)

    The following is from a discussion with Oliboli.

    Hey,

    I looked into EpicDuel a little bit a long time ago and produced this.
    The loader is fully functional, but I struggled to manipulate the game's code. I managed to find away to target the game's classes individually but it's very unproductive and rarely had any effect. The game is built differently to AQWorlds.
    I don't know how much experience you have, but take a look and see what you can do. My only success was really with the game loader.

    paste bin . com/ApGsJKs1


    Oliboli8769
    Here is the info from that pastebin website:

    Code:
    //Author: Oliboli8769
    Security.allowDomain("*");
    import flash.net.URLRequest;
    import flash.display.Loader;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.external.ExternalInterface;
    
    var sURL = "http://epicduelcdn.artix.com/omegaLoader11.swf";
    
    var swfContext:LoaderContext;
    var mLoader:Loader = new Loader();
    var objLoader:Object;
    var EpicDuel:Object;
    var ED:Object;
    var EPrizeModule:Class;
    
    startLoad();
    function startLoad()
    {
    	var mRequest:URLRequest = (new URLRequest(sURL));
    	mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaderComplete);
    	mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onLoaderProgress);
    	mLoader.load(mRequest);
    }
    function onLoaderProgress(progress:ProgressEvent)
    {
    	var percent:Number = progress.bytesLoaded / progress.bytesTotal;
    	trace("LOADER: " + percent);
    }
    function onLoaderComplete(loadEvent:Event)
    {
    	trace("Loader complete. Game load starting. \n -------------------------");
    	stage.addChildAt(loadEvent.currentTarget.content, 0);
    	objLoader = Object(loadEvent.currentTarget.content);
    	objLoader.gameLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onGameComplete);
    	objLoader.gameLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onGameProgress);
    }
    function onGameProgress(progress:ProgressEvent)
    {
    	var percent:Number = progress.bytesLoaded / progress.bytesTotal;
    	trace("GAME: " + percent);
    }
    function onGameComplete(loadEvent:Event)
    {
    	EpicDuel = Object(loadEvent.currentTarget.content);
    	//ED = EpicDuel.instance();
    	EPrizeModule = loadEvent.target.applicationDomain.getDefinition("PrizeModule") as Class;
    	//ESmartFox = loadEvent.target.applicationDomain.getDefinition("com.sfs.SmartFoxClient") as Class;
    	//ESmartFox = loadEvent.target.applicationDomain.getDefinition("com.sfs.SmartFoxClient") as Class;
    	trace("Game complete.");
    }

  2. The Following User Says Thank You to hermeticlock For This Useful Post:

    Oliboli8769 (04-23-2015)

  3. #2
    qmaz's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    5
    My Mood
    Tired
    Someone should make a trainer for this game.

  4. #3
    alminudin's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Yeehaw
    Quote Originally Posted by qmaz View Post
    Someone should make a trainer for this game.
    yesss hahaha

Similar Threads

  1. Replies: 6
    Last Post: 07-27-2013, 08:29 PM
  2. Replies: 0
    Last Post: 04-25-2013, 05:22 PM
  3. WTT epic duel level 29 for rotmg account at least 1 8/8
    By Darknano in forum Realm of the Mad God Selling / Trading / Buying
    Replies: 3
    Last Post: 04-25-2013, 02:46 AM
  4. Trading Level 40 or 50 Account for level 35 Epic Duel Account TONS of rares.
    By kulit998 in forum Adventure Quest Worlds (AQW) Selling / Trading / Buying
    Replies: 1
    Last Post: 04-24-2013, 11:13 PM
  5. [Request] Packet ID For Epic Duel +1000 PVP Medal
    By ddggxx99 in forum Adventure Quest Worlds (AQW) Hacks / Cheats / Trainers
    Replies: 3
    Last Post: 03-14-2013, 06:41 PM