In-game addon nudge menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    In-game addon nudge

    I'm working on a nudge hack in-game that uses registered console cmds to nudge, but I'm having a problem. I have the function registering and everything, but when I have it run, it doesn't move my character. Here's my code, including my find playerbase code(I know it's terrible and has zero error checking, but this is just a base and will fix up when I get it up and running)

    Code:
     
    void upNudge(void)
    {
    float* Z = (float*)(playerBase + 0x7A0);
    *Z = *Z + 0.130f;
    }
    Code:
     
    void updatePlayerBase(void)
    {
    DWORD* unk = (DWORD*)(0x10B65F4);
    DWORD* unk2 = (DWORD*)(*unk + 0x34);
    playerBase = (DWORD*)(*unk2 + 0x24);
    }
    EDIT: Though irrelevent, I found this address a lot in random-seeming lua functions: 0x98AA70. What is it? I set it to zero and my char fell through the earth... Pretty cool, but still curious what it actually is. Also noticed that it screws with your mouseover. And camera. Little confused now.
    Last edited by lanman92; 04-26-2009 at 10:44 PM.

    In-game addon nudge
  2. #2
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From the looks of the code, playerBase is declared as a pointer. Adding to a pointer increases its value by 4*Incrementer.

    Declare it as an unsigned long.

Similar Threads

  1. Brian Kopp's In-game Addon
    By AcidYen in forum World of Warcraft Guides
    Replies: 10
    Last Post: 08-20-2008, 07:16 PM
  2. AddOns all just died and part of game
    By jamesbond in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 04-04-2008, 07:12 AM
  3. In-game Quest Addon +mini map
    By Haitamo in forum World of Warcraft Guides
    Replies: 7
    Last Post: 03-20-2008, 11:28 AM
All times are GMT -5. The time now is 08:25 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