Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > World of Warcraft > Bots and Programs > WoW Memory Editing

WoW Memory Editing WoW Memory Editing for learning purposes only.
This section is more advanced than others on MMOwned Read the section specific rules, infractions will be given out if u break them!That is including the expectations! - If you don't meet them then don't post

Reply
 
LinkBack Thread Tools
  #1  
Old 07-23-2009
satia is offline.
Private
  
 
Join Date: Jan 2009
Posts: 10
Reputation: 12
Points: 414, Level: 1
Points: 414, Level: 1 Points: 414, Level: 1 Points: 414, Level: 1
Level up: 3%, 486 Points needed
Level up: 3% Level up: 3% Level up: 3%
Activity: 1.3%
Activity: 1.3% Activity: 1.3% Activity: 1.3%

Wow Bot [3.1.3] AUTOIT - Teleport Mining/Herbalism BOT

I was searching this forum like crazy for two days and this is the outcome.
Shows how to use DoString and GetLocalizedText from autoit.

Code:
; (x) Z0MBiE '09
; WOW TELEPORT MINING/HERBALISM BOT

#include <Asm.au3>
#include <Misc.au3>
#include <Array.au3>
#include <Memory.au3>
#include <_Distorm.au3>
#include <NomadMemory.au3>

#requireadmin

;
; WOW 3.1.3 MEMORY OFFSET CONSTANTS
;
Global Const $PLAYER_BASE  = 0x010BD5F4
Global Const $PLAYER_BPTR1 = 0x34
Global Const $PLAYER_BPTR2 = 0x24

Global Const $PLAYER_MAPID = 0x00A1E77C
Global Const $Lua_Dostring = 0x0049AAB0
Global Const $GetLocalizedText = 0x005A82F0 

Global Const $pX = 0x798
Global Const $pY = 0x79C
Global Const $pZ = 0x7A0
Global Const $pR = 0x7A8

; Setting privilege 
SetPrivilege( "SeDebugPrivilege", 1 )

; Open wow process to hook endscene
$wow = _MemoryOpen(WinGetProcess("World of Warcraft"))

; Makes sure WoW is open
If @error == 1 then
  MsgBox( 0x1010, "Error", "World of Warcraft Process not found!")
  Exit
EndIf

; Gets player base address
$base = _MemoryRead("0x" & hex($PLAYER_BASE), $wow, "dword")
$base_2 = _MemoryRead("0x" & hex($base + $PLAYER_BPTR1), $wow, "dword")
$base_3 = _MemoryRead("0x" & hex($base_2 + $PLAYER_BPTR2), $wow, "dword")

if $base_3 = 0 Then
  MsgBox( 0x1010, "Error", "Login to your World of Warcraft account first!")
  Exit	
endif

; get address of EndScene
$pDevice = _MemoryRead("0x" & hex(0x0113C290), $wow, "dword")
$pEnd = _MemoryRead("0x" & hex($pDevice + 0x38A8), $wow, "dword")
$pScene = _MemoryRead("0x" & hex($pEnd), $wow, "dword")
$pEndScene = _MemoryRead("0x" & hex($pScene + 0xA8), $wow, "dword") 
  
; allocate memory to store injected code
Global $injected_code = _MemVirtualAllocEx( $wow[1], 0, 2048, $MEM_COMMIT, $PAGE_EXECUTE_READWRITE )

