Author Topic: FoZStats 1.2.0 .:. Update!  (Read 7027 times)

0 Members and 1 Guest are viewing this topic.

Offline FoZ

  • Major(1)
  • Posts: 13
FoZStats 1.2.0 .:. Update!
« on: December 04, 2007, 07:13:11 pm »
FoZStats v1.2.0A (alpha) by FoZ, tehfawz@gmail.com

Added:
New Method of archiving, Reads to memory then to database, instead of reading while writing.

Project Page: http://www.fozed.com
-
Download .Rar http://fozed.com/FoZStats/FoZStats.rar
Download .Zip http://fozed.com/FoZStats/FoZStats.zip
-
Screenshotness


- FoZ

P.S.
  Hope you enjoy my program.
« Last Edit: December 18, 2007, 05:39:37 pm by FoZ »

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: The screenshot speaks for itself...
« Reply #1 on: December 04, 2007, 07:33:32 pm »
Great to see you coding for soldat again FoZ! What features can we expect?

PS: I have more kills than that :p

Offline ElephantHunter

  • Retired Administrator
  • Camper
  • *****
  • Posts: 431
  • Third President
    • - home of the admins -
Re: The screenshot speaks for itself...
« Reply #2 on: December 05, 2007, 03:27:00 am »
Nice! Looking forward to a fast logging program from FoZ.

mar77a: Don't flatter yourself ;)
Everything you have done in life is measured by the DASH on your gravestone.
Stop wasting time.
Make your dash count.

Offline Flacid Assassin

  • Camper
  • ***
  • Posts: 450
  • Gorby The Grunt
Re: The screenshot speaks for itself...
« Reply #3 on: December 05, 2007, 03:32:06 am »
Hey Foz is back, well to me he is lol

Offline itmepaulsoldat

  • Major(1)
  • Posts: 13
  • itmepaul
Re: The screenshot speaks for itself...
« Reply #4 on: December 05, 2007, 05:57:54 am »
looking good :)

Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1 Spoiler
« Reply #5 on: December 06, 2007, 12:25:32 pm »
Welll as far as features go, im pretty much building it from scratch so my first goal is to match solstats 1.2 feature by feature,
 but what already stands out is instead of the old ini file format (ew what was i thinking),
 im using SQLite which works pretty much like mysql. so archiving is faster, no GUI freezing whatsoever,
im planning on allowing you to set archive speed(low,med,high) to smooth things out a bit.
another feature included i think is in solstats also, is support for different languages.
you probably notice quickly the display for weapon stats and player stats is in html,
i plan to write a simple variable catcher so you can skin it in html how you like.

P.S. I will edit this when i think of more :P

Offline Zeating

  • Soldier
  • **
  • Posts: 146
Re: FoZStats 1.1 Spoiler
« Reply #6 on: December 06, 2007, 03:57:16 pm »
Sweet i cant wait to try it out :D

Offline Will

  • Flagrunner
  • ****
  • Posts: 910
Re: FoZStats 1.1 Spoiler
« Reply #7 on: December 06, 2007, 04:16:51 pm »
HTML customising FTW! Looks very promising, can't wait to try it out when I start playing the new soldat version(soon I hope :P )

Could you tell us how you did it? (nothing in depth, just a basic outline of things you've done so far and such)

Offline GAMEOVER

  • Camper
  • ***
  • Posts: 303
Re: FoZStats 1.1 Alpha Release
« Reply #8 on: December 12, 2007, 02:15:39 pm »
Hope to see it continue in development, im very glad to see some of the old schoolers like you still around. Stay cool..

Offline -Vis-

  • Flagrunner
  • ****
  • Posts: 980
  • Zarch
Re: FoZStats 1.1 Alpha Release
« Reply #9 on: December 12, 2007, 03:38:00 pm »
When I run it, it places the window off the left side of my screen, so I can't see it. Any way to fix this? Maybe add window XY variables in settings.ini?

BTW, I followed the instructions, ie. selecting a kill log and language file, which seemed to work ok.


Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1 Alpha Release
« Reply #10 on: December 12, 2007, 03:45:41 pm »
Ok the reason for that, and i didnt think of it... no wonder i havent been getting any hits... anyways my laptops display is broken, so i plug a monitor in to it and use it as the left display so when designing the app it automatically goes for the left.
already fixed :)
- FoZ

Offline -Vis-

  • Flagrunner
  • ****
  • Posts: 980
  • Zarch
Re: FoZStats 1.1 Alpha Release
« Reply #11 on: December 12, 2007, 04:26:49 pm »
It's rather slow going. After about 5 minutes of parsing, it's on KillLog 16 of 337. :-\

At least it's working now. :D


Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1 Alpha Release
« Reply #12 on: December 12, 2007, 04:39:33 pm »
Compare it to any other stats program ;p.
the database is quick and efficent, i know this
because the api is designed in the like of mysql.
It is rather turtlish though... but thats the cost of playing alot of soldat Eh?!
:p

Offline -Vis-

  • Flagrunner
  • ****
  • Posts: 980
  • Zarch
Re: FoZStats 1.1 Alpha Release
« Reply #13 on: December 12, 2007, 04:51:26 pm »
Um... ok.

