View Single Post
Re: Any of you string/pointer/memory guru's out there who can help me?
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Any of you string/pointer/memory guru's out there who can help me? - 09-04-2004

lol @ pmb:

First of all, my clearing was always done via those 'for' loops. But they are to long. And since i found in some other bots source that he did:

achar[80]=0;

i thought, heck, it probably means 'clear TILL' 80. Although i also was not 100% sure. Anyway. Since i read your post i bet i must be doing something terrible there. so i'll get on with that.

I do not expect anyone to read my entire code, it mostly is an accumilating problem. Like pmb said, i did it multiple times wrong, it adds up wrong, it fucks up memory.

Btw, i got some sleep now, around 3 hours


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote