Author Topic: update zitrostats ingame  (Read 1435 times)

0 Members and 4 Guests are viewing this topic.

Offline spkka

  • Camper
  • ***
  • Posts: 469
update zitrostats ingame
« on: April 14, 2007, 05:00:07 am »
any script on updating zitrostats after each round?
i tried various things for 2 days now but it still doens't work
i tried the GetURL on OnMapLoad but didnt work
someone?

Date Posted: April 12, 2007, 03:06:25 PM
plz!!! someone!
... :(

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: update zitrostats ingame
« Reply #1 on: April 14, 2007, 05:18:07 am »
You got no reply, so obviously there is no script to do that.

Offline spkka

  • Camper
  • ***
  • Posts: 469
Re: update zitrostats ingame
« Reply #2 on: April 17, 2007, 07:10:34 am »
yea i know but come'on ! there should be one i think becus of this post
http://forums.soldat.pl/index.php?topic=10852.0

And yes you posted aswell EnEsCe on that. And if theres none jus tell me pllz !
Im trying to get things settled for 4 days or sth... :(
later

Date Posted: April 14, 2007, 06:27:04 AM
ok anyways i found a way around since OnMapChange can only be used in the new version :/
(now i know after 2 weeks! thnx for helping :/ )


Procedure AppOnIdle(Ticks: integer);
begin
if Ticks mod (3600 * 30) = 0 then begin
GetURL('http://localhost/Zitrostats/update.php');
end;
end;


This will update zitrostats  each 30 minutes.. thats when my round ends.
Anyways special thnx to keydon  for helping me out! was only 2 minutes work :/

Offline KeYDoN

  • Major
  • *
  • Posts: 60
Re: update zitrostats ingame
« Reply #3 on: April 21, 2007, 05:09:53 pm »
no problem my luv =)

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: update zitrostats ingame
« Reply #4 on: April 21, 2007, 05:57:16 pm »
Be careful, sometimes zitrostats instead of updating only new logs it starts to update everything from start. It's a bug that Olaf, the guy that made this, doesn't know how to fix. In this case you will have double and triple scores. For my status I am using a cron job that updates every 6 hours. But with this form: http//yourstatuslinkhere/update.php?limit=40 This will update ONLY 40 new log files. You can change this to any number you like. This way if there is a problem you will be able to see it early. However if this happens there is no other way to fix it than reset and re-update all. The limit in log files however will save you from status updating ALL files. In my case and with 3 servers and thousands of log files this takes hours.

Offline spkka

  • Camper
  • ***
  • Posts: 469
Re: update zitrostats ingame
« Reply #5 on: April 22, 2007, 08:04:45 pm »
cheers for the info!

Offline KeYDoN

  • Major
  • *
  • Posts: 60
Re: update zitrostats ingame
« Reply #6 on: April 23, 2007, 08:35:53 am »
o O  im updating 3 server all 10 minutes for amlost year :O

Offline W0MB13

  • Major(1)
  • Posts: 13
Re: update zitrostats ingame
« Reply #7 on: November 03, 2009, 05:17:34 pm »
Be careful, sometimes zitrostats instead of updating only new logs it starts to update everything from start. It's a bug that Olaf, the guy that made this, doesn't know how to fix. In this case you will have double and triple scores. For my status I am using a cron job that updates every 6 hours. But with this form: http//yourstatuslinkhere/update.php?limit=40 This will update ONLY 40 new log files. You can change this to any number you like. This way if there is a problem you will be able to see it early. However if this happens there is no other way to fix it than reset and re-update all. The limit in log files however will save you from status updating ALL files. In my case and with 3 servers and thousands of log files this takes hours.

*Sorry to resurrect an old thread*

This problem still seems to be happening in the latest release :S