Looking for nodes menu

User Tag List

Results 1 to 12 of 12
  1. #1
    ashleyww's Avatar Banned
    Reputation
    6
    Join Date
    Apr 2009
    Posts
    131
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for nodes

    Hello

    I'm on the final steps on my bot. (Which i will be releasing)

    I'm stuck though.

    For Example, My bot has walked from Spot A to spot B. Spot B has been marked as a possible node respawn point. If the node is not there it walks to Spot C... ect. If a node is found, I need to interact with it.

    So my question is, How do I check to see if a node is at a certain point? and If it is how do i interact with it?

    Currently i'm using CTM to walk from Spot A to B. I know i can use CTM to interact with Gameobjects, i'm just not sure how.

    I have searched, but i cant find a decient post that can explain it.


    Thanks

    (+Rep if you help)

    Looking for nodes
  2. #2
    _duracell's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the function I use to move and interact by GUID. It writes the target GUID, XYZ floats, and interact type based upon the target object's type.

    Code:
    public void moveAndInteract(ulong GUID)
    {
        WowReader.Write<ulong>((uint)WoWData.OffCTM.Base + (uint)WoWData.OffCTM.InteractGuid, GUID);
        WowReader.Write<float>((uint)WoWData.OffCTM.Base + (uint)WoWData.OffCTM.MoveX, CObject.XPosition);
        WowReader.Write<float>((uint)WoWData.OffCTM.Base + (uint)WoWData.OffCTM.MoveY, CObject.YPosition);
        WowReader.Write<float>((uint)WoWData.OffCTM.Base + (uint)WoWData.OffCTM.MoveZ, CObject.ZPosition);
    
        WowReader.Write<int>((uint)WoWData.OffCTM.Base + (uint)WoWData.OffCTM.ActionType,
            CObject.Type == 3 ? (CObject.HealthPercent <= 0 ? (int)WoWData.ActionType.Loot : (int)WoWData.ActionType.InteractNpc)
            : (int)WoWData.ActionType.InteractObject);
    }
    and the CTM enums

    Code:
    public enum OffCTM : uint
    {
        Base = 0x011180A0,
        Unknown1 = 0x0,
        TurnScale = 0x4,
        Unknown2 = 0x8,
        InteractDistance = 0xC,
        ActionType = 0x1C,
        InteractGuid = 0x20,
        MoveX = 0x8C,
        MoveY = 0x90,
        MoveZ = 0x94
    }
    
    public enum ActionType : uint
    {
        FaceTarget = 0x1,
        Stop = 0x3,
        WalkTo = 0x4,
        InteractNpc = 0x5,
        Loot = 0x6,
        InteractObject = 0x7,
        Unknown1 = 0x8,
        Unknown2 = 0x9,
        AttackPos = 0xA,
        AttackGuid = 0xB,
        WalkAndRotate = 0xC
    }
    Last edited by _duracell; 07-21-2009 at 08:46 PM.

  3. #3
    ashleyww's Avatar Banned
    Reputation
    6
    Join Date
    Apr 2009
    Posts
    131
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right... Thanks

    I use Autoit ATM:

    here is my code to walk to a XYZ coord


    Code:
    $CLicktomove = 0x11180A0
    $Movex = 0x8C
    $MoveY = 0x90
    $MoveZ = 0x94
    
    _MemoryWrite($CLicktomove + 0x8C, $wowprocess, $xpoint, 'float')
    _MemoryWrite($CLicktomove + 0x90, $wowprocess, $ypoint, 'float')
    _MemoryWrite($CLicktomove + 0x94, $wowprocess, $zpoint, 'float')
    _MemoryWrite($CLicktomove + 0x1C, $wowprocess, 4, 'int') ;Start walking
    Now i know the above code works, because ive been using it today!

    So how would i interact using this, instead of C#

  4. #4
    BoogieManTM's Avatar Active Member
    Reputation
    52
    Join Date
    May 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ashleyww View Post
    Right... Thanks

    I use Autoit ATM:

    here is my code to walk to a XYZ coord


    Code:
    $CLicktomove = 0x11180A0
    $Movex = 0x8C
    $MoveY = 0x90
    $MoveZ = 0x94
    
    _MemoryWrite($CLicktomove + 0x8C, $wowprocess, $xpoint, 'float')
    _MemoryWrite($CLicktomove + 0x90, $wowprocess, $ypoint, 'float')
    _MemoryWrite($CLicktomove + 0x94, $wowprocess, $zpoint, 'float')
    _MemoryWrite($CLicktomove + 0x1C, $wowprocess, 4, 'int') ;Start walking
    Now i know the above code works, because ive been using it today!

    So how would i interact using this, instead of C#

    Dude.. he gave you a copy/paste version right in front of your face.. just read his post ffs

  5. #5
    _duracell's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ashleyww View Post
    Right... Thanks

    I use Autoit ATM:

    here is my code to walk to a XYZ coord


    Code:
    $CLicktomove = 0x11180A0
    $Movex = 0x8C
    $MoveY = 0x90
    $MoveZ = 0x94
    
    _MemoryWrite($CLicktomove + 0x8C, $wowprocess, $xpoint, 'float')
    _MemoryWrite($CLicktomove + 0x90, $wowprocess, $ypoint, 'float')
    _MemoryWrite($CLicktomove + 0x94, $wowprocess, $zpoint, 'float')
    _MemoryWrite($CLicktomove + 0x1C, $wowprocess, 4, 'int') ;Start walking
    Now i know the above code works, because ive been using it today!

    So how would i interact using this, instead of C#
    Code:
    $CLicktomove = 0x11180A0
    $Movex = 0x8C
    $MoveY = 0x90
    $MoveZ = 0x94
    
    $obectType = 0x5 for NPC or 0x7 for gameobject
    
    
    _MemoryWrite($CLicktomove + 0x20, $wowprocess, $targetGUID, 'ulong')
    _MemoryWrite($CLicktomove + 0x8C, $wowprocess, $xpoint, 'float')
    _MemoryWrite($CLicktomove + 0x90, $wowprocess, $ypoint, 'float')
    _MemoryWrite($CLicktomove + 0x94, $wowprocess, $zpoint, 'float')
    _MemoryWrite($CLicktomove + 0x1C, $wowprocess, $objectType, 'int')

  6. #6
    ashleyww's Avatar Banned
    Reputation
    6
    Join Date
    Apr 2009
    Posts
    131
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by _duracell View Post
    Code:
    $CLicktomove = 0x11180A0
    $Movex = 0x8C
    $MoveY = 0x90
    $MoveZ = 0x94
    
    $obectType = 0x5 for NPC or 0x7 for gameobject
    
    
    _MemoryWrite($CLicktomove + 0x20, $wowprocess, $targetGUID, 'ulong')
    _MemoryWrite($CLicktomove + 0x8C, $wowprocess, $xpoint, 'float')
    _MemoryWrite($CLicktomove + 0x90, $wowprocess, $ypoint, 'float')
    _MemoryWrite($CLicktomove + 0x94, $wowprocess, $zpoint, 'float')
    _MemoryWrite($CLicktomove + 0x1C, $wowprocess, $objectType, 'int')


    Thanks.

    Now is the $targetGUID the number that WoWhead give us?

    For example Copper vien:

    Copper Vein - Object - World of Warcraft

    So the targetGUID would be 1731 correct?

  7. #7
    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)
    No. How can you be this 'far' in your bot if you don't know what the object's GUID is??? It's at [obj + 0x30]. You COULD parse through each object and check it's display id to see if it's a saronite node, copper node, etc. Would be nice to do that, but it's a little...over your head for what you're doing.

    BTW: The numbers in wowhead.com/item?XXXX are in decimal. have to convert to hex before comparing.

  8. #8
    _duracell's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ashleyww View Post
    Thanks.

    Now is the $targetGUID the number that WoWhead give us?

    For example Copper vien:

    Copper Vein - Object - World of Warcraft

    So the targetGUID would be 1731 correct?
    No. GUID is the object's unique identifier.

    API UnitGUID - WoWWiki - Your guide to the World of Warcraft

  9. #9
    ashleyww's Avatar Banned
    Reputation
    6
    Join Date
    Apr 2009
    Posts
    131
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    EDIT: Was no need for my reaction.

    Sorry
    Last edited by ashleyww; 07-21-2009 at 09:50 PM.

  10. #10
    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)
    Wtf? I just told you the damn offset for object guid. Jesus ****in christ...

  11. #11
    ashleyww's Avatar Banned
    Reputation
    6
    Join Date
    Apr 2009
    Posts
    131
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    Wtf? I just told you the damn offset for object guid. Jesus ****in christ...
    Sorry im a little stressed atm :P

    Would you mind explaining wow i would retrive the GUID.

    Im off to bed now, hopefully ill wake up 2morrow understanding GUID a little more and less stressed.

    Once again, sorry for my last post.

  12. #12
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've obviously gotten nowhere with your bot if you can't even understand what a GUID is. Closing this thread as you keep asking to be spoonfed.

Similar Threads

  1. Replies: 6
    Last Post: 10-23-2011, 02:46 PM
  2. looking for titanium node addon and roll addon
    By nickaburke in forum World of Warcraft General
    Replies: 1
    Last Post: 09-16-2009, 02:00 PM
  3. Looking for something specific
    By TheHanyou in forum World of Warcraft General
    Replies: 18
    Last Post: 08-04-2006, 09:07 PM
  4. Looking for a free autoit bot that can help me devlope my skills
    By Black mage2021 in forum World of Warcraft General
    Replies: 4
    Last Post: 07-10-2006, 09:36 PM
  5. Look for a bot on this sight
    By karokekid in forum World of Warcraft General
    Replies: 0
    Last Post: 07-06-2006, 02:04 PM
All times are GMT -5. The time now is 06:53 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