Fishing... menu

User Tag List

Thread: Fishing...

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fishing...

    Hello,

    Well im trying to make a Fish bot. I can detect blobbers but that detects all blobbers which is bad. So i though $OBJECT_FIELD_CREATED_BY would do the trick.

    But It fails. Proberly my code, heres what im using:

    Code:
    Const $aClientConnection = 0x12705B0
    Const $ObjManagerOffset =  0x2d94  
    Const $ObjManagerFirstObject = 0xAC
    Const $ObjManagerPlayerGUID = 0xC0
    Const $ObjDescriptorOffset = 0x8
    Const $ObjectTypeOffset = 0x14
    Const $ObjectGUIDOffset = 0x30
    Const $ObjectNextOffset = 0x3C
    Const $GAMEOBJECT_NAMEOFFSET_1 = 0x1A4 
    Const $GAMEOBJECT_NAMEOFFSET_2 = 0x90 
    Const $aMouseOverGUID = 0x113D798 
    Const $aPlayerGUID =  0x4763A0
    Const $OBJECT_FIELD_CREATED_BY = 0x6
    
    While 1
    	$nMsg = GUIGetMsg()
    	Switch $nMsg
    		Case $GUI_EVENT_CLOSE
    			_Log("Bot exited")
    			Exit
    	EndSwitch
    	$ObjectManager = _BMReadUInt($handle, (_BMReadUInt($handle, $aClientConnection) + $ObjManagerOffset))
    	$FirstObject = _BMReadUInt($handle, ($ObjectManager + $ObjManagerFirstObject))
    	$curobject = _BMReadUInt($handle, ($curobject + $ObjectNextOffset))
    	$name = _BMReadASCIIString($handle, _BMReadUint($handle, (_BMReadUInt($handle, ($curobject + $GAMEOBJECT_NAMEOFFSET_1)) + $GAMEOBJECT_NAMEOFFSET_2)), 30)
    	$curGUID = _BMReadMemory($handle, ($curobject + 0x30), 'uint64')
    	$created_by = _WoWGetKnownField($handle, $curGUID, $OBJECT_FIELD_CREATED_BY)
    	
    	If _WoWObjectIsFishingBobber($Handle, $curGUID) = "False" Then
    
    	Else
    			_log("Possible Fishing Blober found")
    		If $created_by = _WoWGetLocalGUID($Handle) Then
    			_log("Fishing Blober found - Waiting for bite")
    		Do
    			$blobbing = _BMReadShort($Handle, $curGUID + 0xBC)
    		Until $blobbing = 1
    	_Memorywrite($aMouseOverGUID, $handle, $curGUID, "byte[8]")
    	_BMWriteInt($handle, $aMouseOverGUID + 0x1C, "7") ;fish
    		EndIf
    	EndIf
    WEnd
    
    Func _WoWObjectIsFishingBobber($Handle, $ObjectBase)
    	Return (_WoWGetKnownField($Handle, $ObjectBase, $GAMEOBJECT_DISPLAYID) = $FishingBobberDisplayId)
    EndFunc   ;==>_WoWObjectIsFishingBobber
    
    Func _WoWGetLocalGUID($Handle)
    	Return _BMReadInt($Handle, $aPlayerGUID)
    EndFunc   ;==>_WoWGetLocalGUID
    I have a feeling $OBJECT_FIELD_CREATED_BY is incorrect, however im not sure. Am I doing this the right way?
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

    Fishing...
  2. #2
    Trollin's Avatar Contributor
    Reputation
    204
    Join Date
    Nov 2008
    Posts
    1,093
    Thanks G/R
    0/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When you say ALL bobbers, do you mean everyone's around you? If so, fish in a secluded area... ?
    ____________________________________________

    ____________________________________________

  3. #3
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Trollin View Post
    When you say ALL bobbers, do you mean everyone's around you? If so, fish in a secluded area... ?
    Yes everyones blobbers. Not why would I do that when I wanna learn how to find who created an object?
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  4. #4
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What about GameObject::IsUsable? Have you tried that?

    I seem to remember having the same problem ages ago, if you still can't figure it out I'll try and go track down my code to see how I fixed it. Though I'm not even sure if I have it anymore...

  5. #5
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    What about GameObject::IsUsable? Have you tried that?

    I seem to remember having the same problem ages ago, if you still can't figure it out I'll try and go track down my code to see how I fixed it. Though I'm not even sure if I have it anymore...
    Thanks. Ill have a look into that... However how would I find GameObject::IsUsable? (Its late 03:13 here - My minds gona blank)
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  6. #6
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please stop saying blobbers... And did you try the OWNER descriptor?

  7. #7
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea check OWNER or created by + compare to self GUID

    also check the animation state (16-bit), it's like 0xB6 from object unit fields (normal status is 132)
    https://tanaris4.com

  8. #8
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    var bobber =
    (from b in ObjectManager.ObjectList.Values
    where
    b.CreatedBy == ObjectManager.Me.Guid &&
    b.DisplayId == 668
    select b).FirstOrDefault();

  9. #9
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    yea check OWNER or created by + compare to self GUID

    also check the animation state (16-bit), it's like 0xB6 from object unit fields (normal status is 132)
    Urm... I though _BMReadShort($Handle, $curGUID + 0xBC) was to read the animation... 1 is bitten
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  10. #10
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    Please stop saying blobbers... And did you try the OWNER descriptor?
    Not yet... I don't what what the Owner descriptor is...

    Originally Posted by Nesox View Post
    var bobber =
    (from b in ObjectManager.ObjectList.Values
    where
    b.CreatedBy == ObjectManager.Me.Guid &&
    b.DisplayId == 668
    select b).FirstOrDefault();
    I don't understand that I'm still very new at this...

    Edit:

    Also It finds the blobber when I'm not even fishing...
    Last edited by -Ryuk-; 11-23-2009 at 11:17 AM.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  11. #11
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by XAutomation View Post
    Urm... I though _BMReadShort($Handle, $curGUID + 0xBC) was to read the animation... 1 is bitten
    yea thats correct, I just added more info he didn't have already (most people don't check the status flag, but it's nice as you know when the bobber is "ready" vs. one that has JUST disappeared (and has the same owner))
    https://tanaris4.com

  12. #12
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The offset is correct, but you have to multiply the descriptor by 4. The correct offset would be 0x6 * 4.

    Hope that helps.

  13. #13
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $created_by = _WoWGetKnownField($handle, $curGUID, $OBJECT_FIELD_CREATED_BY)
    _BMReadShort($Handle, $curGUID + 0xBC)
    $blobbing = _BMReadShort($Handle, $curGUID + 0xBC)
    Comeon people, it's really really obvious...
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  14. #14
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know im going 100% in the wrong direction here... It even finds the bobber if theres none around.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  15. #15
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sigh..

    Fishing Bot

    Enjoy your AutoIt-ness, I seriously suggest switching to C# or C++

Page 1 of 2 12 LastLast

Similar Threads

  1. STV Fishing Extravaganza
    By Matt in forum World of Warcraft Guides
    Replies: 1
    Last Post: 11-02-2006, 06:55 PM
  2. Fishing Bot! (Auto-It)
    By janzi9 in forum World of Warcraft Bots and Programs
    Replies: 6
    Last Post: 05-18-2006, 10:23 PM
  3. Guide: Gold (Deviate Fish Farming)
    By janzi9 in forum World of Warcraft Guides
    Replies: 7
    Last Post: 04-19-2006, 04:56 PM
  4. Fishing for essence of water
    By Matt in forum World of Warcraft Guides
    Replies: 0
    Last Post: 04-01-2006, 09:57 AM
  5. Hot fishing spots & fishing tips
    By Matt in forum World of Warcraft Guides
    Replies: 1
    Last Post: 03-15-2006, 02:40 AM
All times are GMT -5. The time now is 06:38 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