Jump/Ascend -- without Lua or a keypress? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jump/Ascend -- without Lua or a keypress?

    Anyone know how to jump or ascend (like the Lua function JumpOrAscendStart) without calling the Lua function, and without pressing the key? I'm working on about ten things right now (thank you, Main) so I haven't had time to sort it for myself.

    I'm not talking about simply going up -- I can do that by just setting the correct movement flag. That works fine -- if you're already flying. It's the part where you actually "jump" -- if you're flying, it's where you "unstick" from the ground and become airborne. If you're in the Vashj'ir zone (where I first found a need for it), it's when you get "unstuck" from the sea floor and start swimming. I have all of the logic down to determine when I can fly or start swimming, but what I don't have is a clean/elegant way to do that first "jump" if I'm still on the surface.

    If nobody knows, I'll just call the Lua function manually, but it does a bunch of extra stuff that I'd prefer not to do, if it's possible.

    Thanks in advance!

    Edit: oh, before the CTM folks chime in, I just switched to -- and back from -- CTM. Simply put, CTM movement sucks. It's unpredictable and hard to control. If you're just pathing around to, say, mine nodes, I'm sure CTM is fine. But for the fine-grained navigation you need with tactical movement, CTM is an utter nightmare, and movement flags are the way to go.
    Last edited by amadmonk; 12-18-2010 at 12:52 PM.
    Don't believe everything you think.

    Jump/Ascend -- without Lua or a keypress?
  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)
    Can't you just look at the Lua_JumpOrAscendStart and figure out what it does? My guess is that it ultimately sends some sort of packet.

  3. #3
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well yeah, but I was hoping someone else had already done the work, since it seemed like a fairly basic task (and since I'm slammed with navigation and group AI stuff right now).

    However, looking through the (known) calls that the Lua function makes, there's one that I missed which looks interesting: CGPlayer_C__TryChangeStandState. That might be the magic.
    Don't believe everything you think.

  4. #4
    UnknOwned's Avatar Legendary
    Reputation
    713
    Join Date
    Nov 2006
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    Edit: oh, before the CTM folks chime in, I just switched to -- and back from -- CTM. Simply put, CTM movement sucks. It's unpredictable and hard to control. If you're just pathing around to, say, mine nodes, I'm sure CTM is fine. But for the fine-grained navigation you need with tactical movement, CTM is an utter nightmare, and movement flags are the way to go.

    Well i am happy to tell you that you can infact jump(JumpAscend) with CTM ^^

  5. #5
    Scorpiona's Avatar Active Member
    Reputation
    17
    Join Date
    Mar 2009
    Posts
    42
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0x001D2F20 SendJump
    int __thiscall SendJump(int this, int a2)

    args are LocalPlayer pointer and LastHardwareAction

  6. #6
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's the ticket... thanks. Wonder what all the other stuff in the Lua function does (I can see stuff about testing if you're rooted, clearing AFK, and interrupting spells, and a couple of animation functions, but there's a ton of other stuff going on too...)

    Edit: tried it and it works like a charm. It's a nice smooth ascend, too, which is far better than CTM. With CTM, if you "click" the air above you while on the ground on a flying mount, your character "dances" around on the ground for a second before finally becoming airborne; it's not too bad but if someone was watching you closely, it would be an obviously bot-like characteristic). With this API, you just launch into the air naturally.

    The irony is that this is the last call in JumpOrAscendStart() and I was going down all the "unknown" calls trying them one by one, and I hadn't gotten to this one yet. When I looked at the Lua fn with my old outdated copy of Hexrays, it was obvious that this was the money shot, and all the other calls were mostly just flags testing (or doing things like cancel away/cancel pending spellcast, etc.). Ah well.
    Last edited by amadmonk; 12-19-2010 at 11:44 AM.
    Don't believe everything you think.

Similar Threads

  1. Hooking WoW Events without LUA-Handler Proc?
    By berlinermauer in forum WoW Memory Editing
    Replies: 1
    Last Post: 01-03-2014, 08:46 PM
  2. Get IsUsableSpell without LUA
    By Mr.Sergey in forum WoW Memory Editing
    Replies: 5
    Last Post: 04-10-2011, 11:17 AM
  3. Making NPC`s talk without LUA scripting.
    By Mr FlySquirrel in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 02-27-2008, 10:13 AM
  4. Jump down every mountain without dmg (only outland)
    By Jusaly in forum World of Warcraft Exploits
    Replies: 14
    Last Post: 07-30-2007, 10:34 AM
  5. Jump to any height (without any 3rd part apps) MASSIVE Exploit!
    By Matt in forum World of Warcraft Exploits
    Replies: 17
    Last Post: 03-27-2006, 09:53 PM
All times are GMT -5. The time now is 02:29 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