059 (05-10-2014),Betrathepker1 (07-12-2014),Necc (05-07-2014),The Lord of All Time (05-08-2014)
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.
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.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>
Be careful, stray too far from the pack and you'll get lost.
059 (05-10-2014),Betrathepker1 (07-12-2014),Necc (05-07-2014),The Lord of All Time (05-08-2014)
Makes you wonder where this game is headed when the users fix more bugs than the company that owns it
My Vouches
Having an issue with RotMG? Check for the solution here.
Need Realm items? Come to RealmStock!
Accepting PayPal - Bitcoin - Giftcards
Selling ST Sets, Class Top Sets, Life Pots, and much more!
Find it here: MPGH Sales Thread
Alde. (05-08-2014),BlackRayquaza (05-09-2014),maat7043 (05-18-2014),Pepsi Cola (05-10-2014),RookieLazer (06-06-2014),runekri3 (05-10-2014)
Makes you wonder where this game is headed when its hackers fix more bugs than the company that owns it
*fixed
wow. thanks alot i tried running in browser before and came across this problem, and me being too noob i gave up