31.01.2012, 22:52
Haha, I had to laugh when I read "and you don't want to know what random(0) returns" ><
I don't think I have an unenthless loop somewhere though :/
I can add printf
But I think the server will rather crash from an epic setver_log file size then
If I add a printf to every function and timer, the serer log gets too big because of all the fast timers.
If I don't add printf to some timers, and the problem is in one of those timers, then I risk never finding the problem :/
I already read that article, but .. read above here (about the printfs)
I don't think I have an unenthless loop somewhere though :/
I can add printf
But I think the server will rather crash from an epic setver_log file size then
If I add a printf to every function and timer, the serer log gets too big because of all the fast timers.
If I don't add printf to some timers, and the problem is in one of those timers, then I risk never finding the problem :/
Quote:
Right, sorry, should have asked, just assumed.
Put prints in every callback. https://sampwiki.blast.hk/wiki/Debugging |