[Question] CTM begins stuttering menu

Shout-Out

User Tag List

Results 1 to 13 of 13
  1. #1
    Naice's Avatar Member
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] CTM begins stuttering

    Hey,

    i m working on my own little gather bot everything works fine, but if the bot is running a little bit sometimes my toon gets stuttering while approaching a node (on close distance 10-15 units). Is anyone face the same issue or knows what i'm doin wrong?

    the reason why i think its a wow error (maybe it comes from memwriting) is because when i restart wow everything works normal again, if i only restart the bot it is not.

    [Question] CTM begins stuttering
  2. #2
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to call it from Mainthread via injection. Else it will keep stucking.

  3. #3
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    What? You dont need to inject into the main thread for ctm to work. You can do it simply with memory writes. It sounds like your not setting the z. It also could be that your writing to 0x99535C (4.2.0a). That should have a value of 0.5 (float). If you have written something like 10 then its going to stop way b4 the node. Its like a Accuracy/precision value. Other than that I have no idea. Are you calling ctm via injection or simple memory writes?

  4. #4
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    He is just writing to structure witch does not handle error checking. Safest and easyes way is injecting. Use the search func there is a thread from apoc. Also rival has posted a c# code. You just have to fix / improve it.

  5. #5
    Naice's Avatar Member
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    What? You dont need to inject into the main thread for ctm to work. You can do it simply with memory writes. It sounds like your not setting the z. It also could be that your writing to 0x99535C (4.2.0a). That should have a value of 0.5 (float). If you have written something like 10 then its going to stop way b4 the node. Its like a Accuracy/precision value. Other than that I have no idea. Are you calling ctm via injection or simple memory writes?
    Hey,

    I'm not that skilled to get that injection stuff to work right now. But i am not writing to CTM Distance (0x99535C) anywhere right now in my code.
    I'm just getting the idea what is good for right now. I use ATM only memory writes/reads.

    Edit: but i'm definetly writing the Z value.

    Edit2: Is it enough to write the Distance once or should it happen before every CTM usage?
    Last edited by Naice; 08-25-2011 at 05:34 PM.

  6. #6
    QKdefus's Avatar Active Member
    Reputation
    54
    Join Date
    May 2010
    Posts
    96
    Thanks G/R
    3/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is probably noob question but seeing as u still coope with this after a week, i sort of have to ask

    since u dont have any example to go from :

    so i guess ur using a while loop checking for distance to break at, i hope u have some thread sleep in there.
    having a loop clicking ctm location 100 times each frame can surely do cause "stuttering"

    if this is not the case, try post the code ?

  7. #7
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remember having this issue too when just writing to memory.

  8. #8
    Naice's Avatar Member
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    na i'm not wirting 100times per frame.. as you say i'm in a thread after processing it is hold for 100ms and thats the way my CTM gets fired in my pathing class:

    Code:
                if (currentNode != mLastNode || Me.DistancePerTick < 1f)
                {
                    mLastNode = currentNode;
                    Globals.MoveTo(currentNode);
                }
    i think you get the idea.. its only fired if we need to approach a new node or the speedpertick < 1f where speedpertick is the distance that the toon left between each processing tick.

  9. #9
    QKdefus's Avatar Active Member
    Reputation
    54
    Join Date
    May 2010
    Posts
    96
    Thanks G/R
    3/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    again i might be mistaken, might be the weed im smoking or the beer, idk...
    but i would recommend adding a thread sleep 10 after u call the moveto.. as to me it seem clicking location each time u move <1f is kinda much.
    how often does DistancePerTick refresh itselfe ?
    if u have this in a thread and it takes roughly 100 ms to update Me.DistancePerTick, you seem to have the thread spam clicking that location for 100ms

    so.. make sure the ctm thread gets some rest ?

  10. #10
    Naice's Avatar Member
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by QKdefus View Post
    again i might be mistaken, might be the weed im smoking or the beer, idk...
    but i would recommend adding a thread sleep 10 after u call the moveto.. as to me it seem clicking location each time u move <1f is kinda much.
    how often does DistancePerTick refresh itselfe ?
    if u have this in a thread and it takes roughly 100 ms to update Me.DistancePerTick, you seem to have the thread spam clicking that location for 100ms

    so.. make sure the ctm thread gets some rest ?
    its refreshing each 500ms and i'm also loging every call of Global.MoveTo and there is no spamming at all.

  11. #11
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Are you using a fly hack? Also you could set the pitch....

  12. #12
    Naice's Avatar Member
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No i am not using a fly hack. But why should i set the pitch?

  13. #13
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you realy want to use mem write then you should just write it once in the mem. Do read the pointers and if any pointer wrong rewrite to it.

Similar Threads

  1. [Question] CTM & EndScene Hook Safety
    By MadCoder in forum WoW Memory Editing
    Replies: 2
    Last Post: 03-01-2012, 09:35 AM
  2. [QUESTION] How to export CTM weapons to WLK client ?
    By jinsoft in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 01-01-2011, 11:34 PM
  3. [Question] CTM... Memory Editing vs. ASM?
    By -Ryuk- in forum WoW Memory Editing
    Replies: 9
    Last Post: 07-14-2010, 12:44 PM
  4. [Question][C#][ASM] CTM
    By -Ryuk- in forum WoW Memory Editing
    Replies: 12
    Last Post: 05-09-2010, 07:27 AM
  5. [Question] "Beginning" Lua programming
    By Krillere in forum WoW Memory Editing
    Replies: 3
    Last Post: 02-20-2010, 05:47 PM
All times are GMT -5. The time now is 06:23 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