; Generate the STUB to be injected
$Asm = AsmInit()
AsmReset($Asm)
; save regs
AsmAdd($Asm, "pushad")
AsmAdd($Asm, "pushfd")
; check if theres something to be run
AsmAdd($Asm, "mov esi, " & hex( $injected_code + 256 ) & "h")
AsmAdd($Asm, "cmp dword [esi], 0" )
AsmAdd($Asm, "jz $+73" ) ; label exit:
; UpdateCurMgr
AsmAdd($Asm, "mov edx, [" & hex(0x01139f80) & "h]")
AsmAdd($Asm, "mov edx, [ edx + " & hex( 0x2C34 ) & "h]")
AsmAdd($Asm, "mov eax, fs:[2Ch]")
AsmAdd($Asm, "mov eax, [eax]")
AsmAdd($Asm, "add eax, 0x10")
AsmAdd($Asm, "mov [eax], edx")
; DoString
AsmAdd($Asm, "mov esi, " & hex( $injected_code + 1024 ) & "h")
AsmAdd($Asm, "push 0" )
AsmAdd($Asm, "push esi" )
AsmAdd($Asm, "push esi" )
AsmAdd($Asm, "mov eax, " & hex( $Lua_Dostring ) & "h" )
AsmAdd($Asm, "call eax" )
AsmAdd($Asm, "add esp, 0Ch" )
; check if theres something to be returned on
AsmAdd($Asm, "mov esi, " & hex( $injected_code + 512 ) & "h")
AsmAdd($Asm, "cmp dword [esi], 0" )
AsmAdd($Asm, "jz $+2D" ) ; label exit: 
; GetLocalizedText
AsmAdd($Asm, "mov ecx, " & hex( $base_3 ) & "h") ; must be made dynamic
AsmAdd($Asm, "push -1")
AsmAdd($Asm, "push esi")
AsmAdd($Asm, "mov eax, " & hex( $GetLocalizedText ) & "h" )
AsmAdd($Asm, "call eax")
AsmAdd($Asm, "cmp eax, 0" )
AsmAdd($Asm, "jz $+11" ) ; label exit:
; copy return string
AsmAdd($Asm, "mov esi, eax")
AsmAdd($Asm, "mov edi, " & hex( $injected_code + 768 ) & "h")
AsmAdd($Asm, "copy:")
AsmAdd($Asm, "lodsb")
AsmAdd($Asm, "stosb")
AsmAdd($Asm, "cmp al, 0")
AsmAdd($Asm, "jnz @copy")
; clean state busy flag
AsmAdd($Asm, "exit:")
AsmAdd($Asm, "xor eax, eax")
AsmAdd($Asm, "mov edi, " & hex( $injected_code + 256 ) & "h")
AsmAdd($Asm, "stosd")
AsmAdd($Asm, "mov edi, " & hex( $injected_code + 512 ) & "h")
AsmAdd($Asm, "stosd")
; restore regs
AsmAdd($Asm, "popfd")
AsmAdd($Asm, "popad")

; copy injected code
_MemoryWrite( "0x" & hex( $injected_code ), $wow, AsmGetBinary($Asm), "byte[" & $Asm[2] & "]" )

; create hook jump
$jmpto = AsmInit()
AsmReset( $jmpto )
AsmAdd( $jmpto, "push " & hex( $injected_code ) & "h" )
AsmAdd( $jmpto, "ret")
AsmAdd( $jmpto, "nop")

; save original instructions
$orig = _MemoryRead( "0x" & hex($pEndScene), $wow, "byte[64]" )
_MemoryWrite( "0x" & hex($injected_code + $Asm[2]), $wow, $orig, "byte[64]" )

; autoit is garbage
$orig_ptr = DllStructCreate("byte[64]")
DllStructSetData( $orig_ptr, 1, $orig )
  
; disasm original bytes
$DecodeArray = DllStructCreate("byte[" & $sizeofDecodedInst * 64 & "]")
$ret = distorm_decode(0,  DllStructGetPtr($orig_ptr), 64, $Decode32Bits, DllStructGetPtr($DecodeArray), 64)

; parse until we can jump back
$sumsize = 0
If $ret[0] == $DECRES_SUCCESS Then
  For $i = 0 To $ret[1] ; number of decoded instructions
    ; get size of 1 instruction
    $instr = DllStructCreate($tagDecodedInst, DllStructGetPtr($DecodeArray) + ($i * $sizeofDecodedInst))
    $sumsize += DllStructGetData($instr, "size")

    ; check if we copied enough instructions
    if $sumsize >= $jmpto[2] Then
    
      ; create jump back stub
      $jmpback = AsmInit()
      AsmReset( $jmpback )
      AsmAdd( $jmpback, "push " & hex($pEndScene + $sumsize) & "h" )
      AsmAdd( $jmpback, "ret")
      AsmAdd( $jmpback, "nop")

      ; write jump back 
      _MemoryWrite( "0x" & hex($injected_code + $Asm[2] + $sumsize), $wow, AsmGetBinary($jmpback), "byte[" & $jmpback[2] & "]" )
    ExitLoop
  Endif	
  Next
