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

Shout-Out

User Tag List

Page 13 of 21 FirstFirst ... 91011121314151617 ... LastLast
Results 181 to 195 of 302
  1. #181
    shoanimal's Avatar Private
    Reputation
    3
    Join Date
    Jul 2012
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Evozer View Post
    There is an attribute for item level requirement (0x12A), but it's not masked with 0xFFFFF000 instead it is 0x0003B000. I haven't figured out a good way to get the item level besides using the actor name which is a pain.
    Here is what i worked out that will get either backpack items or stash items and save the info in an array.

    Code:
    ;;--------------------------------------------------------------------------------
    ;;	Getting Backpack Item Info
    ;;--------------------------------------------------------------------------------
    Func IterateBackpack($bag = 0,$rlvl = 0)
    	;$bag = 0 for backpack and 15 for stash
    	;$rlvl = 1 for actual level requirement of item and 0 for base required level
    	$_Count = _MemoryRead($_LocalActor_Count, $d3, 'int')
    	$CurrentOffset = $_LocalActor_3
    	Global $__ACDACTOR[$_Count + 1][7]
    	For $i = 0 To $_Count
    		$__ACDACTOR[$i][0] = _MemoryRead($CurrentOffset, $d3, 'ptr')
    		$__ACDACTOR[$i][1] = _MemoryRead($CurrentOffset + 0x4, $d3, 'char[64]')
    		$__ACDACTOR[$i][2] = _MemoryRead($CurrentOffset + 0x114, $d3, 'int')
    		$__ACDACTOR[$i][3] = _MemoryRead($CurrentOffset + 0x118, $d3, 'int')
    		$__ACDACTOR[$i][4] = _MemoryRead($CurrentOffset + 0x11C, $d3, 'int')
    		$__ACDACTOR[$i][5] = 0
    		$__ACDACTOR[$i][6] = _MemoryRead($CurrentOffset + $ofs_LocalActor_atribGUID, $d3, 'ptr')
    		$CurrentOffset = $CurrentOffset + $ofs_LocalActor_StrucSize
    	Next
    	For $i = $_Count To 0 Step -1
    		If $__ACDACTOR[$i][2] <> $bag Then
    			_ArrayDelete($__ACDACTOR, $i)
    		Else
    			$__ACDACTOR[$i][5] = GetPackItemLevel($__ACDACTOR[$i][6], $Atrib_Requirement)
    			if $rlvl Then
    				$lvlReduce = GetPackItemLevel($__ACDACTOR[$i][6], $Atrib_Item_Level_Requirement_Reduction)
    				If $lvlReduce Then $__ACDACTOR[$i][5] = $__ACDACTOR[$i][5] - $lvlReduce
    			EndIf
    		EndIf
    	Next
    EndFunc   ;==>IterateBackpack
    
    ;get pack info
    Func GetPackItemLevel($ACD, $_REQ)
    	;IterateLocalActor()
    	;$ACDIndex = _ArraySearch($__ACTOR, "0x" & Hex($_guid), 0, 0, 0, 1, 1, 1) ;this bitch is slow as hell
    	If $ACD = -1 Then Return False
    	$_Count = _MemoryRead($_ActorAtrib_Count, $d3, 'int')
    	$CurrentOffset = $_ActorAtrib_4
    	Dim $ACTORatrib
    	For $i = 0 To $_Count
    		$ACTORatrib = _MemoryRead($CurrentOffset, $d3, 'ptr')
    		If $ACTORatrib = $ACD Then
    			$test = _MemoryRead($CurrentOffset + 0x10, $d3, 'ptr')
    			$CurretOffset = $test
    			For $i = 0 To 825
    				$data = _MemoryRead($CurretOffset, $d3, 'ptr')
    				$CurretOffset = $CurretOffset + 0x4
    				If $data <> 0x0 Then
    					$AtribData = _MemoryRead($data + 0x4, $d3, 'ptr')
    					If StringLeft($AtribData, 7) = "0x0003B" Then
    						;ConsoleWrite("Debug :" &$data+0x4 & " : " & _MemoryRead($data+0x4, $d3, 'int') &@crlf) ;FOR DEBUGGING
    						If "0x" & StringRight($AtribData, 3) = $_REQ[0] Then
    							Return _MemoryRead($data + 0x8, $d3, $_REQ[1])
    						EndIf
    					EndIf
    					If StringLeft($AtribData, 7) = "0xFFFFF" Then
    						;ConsoleWrite("Debug :" &$data+0x4 & " : " & _MemoryRead($data+0x4, $d3, 'int') &@crlf) ;FOR DEBUGGING
    						If "0x" & StringRight($AtribData, 3) = $_REQ[0] Then
    							Return _MemoryRead($data + 0x8, $d3, $_REQ[1])
    						EndIf
    					EndIf
    				EndIf
    			Next
    			Return False
    		EndIf
    		$CurrentOffset = $CurrentOffset + $ofs_ActorAtrib_StrucSize
    	Next
    	Return False
    EndFunc   ;==>GetPackItemLevel

    [AutoIt] Diablo 3 Click To Move, Interaction, Actor Handling. (Version 2)
  2. #182
    ace1810's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks shoanimal.^^ your code is Good~. but i can't get $Atrib_Intelligence_Item, $Atrib_Vitality_Item. also sometimes $Atrib_Gold_Find is not find. if u know this problem? , plz tell me why

  3. #183
    David's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wanted to say thanks to UnknOwnd and everyone else who helped add bits and pieces for the patches. I'm really new to this stuff, but eager. So I'm really thankful you decided to share this with the community. ^_^

    I did want to ask something though. I'm currently trying to work out a way to read a way point (Minimized or on top of each other) so my character will interact with them. I saw the number 7465(I believe) to interact, but wanted to know if that works as well for a way point if that falls under a portal. I'm not exactly sure how I would go about setting something like that up, so any help from anyone would be greatly appreciated.
    Last edited by David; 07-25-2012 at 04:25 AM.

  4. #184
    Swarn's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello i got some problem to interact with chests
    PowerUseGUID($ChestGUID,0x7545)
    on 80% no problem but 20% the complete Charakter stuck in the game and i can't move. If i close the script i only can exit game with ESC + LeaveGame, i can not cast a town portal or a move.

    How do you loot chests? do i anything wrong?

  5. #185
    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 Swarn View Post
    Hello i got some problem to interact with chests

    on 80% no problem but 20% the complete Charakter stuck in the game and i can't move. If i close the script i only can exit game with ESC + LeaveGame, i can not cast a town portal or a move.

    How do you loot chests? do i anything wrong?
    Make sure you have a valid position before you try 'use' it.

  6. #186
    Evozer's Avatar Contributor
    Reputation
    150
    Join Date
    Jan 2011
    Posts
    214
    Thanks G/R
    1/15
    Trade Feedback
    9 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ace1810 View Post
    Thanks shoanimal.^^ your code is Good~. but i can't get $Atrib_Intelligence_Item, $Atrib_Vitality_Item. also sometimes $Atrib_Gold_Find is not find. if u know this problem? , plz tell me why
    Thats because the attribute group seems to be a hashtable, or atleast a list of lists.

    0x0 pointer to next element
    0x4 id
    0x8 value

    You have to read all the elements using the 0x0 pointer aswell.

  7. #187
    Swarn's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Thaelion View Post
    Make sure you have a valid position before you try 'use' it.
    seems it work's fine now thank you for this tip :=)

  8. #188
    ace1810's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks your reply Evozer. i find it~ Evozer do u know find item type("Head", "Torso", "Feet", "Hands","Shoulders","Bracers","Belt")?
    Last edited by ace1810; 07-25-2012 at 05:51 PM.

  9. #189
    shoanimal's Avatar Private
    Reputation
    3
    Join Date
    Jul 2012
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone know a good way to get the region my character is in, ie. "New Tristram" or "Dank Cellar"?

  10. #190
    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 UnknOwned View Post
    Look a bit more into the CTM structure and you will find what you need to change to make it work without having to use the mouse to begin with. The same goes for the 100% stuck bug.
    At the time i wrote this i was a bit too lazy to reverse it completely, but now i got almost all of it nailed down.
    Its actually quite simple.
    Anyone was able to figure out this from UnknOwned, I still new to this hard time figuring it out. Pretty annoying when mob does a charge and knockback and char gets stuck in place.

    Thanks.

  11. #191
    GnomBG's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I made bot who farm elites but when nightmarish monsters make my hero fear they completely ****ed up my position and the bot is thinking he is on older position and cast abilities on the wrong direction

    How to fix that problem?
    How to update the position of my hero?

  12. #192
    Valtharak's Avatar Master Sergeant
    Reputation
    51
    Join Date
    Feb 2011
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just add a check if your feared from the attribute and get your new position

  13. #193
    GnomBG's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Valtharak View Post
    just add a check if your feared from the attribute and get your new position
    What is the code for getting new position?

  14. #194
    GnomBG's Avatar Corporal
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by shoanimal View Post
    Here is what i worked out that will get either backpack items or stash items and save the info in an array.

    Code:
    ;;--------------------------------------------------------------------------------
    ;;	Getting Backpack Item Info
    ;;--------------------------------------------------------------------------------
    Func IterateBackpack($bag = 0,$rlvl = 0)
    	;$bag = 0 for backpack and 15 for stash
    	;$rlvl = 1 for actual level requirement of item and 0 for base required level
    	$_Count = _MemoryRead($_LocalActor_Count, $d3, 'int')
    	$CurrentOffset = $_LocalActor_3
    	Global $__ACDACTOR[$_Count + 1][7]
    	For $i = 0 To $_Count
    		$__ACDACTOR[$i][0] = _MemoryRead($CurrentOffset, $d3, 'ptr')
    		$__ACDACTOR[$i][1] = _MemoryRead($CurrentOffset + 0x4, $d3, 'char[64]')
    		$__ACDACTOR[$i][2] = _MemoryRead($CurrentOffset + 0x114, $d3, 'int')
    		$__ACDACTOR[$i][3] = _MemoryRead($CurrentOffset + 0x118, $d3, 'int')
    		$__ACDACTOR[$i][4] = _MemoryRead($CurrentOffset + 0x11C, $d3, 'int')
    		$__ACDACTOR[$i][5] = 0
    		$__ACDACTOR[$i][6] = _MemoryRead($CurrentOffset + $ofs_LocalActor_atribGUID, $d3, 'ptr')
    		$CurrentOffset = $CurrentOffset + $ofs_LocalActor_StrucSize
    	Next
    	For $i = $_Count To 0 Step -1
    		If $__ACDACTOR[$i][2] <> $bag Then
    			_ArrayDelete($__ACDACTOR, $i)
    		Else
    			$__ACDACTOR[$i][5] = GetPackItemLevel($__ACDACTOR[$i][6], $Atrib_Requirement)
    			if $rlvl Then
    				$lvlReduce = GetPackItemLevel($__ACDACTOR[$i][6], $Atrib_Item_Level_Requirement_Reduction)
    				If $lvlReduce Then $__ACDACTOR[$i][5] = $__ACDACTOR[$i][5] - $lvlReduce
    			EndIf
    		EndIf
    	Next
    EndFunc   ;==>IterateBackpack
    
    ;get pack info
    Func GetPackItemLevel($ACD, $_REQ)
    	;IterateLocalActor()
    	;$ACDIndex = _ArraySearch($__ACTOR, "0x" & Hex($_guid), 0, 0, 0, 1, 1, 1) ;this bitch is slow as hell
    	If $ACD = -1 Then Return False
    	$_Count = _MemoryRead($_ActorAtrib_Count, $d3, 'int')
    	$CurrentOffset = $_ActorAtrib_4
    	Dim $ACTORatrib
    	For $i = 0 To $_Count
    		$ACTORatrib = _MemoryRead($CurrentOffset, $d3, 'ptr')
    		If $ACTORatrib = $ACD Then
    			$test = _MemoryRead($CurrentOffset + 0x10, $d3, 'ptr')
    			$CurretOffset = $test
    			For $i = 0 To 825
    				$data = _MemoryRead($CurretOffset, $d3, 'ptr')
    				$CurretOffset = $CurretOffset + 0x4
    				If $data <> 0x0 Then
    					$AtribData = _MemoryRead($data + 0x4, $d3, 'ptr')
    					If StringLeft($AtribData, 7) = "0x0003B" Then
    						;ConsoleWrite("Debug :" &$data+0x4 & " : " & _MemoryRead($data+0x4, $d3, 'int') &@crlf) ;FOR DEBUGGING
    						If "0x" & StringRight($AtribData, 3) = $_REQ[0] Then
    							Return _MemoryRead($data + 0x8, $d3, $_REQ[1])
    						EndIf
    					EndIf
    					If StringLeft($AtribData, 7) = "0xFFFFF" Then
    						;ConsoleWrite("Debug :" &$data+0x4 & " : " & _MemoryRead($data+0x4, $d3, 'int') &@crlf) ;FOR DEBUGGING
    						If "0x" & StringRight($AtribData, 3) = $_REQ[0] Then
    							Return _MemoryRead($data + 0x8, $d3, $_REQ[1])
    						EndIf
    					EndIf
    				EndIf
    			Next
    			Return False
    		EndIf
    		$CurrentOffset = $CurrentOffset + $ofs_ActorAtrib_StrucSize
    	Next
    	Return False
    EndFunc   ;==>GetPackItemLevel

    Can i take the weapon DPS with this?
    i want to check blue items for 1000+ dps before sell/salvage

  15. #195
    Anihilis's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    really guys thanks alot for your hard work

Page 13 of 21 FirstFirst ... 91011121314151617 ... 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 04:57 PM. 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