I am wondering is it possible to read in COD2 in which team I am playing currently (not in-game)? But from the running game process/memory address, or to fetch team info via rcon from server (they could have included that in status)?
I am wondering is it possible to read in COD2 in which team I am playing currently (not in-game)? But from the running game process/memory address, or to fetch team info via rcon from server (they could have included that in status)?
So the bot doesn't teamkill? ;^)
Sure it's possible, just look at the sources and their ESP hud implementations.
timescale 0.01
Hmm bot? I think you misunderstood me..
No, I just want to get info in which team I am currently playing (allies or axis) via a external program (that has no further interaction with the game other than getting the team info) either from the running game or from server via rcon. But I am not sure if that info can be obtained..
@IzNoGoD
No not a web-page, I own the server. Okay the intention is ambilight based on team, so a simple program running on the same PC as the game that gets and checks for the current team I am playing
And actually I just now realized that even if its possible to get the info from the server its not really smart haha
Last edited by v1rto; 18th March 2016 at 19:00.
Please be more specific about your intentions on using this, in order for us to help you.
Do you want to build a web-page that shows the players+teams, do you own the server where this runs on, do you want to run this on your client only?
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
@BratokHR has done it in his bot. Some referenses:
https://github.com/BratokHR/CrazyBot.../types.cpp#L21
https://github.com/BratokHR/CrazyBot...ot/types.h#L26
https://github.com/BratokHR/CrazyBot...zybot.cpp#L560
The Clientinfo_t structure has some basic info about the client, including team.
sudo apt-get rekt
kung foo man (18th March 2016)