View Single Post
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 01-03-2013 , 13:38   Re: [CS:S] Bunnyhop Commands (Redux) [1.1 3 Jan 2013]
Reply With Quote #4

I have found several bugs while quickly looking over the half of your code.

  • AutoExecConfig should be after you have created the convars
  • You re set the convarvariables after AutoExecConfig is done, see next point
  • You should grab the convarvalues after AutoExecConfig is done
  • You should fetch bool convars with GetConvarBool and not with StringToInt and such
  • The notifications when some part is enabled or not should be able to deactivate
  • If you change an byref valie in an Callback you should return Plugin_Changed not Handled
  • You should use sizeof if you can instead of the numerical size of a variable
  • You print out an full timestamp instead of remaining waitingtime in the weaponmenuhandler
Have you tested your code?

Yours sincerely
Impact
__________________

Last edited by Impact123; 01-03-2013 at 14:08.
Impact123 is offline