Your pushing like 7 commands at once = lag.
There is no way to stop this, becuase your calling it in Present.
If you want no spread/no recoil, use the Weapon Classes instead of pushing commands
Hi I was playing with my hacks right? And I noticed that when I turned on "No Spread" that my fps dropped 10!!!! Anyway to prevent this?
Your pushing like 7 commands at once = lag.
There is no way to stop this, becuase your calling it in Present.
If you want no spread/no recoil, use the Weapon Classes instead of pushing commands
Lag means you're destroying your CPU, and it must queue whatever actions you tell it to do because it does not have the capacity to complete your request in real time.
Now, on a standard CPU, this should never happen unless you're doing some intensive tasks, gaming not being one of them.
tl;dr, your no spread method is very inefficient. fix it up.
Yes you can, check if x seconds have passed since the last call, and call it again. Better yet, check for the current value, if different changes.
Last edited by freedompeace; 04-13-2011 at 01:44 AM.
| Buy Premium MC accounts CHEAP Click here |
Respected seller.
Check my vouches in the first post of the above MC account thread ^
Yeah OFcourse you can't RunCOmmands in EveryFarme without lag
try to Run It once
OMG? u said im a noob?
U dont know anything about c++ and hacking -_________-
U ask a dump question why ur hacks lagg when u allways run PTC in a loop. Its 100% clear that iits causes a lagg -_-
Try when u awnser to not use the words "noob, asshole, coder, leecher"
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
says the one thats never released a hack and a post count of 10 and doesn't help anyone
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
I bet you do....c & p of gellins base
| Buy Premium MC accounts CHEAP Click here |
Respected seller.
Check my vouches in the first post of the above MC account thread ^
When using PTC methods your better off making a global boolean to detect if hack is selected or not, you only need to PTC once except for No Fog which requires you to PTC every time you respawn. Anyway if you have selected a hack from menu or hotkey then set the global boolean to true, then in your thread if global boolean = true then run through your PTC commands and after running through your PTC commands set it back to false until next time you select a hack to use, Also set this global boolean to true when joining a new game so you dont have to turn them back on again, do this by using the game status address.
Last edited by Departure; 04-14-2011 at 12:44 AM.
PashaAmd (04-14-2011)
freedompeace (04-14-2011)
| Buy Premium MC accounts CHEAP Click here |
Respected seller.
Check my vouches in the first post of the above MC account thread ^