[autoit]NomadMemory,how to deal with 128guid? menu

User Tag List

Results 1 to 10 of 10
  1. #1
    chlycooper's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    20
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [autoit]NomadMemory,how to deal with 128guid?

    #include <NomadMemory.au3>

    Global Const $Focus = 0xD91748
    Global Const $Target = 0xD91708
    ..................
    ..................
    $focusguid=_MemoryRead($WowBase + $Focus, $hWow,"UINT64")
    _MemoryWrite($WowBase + $Target, $hWow,$focusguid, "UINT64")



    doesn't work when guids are 128bit. how to fix it?

    change "UINT64" to "UINT128" doesn't help
    Last edited by chlycooper; 10-18-2014 at 04:26 PM.

    [autoit]NomadMemory,how to deal with 128guid?
  2. #2
    Wildbreath's Avatar Contributor
    Reputation
    162
    Join Date
    Feb 2012
    Posts
    121
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    easy -_-
    64 + 64 = 128
    read/write 2 parts

  3. #3
    Torpedoes's Avatar ★ Elder ★ Doomsayer
    Authenticator enabled
    Reputation
    1147
    Join Date
    Sep 2013
    Posts
    956
    Thanks G/R
    148/415
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Wildbreath View Post
    easy -_-
    64 + 64 = 128
    read/write 2 parts
    I'm no expert but maybe you can read 16 bytes using some sort of char[16] type structure?

  4. #4
    chlycooper's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    20
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Wildbreath View Post
    easy -_-
    64 + 64 = 128
    read/write 2 parts
    thanks , it works
    $Focus=$Focus+8
    $id = _MemoryRead($WowBase +$Focus , $hWow, "UINT64")
    _MemoryWrite($WowBase + $Target, $hWow, $id , "UINT64")
    $id = _MemoryRead($WowBase +$Focus2 , $hWow, "UINT64")
    _MemoryWrite($WowBase + $Target2, $hWow, $id , "UINT64")

  5. #5
    natt_'s Avatar Contributor
    Reputation
    145
    Join Date
    Dec 2007
    Posts
    391
    Thanks G/R
    13/0
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ooor write it as bytes like Torpedoes said ))

    _MemoryWrite($aWoWModuleBaseAdress + $PTR_TargetGUID, $aWoWMemoryHWND, $Guid, "byte[16]")

    https://www.autoitscript.com/autoit3...ructCreate.htm

  6. #6
    evil2's Avatar Active Member
    Reputation
    27
    Join Date
    Feb 2009
    Posts
    171
    Thanks G/R
    31/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone wants to share his super fast c# function for: ?

    2 ulong struct -> 16 bytes
    16 bytes -> 2 ulong struct


    doing 2 ulong memory read/writes is so awfull :-(
    Last edited by evil2; 10-19-2014 at 12:45 AM.

  7. #7
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1624
    Join Date
    May 2010
    Posts
    1,841
    Thanks G/R
    193/536
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Look over king48488's post ([19034 x64] Guids and ClntObjMgrObjectPtr question)

    Read it is as a class, or as a struct. I would hope autoit supports structs....

    SmartGuid GUID = memory.read<SmartGuid>(some-address);

  8. #8
    Wildbreath's Avatar Contributor
    Reputation
    162
    Join Date
    Feb 2012
    Posts
    121
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems autoit isnt supported structs/classes
    you can read/write it as 128 bytes array one time

  9. #9
    chlycooper's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    20
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by natt_ View Post
    ooor write it as bytes like Torpedoes said ))

    _MemoryWrite($aWoWModuleBaseAdress + $PTR_TargetGUID, $aWoWMemoryHWND, $Guid, "byte[16]")

    https://www.autoitscript.com/autoit3...ructCreate.htm
    Thank you . it helps a lot.

  10. #10
    natt_'s Avatar Contributor
    Reputation
    145
    Join Date
    Dec 2007
    Posts
    391
    Thanks G/R
    13/0
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Wildbreath View Post
    seems autoit isnt supported structs/classes
    you can read/write it as 128 bytes array one time
    What do you mean it can only read \ write one time? I can do it as many times as i want without any problems it? im confused


    Originally Posted by DarkLinux View Post
    Look over king48488's post ([19034 x64] Guids and ClntObjMgrObjectPtr question)

    Read it is as a class, or as a struct. I would hope autoit supports structs....

    SmartGuid GUID = memory.read<SmartGuid>(some-address);
    same goes here, it does support structs? im confused!

Similar Threads

  1. How to deal with light font coloring?
    By squiggy in forum Community Chat
    Replies: 4
    Last Post: 07-25-2022, 10:21 PM
  2. Truth about WEH and how to deal with it
    By Klaa in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-12-2010, 12:40 AM
  3. How I deal with gold spammers NSFW
    By marlboroman1982 in forum World of Warcraft General
    Replies: 7
    Last Post: 12-20-2009, 12:44 AM
All times are GMT -5. The time now is 02:30 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search