Some Classes and Functions from 2012.09.09 menu

User Tag List

Page 7 of 12 FirstFirst ... 34567891011 ... LastLast
Results 91 to 105 of 171
  1. #91
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JuJuBoSc View Post
    The ChCliCoreStats structure changed a bit :

    Code:
            // Guild Wars 2 Build 16089
            internal enum ChCliCoreStats : uint
            {
                Sex = 0x29,
                RealLevel = 0x84,
                EffectiveLevel = 0xAC,
                Power = 0x8C,
                Precision = 0x90,
                Thoughness = 0x94,
                Vitality = 0x98,
                TotalExperience = 0xB0,
                Class = 0x1EC,
            }
    Thanks

    I notice, however, that the CliContext CharacterArray (+ 0x14) seems to be zero for some reason, not sure if it's different now too. I tried locating it in mem but the results were confusing.

    Some Classes and Functions from 2012.09.09
  2. #92
    piotr55's Avatar Corporal
    Reputation
    14
    Join Date
    Sep 2012
    Posts
    34
    Thanks G/R
    2/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ankharlyn View Post
    @Piotr, that is a good question and I don't know the answer to it. In that regard I spent some time today investigating it. I updated z0m's DatContext project to use the new offset (set TlsIndex in that project = value of EAX after call to getTLS (CliContext minus 30h)) and it appears to be *sorta* correct, but it looks like some of the values are invalid, so I presume the structures have changed in some way...
    thx for that. would be nice if you publish your new DatContext. so i can find my own way into it and the new struct. maybe jujubosc is willing to share a bit of his knowledge.
    regards piotr

  3. #93
    z0m's Avatar Banned CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jan 2011
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #94
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by z0m View Post
    Thanks for that z0m.

    Regarding what I mentioned with CharacterArray being zero, that was my own problem (I'd commented it for some reason). Also, this seems to have fixed some issues with the character name offsets, though it still cuts off the last two letters of my character's name. Also, I noticed that places that try to access ChCliPlayer are not working (throws exceptions for some members/doesn't have quite the right offsets it seems).

    On another note, can I get you guys to confirm I'm updating TlsIndex and AsContext offsets correctly?

    For TlsIndex I'm setting a breakpoint after the call to getTLS in getCliContext and grabbing the value of eax (before the +30h happens). For AsContext I'm doing the same thing but in getAsContext on the retn line.

    I seem to get very different TlsIndex offsets than what I've seen here (0x06xxxxxx or 0x07xxxxxx instead of 0x16xxxxxx). That said, they seem to have sort of the right data anyhow.

    The help is very much appreciated guys.

    Oh I had another question, which is how to find the InGame offset and the Loading offset. I've tried just searching 0/1 when in character select/in game for the InGame offset but didn't turn anything up.

    Anyway, I'm going to be posting some of my work on a Trading Post automater (C#) soon, hopefully you guys will find it interesting

  5. #95
    z0m's Avatar Banned CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jan 2011
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for (int i = 0; i < 4*8; i += 2)

    Increment it to the right length.

  6. #96
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by z0m View Post
    for (int i = 0; i < 4*8; i += 2)

    Increment it to the right length.
    Makes sense!

    Regarding the problems with ChCliCharacter/Player (I forget which one, maybe both have members that are odd), I'll take a screenshot of debugger and illustrate what I'm talking about.

    Thanks!

  7. #97
    z0m's Avatar Banned CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jan 2011
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ankharlyn View Post
    For AsContext I'm doing the same thing but in getAsContext on the retn line.
    You can just open IDA and find it in seconds. Look for the function that was mentioned in the topic start, or search for text
    Code:
    "..\\..\\..\\Game\\Ui\\Scenes\\Gameplay\\GpMous"...
    or bytes:
    Code:
    .text:0045AFDF 0F 84 84 00 00 00                                               jz      loc_45B069
    .text:0045AFE5 E8 76 B5 69 00                                                  call    sub_AF6560
    .text:0045AFEA 8B 10                                                           mov     edx, [eax]
    .text:0045AFEC 8B C8                                                           mov     ecx, eax
    .text:0045AFEE 8B 42 04                                                        mov     eax, [edx+4]
    .text:0045AFF1 53                                                              push    ebx
    .text:0045AFF2 FF D0                                                           call    eax
    .text:0045AFF4 85 C0                                                           test    eax, eax
    .text:0045AFF6 74 7F                                                           jz      short loc_45B077
    .text:0045AFF8 E8 63 B5 69 00                                                  call    sub_AF6560
    .text:0045AFFD 8B 10                                                           mov     edx, [eax]
    .text:0045AFFF 8B C8                                                           mov     ecx, eax
    .text:0045B001 8B 42 58                                                        mov     eax, [edx+58h]
    .text:0045B004 53                                                              push    ebx
    .text:0045B005 FF D0                                                           call    eax
    .text:0045B007 C7 46 60 01 00 00 00                                            mov     dword ptr [esi+60h], 1
    .text:0045B00E 83 7F 18 02                                                     cmp     dword ptr [edi+18h], 2
    .text:0045B012 75 63                                                           jnz     short loc_45B077
    .text:0045B014 E8 F7 CB 6C 00                                                  call    sub_B27C10
    .text:0045B019 8B 10                                                           mov     edx, [eax]
    .text:0045B01B 8B C8                                                           mov     ecx, eax
    .text:0045B01D 8B 42 1C                                                        mov     eax, [edx+1Ch]
    .text:0045B020 FF D0                                                           call    eax
    .text:0045B022 8B F8                                                           mov     edi, eax
    .text:0045B024 85 FF                                                           test    edi, edi
    .text:0045B026 75 14                                                           jnz     short loc_45B03C
    .text:0045B028 68 51 02 00 00                                                  push    251h
    .text:0045B02D BA 20 6D 21 01                                                  mov     edx, offset a______GameUi_9 ; "..\\..\\..\\Game\\Ui\\Scenes\\Gameplay\\GpMous"...
    .text:0045B032 B9 04 1B 21 01                                                  mov     ecx, offset aPlayer ; "player"
    .text:0045B037 E8 C4 2C 21 00                                                  call    sub_66DD00
    sub_AF6560 ==> GetAsContext
    sub_B27C10 ==> GetCliContext

    sub_AF6560:
    Code:
    .text:00AF6560
    .text:00AF6560                                                 sub_AF6560      proc near               ; CODE XREF: sub_411440+41p
    .text:00AF6560                                                                                         ; .text:00412BE3p ...
    .text:00AF6560 B8 70 35 6B 01                                                  mov     eax, offset dword_16B3570
    .text:00AF6565 C3                                                              retn
    .text:00AF6565                                                 sub_AF6560      endp
    dword_16B3570 is what you want, aka GW2.exe + 0x12B3570 at this point.

  8. #98
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I have no problem finding them (been using that method after I realized what you were referring to in your earlier post about an easy way to find them all on the first post, as I hadn't noticed it was there at the time), I was just wondering if the TlsIndex is indeed in the eax register after the call to getTLS in the getCliContext sub.

    Good to know about AsContext though, I was doing that wrong. Thanks

  9. #99
    z0m's Avatar Banned CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jan 2011
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never tried it tbh. I usually dumped the addresses with a very small C++ program.

  10. #100
    z0m's Avatar Banned CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jan 2011
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Toyed around a bit to see what it's like to find it with your method.

    In the Memory Viewer you go to the address of getCliContext:
    Some Classes and Functions from 2012.09.09-4ruqj7hj7m2cwxn8ot5u8vvzl9gwma0up6k5a4df97hdw-png
    Put your breakpoint at the return point:
    Some Classes and Functions from 2012.09.09-24hpy12mxl9it2q9gpj45cvwx5opgl6hg8p72uwu7mgjo-png
    Get the current value of the EAX register:
    Some Classes and Functions from 2012.09.09-9pler0wost7o6he7kgeu6yngw1jpun3jeo33omcw9oudd-png
    Perform a scan for it's value:
    Some Classes and Functions from 2012.09.09-8z01h419zf6b4uz20mbp8cbfe7xe5w1rclm2vd5e1ehdn-png
    And the ChCliContext's address is shown as a static address:
    Some Classes and Functions from 2012.09.09-044fq5yynt0h9qv8tjob2nhda6rvbq6oblw2ixp26x1is-png

  11. #101
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by z0m View Post
    Toyed around a bit to see what it's like to find it with your method.

    In the Memory Viewer you go to the address of getCliContext:
    Some Classes and Functions from 2012.09.09-4ruqj7hj7m2cwxn8ot5u8vvzl9gwma0up6k5a4df97hdw-png
    Put your breakpoint at the return point:
    Some Classes and Functions from 2012.09.09-24hpy12mxl9it2q9gpj45cvwx5opgl6hg8p72uwu7mgjo-png
    Get the current value of the EAX register:
    Some Classes and Functions from 2012.09.09-9pler0wost7o6he7kgeu6yngw1jpun3jeo33omcw9oudd-png
    Perform a scan for it's value:
    Some Classes and Functions from 2012.09.09-8z01h419zf6b4uz20mbp8cbfe7xe5w1rclm2vd5e1ehdn-png
    And the ChCliContext's address is shown as a static address:
    Some Classes and Functions from 2012.09.09-044fq5yynt0h9qv8tjob2nhda6rvbq6oblw2ixp26x1is-png

    Ahhh, okay. That makes so much more sense to me now. Thanks a million, man!

  12. #102
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So testing it out now, it all appears to be correct


    Any tips on locating InGame and Loading addresses?

  13. #103
    buffygr's Avatar Private
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ankharlyn View Post
    So testing it out now, it all appears to be correct


    Any tips on locating InGame and Loading addresses?
    search the boolean in CE.

  14. #104
    Ankharlyn's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by buffygr View Post
    search the boolean in CE.
    I was hoping there was something better/faster. I tried doing it last night for InGame but going between the character screen and loading back in for each search takes forever.

  15. #105
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use IDA and diff 2 binary

Page 7 of 12 FirstFirst ... 34567891011 ... LastLast

Similar Threads

  1. [PvP] Ninja Capping Guide Some Class And Race Specific
    By Augury13 in forum World of Warcraft Guides
    Replies: 3
    Last Post: 04-26-2013, 09:27 PM
  2. [Gold] Old place to Farm some gold, and some items ( from junk to epic ).
    By markons in forum World of Warcraft Guides
    Replies: 49
    Last Post: 02-17-2013, 07:58 PM
  3. Class and Instance Guides
    By Robin1986 in forum World of Warcraft Guides
    Replies: 0
    Last Post: 04-11-2007, 02:18 PM
  4. Save your hearth while going back and forth from shatt to SW
    By shakey420 in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 04-07-2007, 03:42 PM
  5. Favourite Class and Race
    By Simy in forum World of Warcraft General
    Replies: 13
    Last Post: 07-12-2006, 08:55 PM
All times are GMT -5. The time now is 07:18 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search