if at XYZ move 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)

    if at XYZ move

    Okay Im using this...

    If _GetX($handle, $pBase) = Round($XCoord) and _Gety($handle, $pBase) = Round($yCoord) and _Getz($handle, $pBase) = Round($zCoord)Then
    _Move($handle, $XCoord, $YCoord, $ZCoord)
    Endif

    It never does the _Move Function...

    if at XYZ move
  2. #2
    arthanos2's Avatar Member
    Reputation
    8
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Take your x y coords, take the desired x y coords, apply some Magic (simple maths) to calculate the distance to them, if within x distance, gowhatever()

  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)
    Code:
    $myx = _GetX($handle, $pBase)
    $myy = _Gety($handle, $pBase)
    $desiredx = $XCoord
    $desiredy = $YCoord
    
    If $myx - $desiredx = 1 Then
    	If $myy - $desiredy = 1 Then
    		_Move($handle, $XCoord, $YCoord, $ZCoord)
    	EndIf
    EndIf
    Somet like that?

  4. #4
    arthanos2's Avatar Member
    Reputation
    8
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Func _WoWDistance($cordx, $cordy, $ProPID)
    $posx = _MEMORYREAD($PTRPLAYERX, $HPROCESS, "float")
    $posy = _MEMORYREAD($PTRPLAYERY, $HPROCESS, "float")
    $dis = Sqrt(($cordx - $posx) ^ 2 + ($cordy - $posy) ^ 2)
    Return $dis
    EndFunc ;==>_WoWDistance

  5. #5
    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 arthanos2 View Post
    Func _WoWDistance($cordx, $cordy, $ProPID)
    $posx = _MEMORYREAD($PTRPLAYERX, $HPROCESS, "float")
    $posy = _MEMORYREAD($PTRPLAYERY, $HPROCESS, "float")
    $dis = Sqrt(($cordx - $posx) ^ 2 + ($cordy - $posy) ^ 2)
    Return $dis
    EndFunc ;==>_WoWDistance
    Sorry im confused... im tired and cant think...

    How would i call this?

    BTW: I see free bot gatherbot coming your way If you want it that is.

  6. #6
    arthanos2's Avatar Member
    Reputation
    8
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ashleyww View Post
    Sorry im confused... im tired and cant think...

    How would i call this?

    BTW: I see free bot gatherbot coming your way If you want it that is.
    Hehe, sleep first then code
    And i wont need a gatherbot, i have my own library of private bots

  7. #7
    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 arthanos2 View Post
    Hehe, sleep first then code
    And i wont need a gatherbot, i have my own library of private bots
    Pritty Please xD

  8. #8
    arthanos2's Avatar Member
    Reputation
    8
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Func _WoWDistance([x coord you want to go], [y coord you want to go], $ProPID)
    $posx = [read your own x coord from mem]
    $posy = [read your own y coord from mem]
    $dis = Sqrt(($cordx - $posx) ^ 2 + ($cordy - $posy) ^ 2) <- magic maths applied
    Return $dis <-- returns the distance between your position and your desired position.
    EndFunc ;==>_WoWDistance

    then it is a simple matter to keep calculating this distance while moving...and if the distance is smaller than [x amount] then moveOn()...

    dim $myDistanceToNextWaypoint = _WoWDistance($waypointcoord1X, $waypointcoord1Y)
    Last edited by arthanos2; 09-23-2009 at 07:25 PM.

  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)
    Originally Posted by arthanos2 View Post
    Func _WoWDistance([x coord you want to go], [y coord you want to go], $ProPID)
    $posx = [read your own x coord from mem]
    $posy = [read your own y coord from mem]
    $dis = Sqrt(($cordx - $posx) ^ 2 + ($cordy - $posy) ^ 2) <- magic maths applied
    Return $dis <-- returns the distance between your position and your desired position.
    EndFunc ;==>_WoWDistance

    then it is a simple matter to keep calculating this distance while moving...and if the distance is smaller than [x amount] then moveOn()...
    So after that i need

    If $dis => {Whatever a good amount would be to keep it acurate} then
    Moveon()
    Endif
    ?

  10. #10
    arthanos2's Avatar Member
    Reputation
    8
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do

    move()
    $randomdistance = _WoWDistance($toX, $toY)

    until $randomdistance < 5

    next

  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 arthanos2 View Post
    do

    move()
    $randomdistance = _WoWDistance($toX, $toY)

    until $randomdistance < 5

    next

    Thats not gonna work with my current code... At least i think not...

    Can I PM u my current code and u take a look... I'd post it... but i dont wanna have it leached

  12. #12
    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)
    nvm... I did it like this:

    $desiredcoords = _WoWDistance($XCoord, $YCoord)

    If $desiredcoords < 5 Then
    _Move($handle, $XCoord, $YCoord, $ZCoord)

    endif

Similar Threads

  1. [Useless xyz bug] Move your corpse!
    By Rawlsku- in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 03-01-2008, 05:27 AM
  2. level 2 priest water moves
    By Tinytimy in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 12-04-2006, 12:46 PM
  3. HOW TO MOVE FILES INTO A MPQ at the speed of light
    By bloodofwar in forum World of Warcraft Model Editing
    Replies: 15
    Last Post: 11-29-2006, 12:46 PM
  4. Thought id move this here Crash A Computer!!!
    By codycondame in forum World of Warcraft General
    Replies: 6
    Last Post: 10-11-2006, 06:03 PM
  5. MMOwned's Server Move + Forum Change
    By Matt in forum OC News
    Replies: 0
    Last Post: 03-25-2006, 04:52 AM
All times are GMT -5. The time now is 05:09 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