I just ran DePhille's Logstat 0.1.2 BETA, and it parsed the entire 337 KillLogs in 18.84 seconds.

Yours has been going for about 20 minutes now, and it's only on KillLog 102.

Bear in mind that this is about 5.2MB worth of Killlogs.
« Last Edit: December 12, 2007, 04:56:43 pm by -Vis- »


Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1 Alpha Release
« Reply #14 on: December 12, 2007, 05:00:59 pm »
His program only captures certain listed nicknames statistics, i am archiving whole logs reguardless of who it is.
though you are right on the money, my program is fast, but having to slice through every kill slows it down, so im moving that feature to the top of my list, give me 20 minutes, you can talk to me on messenger tehfawz@gmail.com

Offline -Vis-

  • Flagrunner
  • ****
  • Posts: 980
  • Zarch
Re: FoZStats 1.1 Alpha Release
« Reply #15 on: December 12, 2007, 07:56:35 pm »
Code: [Select]
Error executing SQL "SELECT * FROM names WHERE 'name' = "<<"|*P\ KaMiKaZe /S*|">>"" : near "*": syntax error.
Got about 8 windows popping up with that error, during parsing.


Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1 Alpha Release
« Reply #16 on: December 12, 2007, 08:07:42 pm »
already fixed.

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: FoZStats 1.1 Alpha Release
« Reply #17 on: December 13, 2007, 06:38:21 am »
Throws me ALOT of access violation errors whenever I try to archive.

CHAT! I remember the SK-something which you made few yeasr back, an IM program.
All this time you have been doing soldat programs and IM stuff? ;)
Fight! Win! Prevail!

Offline -Vis-

  • Flagrunner
  • ****
  • Posts: 980
  • Zarch
Re: FoZStats 1.1 Alpha Release
« Reply #18 on: December 13, 2007, 11:51:57 am »
He told me yesterday that when he added the option to parse your name only, he forgot to check that the main one still worked. So you can parse logs for a single name, but not everyone at the same time, until he updates.


Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1 Alpha Release
« Reply #19 on: December 13, 2007, 04:43:40 pm »
Fixed and Fixed.
keep the error reports coming people, dont let me get bored

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: FoZStats 1.1.12 Alpha Release
« Reply #20 on: December 14, 2007, 01:31:34 am »
Hmm. nicknames with ` will produce SQL problems.
Fight! Win! Prevail!

Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1.12 Alpha Release
« Reply #21 on: December 15, 2007, 03:08:23 pm »
Fixed Fixed and fixed.
Fixed the archiving problem by writing my own version of php's addslashes.
fixed a bug in the weapon stats display that displayed stats for weapon 3 twice in a row, skipping #17 (steyr)
Updated default skin, it looks neater now.

spoilers for next version:
working playername search box.
fully usable html skinning, currently only allows you to use the default FoZed profile
automatic uploading of your own stats, along with a Statsimage script, preview:
« Last Edit: December 15, 2007, 06:39:58 pm by FoZ »

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: FoZStats 1.1.12 Alpha Release
« Reply #22 on: December 15, 2007, 03:23:36 pm »
Make sure it is compliant with the forum rules.

Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.1.12 Alpha Release
« Reply #23 on: December 15, 2007, 04:02:41 pm »
that is just a draft, i asked sin to make it smaller but he insists that everything around him must be large... idk why...

ps. sin has a small peepee

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: FoZStats 1.2.0 .:. Update!
« Reply #24 on: December 21, 2007, 02:26:29 am »
Great! You fixed the VERY slow archiving. How did you do it? e.g. how were you reading the files, and how do you read them now?

This is some 400-700 times faster. :D

Edit: Memory consumption. :| Takes over 250MB of RAM after archiving, while "Dumping buffer" for few minutes. It seems that longer I let it run, more it eats the RAM. Strange, since log files only take up some 15MB of diskspace.
It also keeps CPU usage quite high. 2.6GHz Athlon64 X2 goes around 50% for another core for every few seconds. I wonder what my old 1GHz Duron would like about that.

No offense, but right now this seems to be the most inefficient program I have seen so far, ever. But I believe it is just a bad way of doing things. But hey, this is great opportunity to learn to optimize your code better, so I am more than eager to get the new version, just to see the progress you have made. :)
« Last Edit: December 21, 2007, 02:44:44 am by Clawbug »
Fight! Win! Prevail!

Offline FoZ

  • Major(1)
  • Posts: 13
Re: FoZStats 1.2.0 .:. Update!
« Reply #25 on: December 21, 2007, 04:49:00 pm »
Well, its built differently than it acts, i made the buffer 5,000,000 lines long as default, and sortof forgot to code a user input for this option, im working on it, will probably be up tonight or tomorrow.

ps - thanks for the honesty.

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: FoZStats 1.2.0 .:. Update!
« Reply #26 on: December 22, 2007, 08:30:54 am »
Well, obviously it somehow duplicates the data over and over again. Dumping buffer at least isn't surely wworking as it should. It would take AGES for it to dump that buffer. I run out of ram before it can finish it. :P
Fight! Win! Prevail!

Offline Therier

  • Soldier
  • **
  • Posts: 102
Re: FoZStats 1.2.0 .:. Update!
« Reply #27 on: August 21, 2008, 06:24:12 am »
Both links are broken.