It is currently Sun Aug 01, 2010 6:55 am

All times are UTC + 1 hour [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1, 2  Next
  Print view Previous topic | Next topic 
Author Message
 Post subject: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 10:39 am 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
Currently we have a problem that the live stats view is not working anymore.
See those topics for more details:
viewtopic.php?f=10&t=1095
viewtopic.php?f=16&t=1084

Attached is an updated version of the
Code:
hlstatsinc/hlquery_funcs.inc.php
file.
Please download and test if this is working.

what I need to know if this is working for:
- updated hl1 games
- current source games
- current hl2 games.

It would be nice if you can check this.


Attachments:
hlquery_funcs.zip [5.36 KiB]
Downloaded 195 times

_________________
Image
Image
Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 12:20 pm 
Newbie
Newbie

Joined: Wed Oct 29, 2008 12:14 pm
Posts: 8
Location: Germany
Hi,
i try with a updatet hl1 Game (CS:CZ)
Unfortunately, it doesn't work. =(
You can look at it here:
http://www.egoiste.org/hlstats/hlstats.php?mode=live_stats&server=1

If I can help somehow, inform me.
Sorry for my bad english.


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 12:58 pm 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
Hello and welcome.

so you did replace the attached file with your current one ?

also I have noticed that you still use HLSstats version 1.32.
the latest one is 1.38.
So please update.

anyway if you can give me your server IP and rcon to test with, I perhaps can help

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 2:25 pm 
Newbie
Newbie

Joined: Wed Oct 29, 2008 12:14 pm
Posts: 8
Location: Germany
Hello at all,
sorry have forgotten hello, to say to all.
Where has only my manners I.

I have installed a fresh 1.38,
and I use your patched hlquery_funcs.inc.php.
The result is the same.
You can take a look here:
http://www.egoiste.org/hlstats2/hlstats.php?mode=live_stats&server=1

I send the rcon an Server IP with PM to you.
Thanks for your help.
:D


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 2:57 pm 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
well I think there is something wrong.
I've added your server and the result can be found here:
http://91.204.170.23/hlstats/hlstats.ph ... s&server=3

as you can see it is working, but I don't know why....

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 3:34 pm 
Newbie
Newbie

Joined: Wed Oct 29, 2008 12:14 pm
Posts: 8
Location: Germany
Hmm,
das ist ja komisch.
Ich hab die 1.38 jetzt extra mal ganz neu installiert.
Warum klappt es bei deiner Version und bei meiner nicht?
Das kapier ich jetzt nicht.
Da muss ich wohl noch mal alles genau anschauen.
Liegt es evt. an der development version die du da hast?
Ist da was anders als bei der 1.38?

Bin ich den jetzt der einzige bei dem die Live Stats nicht mehr funzen?

Ich danke dir trotzdem für deine Hilfe, ihr macht hier tolle Arbeit finde ich.

Gruß,
Frank


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 3:48 pm 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
nun ja eigentlich sollten das bei jedem das problem sein.
aber leider melden sich zu wenig dazu.

nun ja die version vin mir ist eine neure version. aber ich kann mir im moment nicht vorstellen wo der unterschied liegt.
aber ich werde da mal nen diff machen zwischen den 2 versionen.

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 4:11 pm 
Newbie
Newbie

Joined: Wed Oct 29, 2008 12:14 pm
Posts: 8
Location: Germany
Hi,
ich hab jetzt noch mal zum test den hlstatsinc aus der 1.40 Beta genommen.
Klappt leider immer noch nicht.

Kannst du mal deinem web Folder oder den hlstatsinc Folder zipen oder taren.
Dann teste ich mal ob es damit hinheut, nur mal so zu testen.

Oder wo bekomme ich den die Dev. Version her?
Dann kann ich die ja auch mal draufklatschen.


Gruß,
Frank


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 4:14 pm 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
du kannst die auch via svn "runter" laden:
http://hlstats-community.org/index.php?p=svn

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 4:56 pm 
Newbie
Newbie

Joined: Wed Oct 29, 2008 12:14 pm
Posts: 8
Location: Germany
Hi,
Tatsache mit der dev. Version aus Subverion klappt es auf anhieb.
http://www.egoiste.org/hlstats3/hlstats.php?mode=live_stats&server=1
Also mit der 1.40 Beta geht es nicht nicht.

Dann muss ich also auf die nächste Version warten.
Da geht dann wohl wieder alles.

Test weise hab ich jetzt mal den Inhalt aus dem hlstatsinc Folder von der
dev. Version über die Files von der 1.38 kopiert.
Dann klappen die Live Stat auch da.
http://www.egoiste.org/hlstats2/hlstats.php?mode=players&game=czero

Muss also was anders sein an diesen Files.


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 4:58 pm 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
jup blos was ;-)

