How does prediction work?

Posts 1–6 of 6 · Page 1 of 1
How does prediction work?
This is only for SP.

I've made a hack (without CG_Trace cuz that's a bitch and always returns 1) and I want to add prediction even if it has bone aiming for spot on shots. Problem is that I don't understand how prediction works if you're playing alone since in MP you would do something like use the ping but in SP what would you use? I found something that looks like player velocity in gentity_s but the values appear and disappear fast so I have no use of that and how I can use it.

Any ideas?
Prediction is pretty useless in both cases, MP and SP. Especially in SP, you don't even have to optimize your aimbot in order to get a good hitrate without any kind of prediction.

Still, a simple prediction would for example calculate the targets movement and then aim a little bit in front of the target. It might help a little bit with high pings, but is by far not the best solution. My own MP bot doesn't use any prediction, and it is hitting pretty badass, so I recommend you to do some research / RCE about the game's engine & structure. You'll find out more by time, good luck!
Quote Originally Posted by 191 View Post
Prediction is pretty useless in both cases, MP and SP. Especially in SP, you don't even have to optimize your aimbot in order to get a good hitrate without any kind of prediction.

Still, a simple prediction would for example calculate the targets movement and then aim a little bit in front of the target. It might help a little bit with high pings, but is by far not the best solution. My own MP bot doesn't use any prediction, and it is hitting pretty badass, so I recommend you to do some research / RCE about the game's engine & structure. You'll find out more by time, good luck!
Off topic: You just love saying "RCE" every chance you get, don't you?


On Topic: Prediction is actually pretty useless, as 191 said. Why? Simply because of how CoD games are structured compared to BF. There's automatic lag prediction applied real time so you don't need to do any yourself. For singleplayer, best I can give you is to look at how frame-based prediction is done though, it's useless anyways.
I guess my bot won't be any faster (not that's it's slow). Alrighty thanks.
Quote Originally Posted by Hitokiri~ View Post


Off topic: You just love saying "RCE" every chance you get, don't you?
Well, why should I write "Reverse Code Engineering" when I can use an abbreviation?
Quote Originally Posted by 191 View Post
Well, why should I write "Reverse Code Engineering" when I can use an abbreviation?
Because for people who have no fucking clue as to what you're referring to will seem dumbfounded especially if they want to learn about it.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us