Page 1 of 9 123 ... LastLast
Results 1 to 15 of 132
  1. #1
    Gravitir3.14's Avatar
    Join Date
    Feb 2018
    Gender
    male
    Location
    Russia - Moscow
    Posts
    548
    Reputation
    92
    Thanks
    9,935

    Update your client/source.

    You are want to starting learning how to update client, but editing client with JPEXS is really annoying thing?
    Well, then you need your own client source!

    On this date 05/05/2018 game has have version 25.1.1.
    Full source code you can find on my ****** page:
    - Crazy Client
    - Vanilla
    After downloading, unpack source code to your project folder. (To me it's: D:/IDEA/Projects/)


    #Setup


    Okay, you have source code, but now you ask yourself: "How to build client?"
    To do this, you need to setup development environment with basic SDK's.
    All programs, what's you can see here, are cracked, but i'll recommend you use payed version to support developers.
    I'm and 059 use IntelliJ IDEA, because it's really great tool.
    You can find some tutorials/guides to setup IntelliJ IDEA in google, but in startup plugin window make sure you're check on support "Flex SDK/Air SDK".

    To get your IDE fully worked, you need to setup external Flex SDK with updated PlayerGlobal.swc.
    Direct link to page with Adobe Flex SDK v4.6 - Click.
    Direct link to page with Adobe Flash PlayerGlobal.swc - Click.
    After downloading, unpack Flex SDK to permanent folder and make sure you don't delete files.
    To update PlayerGlobal.swc, go to folder (or create it) with path FLEX4.6/frameworks/libs/player/11.1/ and replace it.

    So, I hope your IDE successfully installed and you already start it up. After starting you can see project menu.
     



    Click on "Open" button and go to folder with downloaded source code, select it.
     



    After you choose project, you can see little window with asking you what's SDK you will use.
     



    Select "..." button and in opened window select plus and choose "Flex SDK", to add new external SDK.
     



    In new window select your Flex SDK path.
     



    After you do that, you can see in configuration menu new added classpath's and sourcepath's.
    Click to "Ok" and wait when indexing will be finished.
     



    Main window interface look like this:

    Next steps are optional, but i'll recommend that.
    Use hotkey "Ctrl + Shift + Alt + S" and open Project Structure window.
    On project tab choose your Flex SDK.
     



    Go to modules tab, choose webmain module and rename it.
     



    Go to compiler options and uncheck copying resources to output folder.
     



    Go to libraries and add libs what's included with source code.
     







    After you do that, you can go to the main window and setup building configuration.
     





    #Updating


    Okay, here you can find some basic instructions to updating source to current version.

    To get assets, data, and pure scripts, you need to install some programs.
    - AS3-Sorcerer
    - Flash Decompiler Trillix


    #Packets and Game Version

    To get newest packets you need to download clear game client.
    Newest client is uploading on www.realmofthemadgod.com/client
    Download it, rename it to "New.swf" and drag & drop to your work folder.
    Start AS3-Sorcerer and move client in opened window.
     



    To get all scripts, click on "AS3 Scripts" in top of list and move mouse to your workfolder/desktop, after all scripts will be saved, you can stop press on mouse.
     



    After saving you can close AS3-Sorcerer.
    Okay, all scripts successfully saved and it's time to get packets.
    Open folder with saved scipts and go to this path: /kabam/rotmg/messaging/impl/ and open file GameServerConnection.as with using Notepad++ or other text editor.
     



    Copy all packets from FAILURE to QUEST_ROOM_MSG.
     

    [IMG][/IMG]

    Now you need to replace old packets in your project. To do this, start IntelliJ IDEA and using hotkeys Ctrl + Shift + N find file GameServerConnection.as.
     



    And just replace packets to new.

    Okay, packets successfully updated, but now we need change game version.
    Using hotkeys Ctrl + Shift + N find file Parameters.as and find BUILD_VERSION and MINOR_VERSION, in this lines change game version to current.
     



    After you do that, minor update are ended and you can try to build client. But, if developers change some assets or data files, then you need to update them.


    #Assets and Data

    Well, you try to update game and after building you see some unknown items without annotation or you just can't enter on Nexus?
    This is happened, because developers update assets and data files! You just need to update them on your source and all will be okay.
    To do that, you need use Flash Decompiler Trillix.

    Start Trillix and choose your client, at top in tab "Manage" choose "Convert to source" and wait when source will be converted.
     




    After conversion you can close Trillix.
    Open converted source and go to this path: src/kabam/rotmg/assets/
     



    Now sort files by type and copy all images.
    Open same folder in your project source and replace all outdated images.
    Images updated, but data files and classes still not updated.

    Go back to converted folder and copy all files with type AS and DAT to your project source, but don't copy this files:
    - AssetsConfig.as
    - EmbeddedAssets.as
    - EmbeddedData.as
    Images, Data, Classes updated, but their still not loading into client.

    I hope you still not delete the scripts what's we get with AS3-Sorcerer?
    If you accidentaly delete it, then you need again decompile it.
    Find this files and copy their to your project source:
    - EmbeddedAssets.as
    - EmbeddedData.as
    Now you need find file AssetLoader.as and open with Notepad++ or other text editor.
    Find functions addImages and addAnimatedCharacters and copy their.
     




    Open AssetLoader.as in IntelliJ IDEA and replace functions to new.

    That's all, all assets and data files successfully updated and you can try to build client and starting playing.


    #Other changes

    "Wait, what? You say 'That's all', but adding something more?" - Yes, because developers change not only images and packets, sometimes they do really big changes and you need to add it in client.

    And you ask me 'Лето Зима, так как же это дело обновить?'
    And i answer to you 'Не проблема, сейчас все будет!'
    To see what's changed in clients, you need two programs:
    - AS3-Sorcerer
    - WinMerge
    After installing their, go to this site and scroll to bottom of list.
    As you can see, there you can find all releases of game.
    For example i will show how to update client from build 1522832504 to 1525351612. Well, it's just update from version 24.0.0 to version 25.1.1.
    First i download build 1522832504 | Version 24.0.0 and rename swf file to Old.swf.
    Second i download build 1525351612 | Version 25.1.1 and rename swf file to New.swf.
    Now i decompile their using AS3-Sorcerer and move folders to desktop.
     



    After you need to start WinMerge, in tab "File" select "Open", on left folder choose folder with new scripts, on right folder choose folder with old scripts.
     



    Make sure you're check "Including subfolders"!
    And click to OK.
    When merging ended, select tab "View" and check "Various" and "Binary files", uncheck other settings.
     



    Now you need to open changed file, using hotkey Alt + Down go to first changed line and do changes in your project source using IntelliJ IDEA.
    To see all changes, you can look my commit in Vanilla source, totally 117 files changed (including Assets/Data).

    You think that's the end? No, you just add changes in AS files, but what about DAT files?
    To do that, decompile clients using Trillix and do WinMerge between decompilled source, also add changes using IntelliJ IDEA.
    Okay, that's the real the end. Now you have fully updated source, try to build it, if have errors - fix it, if all successfully compiled, then...
    Congratulations! You are smart guy.


    #End


    This tutorial don't mean what's i'm willing to stop updating Crazy Client, but when in someday i will stop do that, you can continue this.
    Links:
    - Crazy Client source
    - Vanilla souce
    - IntelliJ IDEA
    - AS3-Sorcerer
    - Flash Decompiler Trillix
    - WinMerge
    - Notepad++
    Special Thanks:
    - @CrazyJani | Creator of Crazy Client
    - @059
    - @lolpot132
    - @rodzillaz12
    - @elisrael
    - @Syntes512
    - @willfuttbuck
    - @sconerdeal
    - @Mew
    - @Nyaro
    - @Oblivien2
    - @A_Random_Idiot
    - @Syurito
    - @kiwi5

    Last edited by Luverdark; 07-09-2018 at 05:18 PM.

  2. The Following 38 Users Say Thank You to Gravitir3.14 For This Useful Post:

    Alde. (05-06-2018),A_Random_Idiot (05-07-2018),Bersteiger (05-06-2018),BoredBro (11-22-2018),ciroboy (05-12-2018),Dagg (05-30-2018),DavisXola (08-02-2018),Eldor1274 (06-29-2018),excitedguy (08-05-2018),falaf123 (05-05-2018),gaelicanlol (07-31-2018),gorgor (05-22-2018),Granttttttt (05-24-2018),Hackinet (09-14-2018),HeartJustice (05-14-2018),Heska (05-09-2018),iecg (05-06-2018),Iridesence (05-06-2018),kiwi5 (05-05-2018),Lxys (05-07-2018),maxhunter2011 (05-13-2018),miltontec (05-24-2018),mustafizrrahman (08-05-2018),Nyaro (08-09-2018),Oblivien2 (05-30-2018),One For All (07-25-2018),pharoh (05-09-2018),RealmServices (05-06-2018),rotmgfaaag (05-06-2018),RotumNR (11-09-2018),Sean (08-03-2018),Segwaym8 (05-05-2018),sulong (05-10-2018),Syurito (05-06-2018),TheRealArkani (12-28-2018),Twix001 (05-06-2018),vgaic123 (05-15-2018),xGoldenBoyz (08-07-2018)

  3. #2
    kiwi5's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    Puerto Rico
    Posts
    2,025
    Reputation
    713
    Thanks
    3,449
    My Mood
    Sad
    Quality shit right here.

  4. #3
    falaf123's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    on the path that moves with unstoppable force and slowly guides us towards the inevitable death.
    Posts
    159
    Reputation
    10
    Thanks
    16
    My Mood
    Cold
    So.. this should make me qualified enough that I can figure out and integreate 059 auto aim inside cc's client? :>

  5. #4
    Gravitir3.14's Avatar
    Join Date
    Feb 2018
    Gender
    male
    Location
    Russia - Moscow
    Posts
    548
    Reputation
    92
    Thanks
    9,935
    Quote Originally Posted by falaf123 View Post
    So.. this should make me qualified enough that I can figure out and integreate 059 auto aim inside cc's client? :>
    If you smart guy, then yes.

  6. #5
    falaf123's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    on the path that moves with unstoppable force and slowly guides us towards the inevitable death.
    Posts
    159
    Reputation
    10
    Thanks
    16
    My Mood
    Cold
    Quote Originally Posted by Gravitir3.14 View Post
    If you smart guy, then yes.
    That doesn't help me then.. I'll give it a shot tomorrow.

  7. #6
    Segwaym8's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    89
    Reputation
    31
    Thanks
    73
    My Mood
    Inspired
    This is the kind of high quality tutorial we could always use more of. I am now a smart guy!

  8. #7
    adasda's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    Apple Tree
    Posts
    133
    Reputation
    49
    Thanks
    25
    My Mood
    Confused
    Thank you so much for a fully explained and laid out tutorial finally!

  9. #8
    HeartJustice's Avatar
    Join Date
    Apr 2018
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    16
    Great work. +rep

  10. #9
    Syurito's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Location
    I'll live forever and ever with TaeYeon.
    Posts
    1,053
    Reputation
    421
    Thanks
    1,224
    My Mood
    Angelic
    This is fabulous work Gravitator, now people shouldn't ask for updates even though you update in less than an hour(mods approval)

    Btw this thread should be sticky pinned, no joke.

  11. The Following User Says Thank You to Syurito For This Useful Post:

    falaf123 (05-06-2018)

  12. #10
    RealmServices's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    336
    Reputation
    10
    Thanks
    38
    Great tutorial, thanks!

  13. #11
    Same0ldm3's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    629
    Reputation
    10
    Thanks
    51
    My Mood
    Devilish
    neat nice tutorial for updating

  14. #12
    elisrael's Avatar
    Join Date
    May 2017
    Gender
    male
    Posts
    142
    Reputation
    30
    Thanks
    1,985
    My Mood
    Sleepy
    nice work my friend

  15. #13
    sundance kid's Avatar
    Join Date
    Apr 2018
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    1
    My Mood
    Buzzed
    does nobody have a link to crazy client swf?? im using mac and am having difficulty following the tutorial

  16. The Following User Says Thank You to sundance kid For This Useful Post:

    kingliamer (05-12-2018)

  17. #14
    Gravitir3.14's Avatar
    Join Date
    Feb 2018
    Gender
    male
    Location
    Russia - Moscow
    Posts
    548
    Reputation
    92
    Thanks
    9,935
    Quote Originally Posted by sundance kid View Post
    does nobody have a link to crazy client swf?? im using mac and am having difficulty following the tutorial
    You still can just download client from hack section.

  18. #15
    HeartJustice's Avatar
    Join Date
    Apr 2018
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    16
    Quote Originally Posted by sundance kid View Post
    does nobody have a link to crazy client swf?? im using mac and am having difficulty following the tutorial
    You can easily do this on Mac...

Page 1 of 9 123 ... LastLast

Similar Threads

  1. How to : Update your own RotMG Client Source
    By Alde. in forum Realm of the Mad God Tutorials & Source Code
    Replies: 64
    Last Post: 12-21-2019, 01:35 AM
  2. REQUEST:Updated guide on how to update your client to the most current update.(Crazy)
    By zachkey in forum Realm of the Mad God Help & Requests
    Replies: 11
    Last Post: 11-20-2017, 04:55 PM
  3. [Outdated] Client Hexer - Update your client by yourself!
    By BernardoLima in forum Realm of the Mad God Hacks & Cheats
    Replies: 98
    Last Post: 10-11-2013, 06:22 PM
  4. [Release] Auto Updater for your client! [VB]
    By john404 in forum Minecraft Tutorials
    Replies: 2
    Last Post: 11-06-2011, 10:06 PM
  5. [Tutorial] Updating your client [Aiw2]
    By ♪~ ᕕ(ᐛ)ᕗ in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 83
    Last Post: 09-25-2011, 08:52 AM