Results 1 to 14 of 14
  1. #1
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic

    C# - RotMG embedded within a form performs horribly!

    I've got this problem, and I havn't been able to fix it.
    When I embed rotmg (directly from the site or with a hacked client) within a form, whether it be using the axplayer control, webkit, webBrowser, chromium, there is quite noticable screen tear, input lag and fps drops when in high or medium levels of action ex. godlands, nexus, oryx.

    I've tried running on low quality, running it on a seperate thread, and a few other things...

    Anyone have any idea whats going on??!

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

    [MPGH]Beex (10-25-2013)

  3. #2
    shiznid12's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    70
    Reputation
    10
    Thanks
    3
    Could be an instance of not utilizing your graphics card as it is supposed to? Similar to running VMWare and whatnot?

  4. #3
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Quote Originally Posted by shiznid12 View Post
    Could be an instance of not utilizing your graphics card as it is supposed to? Similar to running VMWare and whatnot?
    I dont think RotMG utilizes your dedi graphics at all, I think it's CPU based. Not 100% sure though.

  5. #4
    dwdude's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    222
    Reputation
    10
    Thanks
    47
    Quote Originally Posted by krazyshank View Post
    I dont think RotMG utilizes your dedi graphics at all, I think it's CPU based. Not 100% sure though.
    That is correct.

  6. #5
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Quote Originally Posted by dwdude View Post
    That is correct.
    Gahh help me on skype >

  7. #6
    shiznid12's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    70
    Reputation
    10
    Thanks
    3
    If it is 100% CPU based, it could be your computer limiting the resources allowed of those programs, basically capping the CPU usage and causing the stuttering and tearing..

  8. #7
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Quote Originally Posted by shiznid12 View Post
    If it is 100% CPU based, it could be your computer limiting the resources allowed of those programs, basically capping the CPU usage and causing the stuttering and tearing..
    It's not that, it has SOMTHING to do with my method of embedding the SWF into C#, becuase when im using an ActiveX Shockwave control, it's as if i'm running realm on IE, which we all know is horrid.

  9. #8
    UltraN00b's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Protected v0id
    Posts
    514
    Reputation
    68
    Thanks
    401
    My Mood
    Amazed
    @ @krazyshank are you going to embed the client inside the app, if you don't try out this line of code from the batch file:
     

    flashplayer_11_sa.exe SomeSWF.swf

    Be sure to include the flash Projector inside the folder with the batch file...
    Last edited by UltraN00b; 02-15-2013 at 12:00 AM.
    Liked my Post? Say Thanks!
    Before saying that a developer is wrong, think harder. Maybe, YOU are wrong since the dev knows more about his own programs than you do and has more knowledge about what he is doing.
    -- Direct Quote from the XDA-Developers Forums.

  10. #9
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    its going to be embedded

  11. #10
    UltraN00b's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Protected v0id
    Posts
    514
    Reputation
    68
    Thanks
    401
    My Mood
    Amazed
    @ @krazyshank With some king of overlay/custom buttons? Anyways I had the **********loader which did the same thing as you tried... It used thewebbrowser to load the swfs...
    Liked my Post? Say Thanks!
    Before saying that a developer is wrong, think harder. Maybe, YOU are wrong since the dev knows more about his own programs than you do and has more knowledge about what he is doing.
    -- Direct Quote from the XDA-Developers Forums.

  12. #11
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Quote Originally Posted by UltraN00b View Post
    @ @krazyshank With some king of overlay/custom buttons? Anyways I had the **********loader which did the same thing as you tried... It used thewebbrowser to load the swfs...
    The what loader? It was censored

  13. #12
    UltraN00b's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Protected v0id
    Posts
    514
    Reputation
    68
    Thanks
    401
    My Mood
    Amazed
    Ace-tic-so-ft
    Liked my Post? Say Thanks!
    Before saying that a developer is wrong, think harder. Maybe, YOU are wrong since the dev knows more about his own programs than you do and has more knowledge about what he is doing.
    -- Direct Quote from the XDA-Developers Forums.

  14. #13
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Quote Originally Posted by UltraN00b View Post
    Ace-tic-so-ft
    I dont know what that is or what it does haha

  15. #14
    dobibo's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    does it happen to you also on full screen on the steam version? Because in the steam version when i try to play with full screen im having input laggs, and also in the browser version.

Similar Threads

  1. Anyone interrested in forming an rotmg dungeon rade group via skype? play with me =D
    By jaugonix in forum Realm of the Mad God Help & Requests
    Replies: 6
    Last Post: 03-06-2013, 07:41 PM
  2. [Help] How to make a form always on top.
    By wr194t in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-23-2007, 07:41 AM
  3. Replies: 8
    Last Post: 09-30-2007, 09:57 AM
  4. Mpgh At It's Simplest Form
    By Paroxysm in forum General
    Replies: 31
    Last Post: 07-25-2007, 03:03 AM
  5. Dave Make A New Form!
    By mikelmao in forum General
    Replies: 3
    Last Post: 07-07-2007, 07:28 PM