PDA

View Full Version : Question TraceRay Question.



SyntaxX
08-11-2010, 07:15 AM
Hey all :),

I just completed a TriggerBot for CSS, but I noticed , that its very slow.

For Example: someone is running behind the double doors on Dust2 and you aim between the doors. The TriggerBot fires, but the target does not get hit.

BTW: Im using offsets to get the players Health, lifestate .. . Maybe they get not updated fast enough, will the IGameResource struct functions be faster ? or is the TraceRay function just slow ?

Thank you

aaaaaa123
08-11-2010, 07:06 PM
lol why use offset if you're injecting? just find them inside your trace and set up your statements in the the function and call the function when a key is held down or always on if u want

syntroniks
08-11-2010, 09:44 PM
I don't know what more to say, other than traceray is more than fast enough. Check your network and logic. Traceray is incredibly powerful. r_visualizetraces -- declare it as an extern convar or whatever to set up multiple levels.

This helps when you use it in conjuction with the debugoverlay so you can see things like aimbots that check visibility, barrelhacks, autojump/walkbots, etc.

Twice
08-11-2010, 10:51 PM
Do you already predict your target?
http://forum.gamedeception.net/threads/6836-CSS-prediction-by-Xen