CTM problem menu

User Tag List

Thread: CTM problem

Results 1 to 5 of 5
  1. #1
    karliky's Avatar Contributor Authenticator enabled
    Reputation
    112
    Join Date
    Jun 2007
    Posts
    69
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CTM problem

    Hello

    I have a problemm with CTM.

    The problem is, the player walk around but doesn't go to the position.

    I don't know why but it seems be crazy.

    Here is my code:
    Code:
    #Include <NomadMemory.au3>		
    #Include <Misc.au3>
    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <GUIListBox.au3>
    #include <ProgressConstants.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>
    SetPrivilege("SeDebugPrivilege", 1) 			
    
    
    ;;;;;;;;;;;;;
    ;Declaracion de variables
    ;;;;;;;;;;;;;
    Global $CTM = 0x011180B8
    Global $pointer = 0x10BD5F4
    Global $wow = _memoryopen(WinGetProcess("World of Warcraft"))
    Global $titulo = Random(0,99999)
    Global $actiontype = 0x11180BC
    ;;;;;;;;;;;;;
    ;Declaracion de funciones
    ;;;;;;;;;;;;;
    
    Func CTM($x, $y, $z)
    ;_MemoryWrite($main + 0x20, $handle, $targetGUID)
    _MemoryWrite($CTM + 0x74, $wow, $x, 'float')
    _MemoryWrite($CTM + 0x78, $wow, $y, 'float')
    _MemoryWrite($CTM + 0x7C, $wow, $z, 'float')
    _MemoryWrite($actiontype, $wow, "4", 'int')
    EndFunc
    
    ;;;;;;
    
    Func Msg($cadena)
    MsgBox("","",$cadena)
    EndFunc
    
    ;;;;;;;;;;;;;
    ;GUI
    ;;;;;;;;;;;;;
    
    #Region ### START Koda GUI section ### Form=C:\Users\Carlos\Desktop\XYZ\Gestor\form.kxf
    $Form1_1 = GUICreate($titulo, 377, 581, 192, 124)
    WinSetOnTop ($titulo,"",1)
    $Group1 = GUICtrlCreateGroup("Información:", 16, 16, 337, 121)
    $Group6 = GUICtrlCreateGroup("X", 32, 40, 129, 41)
    $xlabel = GUICtrlCreateLabel("0.0000000", 40, 56, 120, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group7 = GUICtrlCreateGroup("Y", 32, 80, 129, 41)
    $ylabel = GUICtrlCreateLabel("0.0000000", 40, 96, 120, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group8 = GUICtrlCreateGroup("Z", 168, 80, 129, 41)
    $zlabel = GUICtrlCreateLabel("0.0000000", 176, 96, 120, 17)
    $Group9 = GUICtrlCreateGroup("Vida", 168, 40,129, 41)
    $hlabel = GUICtrlCreateLabel("0.0000000", 176,56, 120, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group2 = GUICtrlCreateGroup("Target X", 16, 208, 105, 233)
    $List1 = GUICtrlCreateList("", 24, 232, 89, 188,bitor ($WS_BORDER, $WS_VSCROLL))
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group3 = GUICtrlCreateGroup("Target Y", 136, 208, 105, 233)
    $List2 = GUICtrlCreateList("", 144, 232, 89, 188)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group4 = GUICtrlCreateGroup("Target Z", 256, 208, 105, 233)
    $List3 = GUICtrlCreateList("", 264, 232, 89, 188)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $gomoveto = GUICtrlCreateButton("Ir a la posicion seleccionada", 24, 144, 321, 25, $WS_GROUP)
    $Group5 = GUICtrlCreateGroup("Otras opciones", 16, 472, 345, 89)
    $buttoncamera = GUICtrlCreateButton("Distancia camara", 32, 496, 107, 25, $WS_GROUP)
    $buttonscala = GUICtrlCreateButton("Scala jugador", 32, 528, 107, 25, $WS_GROUP)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $savepos = GUICtrlCreateButton("Guardar posicion actual", 24, 176, 321, 25, $WS_GROUP)
    #EndRegion ### END Koda GUI section ###
    
    
    ;;;;;;;;;;;;;
    ;Iniciacion del script
    ;;;;;;;;;;;;;
    
    $base = _memoryread($pointer ,$wow,'dword')
    $base = _memoryread("0x" & hex($base + 0x34),$wow,'dword')
    $base = _memoryread("0x" & hex($base + 0x24),$wow,'dword')
    
    
    *****tState(@SW_SHOW)
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $f = 150
    While 1
    	;;;;;
    	;Related to GUI
    	;;;;;
    
    $Y = _MemoryRead("0x" & hex($base + 0x79C) , $wow, 'float')
    $X = _MemoryRead("0x" & hex($base + 0x798), $wow, 'float')
    $Z = _MemoryRead("0x" & hex($base + 0x7A0), $wow, 'float')
    $h = _MemoryRead(_MemoryRead($base + 0x8,$wow,'ptr') + 0x17*4,$wow,'int')
    
    GUICtrlSetData($xlabel,$x)
    GUICtrlSetData($ylabel,$y)
    GUICtrlSetData($zlabel,$z)
    GUICtrlSetData($hlabel,$h)
     
    	;;;;;
    	;Clics en botones
    	;;;;;
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    	;;;;;
    	;Insertamos las posiciones en los list
    	;;;;;
    	
    Case $savepos
    GUICtrlSetData($List1,$x)
    GUICtrlSetData($List2,$y)
    GUICtrlSetData($List3,$z)
    Case $gomoveto
    	CTM(GUICtrlRead($List1),GUICtrlRead($List2),GUICtrlRead($List3))
    EndSwitch
    ;;;
    WEnd
    Thank you!
    Last edited by karliky; 07-10-2009 at 05:17 PM.

    CTM problem
  2. #2
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    If by walk around you mean sort of circle where you are trying to walk, there is another param which defines a bounding radius around the destination. My guess is your radius is too small.

    The technical details are available on this forum if you search.

  3. #3
    karliky's Avatar Contributor Authenticator enabled
    Reputation
    112
    Join Date
    Jun 2007
    Posts
    69
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bierstud View Post
    If by walk around you mean sort of circle where you are trying to walk, there is another param which defines a bounding radius around the destination. My guess is your radius is too small.

    The technical details are available on this forum if you search.
    I can't find anything related to your response

  4. #4
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    In the snippet below, 'rotation' measures how sharply the toon will rotate and 'dist' is the radius I referred to.

    Code:
    	float *rotation = (float *)(CTM_base + 0x04);
    	float *dist     = (float *)(CTM_base + 0x0C);
    	float *x        = (float *)(CTM_base + 0x8C);
    	float *y        = (float *)(CTM_base + 0x90);
    	float *z        = (float *)(CTM_base + 0x94);
    	DWORD *state    = (DWORD *)(CTM_base + 0x1C);
    For 3.1.3, CTM_base is 0x011180A0.

  5. #5
    karliky's Avatar Contributor Authenticator enabled
    Reputation
    112
    Join Date
    Jun 2007
    Posts
    69
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    aw! Thank you indeed!

    The first problem was that i have the wrong CTM pointer!!

    here is my code now: =)
    Code:
    #Include <NomadMemory.au3>		
    #Include <Misc.au3>
    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <GUIListBox.au3>
    #include <ProgressConstants.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>
    SetPrivilege("SeDebugPrivilege", 1) 			
    
    
    ;;;;;;;;;;;;;
    ;Declaracion de variables
    ;;;;;;;;;;;;;
    Global $CTM = 0x011180A0
    Global $pointer = 0x10BD5F4
    Global $wow = _memoryopen(WinGetProcess("World of Warcraft"))
    Global $titulo = Random(0,99999)
    Global $tituloaplic = Random(0,99999)
    ;;;;;;;;;;;;;
    ;Declaracion de funciones
    ;;;;;;;;;;;;;
    
    Func CTM($x, $y, $z, $r)
    ;_MemoryWrite($main + 0x20, $handle, $targetGUID)
    _MemoryWrite($CTM + 0x74, $wow, $x, 'float') ;X
    _MemoryWrite($CTM + 0x78, $wow, $y, 'float') ;Y
    _MemoryWrite($CTM + 0x7C, $wow, $z, 'float') ;Z
    ;_MemoryWrite($CTM + 0x4, $wow, $r, 'float') ;ROTACION
    _MemoryWrite($CTM + 0xC, $wow, 1, 'float') ;INTERACCION DISTANCIA (STOP)
    _MemoryWrite(0x11180BC, $wow, 4, 'int')
    EndFunc
    
    ;;;;;;
    
    Func Msg($cadena)
    MsgBox("","",$cadena)
    EndFunc
    
    ;;;;;;;;;;;;;
    ;GUI
    ;;;;;;;;;;;;;
    
    #Region ### START Koda GUI section ### Form=C:\Users\Carlos\Desktop\XYZ\Gestor\form.kxf
    $Form1_1 = GUICreate($tituloaplic, 499, 629, 246, 165)
    $Group1 = GUICtrlCreateGroup("Información:", 96, 48, 337, 121)
    $Group6 = GUICtrlCreateGroup("X", 112, 72, 129, 41)
    $xlabel = GUICtrlCreateLabel("0.0000000", 120, 88, 55, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group7 = GUICtrlCreateGroup("Y", 112, 112, 129, 41)
    $ylabel = GUICtrlCreateLabel("0.0000000", 120, 128, 55, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group8 = GUICtrlCreateGroup("Z", 248, 112, 129, 41)
    $zlabel = GUICtrlCreateLabel("0.0000000", 256, 128, 55, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group9 = GUICtrlCreateGroup("R", 248, 72, 129, 41)
    $rlabel = GUICtrlCreateLabel("0.0000000", 256, 88, 55, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group2 = GUICtrlCreateGroup("Target X", 16, 240, 105, 233)
    $List1 = GUICtrlCreateList("", 24, 264, 89, 188)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group3 = GUICtrlCreateGroup("Target Y", 136, 240, 105, 233)
    $List2 = GUICtrlCreateList("", 144, 264, 89, 188)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Group4 = GUICtrlCreateGroup("Target Z", 256, 240, 105, 233)
    $List3 = GUICtrlCreateList("", 264, 264, 89, 188)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $gomoveto = GUICtrlCreateButton("Ir a la posicion seleccionada", 104, 176, 321, 25, $WS_GROUP)
    $Group5 = GUICtrlCreateGroup("Otras opciones", 80, 504, 345, 89)
    $buttoncamera = GUICtrlCreateButton("Distancia camara", 96, 528, 107, 25, $WS_GROUP)
    $buttonscala = GUICtrlCreateButton("Scala jugador", 96, 560, 107, 25, $WS_GROUP)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $savepos = GUICtrlCreateButton("Guardar posicion actual", 104, 208, 321, 25, $WS_GROUP)
    $Group10 = GUICtrlCreateGroup("Target R", 376, 240, 105, 233)
    $List4 = GUICtrlCreateList("", 384, 264, 89, 188)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $Progress1 = GUICtrlCreateProgress(96, 8, 337, 17)
    GUICtrlSetLimit(-1, 300, 0)
    GUICtrlSetTip(-1, "50")
    $Progress2 = GUICtrlCreateProgress(96, 32, 337, 17)
    *****tState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###
    
    WinSetOnTop ($tituloaplic,"",1)
    ;;;;;;;;;;;;;
    ;Iniciacion del script
    ;;;;;;;;;;;;;
    
    $base = _memoryread($pointer ,$wow,'dword')
    $base = _memoryread("0x" & hex($base + 0x34),$wow,'dword')
    $base = _memoryread("0x" & hex($base + 0x24),$wow,'dword')
    
    
    *****tState(@SW_SHOW)
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $f = 150
    While 1
    	;;;;;
    	;Related to GUI
    	;;;;;
    
    $Y = _MemoryRead("0x" & hex($base + 0x79C) , $wow, 'float')
    $X = _MemoryRead("0x" & hex($base + 0x798), $wow, 'float')
    $Z = _MemoryRead("0x" & hex($base + 0x7A0), $wow, 'float')
    $h = _MemoryRead(_MemoryRead($base + 0x8,$wow,'ptr') + 0x17*4,$wow,'int')
    $R = _MemoryRead(0x1BA8E248 , $wow, 'float')
    
    GUICtrlSetData($xlabel,$x)
    GUICtrlSetData($ylabel,$y)
    GUICtrlSetData($zlabel,$z)
    GUICtrlSetData($rlabel,$R)
    GUICtrlSetData($Progress1,$h)
     
    	;;;;;
    	;Clics en botones
    	;;;;;
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    	;;;;;
    	;Insertamos las posiciones en los list
    	;;;;;
    	
    Case $savepos
    GUICtrlSetData($List1,$x)
    GUICtrlSetData($List2,$y)
    GUICtrlSetData($List3,$z)
    GUICtrlSetData($List4,$R)
    Case $gomoveto
    	CTM(GUICtrlRead($List1),GUICtrlRead($List2),GUICtrlRead($List3),GUICtrlRead($List4))
    EndSwitch
    ;;;
    WEnd

Similar Threads

  1. Help CTM Problem
    By yangsoul in forum WoW Memory Editing
    Replies: 3
    Last Post: 05-29-2011, 05:56 AM
  2. Problem with CTM
    By Fabio571 in forum WoW Memory Editing
    Replies: 10
    Last Post: 01-13-2011, 01:44 PM
  3. loot with CTM problem
    By phthegreat in forum WoW Memory Editing
    Replies: 12
    Last Post: 06-18-2010, 02:38 AM
  4. CTM action problem
    By Mr.Sergey in forum WoW Memory Editing
    Replies: 4
    Last Post: 03-10-2010, 12:57 PM
  5. problem with loot ctm
    By bolototo in forum WoW Memory Editing
    Replies: 12
    Last Post: 10-06-2009, 02:23 PM
All times are GMT -5. The time now is 03:27 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