Other way to see the name was defined in source code?

Results 1 to 4 of 4
  1. #1
    Apprentice anderson2702 is offline
    MemberRank
    Jul 2022 Join Date
    8Posts

    Other way to see the name was defined in source code?

    Anyone have tut for this?


  2. #2
    C++ Developer zipper20032 is offline
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Other way to see the name was defined in source code?

    Please be more specific. Name of what? Monsters, players, maps?

  3. #3
    Apprentice anderson2702 is offline
    MemberRank
    Jul 2022 Join Date
    8Posts

    Re: Other way to see the name was defined in source code?

    Quote Originally Posted by zipper20032 View Post
    Please be more specific. Name of what? Monsters, players, maps?
    stdafx.h mf

  4. #4
    C++ Developer zipper20032 is offline
    MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    665Posts

    Re: Other way to see the name was defined in source code?

    Quote Originally Posted by anderson2702 View Post
    stdafx.h mf
    stdafx.h is called Precompiled Header.

    Most of the developers are using it to define things inside which these would be used in the further process such as enabling/disabling systems or modules, static variables, memory addresses if needed.

    The precompiled header is compressed and compiled so you can't see it even if you are debugging it, but from what I've seen and it could not be always this behavior, you'll see static variables or directly the number in a debugger, but these will be loaded from .data.

    So no, you won't ever see it like it's in the source code (#define MONSTER_NUMBER 40000), but you would see it like e.g DWORD_20001234 or directly 40000.

    You would need the source code for this.



Advertisement