C++ Get game type

Results 1 to 16 of 16
  1. #1
    Account Upgraded | Title Enabled! Trilest is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    549Posts

    C++ Get game type

    How to get the game type in C++ ?


    I want to use that to disable the low gravity script in quest oO

    And another question, how to get the map name in C++ oO ?\
    So I can disable the low gravity from some maps.


    Btw today's my b-day ^_^


  2. #2
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: C++ Get game type

    Happy birthday xD, I can't really help we the C++, i'm just starting on that. Sorry!

  3. #3
    Account Upgraded | Title Enabled! Trilest is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    549Posts

    Re: C++ Get game type

    Quote Originally Posted by Mambo View Post
    Happy birthday xD, I can't really help we the C++, i'm just starting on that. Sorry!
    Thanks ;)

    Well anyway thanks for your response ;P

  4. #4
    Rival Gamers Owner own_prox is offline
    MemberRank
    Jul 2007 Join Date
    HellLocation
    1,077Posts

    Re: C++ Get game type

    i would like to know this to :p (only disabling the quest part tho)

  5. #5
    WowIwasSuperCringeB4 XZeenon is offline
    MemberRank
    Jun 2008 Join Date
    CanadaLocation
    1,405Posts

    Re: C++ Get game type

    Quote Originally Posted by ownprox View Post
    i would like to know this to :p (only disabling the quest part tho)
    offtopic:
    in that case since we are all making wishes. I wish I knew EVERYTHING :D.

    /end offtopic

    Uh would you be doing this through DLL?

  6. #6
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: C++ Get game type

    Why would he do it through a .exe?

    Anyway, a simple check might do the trick.
    TeamZebra's (RoA) the gravity script is something to check out.
    Simply find the function for the gametype in test.txt, find it in w/e runnable you are using, and edit RoA's script with a check on the gametype.

    For the quest, I would try to get it to work on something like DeathMatch first.
    If it works, then try it on quest.

    I'll give it a whack when I get back, and d/l another client. D:

  7. #7
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: C++ Get game type

    ammm offtopic:
    anybody knows how to use the dumps of matchserver???
    -----
    mayb one of these DD:

    458370: ZStageSetting::InitStageSettingGameType (51 56 57 E8 EE EE EE EE 8B F0 81 C6 7C 24 00 )
    49B760: ZGameTypeManager::ZGameTypeManager (56 8B F1 E8 EE EE EE EE C7 EE EE EE EE 00 8B )
    49B8F0: ZGetGameTypeManager (E8 EE EE EE EE 85 C0 74 0B E8 EE EE EE EE 05 )
    5019D0: MMatchGameTypeInfo::MMatchGameTypeInfo (56 57 8B F9 8D 77 28 8B CE E8 EE EE EE EE 89 )
    503390: MMatchGameTypeMgr::GetInstance (64 A1 00 00 00 00 8A 0D 04 58 D5 01 6A FF 68 )

    gunzold.ex

  8. #8
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: C++ Get game type

    @Dacharles, the first 1 is for the settings of the game.
    The next 2, I'm not to sure about.
    And the last 2 are for matchserver.
    So, the 1 one is usless, and the last 2 are useless.
    I thought about the ZGetGameTypeManager, but I'm not to sure about it to suggest it.

  9. #9
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: C++ Get game type

    Quote Originally Posted by Tman151 View Post
    I thought about the ZGetGameTypeManager, but I'm not to sure about it to suggest it.
    Agree i thought about that one too >.< but wich ar the parameters? xD i dont know how to read them with olly D:

  10. #10
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: C++ Get game type

    It is a bit difficult with ollydbg.
    The easiest way would be to dump the current version of a runnable, or mess around with IdaPro.

  11. #11
    Account Upgraded | Title Enabled! Trilest is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    549Posts

    Re: C++ Get game type

    wellwellwell gtfo since you have nothing better to say.

    /reported


    And yeah I want this to do through a dll ;)

  12. #12
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: C++ Get game type

    mmmm why ar u saying /report? :S

    Edited:

    OMFG that debugger is so fucking pro xD ty

  13. #13
    Account Upgraded | Title Enabled! Trilest is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    549Posts

    Re: C++ Get game type

    Quote Originally Posted by dacharles View Post
    mmmm why ar u saying /report? :S

    Edited:

    OMFG that debugger is so fucking pro xD ty
    Some guy was spamming with crap, so I reported him the mod deleted his post ;3

  14. #14
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: C++ Get game type

    Quote Originally Posted by dacharles View Post
    mmmm why ar u saying /report? :S

    Edited:

    OMFG that debugger is so fucking pro xD ty
    No problem, has alot more features than ollydbg.

    Quote Originally Posted by Trilest View Post
    Some guy was spamming with crap, so I reported him the mod deleted his post ;3
    Who was spamming?
    Anyway, I will probably look into this a bit more tomorrow or the next day. Unless someone else does it. ;)

  15. #15
    Account Upgraded | Title Enabled! 00niels00 is offline
    MemberRank
    Sep 2008 Join Date
    The NetherlandsLocation
    1,041Posts

    Re: C++ Get game type

    WellWellWell was spaming. Don't saw those bump with that spam.

  16. #16
    Account Upgraded | Title Enabled! x1nixmzeng is offline
    MemberRank
    Nov 2007 Join Date
    England, UKLocation
    240Posts

    Re: C++ Get game type

    How has this not been answered?

    You can return the game type from ZGetGameInterface.
    The offset is ~ +0x400 and its one of the easiest to get from Cheat Engine (scan all unknown values, change game type, scan for changed values, change game type, ect).

    Quest is 0x7.



Advertisement