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 ^_^
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 ^_^
Happy birthday xD, I can't really help we the C++, i'm just starting on that. Sorry!
i would like to know this to :p (only disabling the quest part tho)
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:
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
@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.
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.
wellwellwell gtfo since you have nothing better to say.
/reported
And yeah I want this to do through a dll ;)
mmmm why ar u saying /report? :S
Edited:
OMFG that debugger is so fucking pro xD ty
WellWellWell was spaming. Don't saw those bump with that spam.
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.