that address probably is static and holds only mp_rust. i think u got the wrong address
ok, the address is correct, have tested it, it doesnt do what its supposed to, for all maps it just says current map is rust even tho if im not on rust.
Help pls how do i get this to work
Code:char* MapName = (char*)0x08F11F8; if( MapName = "mp_rust" ) { SendCommandToConsole("say ^3NEXT MAP IS WASTELAND"); } else if( MapName == "mp_highrise") { SendCommandToConsole("say ^3CURRENT MAP IS HIGHRISE"); } else if( MapName == "mp_boneyard") { SendCommandToConsole("say ^3CURRENT MAP IS SCRAPYARD"); }
that address probably is static and holds only mp_rust. i think u got the wrong address
intervention61 (07-31-2011)
Current map in MW2 (char[64] array) - CGS_T + 0x14C.
Assuming your trying to hack AlterIW:
Code:// AlterIW: CGS_T - 0x7F0C78 // Steam: CGS_T - 0x7F1CF8 char mapName[64]; int addy_mapName = 0x7F0C78 + 0x14C; for(int i = 0; i < 64; i++) mapName[i] = (char)(addy_mapName + i); // Some craps like that, there's probably a better way to read // an array on an injected DLL
Last edited by master131; 07-30-2011 at 10:17 PM.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
intervention61 (07-31-2011)
nvm, its working now
ty.
Code:char* MapName = (char*)0x08F11F8; if (strcmp(MapName,"mp_rust") == 0 ) { SendCommandToConsole("say ^3NEXT MAP IS WASTELAND"); } else if (strcmp(MapName,"mp_highrise") == 0 ) { SendCommandToConsole("say ^3CURRENT MAP IS HIGHRISE"); } else if (strcmp(MapName,"mp_boneyard") == 0 ) { SendCommandToConsole("say ^3CURRENT MAP IS SCRAPYARD"); }