Current map name
tewshi0 opened this issue · 4 comments
tewshi0 commented
How do you get current map name?
I tried getting it using globalvars::GetCurrentMapName() but it crashes the program
The commented out code at
AimStar/CS2_External/Cheats.cpp
Lines 194 to 200 in 65c01e2
M3351AN commented
i have not figured out what's wrong, so i have no idea how to fetch current mapname.that's why estim bomb damage isnot always correct.
M3351AN commented
globalvars from a2x returns pointer of globalvars, instead of globalvars itself.
anyway, current struct can fetch proper tickcount,currenttime etc. but address of current map still looks not right