Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70

    Connect to Production Server

    Is there a detailed tutorial on how to do the Connect to Production Server hack, that is included in the mod selectors? I would like to do it on my own with Yogda.

    Nilly posted a tutorial on how to connect to prodcution, but this is not the real way -
    https://www.mpgh.net/forum/599-realm-...-messages.html

    This is the step in nilly's tutorial:

    Load up yogda and open the client file. Once there, navigate to AVM2 Bytecode - WebMain (frame1) - Strings. Right click strings and click on find to search for "rotmgtesting.appspo*****m". Once found, double click on it to change it to "realmofthemadgod.appspo*****m".
    The connect to prodcution hack in the mod selectors is different, it's the real way. For example, if you use nillys method above, the client will only have a maximum of 30 fps (open the rotmg performance stats in game). If you use the mod selector method, you get the full 60 FPS.

    In case there isn't a tutorial yet, could someone please describe the stepts on how to do the Connect to Production Server hack with Yodga?
    @nilly and @JustAnoobROTMG - You are the ones that know how to do it for sure. Could you please help us?

    TY
    Last edited by Roguea; 05-01-2013 at 09:33 AM.

  2. #2
    maat7043's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Texas
    Posts
    676
    Reputation
    71
    Thanks
    2,579
    My Mood
    Daring
    This hack is not done with Yogda as it is much easier with RABCDasm

    Part 1
    1. Download RABCDasm installer from ******
    2. Unzip them
    3. Put them all in a folder called RABCDasm
    4. Throw the client you want to modify in that folder
    5. Change its name to client.swf
    6. Make the .bat files I mention here:
    https://www.mpgh.net/forum/720-realm-...ml#post8029438
    7. run decompile.bat
    8. You now have a decompile source

    Part 2
    1. Install astrogrep
    2. Search for "production" with the "" around them don't remove
    file type= *.*
    path= location of */RABCDasm/client-1 (just use browse)
    3. Make sure search in sub folders is selected
    4. You will find 2. The one you are after in 13.0 is _-PQ.class.asasm
    **This changes for every build so the way you find the new one is to search for similarities in the new release to the old one to find the new name.**
    5. ctrl+f for Capabilities you will find the code:
    Code:
          getlocal0
          callproperty        QName(PrivateNamespace("*", "_-1c7:_-PQ"), "_-0aA"), 0
          getlocal1
          dup
          iffalse             L61
    
          pop
          getlocal1
          convert_b
    L61:
          iftrue              L63
    
          convert_b
    L63:
          returnvalue
         end ; code
        end ; body
       end ; method
      end ; trait
      trait method QName(PrivateNamespace("*", "_-1c7:_-PQ"), "_-12r")
       method
        refid "_-1c7:_-PQ/_-12r"
        returns QName(PackageNamespace("", "#0"), "Boolean")
        body
         maxstack 4
         localcount 1
         initscopedepth 4
         maxscopedepth 5
         code
          getlocal0
          pushscope
    
          getlex              QName(PackageNamespace("flash.system"), "Capabilities")
    6. insert the following code right before returnvalue
    Code:
    pop
    pushtrue
    **This forces the check to see if you are connecting to testing or production to always read true**

    7. save
    8. Run Recompile.bat

    client.swf is now connecting to prod

  3. The Following 5 Users Say Thank You to maat7043 For This Useful Post:

    emailbrandon (05-01-2013),fuzzayboy (03-20-2014),IAmDM (05-01-2013),liquidgalaxy (05-05-2013),Roguea (05-01-2013)

  4. #3
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    Thanks maat!!

    Your guide looks very detailed and clear, I will try it now.

  5. #4
    maat7043's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Texas
    Posts
    676
    Reputation
    71
    Thanks
    2,579
    My Mood
    Daring
    Quote Originally Posted by Roguea View Post
    Thanks maat!!

    Your guide looks very detailed and clear, I will try it now.
    Let me know if you guys that thanked get it to work. I can help you along the process.
    Remember good questions get good answers (from me at least)

  6. #5
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    Well... I already got trouble with getting the RABCDasm commands to work

    Even after reading these detailed tutorials:
    Disassemble game bytecode with RABCDAsm - Realm of the Mad God Hacking Guides Wiki
    [Release] RABCDASM for MAC

    I get the same error in the cmd, which says command not found.

    I did all the steps which were listed in the tutorials:

    1) download RABCDasm
    2) download the rotmg swf and rename it to client.swf
    3) put the client.swf in the RABCDasm folder
    4) run cmd, switch direction to the rabcdasm folder --> cd c:\rabcdasm

    Then I tried all these command combinations:

    swfdecompress client.swf
    ./swfdecompress client.swf
    .\swfdecompress client.swf
    /swfdecompress client.swf
    \swfdecompress client.swf

    Nothing works. I have put the client.swf in the same folder as all those other rabcdasm files (abcexport.d, abcfile.d, abcreplace.d and so on).

  7. #6
    maat7043's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Texas
    Posts
    676
    Reputation
    71
    Thanks
    2,579
    My Mood
    Daring
    Quote Originally Posted by Roguea View Post
    Well... I already got trouble with getting the RABCDasm commands to work

    Even after reading these detailed tutorials:
    Disassemble game bytecode with RABCDAsm - Realm of the Mad God Hacking Guides Wiki
    [Release] RABCDASM for MAC

    I get the same error in the cmd, which says command not found.

    I did all the steps which were listed in the tutorials:

    1) download RABCDasm
    2) download the rotmg swf and rename it to client.swf
    3) put the client.swf in the RABCDasm folder
    4) run cmd, switch direction to the rabcdasm folder --> cd c:\rabcdasm

    Then I tried all these command combinations:

    swfdecompress client.swf
    ./swfdecompress client.swf
    .\swfdecompress client.swf
    /swfdecompress client.swf
    \swfdecompress client.swf

    Nothing works. I have put the client.swf in the same folder as all those other rabcdasm files (abcexport.d, abcfile.d, abcreplace.d and so on).
    Glad to see you put in alot of effort. The easiest way is to create .bat file you know how to do that?
    Running through the cmd is alot trickier

  8. #7
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    Ok I tried it now with the a .bat file. I opened the windows notepad, typed this:

    Code:
    cd c:\rabcdasm
    swfdecompress client.swf
    abcexport client.swf
    rabcdasm client-1.abc
    pause
    and saved the file as decompile.bat

    I ran it, but I still get always the same error message after each command line (apart from 'pause' , that works haha), saying that the command can not be found

    EDIT:

    Works now! I downloaded the wrong rabcdasm file... I thought the first link google would spit out would be the right one.

    Ok I'm going to continue following your steps @maat7043, and then will say here if everything worked fine. Thanks for your replies maat!
    Last edited by Roguea; 05-01-2013 at 04:53 PM.

  9. #8
    DatCoder's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    265
    Reputation
    10
    Thanks
    178
    My Mood
    Inspired
    I don't use Windows but I have 3 tips what could be wrong:
    - cd command only accepts directories, so use it withou the drive:
    Code:
    C:
    cd \rabcdasm
    - Run the swfdecompress with extension
    Code:
    swfdecompress.exe client.swf
    - You are on Mac and trying to use Windows commands or vice-versa, you are on Windows but downloaded the Mac version.

    Edit: Nevermind, I'm slow ...
    Last edited by DatCoder; 05-01-2013 at 04:59 PM.

  10. #9
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    Ok finished, everything worked quick and smooth

    Thanks a lot again maat7043! The problem was that I downloaded the wrong rabcdasm installer (i googled for "rabcdasm ******" and clicked on the first link).

    But for some reason, the maximal frames per seconds are still set to 30 FPS with this freshly hacked client. That's very odd. The normal rotmg client has a 60 FPS limit. And even the hexed 13.2 client I downloaded ("Gogo's Premium Rotmg Hacks"), has 60 FPS as the limit.

    Does anyone knows what causes this problem and how to fix it? The game appears to be laggier with only 30 FPS. Is this probably some kind of anti hack measure from Kabam?

  11. #10
    maat7043's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Texas
    Posts
    676
    Reputation
    71
    Thanks
    2,579
    My Mood
    Daring
    I have never heard of a limit on the fps before.
    Im glad you got it to work though!

  12. #11
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    Yes, I also have never seen this 30 FPS limit before, it seems like it appeared for the first time with this new rotmg build:



    I guess the reason those hacked clients in the download section still have a 60 FPS limit, is because they are just hexed.

  13. #12
    maat7043's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Texas
    Posts
    676
    Reputation
    71
    Thanks
    2,579
    My Mood
    Daring
    hmmm. That is odd. I will have to chack this out when I get home.
    Shoot me a pm im you need help updating any other hacks

  14. #13
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    It gets even more odd:

    When you click on the "performance stats" window, the maximal FPS gets increased by +1. This allows you to set the FPS to a very high limit:



    But this won't help much, since you can't get more than 60 FPS anyways. But at least, it will fix the laggy 30 FPS issue and makes the hacked client run smoother!

  15. #14
    DatCoder's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    265
    Reputation
    10
    Thanks
    178
    My Mood
    Inspired
    Quote Originally Posted by Roguea View Post
    It gets even more odd:

    When you click on the "performance stats" window, the maximal FPS gets increased by +1. This allows you to set the FPS to a very high limit:



    But this won't help much, since you can't get more than 60 FPS anyways. But at least, it will fix the laggy 30 FPS issue and makes the hacked client run smoother!
    Strange, I have 60 fps on 13.2, I'm not yet sure what triggers the 30 fps limit. Nice find anyway.
    The reason you can't get more than 60 fps is probably because you have forced/default v-sync turned on in your display driver settings.

    ---------- Post added at 02:02 AM ---------- Previous post was at 01:59 AM ----------

    You can decrease the limit the same way, imagine the performance stats as an up and down button, click on the bottom of it to decrease.

  16. #15
    Roguea's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    104
    Reputation
    10
    Thanks
    70
    Quote Originally Posted by DatCoder View Post
    Strange, I have 60 fps on 13.2, I'm not yet sure what triggers the 30 fps limit.
    You got 60 FPS with a non-hexed client? Or do you mean 60 fps with the normal, non-hacked client? Because only if you use a hacked client (hacked 13.2 client, not hexed 13.1 or older client), the fps limit is auto set to 30 fps.

    All the hacked clients in the download section are hexed (= outdated hacked clients), that's why they all got 60 fps.

Page 1 of 2 12 LastLast

Similar Threads

  1. Why does Combat Arms keep losing connection to the server?!
    By Shamrock in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 12-30-2008, 03:56 PM
  2. Failed to Connect to Verification Server? :(
    By Offspring316 in forum Combat Arms Hacks & Cheats
    Replies: 21
    Last Post: 11-04-2008, 11:23 AM
  3. "Connection to the server has ended"
    By Drab in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 10-29-2008, 01:28 AM
  4. Can't Connect to the server
    By Gutobr1234 in forum Combat Arms Hacks & Cheats
    Replies: 13
    Last Post: 10-13-2008, 06:44 PM
  5. Replies: 6
    Last Post: 09-05-2008, 01:16 PM