Question wow menu

User Tag List

Thread: Question wow

Results 1 to 13 of 13
  1. #1
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question wow

    Recently did i begin to program a bot to wow in c#

    But i came to a wall i couldnt get through..

    I was wondering a good way to check if logged into wow or disconnected?

    I know the dump thread. But i am looking for a good way to setup the code.

    Plase help.

    And ty

    Question wow
  2. #2
    ejt's Avatar Contributor
    Reputation
    210
    Join Date
    Mar 2008
    Posts
    166
    Thanks G/R
    3/112
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Read from the offset InGame = 0xCC9EFA it will return a bool, true for ingame false for not.

  3. #3
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks man works great!

  4. #4
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    totally wrong ups.

  5. #5
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    worked before.. what is wrong? "check if ingame"

    BlackMagic wow = new BlackMagic(); //Create new function to open wow process
    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
    IntPtr baseWoW = wow.MainModule.BaseAddress;

    float checkwow = wow.ReadFloat((uint)0xCC9EFA);
    label3.Text = "ingame: " + checkwow;

  6. #6
    ejt's Avatar Contributor
    Reputation
    210
    Join Date
    Mar 2008
    Posts
    166
    Thanks G/R
    3/112
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flowtek333 View Post
    worked before.. what is wrong? "check if ingame"

    BlackMagic wow = new BlackMagic(); //Create new function to open wow process
    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
    IntPtr baseWoW = wow.MainModule.BaseAddress;

    float checkwow = wow.ReadFloat((uint)0xCC9EFA);
    label3.Text = "ingame: " + checkwow;
    First of all, I told it was a BOOL, you are defining it as a FLOAT.

    Second of all, you are getting the base address. I suggest you use it.

  7. #7
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ejt View Post
    First of all, I told it was a BOOL, you are defining it as a FLOAT.

    Second of all, you are getting the base address. I suggest you use it.


    lol didnt see ups... thanks again!

  8. #8
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am totally braindead right now with this Bool... bool checkwow = wow.ReadFloat((uint)baseWoW + 0xCC9EFA);

    the bool need to read from wow.exe to check if online "wow.readfloat" or am i wrong?..

  9. #9
    ejt's Avatar Contributor
    Reputation
    210
    Join Date
    Mar 2008
    Posts
    166
    Thanks G/R
    3/112
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flowtek333 View Post
    i am totally braindead right now with this Bool... bool checkwow = wow.ReadFloat((uint)baseWoW + 0xCC9EFA);

    the bool need to read from wow.exe to check if online "wow.readfloat" or am i wrong?..
    I don't know how you would do it with BlackMagic since have not and never will use it. However, this is how I use it in C++:

    bool WoWLocalPlayer::InGame() {
    return Mem->Read<bool>(Mem->dwBaseAddress + Offsets::InGame);
    }
    if(ObjectManager->GetLocalPlayer()->InGame() == true)
    MessageBox(NULL, "We are in game", "", MB_OK);
    else
    MessageBox(NULL, "We are NOT in game", "", MB_OK);
    By the way. You are defining checkwow as a bool but reading a float into it. If you have a function ReadBool, I would suggest you use it.
    If you don't know the basics of programming, I would also like to suggest you go read a book before getting started.
    Last edited by ejt; 01-20-2013 at 03:02 PM.

  10. #10
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just trying with small things and then ill work my coding language up.

  11. #11
    ejt's Avatar Contributor
    Reputation
    210
    Join Date
    Mar 2008
    Posts
    166
    Thanks G/R
    3/112
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flowtek333 View Post
    just trying with small things and then ill work my coding language up.
    A good resource for learning a language is to look at source-codes. There are plenty on this forum made by great people that you can look at and get ideas (I know I do). Just remember to give credits to the programmer if you use someones code

  12. #12
    jack445's Avatar Member
    Reputation
    2
    Join Date
    Apr 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Didn't even bother to make it look pretty, but here you go:
    Code:
    WowProcess.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
    IntPtr baseAddress = WowProcess.MainModule.BaseAddress;
    bool isLoggedIn = Convert.ToBoolean(WowProcess.ReadUInt((uint)baseAddress + 0xCC9EFA));
    if (isLoggedIn)
        Console.WriteLine("Logged in");
    else
        Console.WriteLine("Not logged in");
    EDIT: Just as ejt said, I'd recommend you to start from searching for answers on this forum, there's more than enough information that you will need. If you get confused about variable types right now, you will definitely have problems later on when you'll move to more advanced stuff. Therefore, I would recommend to read some good book about the programming language that you're planning to use.
    Last edited by jack445; 01-20-2013 at 04:30 PM.

  13. #13
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    191/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its basicly like you try the following:
    bool someBool = 1,53456
    I can just advice you to read up a bit before trying those things and this advice is coming from soneone whos also just in learning phase

    Also:
    BlackMagic wow = new BlackMagic(); //Create new function to open wow process
    You create an instance of an object. There is not something like a "function to create".

Similar Threads

  1. [Scamming Question] WoW Gold Buying.
    By CCCody in forum World of Warcraft General
    Replies: 0
    Last Post: 01-23-2008, 07:12 PM
  2. [Emulator Question] WoW Pets Functioning Correctly
    By TrunksVegita in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-13-2008, 02:05 AM
  3. [Question] Wow Glider
    By Tropem in forum World of Warcraft General
    Replies: 3
    Last Post: 12-24-2007, 11:46 AM
  4. [Question] WoW Mapeditor
    By Hiselor in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 10-09-2007, 04:54 AM
  5. [QUESTION] Wow closes afther a char-->creature dbc modelledit
    By Soulsedge in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 09-06-2007, 02:25 PM
All times are GMT -5. The time now is 09: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