Raised This Month: $ Target: $400
 0% 

Bank Vault mod - Multiple plugin trouble/Forwards - bot behaviour


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lulu the hero
Senior Member
Join Date: Oct 2009
Location: Budapest, Hungary
Old 08-19-2010 , 03:11   Re: Bank Vault mod - Multiple plugin trouble/Forwards - bot behaviour
Reply With Quote #1

Yep, you know why? I tell you why.

The program is getting bigger and bigger. Working fine. Perfectly. No errors, no warnings. Then I add a few more code. Still works. Then I add something like a menu. Then when I add a bot, the whole hl crashes without an error. Then I remove the things I've edited recently, starting to comment them out, and still has the bug( appeared at the menu ). Then I need to comment out everything almost, and then I realise: I've mistyped a letter in a string, eg. in a forward declaration. 1 flippin' character. That happens lesser then the other version, where I give up the whole thing in the middle of commenting, and just start a new file, and copy paste the working codes from the buggy to the new. It is simpler to me.

Note to self: USE SVN, MORON!( Yep, I should... )

So I am lazy to debug. I hate errors which are not syntactical errors. And I hate debugging them, so I use this method, and I got used to it.
Any idea on how to avoid these kind of problems?


Edit:
I'm doing that right now

Last edited by Lulu the hero; 08-19-2010 at 03:16.
Lulu the hero is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-19-2010 , 06:40   Re: Bank Vault mod - Multiple plugin trouble/Forwards - bot behaviour
Reply With Quote #2

Quote:
Originally Posted by Lulu the hero View Post
Yep, you know why? I tell you why.

The program is getting bigger and bigger. Working fine. Perfectly. No errors, no warnings. Then I add a few more code. Still works. Then I add something like a menu. Then when I add a bot, the whole hl crashes without an error. Then I remove the things I've edited recently, starting to comment them out, and still has the bug( appeared at the menu ). Then I need to comment out everything almost, and then I realise: I've mistyped a letter in a string, eg. in a forward declaration. 1 flippin' character. That happens lesser then the other version, where I give up the whole thing in the middle of commenting, and just start a new file, and copy paste the working codes from the buggy to the new. It is simpler to me.

Note to self: USE SVN, MORON!( Yep, I should... )

So I am lazy to debug. I hate errors which are not syntactical errors. And I hate debugging them, so I use this method, and I got used to it.
Any idea on how to avoid these kind of problems?


Edit:
I'm doing that right now
An idea would be with preprocessors. To enable you to debug faster .
If you are interested I can give you a small code example.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Reply



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 00:12.


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