benscar1 Posted May 18, 2018 Report Posted May 18, 2018 Hi, Thanks for making your node modules open source Doctor Mckay. I'm interested in making a tf2 trade bot. I searched the internet and your api was the only one which allowed the bot to trade ingame. I'm interested in making a bot like this but in python. I looked through the source of tf2 module and I'm having a hard time understanding what some things do. I don't have much experience in javascript or programming bots in general. Could you explain what the Game Controller is and what the protobuf things are doing. I searched online about the TF2 game controller and I didn't find any documentation. Could you link me to some sources to learn more about the game controller and how to control a bot that is ingame? Thanks, Benscar1 Quote
Dr. McKay Posted May 18, 2018 Report Posted May 18, 2018 You're not going to have a good time doing that, honestly. There are no resources or documentation anywhere. It would probably be quicker for you to learn some basic JS than to recreate all of this in Python. Quote
benscar1 Posted May 18, 2018 Author Report Posted May 18, 2018 How did you do it? If it turns out too hard I will try to learn some JS. Quote
Dr. McKay Posted May 18, 2018 Report Posted May 18, 2018 It's a bit detailed to go into here, but it involves implementing the CM protocol by looking at reference code, looking over the protobufs until you find something that looks like you want to do (and possibly not finding it, which means you have to guess the parameters and order), sending messages, and seeing what happens. Quote
benscar1 Posted May 18, 2018 Author Report Posted May 18, 2018 So it seems this involves a lot of reverse engineering. If I use your protobuf files with my script will that work? I plan on using the steam api someone made on github for the other steam things. https://github.com/ValvePython/steam. This api seems to have some GC in it. Quote
Dr. McKay Posted May 18, 2018 Report Posted May 18, 2018 Yeah I don't see any reason why the protobufs in my code wouldn't work. They're dumped directly from Steam anyway. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.