Calling WoW functions C++ menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    f3lix's Avatar Private
    Reputation
    5
    Join Date
    Mar 2010
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Calling WoW functions C++

    Hello, i started to look into wow-devloping yesterday, and found this very websites offset collection, and decided to test my luck.

    sadly, it seemed i had none
    i tried calling CommandPrintF (thats what its called, i think?) in 2 different ways, typedef and from assembly, although, none were succesfull

    what i tried:

    typedef void(__cdecl *ConsolePrintType) (char*);
    ConsolePrintType ConsolePrint = (ConsolePrintType)0x006F8900;

    and
    //copypasta from olly
    void Print(char* msg)
    {
    __asm
    {
    PUSH msg
    MOV EAX, 0x006F8900
    CALL EAX
    ADD ESP, 8
    }

    }

    and then made the call Print("test") or ConsolePrint("test")


    Any ideas whats wrong?

    Calling WoW functions C++
  2. #2
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ADD ESP, 8 when you push a PTR? Either you magically are running WoW in 64-bit or you mistyped.

    Are you injected? My guess is that you aren't, hence you can't do any of what you are trying as you aren't in WoW's virtual memory space and your 0x006F8900 is different then theirs... hence nothing happens.

  3. #3
    f3lix's Avatar Private
    Reputation
    5
    Join Date
    Mar 2010
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the reply,
    about the ADD ESP, 8 - i pasted that from a call from the real wow

    the other thing about being injected, yes i am pretty sure of that, i debugged it all through a messagebox, well, it looks like the following:

    void mainthread()
    {
    while(true)
    {
    if(GetAsyncKeyState(VK_NUMPAD7)== -32767)
    {
    Print("hello ther.");
    MessageBox(NULL,L"debug",L"HI",NULL);
    }
    Sleep(25);
    }
    }
    and the message does indeed showup



    solved! nvm!
    Last edited by f3lix; 03-19-2010 at 10:00 AM.

  4. #4
    culino's Avatar Banned
    Reputation
    215
    Join Date
    Feb 2010
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The ConsoleAddLine function takes 2 parameters, you have to push the color, just push 0 here.

    push 0
    push msg
    mov eax, 0x006F8900
    call eax
    add esp, 0x8

Similar Threads

  1. Replies: 8
    Last Post: 07-22-2013, 01:24 AM
  2. Problems calling VMT Function 47
    By djvoid in forum WoW Memory Editing
    Replies: 16
    Last Post: 01-14-2009, 08:22 AM
  3. Calling LUA Functions
    By cloud_wizard in forum WoW Memory Editing
    Replies: 7
    Last Post: 01-04-2009, 08:24 AM
  4. Call lua function and get result
    By starfish99 in forum WoW Memory Editing
    Replies: 4
    Last Post: 12-26-2008, 05:15 AM
  5. Replies: 1
    Last Post: 08-26-2008, 10:49 PM
All times are GMT -5. The time now is 07:42 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