335 (wotlk) Bot? Object manager and more. C++ ? Release ... ?! menu

User Tag List

Results 1 to 12 of 12
  1. #1
    tutrakan's Avatar Contributor
    Reputation
    134
    Join Date
    Feb 2013
    Posts
    175
    Thanks G/R
    124/52
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [3.3.5a][wotlk] Object manager and stuff. c++ noob freestyle

    ---

    Edit: I decided to remove the co called bot, due to the lack of interest and the possibly negative influence to the fragile now-days wow emulation community.

    I will publish basic examples, like injection, detours and interesting stuff.
    Regarding that nobody interested in it, all content was removed, so please contact me if you have questions.

    My aim was to learn c++ while having fun in same time, but after all, it seems that I still suck at it.
    Last edited by tutrakan; 04-02-2017 at 11:55 PM.

    335 (wotlk) Bot? Object manager and more. C++ ? Release ... ?!
  2. Thanks Corthezz, Vandra, Xewl, lolp1 (4 members gave Thanks to tutrakan for this useful post)
  3. #2
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    183/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice move thta you shared it with the community. +5 Rep.
    A c++ noob myself but I would probably group up classes logically in folders

    Edit: You must spread some Reputation around before giving it to tutrakan again.
    Check my blog: https://zzuks.blogspot.com

  4. #3
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the share!

  5. #4
    tutrakan's Avatar Contributor
    Reputation
    134
    Join Date
    Feb 2013
    Posts
    175
    Thanks G/R
    124/52
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Corthezz View Post
    A c++ noob myself but I would probably group up classes logically in folders .
    My greatest fear was this #include nightmare with (even!) my own files from folders and sub-folders.

    Regarding structuring: The MVS IDE has this nice feature (c++ only if I'm right): creating these virtual folder structures named "filters", which helped me to keep all the stuff in one physical place.

    Anyway, I've listened your advice and classified in folders, in a way to help with the readability out of my IDE.

    Thanks!
    Last edited by tutrakan; 10-27-2016 at 10:24 PM.

  6. #5
    tutrakan's Avatar Contributor
    Reputation
    134
    Join Date
    Feb 2013
    Posts
    175
    Thanks G/R
    124/52
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A question for advanced windows users:
    Can i have any help with finding a window handle in relation on the text tittle(example; give me a window handle having this text on his title: "World of Warcraft Retail") and set focus on it.

    Any help is good. TY!

  7. #6
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tutrakan View Post
    A question for advanced windows users:
    Can i have any help with finding a window handle in relation on the text tittle(example; give me a window handle having this text on his title: "World of Warcraft Retail") and set focus on it.

    Any help is good. TY!
    To find the window handle, use ::FindWindow -- FindWindow function (Windows)
    To bring that window to the front, use ::SetForegroundWindow -- SetForegroundWindow function (Windows)

  8. Thanks tutrakan (1 members gave Thanks to namreeb for this useful post)
  9. #7
    tutrakan's Avatar Contributor
    Reputation
    134
    Join Date
    Feb 2013
    Posts
    175
    Thanks G/R
    124/52
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, concise answer. And worked well.

    Any advice how to deal with these circular include nightmares?

    Rvalue References: C++0x Features in VC10, Part 2 | Visual C++ Team Blog
    Go to the comments (Tom and BF) and tell me your opinion about.
    Honestly, sometimes I am discouraged to continue with c++. I spent more time struggling with includes than developing further the program logic^^.
    Last edited by tutrakan; 11-03-2016 at 08:49 AM.

  10. #8
    Naggwa Shel's Avatar Private
    Reputation
    6
    Join Date
    Oct 2016
    Posts
    1
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want to avoid 'include hell', the first thing you should do is stop using headers for function definitions.
    Why do you use headers for everything?

    Do like this:

    Manager.hpp:
    Code:
    void mrint(std::string name, std::string value);
    Manager.cpp
    Code:
    void mrint(std::string name, std::string value)
    {
    	if (graph == nullptr)
    		return;
    
    	std::string line = name + " = " + value;
    	graph->AddTextLine(line);
    }
    And in this function you better pass strings by const reference.

  11. Thanks tutrakan (1 members gave Thanks to Naggwa Shel for this useful post)
  12. #9
    tutrakan's Avatar Contributor
    Reputation
    134
    Join Date
    Feb 2013
    Posts
    175
    Thanks G/R
    124/52
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Naggwa Shel View Post
    Why do you use headers for everything?
    I find that the famous c-like manner to split declarations and definitions in two separate files (IMHO), decreases maintainability and readability and adds a lot of redundancy in the code.
    And I tried something else and I liked it more that way.
    I imagine that this way can be a very bad practice, so that's why I posted it here to get some advises for c++ etc.

    Thanks for the const reference, I wrote it as it was a c# function by mistake.

  13. #10
    Narache's Avatar Member
    Reputation
    13
    Join Date
    Dec 2007
    Posts
    36
    Thanks G/R
    6/7
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Their is a C++ interface of WoW Client available somewhere on Github too... Very usefull, for 3.3.3 or 3.3.5a I don't remember.
    Name is WowX or WowOne something like this someone hae any link?

  14. #11
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    208
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WoWX is 2.4.3 TBC iirc.
    There is however this:
    GitHub - tomrus88/WowAddin

  15. #12
    tutrakan's Avatar Contributor
    Reputation
    134
    Join Date
    Feb 2013
    Posts
    175
    Thanks G/R
    124/52
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    __________
    Last edited by tutrakan; 11-25-2016 at 07:52 AM.

Similar Threads

  1. [Bot] Question: Lazy Bot Object Manager Pointers and Offsets
    By gxavier in forum WoW Memory Editing
    Replies: 1
    Last Post: 07-29-2015, 11:31 AM
  2. Event guide - Game object IDs and more
    By Theokwo in forum WoW EMU Guides & Tutorials
    Replies: 14
    Last Post: 08-05-2014, 05:37 PM
  3. Replies: 163
    Last Post: 12-17-2013, 03:52 PM
  4. [Selling] Battle.net (EUR) account - WoTLK [6 levels 80 and more], SC2, Cata beta, Diablo2, ...
    By Netsky56 in forum World of Warcraft Buy Sell Trade
    Replies: 1
    Last Post: 10-17-2010, 07:52 AM
  5. Replies: 9
    Last Post: 03-03-2010, 02:36 PM
All times are GMT -5. The time now is 10:57 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search