Endif
  
; write jump hook
_MemoryWrite( "0x" & hex($pEndScene), $wow, AsmGetBinary($jmpto), "byte[" & $jmpto[2] & "]" )

; close memory wow
_MemoryClose( $wow )

; set use hotkeys
HotKeySet("{MEDIA_PLAY_PAUSE}", "SaveWay")
HotKeySet("{VOLUME_MUTE}", "WalkWay")
HotKeySet("{MEDIA_STOP}", "ExitWay")

; cuz once there was man and for a time it was good.
Sleep( 666 * 60 * 1000 )

Exit

;
; Execute Lua code in WOW main thread
;
Func WowLuaDoString( $wow, $desc, $cmd )

  _MemoryWrite( "0x" & hex($injected_code + 512), $wow, $desc, "char[" & StringLen( $desc )+1 & "]" )
  _MemoryWrite( "0x" & hex($injected_code + 1024), $wow, $cmd, "char[" & StringLen( $cmd )+1 & "]" )

  ; change status
  $stat = 1
  _MemoryWrite( "0x" & hex($injected_code + 256), $wow, $stat, "dword" )
  
  ; wait execution
  do   
  Sleep( 5 )
    $stat = _MemoryRead( "0x" & hex($injected_code + 256), $wow, "dword" )
  Until $stat = 0
  
  ; read answer  
  $ret = _MemoryRead( "0x" & hex($injected_code + 768), $wow, "char[256]" )
  
  Return $ret
  
EndFunc
  
Func ExitWay()
  Exit
EndFunc