nun ja das finde ich schon raus, für was hat man den svn...

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Wed Oct 29, 2008 11:06 pm 
Newbie
Newbie

Joined: Mon Oct 27, 2008 3:17 am
Posts: 2
No, it doesn't list the players.


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Thu Oct 30, 2008 12:11 pm 
Newbie
Newbie

Joined: Wed Oct 29, 2008 12:14 pm
Posts: 8
Location: Germany
Hi,
also ich hab's mir jetzt erst mal zurechtgebastelt. :D

Man braucht wohl die "neue" hlquery_funcs.inc.php und auch die binary_funcs.inc.php aus der aktuellen dev. Version.

Die hab ich in meine 1.38 Version gepackt.
Dann muss man noch in der live_stats.inc.php was ändern.

alt
Code:
$server_players_tmp = $server_players;
      $server_status = Source_Rcon($server_ip, $server_port, $server_rcon, 'status');
   }
   else {
      $server_status = HalfLife_Rcon($server_ip, $server_port, $server_rcon, 'status', $query_challenge);

Code:
Parse_HL_Status($server_status, $server['source'], $server_players, $server_hltv);


neu
Code:
$challenge = Source_A2S_GetChallenge($server_ip, $server_port);
      $server_status = HalfLife_Rcon($server_ip, $server_port, $server_rcon, 'status', $challenge);
   }
   else {
      $server_status = HalfLife_Rcon($server_ip, $server_port, $server_rcon, 'status', $query_challenge);

Code:
Parse_HL_Status($server_status, "", $server_players, $server_hltv);


sieht dann so aus:
http://www.egoiste.org/hlstats2/hlstats.php?mode=live_stats&server=1

die Google map und die Lokalisierung der Player hab ich noch selbst mit dazugebaut. Davon also nicht verwirren lassen. (hab ich bei HlstatsX abgekuckt)

Frag mich aber jetzt nicht was genau das Problem ist (war) hab mir das durch versuch und Irrtum zusammengestrickt.

Hmmm, wenn Player komische Sonderzeichen im Namen haben,
dann geht die Google map manchmal nicht. Da muss ich wohl noch
nacharbeiten. :-(

MfG
Frank


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Fri Oct 31, 2008 12:28 pm 
Administrator
Administrator
User avatar

Joined: Fri May 06, 2005 1:27 pm
Posts: 1258
Location: Germany
sehr komisch, das was du gemacht hast bekomme ich nicht hin.
bei mir geht dann gar nichts mehr....
auserdem gibt es schon einen unterschied ob das eine source server oder ein nicht source server

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Possible fix for live_stats.php and steam update 48
PostPosted: Fri Oct 31, 2008 2:27 pm 
Newbie
Newbie

Joined: Sat Sep 20, 2008 1:53 pm
Posts: 13
hi banana und alle weiteren leidtragenden des updates

ich habe mir per svn deine funcs.inc (dev. Version aus Subverion) gezogen, nachdem die von dir im forum als update gepostete nicht funktioniert hat.

ich nutze die beta- version also nicht die 1.38

das ergebnis ist jedoch, dass es nicht funzt.. weder mit der einen noch mit der anderen version der *.inc

http://193.192.59.72/nicors/hlstats/web ... s&server=4

die fehlermeldung kommt nun nicht mehr im php, jedoch werden keine player gelistet.

habe ich etwas vergessen einzurichten oder zu ändern?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
skymiles v1.1 designed by CodeMiles Team -TemplatesDragon-.