[AutoIt] Diablo 3 Click To Move, Interaction, Actor Handling. (Version 2) menu

User Tag List

Page 7 of 21 FirstFirst ... 34567891011 ... LastLast
Results 91 to 105 of 302
  1. #91
    Kizzarse's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Thaelion : Got this error, apparently ActorAtrib_4 is not defined what is it?

    [AutoIt] Diablo 3 Click To Move, Interaction, Actor Handling. (Version 2)
  2. #92
    Thaelion's Avatar Member
    Reputation
    9
    Join Date
    Jan 2008
    Posts
    168
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kizzarse View Post
    @Thaelion : Got this error, apparently ActorAtrib_4 is not defined what is it?
    I forgot to add $ before the name, porting it from c# code,

  3. #93
    Kizzarse's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Thaelion View Post
    I updated the attribute search function in the script a little, this should be a bit quicker, at least it is on my pc.
    If you see any issues in this code, lets talk about it


    Code:
    Func IterateActorAtribs2($_GUID, $_REQ)
       $ret = GetAttribute(BitOR($_REQ[0], 0xFFFFF000))
       $val = _MemoryRead($ret, $d3, $_REQ[1])
       return $val
    EndFunc
    
    Func GetAttribute($offset)
       $CAttribFormula = _MemoryRead($ActorAtrib_4 + 0x10, $d3, 'ptr')
       $_418 = _MemoryRead($CAttribFormula + 0x418, $d3, 'ptr')
       $AttributesMap = _MemoryRead($CAttribFormula + 0x8, $d3, 'ptr')
       $IndexMask = BitAND($_418, ($offset ^ (BitShift($offset, 0x10))))
       $_res = ($AttributesMap + 4 * $IndexMask)
       $result = _MemoryRead($_res, $d3, 'ptr')
       If $result <> 0 Then
    	  While _MemoryRead($result, $d3, 'ptr') <> $offset
    		 $result = _MemoryRead($result, $d3, 'ptr')
    		 If $result = 0 Then
    			ExitLoop
    		 EndIf
    	  Wend
       EndIf
       return $result
    EndFunc
    I ran your new code, and tried to find $Atrib_Hitpoints_Cur but it return 0, with the original code it gives me the right value.

  4. #94
    Thaelion's Avatar Member
    Reputation
    9
    Join Date
    Jan 2008
    Posts
    168
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kizzarse View Post
    I ran your new code, and tried to find $Atrib_Hitpoints_Cur but it return 0, with the original code it gives me the right value.
    Strange thing is, that exact same code in c# returns the right value.
    Well, the c# version of it.
    meh AutoIT and signed Int32 vs UInt32 the BitShift operator is a bit well screwy, i will post a updated version of this in the day, there is a work around.
    Last edited by Thaelion; 07-11-2012 at 04:16 AM.

  5. #95
    SYY99's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, im getting errors when i run the script.

    NomadMemory.au3
    Line 231: Const $TOKEN_ADJUST_PRIFILEGES = 0x0020
    Error: Can not redeclare a constant.

    I tried to quote the lines in NomadMemory.au3 and i get these errors:

    Diablo III.au3 (the script from the first post)
    Line 609: global $StringListDB = IndexStringList($Object_File_StringList[$index][0])
    Error: Array variable subscript badly formatted.

    tried to add this line: If $ACDIndex = -1 Then Return False ;FIX in the function, still no changes

    any help please?

  6. #96
    Kizzarse's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rename it to Line 231: Const $TOKEN_ADJUST_PRIV from whatever it was earlier than rerun the UDF again.

    Remember to make change this everywhere in NomadMemory.au3 too.

  7. #97
    SYY99's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kizzarse View Post
    Rename it to Line 231: Const $TOKEN_ADJUST_PRIV from whatever it was earlier than rerun the UDF again.

    Remember to make change this everywhere in NomadMemory.au3 too.
    i renamed it to

    Code:
        Const $TOKEN_ADJUST_PRIVILEGES2 = 0x0020
        Const $TOKEN_QUERY2 = 0x0008
        Const $SE_PRIVILEGE_ENABLED2 = 0x0002
    and now i still get this error:
    ImageShack® - Online Photo and Video Hosting

  8. #98
    Kizzarse's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SYY99 View Post
    i renamed it to

    Code:
        Const $TOKEN_ADJUST_PRIVILEGES2 = 0x0020
        Const $TOKEN_QUERY2 = 0x0008
        Const $SE_PRIVILEGE_ENABLED2 = 0x0002
    and now i still get this error:
    ImageShack® - Online Photo and Video Hosting
    Global $Object_File_StringList = IndexSNO($ofs_StringListDef, 0) ;//THIS LIST IS HUGE, NO NEED TO DO IT MORE OFTEN THAN ONCE =)
    $index = _ArraySearch($Object_File_StringList, Hex($_MonsterNameStringListID), 0, 0, 0, 1, 1, 1)
    ;; ##### Add this line here START #####
    If ( $index > 0 ) Then
    Global $StringListDB = IndexStringList($Object_File_StringList[$index][0]) ;$StringListDB is debricated in this code
    Else
    ConsoleWrite("Offsetlist(): $_MonsterNameStringListID is empty!" & @CRLF)
    EndIf
    ;; ##### Add this line here END #####
    $index = _ArraySearch($Object_File_StringList, Hex($_GizmoNameStringListID), 0, 0, 0, 1, 1, 1)
    ;; ##### Add this line here START #####
    If ( $index > 0 ) Then
    IndexStringList($Object_File_StringList[$index][0])
    Else
    ConsoleWrite("Offsetlist(): $_GizmoNameStringListID is empty!" & @CRLF)
    EndIf
    ;; ##### Add this line here END #####

    U probably got this error cuz the UDF didnt run and those array were empty just add those lines in and see if it fixes the problem.

  9. #99
    SYY99's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kizzarse View Post
    Global $Object_File_StringList = IndexSNO($ofs_StringListDef, 0) ;//THIS LIST IS HUGE, NO NEED TO DO IT MORE OFTEN THAN ONCE =)
    $index = _ArraySearch($Object_File_StringList, Hex($_MonsterNameStringListID), 0, 0, 0, 1, 1, 1)
    ;; ##### Add this line here START #####
    If ( $index > 0 ) Then
    Global $StringListDB = IndexStringList($Object_File_StringList[$index][0]) ;$StringListDB is debricated in this code
    Else
    ConsoleWrite("Offsetlist(): $_MonsterNameStringListID is empty!" & @CRLF)
    EndIf
    ;; ##### Add this line here END #####
    $index = _ArraySearch($Object_File_StringList, Hex($_GizmoNameStringListID), 0, 0, 0, 1, 1, 1)
    ;; ##### Add this line here START #####
    If ( $index > 0 ) Then
    IndexStringList($Object_File_StringList[$index][0])
    Else
    ConsoleWrite("Offsetlist(): $_GizmoNameStringListID is empty!" & @CRLF)
    EndIf
    ;; ##### Add this line here END #####

    U probably got this error cuz the UDF didnt run and those array were empty just add those lines in and see if it fixes the problem.
    did this and now i get this error >.<

    Diablo III.au3
    Line 384
    dim $__outputdata[ubound($OBject_Mem_Actor, 1)-1][2]
    dim $__outputdata[^ ERROR

    Error: Array variable subscript badly formatted.

    :/

  10. #100
    rootguy's Avatar Member
    Reputation
    3
    Join Date
    Aug 2008
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks UnknOwned for this valuable information!

  11. #101
    RagnaBaby's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there an available flag to check if char's durability flag is yellow or red?

  12. #102
    Kizzarse's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @SYY99 - Did u change these values?

    Global $ofs_MonsterDef = 0x15DBE00 ;0x015DCE00 ;0x15DBE00
    Global $ofs_StringListDef = 0x015E8808 ;0x015E9808
    Global $ofs_ActorDef = 0x15EC108 ;0x015ED108 ;0x15EC108
    Global $ofs_ActorAtrib_Base = 0x15A1EA4 ;0x015A2EA4;0x015A1EA4
    Global $ofs_ObjectManager = 0x15A0BEC ;0x015A1BEC;0x15A0BEC
    Global $ofs_InteractBase = 0x15A0BD4 ;0x015A1BD4;0x15A0BD4

    The patch yesterday will break the old UDF, u need to update those offsets.

  13. #103
    SYY99's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kizzarse View Post
    @SYY99 - Did u change these values?

    Global $ofs_MonsterDef = 0x15DBE00 ;0x015DCE00 ;0x15DBE00
    Global $ofs_StringListDef = 0x015E8808 ;0x015E9808
    Global $ofs_ActorDef = 0x15EC108 ;0x015ED108 ;0x15EC108
    Global $ofs_ActorAtrib_Base = 0x15A1EA4 ;0x015A2EA4;0x015A1EA4
    Global $ofs_ObjectManager = 0x15A0BEC ;0x015A1BEC;0x15A0BEC
    Global $ofs_InteractBase = 0x15A0BD4 ;0x015A1BD4;0x15A0BD4

    The patch yesterday will break the old UDF, u need to update those offsets.
    ouh damn, didn't saw that post >.< thanks, it works now

  14. #104
    rootguy's Avatar Member
    Reputation
    3
    Join Date
    Aug 2008
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RagnaBaby View Post
    Is there an available flag to check if char's durability flag is yellow or red?
    There is a ui element that is shown so you could simply check its visibility.

  15. #105
    RagnaBaby's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by rootguy View Post
    There is a ui element that is shown so you could simply check its visibility.
    I'm not really good at knowhow on UI element checking.

    Or did you mean by pixel checking? Cause if it's that, it's not what I'm looking.

Page 7 of 21 FirstFirst ... 34567891011 ... LastLast

Similar Threads

  1. Interact problems with Click to move
    By natt_ in forum WoW Memory Editing
    Replies: 3
    Last Post: 09-28-2014, 02:12 PM
  2. [AutoIt] Diablo 3 Click To Move, Interaction, Actor Indexing.
    By UnknOwned in forum Diablo 3 Memory Editing
    Replies: 84
    Last Post: 06-30-2012, 11:59 AM
  3. [Diablo 3] Click to move?
    By diablothree in forum Diablo 3 Memory Editing
    Replies: 3
    Last Post: 01-14-2012, 04:29 AM
  4. Click to move?
    By ashleyww in forum WoW Memory Editing
    Replies: 32
    Last Post: 07-18-2009, 08:48 PM
  5. Click to Move Problem
    By Rival-Fr in forum WoW Memory Editing
    Replies: 5
    Last Post: 07-03-2009, 09:27 AM
All times are GMT -5. The time now is 01:22 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.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search