Results 1 to 13 of 13
  1. #1
    RonaldSeiger's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    13

    MouseOn/MouseOff event

    Okay so I've taken a look through the files for Realm of the mad god, but I cannot seem to find what I am looking for. (Also kinda half bothered to install programs because completely wiping my drives soon for new motherboard and Solid State Drive. But yes I have a request, hopefully somebody can help me find and alter what I am looking for.

    In the client when you're in game you have three bars, one for Fame/XP, one for Health and one for MP, to see the exact values of the bar you'd have to mouse over a bar to see CurrentXYZ/MaxXYZ. I am trying to change it so the values remain even when the mouse isn't hovering over the bar. I am assuming this is as easy as inserting some code to make a boolean equal true even if the mouse cursor is not hovering over the bar and thus I would assume this code would suffice:

    Code:
    pushtrue
    returnvoid
    I could be wrong, but none-the-less, could someone lend a hand?
    Last edited by RonaldSeiger; 09-09-2012 at 02:55 PM.

  2. #2
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    Quote Originally Posted by RonaldSeiger View Post
    Okay so I've taken a look through the files for Realm of the mad god, but I cannot seem to find what I am looking for. (Also kinda half bothered to install programs because completely wiping my drives soon for new motherboard and Solid State Drive. But yes I have a request, hopefully somebody can help me find and alter what I am looking for.

    In the client when you're in game you have three bars, one for Fame/XP, one for Health and one for MP, to see the exact values of the bar you'd have to mouse over a bar to see CurrentXYZ/MaxXYZ. I am trying to change it so the values remain even when the mouse isn't hovering over the bar. I am assuming this is as easy as inserting some code to make a boolean equal true even if the mouse cursor is not hovering over the bar and thus I would assume this code would suffice:

    Code:
    pushtrue
    returnvoid
    I could be wrong, but none-the-less, could someone lend a hand?
    I've actually done this, but only temporarily. Open up cheat engine.
    Select realm's process.
    Roll over hp, search for 1, roll out, search for 0. Repeat this until you only have a few values remaining. When you have 3 left, it's usually the one with the address furthest away from the others. Double click it, then right click on it down below and "Find out what writes to this address". Now rollover it again.
    Now the opcodes will show up, you should see two. On the 00000000 one, select it and click replace, click ok, then stop and close.
    There, now you just made rolling out of it do nothing!

    The instruction I get is 18C83752 - C7 40 78. I think you could edit the bytecode to make them never go away without CE.

  3. The Following User Says Thank You to 059 For This Useful Post:

    RonaldSeiger (09-09-2012)

  4. #3
    RonaldSeiger's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    13
    Yeah I wanted to change it in RABCDAsm or Yogda, but that will work for now :P. Thanks 059.

    Anyone have a solution for Yodga or RABCDAsm?

    I had:

    108CC52B - C7 80 80000000 01000000 - mov [eax+00000080],00000001
    Last edited by RonaldSeiger; 09-09-2012 at 03:55 PM.

  5. #4
    cehrenr's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    453
    Reputation
    19
    Thanks
    1,234
    Hmm, is there a way to search the value you come up with in CE and see if its a fixed value in the actual client? I'm not certain I completely understand how those things work, but that does seem too simple to actually be a solution doesn't it? :P

  6. #5
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    Quote Originally Posted by cehrenr View Post
    Hmm, is there a way to search the value you come up with in CE and see if its a fixed value in the actual client? I'm not certain I completely understand how those things work, but that does seem too simple to actually be a solution doesn't it? :P
    I don't really understand it either
    If you show the disassembler it might reveal how.

  7. #6
    onichi22's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    5
    Were these pointers or just normal addresses? If they were, we could try to check them out from decompiler through hex view. I'll try this XD.

    EDIT:

    Dang, I forgot, this is a flash T_T.
    Last edited by onichi22; 09-09-2012 at 07:44 PM. Reason: additional msg.

  8. #7
    nilly's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    2,652
    Reputation
    155
    Thanks
    13,983
    My Mood
    Angelic
    When using Cheat Engine, what you're looking at is the client loaded into the ram of your computer. So the addresses themselves are useless as they will change (usually) every time one loads the game. Usually one uses a debugger to figure out what part of the code in the client is looking at that address. This being a flash game that is interpreted by a flash projector or what not makes this difficult to do (I haven't found a way to do it).

    ---------- Post added at 01:25 AM ---------- Previous post was at 12:34 AM ----------

    BTW here is your request.



    Navigate to com.company.assembleegameclient.ui:_-0MY._-0EJ() . On line 461, double click and replace the getproperty instruction with pop, pushbyte 1 as showin' in picture.

    Names used are for v123.5.1
    Last edited by nilly; 09-10-2012 at 12:39 AM. Reason: Added client version.

  9. The Following 5 Users Say Thank You to nilly For This Useful Post:

    059 (09-10-2012),onichi22 (09-11-2012),RonaldSeiger (09-10-2012),Strudul (09-10-2012),Tempei (09-10-2012)

  10. #8
    RonaldSeiger's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    13
    Nilly did I ever tell you how much I love you?

    Slight difference for me, it was on line 456, not sure why, but I just used common sense

    Again thanks a bunch, I have no idea how you find these things.
    Last edited by RonaldSeiger; 09-10-2012 at 06:34 AM.

  11. #9
    Strudul's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    182
    Reputation
    10
    Thanks
    1,041
    Nice request Ronald.

    Great find Nilly, though it was on line 456 for me too.

  12. #10
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    Damn nilly you're the best.
    This has an interesting result too:

  13. #11
    nilly's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    2,652
    Reputation
    155
    Thanks
    13,983
    My Mood
    Angelic
    That's pretty cool. Didn't know it would do that. Gives me an idea for another hack.

  14. #12
    RonaldSeiger's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    13
    I'm curious, what's your idea?

  15. #13
    nilly's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    2,652
    Reputation
    155
    Thanks
    13,983
    My Mood
    Angelic
    Quote Originally Posted by RonaldSeiger View Post
    I'm curious, what's your idea?
    Just finished it. Thanks to RonaldSeiger and 059 for the idea.

    https://www.mpgh.net/forum/599-realm-...ml#post6625779

Similar Threads

  1. Guild Wars Nightfall Preview Event!
    By Chronologix in forum General Gaming
    Replies: 2
    Last Post: 07-30-2010, 12:45 PM
  2. New Dedicated Host & Upcoming Events!
    By Dave84311 in forum News & Announcements
    Replies: 4
    Last Post: 02-09-2009, 09:19 PM
  3. exchange item bug ;), green chest,xmas event etc : KOL
    By AN1MAL in forum General Game Hacking
    Replies: 0
    Last Post: 12-26-2006, 05:43 AM
  4. GuildWars Nightfall Preview Event
    By Chronologix in forum General
    Replies: 22
    Last Post: 09-23-2006, 03:55 PM
  5. Replies: 10
    Last Post: 08-03-2006, 11:08 AM