3 gig AI log

3 gig AI log

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

3 gig AI log

Post by Sheekel »

I was transfering Spring to a friends computer (doesnt have internet) and it seemed to be taking much longer than expected. I searched through the map folder, look at all the files, and discovered that the AI log was over 3 gigs in size. Now i realize that logging is necessary but could the log perhaps write over itself with each new log or something so harddrive space isnt wasted? I never would have found this...im sure other people havent either.
User avatar
Cyberwal
Posts: 149
Joined: 31 Jan 2006, 14:42

Post by Cyberwal »

Hm, my spring folder is 1.5 GB big, but 1 GB of that are maps :P
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

You should tell us what AI generated those logs.

I am aware numerous people will have huge NTAI logs, but only because they never cleared out their log files when they upgrade, so all the benefits of the new versions logging features where lost. pre 0.28 logs are vast comapred to the more miniscule logs of post 0.28 which have steadily decreased in size to the point where now I'm considring comrpessing old logs or using bytecode to reresent messages if I wanna get any smaller. (logs in html would swell to huge sizes when combind with overflow errors, however the switch to plaintext reduced sizes by 80% aswell as the fix to the overflow problem meanign average game sizes are more like 35kb than 600kb).

OTAI also used to lgo excessively but came in logging and nonlogging versions, and veylon has since noticed this and toned it down a lot. I think he also added a logfile size limit
User avatar
Veylon
AI Developer
Posts: 174
Joined: 21 Sep 2005, 19:45

Post by Veylon »

Actually, there is no limit. I have thought about having it end a log and starting a new one when a certain size is reached, but I've never gotten around to it.
The toning down seems to be enough, and if not, they can use the non-logging version.
Post Reply

Return to “AI”