Results 1 to 7 of 7

Threaded View

  1. #1
    nilly's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    2,652
    Reputation
    155
    Thanks
    13,983
    My Mood
    Angelic

    Running Client in Browser (missing tile/sluggish performance fix)

    So some have been wondering why clients run in browser exibit sluggishness and missing tiles (that cause disconnect). I recently discovered while playing around with some things why this is. When one runs a swf directly with their browser, it defaults to software accelerated mode (which doesn't make use of any hardware to accelerate graphics). This is the primary reason for the sluggish performance. When kabam did the hardware acceleration update, well they used stage3d (basically a hardware accelerated mode to display graphics) with some tiles even when hardware acceleration is turned off! So if the client is run in software accelerated mode, these tiles simply will not show up. They will cause a shit load of errors in flash, which in turn causes disconnection to happen.

    A fix for this is to run the client through an html file and specify a hardware accelerated mode. An example html is given below.

    Code:
    <body bgcolor="#000000">
    <object data="rotmg.swf" type="application/x-shockwave-flash" width="100%" height="100%">
    <param name="movie" value="rotmg.swf">
    <param name="quality" value="low" />
    <param name="wmode" value="direct" />
    <param name="flashvars" value="kongregate_username=****&kongregate_user_id=****&kongregate_game_auth_token=****&kongregate_api_path=****"/>
    </object>
    This will run the client in the users browser specifying a direct wmode (which makes use of hardware acceleration). The bold rotmg.swf points to your swf file. The flashvars param lets you specify things like kongregate login. That last param can be omitted if one isn't using kong. I just added it there to give kong users an idea of how to use the html to login to their account.
    Be careful, stray too far from the pack and you'll get lost.

  2. The Following 4 Users Say Thank You to nilly For This Useful Post:

    059 (05-10-2014),Betrathepker1 (07-12-2014),Necc (05-07-2014),The Lord of All Time (05-08-2014)

Similar Threads

  1. [Help Request] Running Flash Player/Browsers with HEXED Clients.
    By swordmaster in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 09-05-2013, 01:26 PM
  2. [Help Request] How to run Hacked ROTMG clients on a browser?
    By RealmAnna in forum Realm of the Mad God Help & Requests
    Replies: 16
    Last Post: 09-05-2013, 03:32 AM
  3. How to run Modded ROTMG clients on a browser? for 16.0 and UP!
    By RealmAnna in forum Realm of the Mad God Help & Requests
    Replies: 0
    Last Post: 09-02-2013, 11:42 AM
  4. [Request] Turn Arena Walls into black tiles - increased performance
    By Roguea in forum Realm of the Mad God Help & Requests
    Replies: 8
    Last Post: 06-15-2013, 06:14 PM
  5. Performance fixs?
    By Mazey in forum Call of Duty Black Ops Help
    Replies: 5
    Last Post: 01-25-2011, 07:52 PM