Some Classes and Functions from 2012.09.09 menu

User Tag List

Page 3 of 12 FirstFirst 1234567 ... LastLast
Results 31 to 45 of 170
  1. #31
    dook123's Avatar Master Sergeant
    Reputation
    21
    Join Date
    Oct 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you to all three of you - @ValvePro, @SSlisa, @Zynes

    It's really good to see all the responses, great community.
    ------------------------------
    If not me than who?

    These ads disappear when you log in.

  2. #32
    Nesox's Avatar ★ Elder ★
    Reputation
    1279
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone found some sort of guid for objects yet?

  3. #33
    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)
    AgentId seem to be used as GUID, as it's passed to the server for some interaction with object. (Well, indeed it's not unique)

  4. #34
    Nesox's Avatar ★ Elder ★
    Reputation
    1279
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JuJuBoSc View Post
    AgentId seem to be used as GUID, as it's passed to the server for some interaction with object. (Well, indeed it's not unique)
    Hm ok, you'd think they would have some kind of guid kinda makes sense...

  5. #35
    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)
    Yeah I was almost sure too that they have some kind of GUID, then I started writing clientless stuff and noticed that AgentId was using too in packet so ...

  6. #36
    SSlisa's Avatar Corporal
    Reputation
    9
    Join Date
    Aug 2012
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok this kind of working is new to me so it took me a while to work it all out but I figured I would post what I did work out, basically a translation of stuff already posted.
    I work in .LUA and last time I tried to write it in the same format commonly used here I messed up a value, so I will just post it how I use it and let others rewrite it for their own usage.

    I started writing this trying to explain everything for people to understand but it was getting long winded, the main point I found is that there is an offset of 0xC that I couldn't find mentioned anywhere. It looks like this in LUA and no I'm not going to try and explain it all, most people should be able to work out what the code means.

    Code:
    function playerstats(_arg1)
    	lvl = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x7C})
    	adjlvl = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0xA0})
    	power = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x84})
    	precision = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x88})
    	toughness = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x8c})
    	vitality = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x90})
    	X = memoryReadRepeat("floatptr", proc, 0x169522C,{0x28,_arg1,0xC,0x44,0x1C,0x5C,0xB4})
    	Y = memoryReadRepeat("floatptr", proc, 0x169522C,{0x28,_arg1,0xC,0x44,0x1C,0x5C,0xB8})
    	Z = memoryReadRepeat("floatptr", proc, 0x169522C,{0x28,_arg1,0xC,0x44,0x1C,0x5C,0xBC})
    	return lvl, adjlvl, power, precision, toughness, vitality, X, Y, Z
    end
    function character()
    	local proc = getProc()
    	size = memoryReadRepeat("intptr", proc, 0x169522C, 0x30)
    	print("The size of the array is "..size)
    	for i = 1, size-1 do
    		if memoryReadRepeat("intptr", proc, 0x169522C,{0x28,i*4}) ~= 0 then
    			if memoryReadRepeat("intptr", proc, 0x169522C,{0x28,i*4,0xC}) ~= 0 then
    				lvl, adjlvl, power, precision, toughness, vitality, X, Y, Z = playerstats(i*4)
    			end
    		end
    	end
    end
    Player array is any player controlled characters in memory range, there are also some others in there aswell, I am guessing NPC but not 100% sure at this stage.

    So basically it is what is posted on first page but with the 0xC offset which I couldn't find mentioned anywhere.

    The character array is similar but without the 0xC offset and using the char array and char array size offsets which are stated first post.

    Hope this helps people.
    Last edited by SSlisa; 10-10-2012 at 07:25 PM.

  7. #37
    Shadowhunter12's Avatar Member
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey guys,

    I have a question. I am trying to read just the level from core stats and I understand I need to use multi level pointers to arrive at it. However, I am not sure if I am understanding correctly.

    Based on this value from CE.
    Level
    [[Gw2.exe + 0129522C + 38] 128] 7C]

    Am I doing this correctly in C#?
    (Proof of concept code)
    Code:
            public static int Level
            {
                get
                {
                    var cliContext = Memory.Read<IntPtr>(new IntPtr(0x129522C), true);
                    var cliCharacter = Memory.Read<IntPtr>(new IntPtr(0x129522C + 0x38), true);
                    var cliCoreStats = Memory.Read<IntPtr>(IntPtr.Add(cliCharacter, 0x128), true);
                    var level = Memory.Read<int>(IntPtr.Add(cliCoreStats, 0x7c), true);
    
                    return level;
                }
            }
    Last edited by Shadowhunter12; 10-10-2012 at 07:27 PM.

  8. #38
    SSlisa's Avatar Corporal
    Reputation
    9
    Join Date
    Aug 2012
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shadowhunter12 View Post
    Hey guys,

    I have a question. I am trying to read just the level from core stats and I understand I need to use multi level pointers to arrive at it. However, I am not sure if I am understanding correctly.

    Based on this value from CE.
    Level
    [[Gw2.exe + 0129522C + 38] 128] 7C]

    Am I doing this correctly in C#?
    (Proof of concept code)
    Code:
            public static int Level
            {
                get
                {
                    var cliContext = Memory.Read<IntPtr>(new IntPtr(0x129522C), true);
                    var cliCharacter = Memory.Read<IntPtr>(new IntPtr(0x129522C + 0x38), true);
                    var cliCoreStats = Memory.Read<IntPtr>(IntPtr.Add(cliCharacter, 0x128), true);
                    var level = Memory.Read<int>(IntPtr.Add(cliCoreStats, 0x7c), true);
    
                    return level;
                }
            }
    firstly C# isn't my thing but I do notice that you use the first offset of 38 and just add it to the 129522C but is should be a ptr, so do it the same way you do the clicharacter,0x128 and not + 0x38. You will probably find it will work after you do that.

    so basically like this
    Code:
            public static int Level
            {
                get
                {
                    var cliContext = Memory.Read<IntPtr>(new IntPtr(0x129522C), true);
                    var cliCharacter = Memory.Read<IntPtr>(IntPtr.Add(0x129522C, 0x38), true);
                    var cliCoreStats = Memory.Read<IntPtr>(IntPtr.Add(cliCharacter, 0x128), true);
                    var level = Memory.Read<int>(IntPtr.Add(cliCoreStats, 0x7c), true);
    
                    return level;
                }
            }
    Again C# isn't my thing lol
    Also this assumes that in your code the address is used with the game client start of 400000, so the actual address would be 0x169522C
    Last edited by SSlisa; 10-11-2012 at 01:49 AM.

  9. #39
    Midi12's Avatar Contributor
    Reputation
    90
    Join Date
    Sep 2012
    Posts
    182
    Thanks G/R
    6/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shadowhunter12 View Post
    Hey guys,

    I have a question. I am trying to read just the level from core stats and I understand I need to use multi level pointers to arrive at it. However, I am not sure if I am understanding correctly.

    Based on this value from CE.
    Level
    [[Gw2.exe + 0129522C + 38] 128] 7C]

    Am I doing this correctly in C#?
    (Proof of concept code)
    Code:
            public static int Level
            {
                get
                {
                    var cliContext = Memory.Read<IntPtr>(new IntPtr(0x129522C), true);
                    var cliCharacter = Memory.Read<IntPtr>(new IntPtr(0x129522C + 0x38), true);
                    var cliCoreStats = Memory.Read<IntPtr>(IntPtr.Add(cliCharacter, 0x128), true);
                    var level = Memory.Read<int>(IntPtr.Add(cliCoreStats, 0x7c), true);
    
                    return level;
                }
            }
    As SSlisa said, you must use the base address of Gw2.exe, it's 0x00400000, but you can also use Memory.MainModule.BaseAddress item.

    like this :

    Code:
    var cliContext = Memory.Read<IntPtr>(new IntPtr(Memory.MainModule.BaseAddress + 0x129522C), true);

  10. #40
    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 Shadowhunter12 View Post
    Hey guys,

    I have a question. I am trying to read just the level from core stats and I understand I need to use multi level pointers to arrive at it. However, I am not sure if I am understanding correctly.

    Based on this value from CE.
    Level
    [[Gw2.exe + 0129522C + 38] 128] 7C]

    Am I doing this correctly in C#?
    (Proof of concept code)
    Code:
            public static int Level
            {
                get
                {
                    var cliContext = Memory.Read<IntPtr>(new IntPtr(0x129522C), true);
                    var cliCharacter = Memory.Read<IntPtr>(new IntPtr(0x129522C + 0x38), true);
                    var cliCoreStats = Memory.Read<IntPtr>(IntPtr.Add(cliCharacter, 0x128), true);
                    var level = Memory.Read<int>(IntPtr.Add(cliCoreStats, 0x7c), true);
    
                    return level;
                }
            }
    Project could be out-dated as I've swapped to C++, but this is what I used for testing stuff. Be warned, it doesn't have everything, but it's what I found bits by bit while it was still used (and some enums that were copy/pasta'd from here).
    DatContext.zip

  11. #41
    Keeiops's Avatar Private
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    does someone has an idea if it is possible to rotate the character by writing the heading values? it seems i just can't get it to work.

    i know it is possible to set the camera rotation using
    Code:
    gw2.exe+0x11C4BB0 + 0x108 (left/right)
    but this only works if the char is standing still and the alignment of the camera is rather slow.

    also,
    Code:
    gw2.exe+0x11C4BB0 + 0x64 (left/right)
    does not work because the camera pans in the right direction, but once it is there it slowly pans back to where it started.

    same for up/down
    Code:
    gw2.exe+0x11C4BB0 + 0x40
    Last edited by Keeiops; 10-11-2012 at 03:54 PM.

  12. #42
    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 SSlisa View Post
    Ok this kind of working is new to me so it took me a while to work it all out but I figured I would post what I did work out, basically a translation of stuff already posted.
    I work in .LUA and last time I tried to write it in the same format commonly used here I messed up a value, so I will just post it how I use it and let others rewrite it for their own usage.

    I started writing this trying to explain everything for people to understand but it was getting long winded, the main point I found is that there is an offset of 0xC that I couldn't find mentioned anywhere. It looks like this in LUA and no I'm not going to try and explain it all, most people should be able to work out what the code means.

    Code:
    function playerstats(_arg1)
    	lvl = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x7C})
    	adjlvl = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0xA0})
    	power = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x84})
    	precision = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x88})
    	toughness = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x8c})
    	vitality = memoryReadRepeat("intptr", proc, 0x169522C,{0x28,_arg1,0xC,0x128,0x90})
    	X = memoryReadRepeat("floatptr", proc, 0x169522C,{0x28,_arg1,0xC,0x44,0x1C,0x5C,0xB4})
    	Y = memoryReadRepeat("floatptr", proc, 0x169522C,{0x28,_arg1,0xC,0x44,0x1C,0x5C,0xB8})
    	Z = memoryReadRepeat("floatptr", proc, 0x169522C,{0x28,_arg1,0xC,0x44,0x1C,0x5C,0xBC})
    	return lvl, adjlvl, power, precision, toughness, vitality, X, Y, Z
    end
    function character()
    	local proc = getProc()
    	size = memoryReadRepeat("intptr", proc, 0x169522C, 0x30)
    	print("The size of the array is "..size)
    	for i = 1, size-1 do
    		if memoryReadRepeat("intptr", proc, 0x169522C,{0x28,i*4}) ~= 0 then
    			if memoryReadRepeat("intptr", proc, 0x169522C,{0x28,i*4,0xC}) ~= 0 then
    				lvl, adjlvl, power, precision, toughness, vitality, X, Y, Z = playerstats(i*4)
    			end
    		end
    	end
    end
    Player array is any player controlled characters in memory range, there are also some others in there aswell, I am guessing NPC but not 100% sure at this stage.

    So basically it is what is posted on first page but with the 0xC offset which I couldn't find mentioned anywhere.

    The character array is similar but without the 0xC offset and using the char array and char array size offsets which are stated first post.

    Hope this helps people.
    Big THX for this little snippet but one question i got...
    is it possible to also retrieve characters names?

    thx & regards piotr

  13. #43
    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)
    player name is easy, but for npc / mob / whatever, you will have to got deeper in reversing.

  14. #44
    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 JuJuBoSc View Post
    player name is easy, but for npc / mob / whatever, you will have to got deeper in reversing.
    damn, but ok :/
    thx JuJuBoSc

    Originally Posted by z0m View Post
    Project could be out-dated as I've swapped to C++, but this is what I used for testing stuff. Be warned, it doesn't have everything, but it's what I found bits by bit while it was still used (and some enums that were copy/pasta'd from here).
    DatContext.zip
    found some functions in your zip like:
    Code:
            public float MouseOverX
            {
                get { return Memory.Reader.Read<float>(Address + Offsets.AsContextClass.MouseOverX); }
            }
    is it possible to get the position under mousecursor with this?
    hmm wasnt able to transfer it to ce:
    gw2.exe+0x129522C + 0xB8 this seems to be incorrect cause value is always "0"

    would be nice if someone could give me a hint.

    regards piotr
    Last edited by piotr55; 10-11-2012 at 06:10 PM.

  15. #45
    SSlisa's Avatar Corporal
    Reputation
    9
    Join Date
    Aug 2012
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Keeiops View Post
    does someone has an idea if it is possible to rotate the character by writing the heading values? it seems i just can't get it to work.
    player movements are just a matter of changing an int value for the static addresses. 0 is not moving, 1 is moving.
    addresses for current build 12th Oct.
    Code:
    	moveForward = 0x1696A20,
    	moveBackward = 0x1696A24,
    	turnLeft = 0x1696A30,
    	turnRight = 0x1696A34,
    Originally Posted by piotr55 View Post
    Big THX for this little snippet but one question i got...
    is it possible to also retrieve characters names?

    thx & regards piotr
    Yeah still working on that part, nothing solid yet.

Page 3 of 12 FirstFirst 1234567 ... 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 05:45 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search