Mattimeo Posted February 22, 2005 Share Posted February 22, 2005 Hey y'all. I just created an SOF2 parser. This program will allow you to browse to a games.log file created from SOF2. Then you can process the file and display on the connections/name connected or the chat/says in the logfile. Kinda like quakechat but a little bit different imo. I was able to strip all color codes out not just the 0-9 codes. Also displayed connection ip/guid info. http://www.nevadie.net/pbbans/sof2parser.zip You can download it from there until it gets put up at sof2files.com Comments/suggestions welcome. -Mattimeo Quote Link to comment Share on other sites More sharing options...
GamingFox AdminFed Posted February 23, 2005 Share Posted February 23, 2005 Its not bad, just need some work on speed and the formatting of the result. Plus, the "loading" bar with estimated time remaining would be nice too. :D Great work! Keep it up. Quote Link to comment Share on other sites More sharing options...
Mattimeo Posted February 23, 2005 Author Share Posted February 23, 2005 I think I'm going to make one program to do that to a bunch of different game logs, like cod and whatnot. Also will work on loading bar, and will also work on the actual parse code, parsing is pretty resource intensive. If I didn't strip the colors, it'd be a lot easier. I had to use every letter in the alphabet - twice (lower case and capitals) also had to use every number and special characters (like !, @, #, }) and each one of those is a 'check' and that pretty much makes it so it takes so long lol -Mattimeo Quote Link to comment Share on other sites More sharing options...
GamingFox AdminFed Posted February 24, 2005 Share Posted February 24, 2005 (edited) One suggestion... Don't try to view alphabet, numbers, and special characters as characters. Try to view them as ASCII numbers. For example... All upper-case alphabet are ASCII numbers from 65 to 90. Lower-cases are from 97 to 122. Numbers are from 48 to 57. Speical characters are various, but you can try to group them into ranges. So if you write it in the C programming language, it might look like this... if((ch >= 48 && ch <= 57) || (ch >= 65 && ch <= 90) || (ch >= 97 && ch <= 122) || .... ) { strip_it(ch); } Something like that. It can really cut down the time because of less operations the program have to do. Just an idea. Don't know your source code, but just want to make sure you know about this. :D Edited February 24, 2005 by GamingFox AdminFed Quote Link to comment Share on other sites More sharing options...
priestx.twol Posted March 2, 2005 Share Posted March 2, 2005 (edited) setup a CVS for me will ya? Or make the source public. Edited March 2, 2005 by priestx.twol Quote Link to comment Share on other sites More sharing options...
F1r3St0rm Posted March 2, 2005 Share Posted March 2, 2005 Ya, put here to download some that help us to see the logs from pb...:D tks [[]] Quote Link to comment Share on other sites More sharing options...
Mattimeo Posted March 2, 2005 Author Share Posted March 2, 2005 Be more specific, I will code in any requests made, if you wish you can msn me at [email protected], have log files for me to reference ready. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.