Func WalkWay()
  
  ; check if wow is foreground
  If not WinActive("World of Warcraft") Then
    MsgBox( 0x1010, "Error", "World of Warcraft window is not foreground!" )  
    Return
  Endif
  
  ; Opens WoW process for memory reading/editing.
  $wow = _memoryopen(WinGetProcess("World of Warcraft"))

  ; Makes sure WoW is open - if not, you get an error message.
  If @error == 1 then
    MsgBox( 0x1010, "Error", "World of Warcraft Process not found!")
    Return
  EndIf

  ; Gets base addresses.
  $base = _MemoryRead("0x" & hex($PLAYER_BASE), $wow, "uint")
  $base_2 = _MemoryRead("0x" & hex($base + $PLAYER_BPTR1), $wow, "uint")
  $base_3 = _MemoryRead("0x" & hex($base_2 + $PLAYER_BPTR2), $wow, "uint")

  ; read map id
  $curMapId = _MemoryRead("0x" & hex($PLAYER_MAPID), $wow, "dword")
  
  ; build ini path
  $IniFile = @SCRIPTDIR & '\TeleHack.ini'
  
  ; read count of entries in ini file
  $count = IniRead($IniFile, 'General', 'Count', '0')
    
  ; tele the list
  For $i = 0 to $count
        
  ; check if bot is on the same map of the waypoint
  $bot_mapid = IniRead ( $IniFile, 'Location' & $i, 'p_mapid', '0' )
  if $bot_mapid <> $curMapId Then
    ContinueLoop
  endif
  
  ; get x, y, z, mouse_x, mouse_y and rotation
  $bot_x = IniRead($IniFile, 'Location' & $i, 'p_x', "0")
  $bot_y = IniRead($IniFile, 'Location' & $i, 'p_y', "0")
  $bot_z = IniRead($IniFile, 'Location' & $i, 'p_z', "0")
  $bot_r = IniRead($IniFile, 'Location' & $i, 'p_r', "0")		
  $bot_mx = IniRead($IniFile, 'Location' & $i, 'm_x', "0")
  $bot_my = IniRead($IniFile, 'Location' & $i, 'm_y', "0")
  
  ; if couldnt read	
  if $bot_x = 0 or $bot_y = 0 or $bot_z = 0 then
    ContinueLoop 
  endif
    
    ; wait if user suspended
  while not WinActive("World of Warcraft") 
    Sleep( 5000 );
  Wend
    
  ; use the sharingan
  _MemoryWrite("0x" & hex($base_3 + $pX), $wow, $bot_x, 'float')
  _MemoryWrite("0x" & hex($base_3 + $pY), $wow, $bot_y, 'float')
  _MemoryWrite("0x" & hex($base_3 + $pZ), $wow, $bot_z, 'float') ; -2.0
  _MemoryWrite("0x" & hex($base_3 + $pR), $wow, $bot_r, 'float')

  ; reappear
  Send( 'w' )
  Sleep( 250 )
  Send( 's' )
  
  ; set mouse base loot point
  MouseMove( $bot_mx, $bot_my )
  Sleep( 2000 )
  
  ; check if mouse is pointing at something
  $n_name = WowLuaDoString( $wow, "ptext", "ptext = getglobal(""GameTooltipTextLeft1""):GetText();" )
  
  ; clockwise spiral search
  $found = false
  if StringLen($n_name) = 0 Then
    For $k = 1 To 10 step 0.1
      $X = $bot_mx + Cos( $k * 2 * 3.14 * 0.95 ) * ( 95 ^ ($k/10) )
      $Y = $bot_my + Sin( $k * 2 * 3.14 * 0.95 ) * ( 95 ^ ($k/10) )
    
      MouseMove( $X, $Y )	
      Sleep( 5 )
      $n_name = WowLuaDoString( $wow, "ptext", "ptext = getglobal(""GameTooltipTextLeft1""):GetText();" )		
      if StringLen($n_name) <> 0 then
        $bot_mx = $X
        $bot_my = $Y
        $found = true
        ExitLoop
      endif
    Next	
  Else
    $found = true
  Endif
  
  ;
  ; loot and optimize bags
  ;
  if $found = true then
    
    ; update location so its gonna be easier to find Next
    IniWrite( $IniFile, 'Location' & $i, 'm_x', $bot_mx )
    IniWrite( $IniFile, 'Location' & $i, 'm_y', $bot_my )
    
    ; send shift+click to mine
    Send('{SHIFTDOWN}')
    MouseClick( 'right', $bot_mx, $bot_my, 1 )	
      Send('{SHIFTUP}')
    
    ; warn user
    WowLuaDoString( $wow, "", "DEFAULT_CHAT_FRAME:AddMessage(""NODE: " & $i & """, 1, 0, 0);")
    
    ; stack all Crystallized
    Dim $stack_names[5] = [ "Crystallized Shadow",  "Crystallized Earth", "Crystallized Water", "Crystallized Fire", "Crystallized Air" ]	 	  
      For $k = 0 to Ubound( $stack_names ) - 1
      WowLuaDoString( $wow, "",  "for bag = 0,4 do for slot = 1,GetContainerNumSlots(bag) do local item = GetContainerItemLink(bag,slot); if item and item:find(""" & $stack_names[ $k ] & """) then UseContainerItem(bag,slot); end; end; end;" )
    Next			

    ; wait loot 
    Sleep( 7000 )
    
    Else
      ; log how many times we couldnt find
      $nfc = IniRead($IniFile, 'Location' & $i, 'nfc', '0')
      IniWrite($IniFile, 'Location' & $i, 'nfc', $nfc + 1 )
    EndIf
  Next
  
  ; close wow process
  _MemoryClose( $wow )

  ; wait 1 minute
  Sleep( 1 * 60 * 1000 )
  
  ; and repeat
  WalkWay()
  
EndFunc

;
; SAVES A WAYPOINT FOR LATER TELEPORT
;
Func SaveWay()
  
  ; check if wow is foreground
  If not WinActive("World of Warcraft") Then
    MsgBox( 0x1010, "Error", "World of Warcraft window is not foreground!" )  
    Return
  Endif
  
  ; opens WoW process for memory reading/editing.
  $wow = _memoryopen(WinGetProcess("World of Warcraft"))

  ; Makes sure WoW is open - if not, you get an error message.
  If @error = 1 then
    MsgBox( 0x1010, "Error", "World of Warcraft process is not found!" )
    Return
  EndIf

  ; check if the user is really pointing at something  
  $n_name = WowLuaDoString( $wow, "ptext", "ptext = getglobal(""GameTooltipTextLeft1""):GetText();" )
  If StringLen($n_name) = 0 then
    WowLuaDoString( $wow, "", "DEFAULT_CHAT_FRAME:AddMessage(""ERROR: You must point at something !!!"", 1, 0, 0);")
    _MemoryClose( $wow )
    Return
  EndIf

  ; Gets base addresses.
  $base = _MemoryRead("0x" & hex($PLAYER_BASE), $wow, "uint")
  $base_2 = _MemoryRead("0x" & hex($base + $PLAYER_BPTR1), $wow, "uint")
  $base_3 = _MemoryRead("0x" & hex($base_2 + $PLAYER_BPTR2), $wow, "uint")

  ; Get mapid, x, y, z and rotation
  $curMapId = _MemoryRead("0x" & hex($PLAYER_MAPID), $wow, "dword")

  $curX = _MemoryRead("0x" & hex($base_3 + $pX), $wow, "float")
  $curY = _MemoryRead("0x" & hex($base_3 + $pY), $wow, "float")
  $curZ = _MemoryRead("0x" & hex($base_3 + $pZ), $wow, "float")
  $curR = _MemoryRead("0x" & hex($base_3 + $pR), $wow, "float")
  
  ; Get mouse position
  $mpos = MouseGetPos()

  ; Build path to Inifile
  $IniFile = @SCRIPTDIR & '\TeleHack.ini'
  
  ; Get current number of entries in file
  $count = IniRead($IniFile, 'General', 'Count', '-1') + 1
  
  ; and add another
  IniWrite( $IniFile, 'General', 'Count', $count )		
  
  ; save new entries
  IniWrite( $IniFile, 'Location' & $count, 'p_x', $curX )
  IniWrite( $IniFile, 'Location' & $count, 'p_y', $curY )  
  IniWrite( $IniFile, 'Location' & $count, 'p_z', $curZ )
  IniWrite( $IniFile, 'Location' & $count, 'p_r', $curR )
  IniWrite( $IniFile, 'Location' & $count, 'p_mapid', $curMapId )
  IniWrite( $IniFile, 'Location' & $count, 'm_x', $mpos[0] )
  IniWrite( $IniFile, 'Location' & $count, 'm_y', $mpos[1] )  
  IniWrite( $IniFile, 'Location' & $count, 'n_name', $n_name )

  ; alert the user
  WowLuaDoString( $wow, "", "DEFAULT_CHAT_FRAME:AddMessage(""SUCCESS: Added Waypoint !!!"", 0, 0, 1);" )

  ; Loot something - shift+click
  Send('{SHIFTDOWN}')
  MouseClick( 'right', $mpos[0], $mpos[1], 1 )	
  Send('{SHIFTUP}')

  ; close process
  _MemoryClose( $wow )
  
EndFunc
byez,
z

Last edited by satia; 07-23-2009 at 01:51 AM.
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #2  
Old 07-23-2009
vulcanaoc is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 123
Reputation: 29
Points: 1,369, Level: 2
Points: 1,369, Level: 2 Points: 1,369, Level: 2 Points: 1,369, Level: 2
Level up: 94%, 31 Points needed
Level up: 94% Level up: 94% Level up: 94%
Activity: 1.8%
Activity: 1.8% Activity: 1.8% Activity: 1.8%

Just to make this clear,

this thread's title is just about the scariest thing evar.
Reply With Quote
  #3  
Old 07-23-2009
satia is offline.
Private
  
 
Join Date: Jan 2009
Posts: 10
Reputation: 12
Points: 414, Level: 1
Points: 414, Level: 1 Points: 414, Level: 1 Points: 414, Level: 1
Level up: 3%, 486 Points needed
Level up: 3% Level up: 3% Level up: 3%
Activity: 1.3%
Activity: 1.3% Activity: 1.3% Activity: 1.3%

lol, this bot is only for priv servers
Use this on retail if you want insta BAN.
Reply With Quote
  #4  
Old 07-23-2009
Emuchild's Avatar
Emuchild is offline.
Knight-Lieutenant
  
 
Join Date: Oct 2007
Location: Under a proxy.
Posts: 315
Reputation: 56
Points: 1,126, Level: 2
Points: 1,126, Level: 2 Points: 1,126, Level: 2 Points: 1,126, Level: 2
Level up: 46%, 274 Points needed
Level up: 46% Level up: 46% Level up: 46%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Wow, who knew a leecher (soon to be not) can be so contributive? +REP x2.
__________________
Tired of proxies not working or timing out?
TEST THEM BEFORE YOU USE THEM!
http://www.mmowned.com/forums/general-programs/246775-testmyproxies.html
Reply With Quote
  #5  
Old 07-23-2009
Gili's Avatar
Gili is offline.
Master Sergeant
  
 
Join Date: Feb 2007
Location: Under your bed.
Posts: 83
Reputation: 5
Points: 1,024, Level: 2
Points: 1,024, Level: 2 Points: 1,024, Level: 2 Points: 1,024, Level: 2
Level up: 25%, 376 Points needed
Level up: 25% Level up: 25% Level up: 25%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

Can anyone confirm this actually working on retail?
__________________

Reply With Quote
  #6  
Old 07-23-2009
satia is offline.
Private
  
 
Join Date: Jan 2009
Posts: 10
Reputation: 12
Points: 414, Level: 1
Points: 414, Level: 1 Points: 414, Level: 1 Points: 414, Level: 1
Level up: 3%, 486 Points needed
Level up: 3% Level up: 3% Level up: 3%
Activity: 1.3%
Activity: 1.3% Activity: 1.3% Activity: 1.3%

Quote:
Originally Posted by Gili View Post
Can anyone confirm this actually working on retail?
AGAIN, DONT USE THIS ON RETAIL !

Teleport on retail = disconnect

This code is here for learning purposes only.

Last edited by satia; 07-23-2009 at 04:01 AM.
Reply With Quote
  #7  
Old 07-23-2009
namreeb is offline.
Site Donator
  
 
Join Date: Sep 2008
Location: Hawaii
Posts: 215
Reputation: 25
Points: 2,182, Level: 4
Points: 2,182, Level: 4 Points: 2,182, Level: 4 Points: 2,182, Level: 4
Level up: 12%, 618 Points needed
Level up: 12% Level up: 12% Level up: 12%
Activity: 7.5%
Activity: 7.5% Activity: 7.5% Activity: 7.5%

Doesn't this belong somewhere else?
Reply With Quote
  #8  
Old 07-23-2009
Cursed's Avatar
Cursed is offline.
Contributor
  
 
Join Date: Jun 2007
Location: Germany
Posts: 1,403
Reputation: 264
Points: 8,839, Level: 11
Points: 8,839, Level: 11 Points: 8,839, Level: 11 Points: 8,839, Level: 11
Level up: 13%, 961 Points needed
Level up: 13% Level up: 13% Level up: 13%
Activity: 1.3%
Activity: 1.3% Activity: 1.3% Activity: 1.3%

Wasn't there a private server programs section? I think it should be moved to there :>
__________________
Reply With Quote
  #9  
Old 07-23-2009
Jadd's Avatar
Jadd is offline.
FFFFFFFUUUUUUUUUUUUU-
  
 
Join Date: May 2008
Location: QLD, Australia
Posts: 725
Nominated 18 Times in 4 Posts
Reputation: 328
Points: 13,419, Level: 14
Points: 13,419, Level: 14 Points: 13,419, Level: 14 Points: 13,419, Level: 14
Level up: 87%, 181 Points needed
Level up: 87% Level up: 87% Level up: 87%
Activity: 7.7%
Activity: 7.7% Activity: 7.7% Activity: 7.7%

Yep, this is great

I good way to use protected LUA commands for any people wanting to develop an AutoIt bot this should be used at all costs!
__________________
Reply With Quote
  #10  
Old 07-23-2009
ashleyww is offline.
Banned
  
 
Join Date: Apr 2009
Posts: 139
Nominated 2 Times in 1 Post
Reputation: 6
Points: 593, Level: 1
Points: 593, Level: 1 Points: 593, Level: 1 Points: 593, Level: 1
Level up: 39%, 307 Points needed
Level up: 39% Level up: 39% Level up: 39%
Activity: 2.8%
Activity: 2.8% Activity: 2.8% Activity: 2.8%

Awesome. Wrong section though. Never mind. Its still good.
Reply With Quote
  #11  
Old 07-23-2009
satia is offline.
Private
  
 
Join Date: Jan 2009
Posts: 10
Reputation: 12
Points: 414, Level: 1
Points: 414, Level: 1 Points: 414, Level: 1 Points: 414, Level: 1
Level up: 3%, 486 Points needed
Level up: 3% Level up: 3% Level up: 3%
Activity: 1.3%
Activity: 1.3% Activity: 1.3% Activity: 1.3%

@ashleyww
i couldnt answer your pvt msg because my number of posted messages are below 10
but i can help you finding the nodes
did u already wrote something?
dealing with the object manager and doing radar stuff to find the nodes is easy.
are u using autoit?
why dont u simple set a file that will store the node locations and go walking to them? are u able to do smooth movement?
Reply With Quote
  #12  
Old 07-24-2009
Apoc's Avatar
Apoc is offline.
MMOwned WebDev
Legendary User
  
 
Join Date: Jan 2008
Posts: 2,163
Nominated 7 Times in 3 Posts
Reputation: 1047
Points: 26,598, Level: 23
Points: 26,598, Level: 23 Points: 26,598, Level: 23 Points: 26,598, Level: 23
Level up: 65%, 602 Points needed
Level up: 65% Level up: 65% Level up: 65%
Activity: 25.7%
Activity: 25.7% Activity: 25.7% Activity: 25.7%

Quote:
Originally Posted by satia View Post
@ashleyww
i couldnt answer your pvt msg because my number of posted messages are below 10
but i can help you finding the nodes
did u already wrote something?
dealing with the object manager and doing radar stuff to find the nodes is easy.
are u using autoit?
why dont u simple set a file that will store the node locations and go walking to them? are u able to do smooth movement?
Don't bother helping ashleyww, he/she has no idea what they're doing. We're constantly inundated with incredibly beginner questions from him/her.
__________________
[Only registered and activated users can see links. ]
Reply With Quote
  #13  
Old 07-24-2009
Jadd's Avatar
Jadd is offline.
FFFFFFFUUUUUUUUUUUUU-
  
 
Join Date: May 2008
Location: QLD, Australia
Posts: 725
Nominated 18 Times in 4 Posts
Reputation: 328
Points: 13,419, Level: 14
Points: 13,419, Level: 14 Points: 13,419, Level: 14 Points: 13,419, Level: 14
Level up: 87%, 181 Points needed
Level up: 87% Level up: 87% Level up: 87%
Activity: 7.7%
Activity: 7.7% Activity: 7.7% Activity: 7.7%

Quote:
Originally Posted by Apoc View Post
Don't bother helping ashleyww, he/she has no idea what they're doing. We're constantly inundated with incredibly beginner questions from him/her.
I lol'd :P
__________________
Reply With Quote
  #14  
Old 07-24-2009
voron23's Avatar
voron23 is offline.
New User
  
 
Join Date: Mar 2009
Posts: 29
Reputation: 1
Hi there) I writing func to gather mine\herb. What flags are telling us, that object is mine or herb(mem reading)?
Code:
If $CurrentObjectType=5 Then
   $ptrF = _MemoryRead($CurrentObject+0x8,$handle,'ptr')
   $flag = _MemoryRead($ptrF + $GAMEOBJECT_FLAGS*4,$handle,'int')
   If $flag = "" Then ;mining
   $Gather=$CurrentObject
   Return 1
EndIf
GAMEOBJECT_FLAGS=0x9 gives 0 =\
Reply With Quote
  #15  
Old 07-24-2009
lanman92 is offline.
Commander
  
 
Join Date: Mar 2007
Posts: 872
Reputation: 20
Points: 4,222, Level: 6
Points: 4,222, Level: 6 Points: 4,222, Level: 6 Points: 4,222, Level: 6
Level up: 70%, 278 Points needed
Level up: 70% Level up: 70% Level up: 70%
Activity: 9.4%
Activity: 9.4% Activity: 9.4% Activity: 9.4%

I would check the display id, since you'll probably want to do that later anyway. Each object type has a different offset for displayid, look it up in descriptors. The display id is the same one you see on wowhead after the wowhead.com/?object=XXXX. XXXX is the id in decimal.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -4. The time now is 07:26 AM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505