Raised This Month: $ Target: $400
 0% 

Sort all arrays with one func


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 01-30-2017 , 12:36   Re: Sort all arrays with one func
Reply With Quote #7

So add a few debug messages to show where the problem is.

For example, if the message is displaying less than expected kills:
Log when it is supposed to register the kill count, preferably at more than one point until the variable is set. Including variable values if necessary.
At the point of the printing of the message, log all the variable values related to the message to find anything unexpected.

This is the best way to debug your code. It is also how you learn to understand the code.

The code is kind of big for me to debug since I don't know anything about it. I also can't compile it because I'm missing "cl_buy".
If you want me to debug, please tell me where to get the required files and how to reproduce the error and I will test with bots.
__________________

Last edited by Black Rose; 01-30-2017 at 12:37.
Black Rose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode