GetPlayerName() menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    RawrSnarl's Avatar Member
    Reputation
    14
    Join Date
    May 2008
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cloud_wizard View Post
    Alright, duly noted, done. Now stop. It has yet to even CALL the function MemoryReadString. The GetPlayerName function is the only function in which MemoryReadString is called, and it fails to call it because I'm reading the memory incorrectly. You're fixing a lot of mistakes in my code, but ones I haven't even gotten to yet. The main problem I'm having is with how I screwed up translating the code I found here: NoMorePasting.com to C++. Except I have no idea where I went wrong.

    Also... Why are you telling me how I need to allocate memory for a string when:

    It took me until now to realize this, but I've used strings without any kind of prior memory allocation several other places in my code with no problems. This should be no different. IDK what you do or don't know, but I kinda doubt you're "super familiar" with C++ (which makes asking for your help translating the code a dangerous endeavor in itself), but this problem (in fact, this whole forum) is about reading WoW's memory.

    A for effort, but I've just spent the last 4 hours chasing imaginary bugs through working code rather than focusing on what actually needs to be fixed.


    Are you really flaming the one person who DIDN'T flame you, and tried to help you out? Really?

    Unbelievable.

    GetPlayerName()
  2. #17
    Sillyboy72's Avatar Member
    Reputation
    13
    Join Date
    Jan 2009
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cloud_wizard View Post
    Now stop.
    Done.

    Originally Posted by cloud_wizard View Post
    Also... Why are you telling me how I need to allocate memory for a string when:
    Because I know... well, alot. I know that it doesn't matter how fancy the std::string class is... the win32 api needs memory to write to, and your magic class has no way of knowing how much space to allocate.

    You are going to need to learn to debug. It is rather unlikely somebody is going to slog through your code looking for errors.

  3. #18
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After reading this thread, I am not helping cloud_wizard again, ever, even with opinions or advice. What an ungrateful prick who has no ****ing idea what he's doing.

  4. #19
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This thread amuses me.

Page 2 of 2 FirstFirst 12
All times are GMT -5. The time now is 07:15 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