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

User Tag List

Page 11 of 21 FirstFirst ... 789101112131415 ... LastLast
Results 151 to 165 of 302
  1. #151
    azgul's Avatar Member
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    107
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by thevadar View Post
    I just double checked everything.

    The script doesn't seem to work as is for items. It will pick up gold fine (it crashes with an error sometimes but it works most of the time).
    I tested this with unidentified and identified rares, as well as fresh rares that just dropped from a mob.

    Does anyone have a working example for detecting rares on the ground?
    Code:
    Func Loot()
    	while 1
    		$OBject = IterateObjectList(0)
    		$foundobject = 0       
    		_ArraySort($OBject, 0 , 0 , 0 ,8)
    		for  $i = 0 to UBound ( $OBject ,1 )-1
    			if $OBject[$i][6] = 2 and $OBject[$i][7] = -1 and $OBject[$i][1] <> 0xFFFFFFFF or StringInStr($OBject[$i][2],"GoldCoins") Then ;checking for loot and goldcoins
    				if IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 6 or StringInStr($OBject[$i][2],"Gold") or StringInStr($OBject[$i][2],"Topaz_08") or StringInStr($OBject[$i][2],"Amethyst_08") or StringInStr($OBject[$i][2],"Emerald_08") or StringInStr($OBject[$i][2],"Ruby_08") or StringInStr($OBject[$i][2],"Lore_Book_Flippy") Then ;lets check if they are rare or better, and ignore if its goldcoins.
    					logger("looting: " & $OBject[$i][1])
    					if isDead() then ExitLoop
    					PowerUseGUID($OBject[$i][1],0x7545)
    					$foundobject = 1
    					ExitLoop
    				EndIf
    			EndIf
    		Next
    		if $foundobject = 0 then ExitLoop
    	wend
    EndFunc
    This works fine for me. Did a java implementation and this works as well. I'm pretty sure that I didn't modify the code besides adding those functions and looting the gems and tomes. Disregard the additional functions I have added..
    Last edited by azgul; 07-16-2012 at 04:47 AM.

    [AutoIt] Diablo 3 Click To Move, Interaction, Actor Handling. (Version 2)
  2. #152
    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)
    Last I checked as follows :-
    ;; Set IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 6 TO LOOT RARES AND HIGHER
    ;; Set IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 3 TO LOOT MAGIC AND HIGHER
    ;; Set IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 1 TO LOOT WHITE AND HIGHER

  3. #153
    thevadar's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by azgul View Post
    This works fine for me. Did a java implementation and this works as well. I'm pretty sure that I didn't modify the code besides adding those functions and looting the gems and tomes. Disregard the additional functions I have added..
    Yea, just tested your code, didn't sense the rares again both dropped by me and dropped by mobs (It picked up gems and gold fine). I believe my function

    IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 6

    just does not return anything but False.

    Did you need to change anything in the constants for $Atrib_Item_Quality_Level ??

    Mine is set as
    global $Atrib_Item_Quality_Level[2] = [0x127,"int"]

  4. #154
    azgul's Avatar Member
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    107
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by thevadar View Post
    Yea, just tested your code, didn't sense the rares again both dropped by me and dropped by mobs (It picked up gems and gold fine). I believe my function

    IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 6

    just does not return anything but False.

    Did you need to change anything in the constants for $Atrib_Item_Quality_Level ??

    Mine is set as
    global $Atrib_Item_Quality_Level[2] = [0x127,"int"]
    Nope. 0x127 is correct and the type is integer.

    Sent from my GT-I9300 using Tapatalk 2

  5. #155
    thevadar's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sigh, thanks for your help anyway. Almost time to give up I guess.

    Could you do me one last favour and link your IterateActorAtribs() function?

    It being different from mine is the only thing I can think of that could be the problem.

    Thanks alot

  6. #156
    azgul's Avatar Member
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    107
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [AutoIt] func IterateActorAtribs($_GUID,$_REQ) IterateLocalActor() $ACDIndex = _Array - Pastebin.com

    Have you updated your $ofs_ActorAtrib_Base? Only thing I can think of now.

  7. #157
    siklon's Avatar Member
    Reputation
    4
    Join Date
    Jun 2012
    Posts
    57
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Thaelion View Post
    Its a bit more complicated than, reading the health.
    You need to add the following mask to the attibute when you check it,
    Code:
    None = 0x0000
    ArcanePower = 0x1000
    Rage = 0x2000
    Spirit = 0x3000
    Mana = 0x4000
    Hatred = 0x5000
    Discipline = 0x6000
    I'm able to find my DH's discipline this way, by using mask: 0x6000|0x78
    But for some reason 0x5000|0x78 returns 0?

  8. #158
    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)
    Anyone knows how to setup to run 2 clients on same computer? Thanks.

  9. #159
    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 Kizzarse View Post
    Anyone knows how to setup to run 2 clients on same computer? Thanks.

    Diablo III.exe -launcher

  10. #160
    sunblood's Avatar Member
    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 rootguy View Post
    Diablo III.exe -launcher
    I thought it was just "-launch"
    Also, if you have two program running called "Diablo III.exe", the script will not know which one to attach to. If renaming the executable causes problems with D3 then we'll have to find a more intricate solution, but otherwise you can just call one "Diablo III-2.exe" and have a separate script to look specifically for that executable.

  11. #161
    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)
    Both seem to work.

  12. #162
    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)
    Sorry I meant using the script on 2 separate clients on same PC. I could get it done on 1 client to follow another client, but cant get both clients to run separate scripts individually. Eg. I get pid of first diablo 3 client than run the script, than with 2nd client I could get the first client to follow me manually. Now I run 2 scripts independently, but only 1 client will run, other client doesnt work.

    Running 2 clients all u need is 2 separate Diablo 3 directory, and run DiabloIII.exe executable not the launcher.

  13. #163
    sunblood's Avatar Member
    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 Kizzarse View Post
    Sorry I meant using the script on 2 separate clients on same PC. I could get it done on 1 client to follow another client, but cant get both clients to run separate scripts individually. Eg. I get pid of first diablo 3 client than run the script, than with 2nd client I could get the first client to follow me manually. Now I run 2 scripts independently, but only 1 client will run, other client doesnt work.

    Running 2 clients all u need is 2 separate Diablo 3 directory, and run DiabloIII.exe executable not the launcher.
    That's because the script is looking for "Diablo III.exe." You have two of them running, but both scripts will only find the first one on the list. You need to rename the second executable to something else and change the second script to look for the new executable.

  14. #164
    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)
    Nope, I dont let the script find the DiabloIII.exe, I find the PID myself eg.

    ;;Global $ProcessID = WinGetProcess("Diablo III", "")
    Global $ProcessID = 2876 <== So this the PID of the first client

    I do this for both scripts so they contain individual PID's. Problem is one of them wont work.

    I also change the DiabloIII.exe as follows, first client to DiabloIII2.exe, and 2nd client DiabloIII3.exe than run first client fire up the script, than 2nd client and fire up the script.

  15. #165
    sunblood's Avatar Member
    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 Kizzarse View Post
    Nope, I dont let the script find the DiabloIII.exe, I find the PID myself eg.

    ;;Global $ProcessID = WinGetProcess("Diablo III", "")
    Global $ProcessID = 2876 <== So this the PID of the first client

    I do this for both scripts so they contain individual PID's. Problem is one of them wont work.

    I also change the DiabloIII.exe as follows, first client to DiabloIII2.exe, and 2nd client DiabloIII3.exe than run first client fire up the script, than 2nd client and fire up the script.
    Hm. There must be something more complex at work then.

Page 11 of 21 FirstFirst ... 789101112131415 ... 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 06:51 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