Raised This Month: $ Target: $400
 0% 

php -> server


Post New Thread Reply   
 
Thread Tools Display Modes
Odward
New Member
Join Date: Apr 2008
Old 07-12-2009 , 13:07   Re: php -> server
Reply With Quote #11

Do u know that i love u ? ^^
It works !!
Now, i can focus on the web interface for my web application !
Thx u 8088 !
Odward is offline
8088
Veteran Member
Join Date: Jan 2008
Old 07-12-2009 , 13:45   Re: php -> server
Reply With Quote #12

No problem :)
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
filegreg
Zero Posts
Join Date: Jan 2010
Old 01-07-2010 , 09:30   Re: php -> server
Reply With Quote #13

Hi,

I seem to have a problem with the rcon_hl_net.inc class.


First, I wrote a script which shows edited data (tables +css). Unfortunately the script shows max 15 players only. (There are 20 players on the server).

Then, I run a script just to see raw data. Again, it shows 15 players only.


I am not sure where the problem is.


I also have a different class valve_rcon.class. The script shows all the players on the server, unfortunately this class is really slow.


Does anyone have any idea how to fix a problem with rcon_hl_net class?

Thank you in advance

filegreg is offline
8088
Veteran Member
Join Date: Jan 2008
Old 01-07-2010 , 19:40   Re: php -> server
Reply With Quote #14

I noticed the same bug a couple of days ago, but I haven't looked into it yet. My knowledge of PHP is yet still very basic, but I'm curious about the class that you used. Is it the one from phpclasses.org?
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
filegreg
Zero Posts
Join Date: Jan 2010
Old 01-07-2010 , 20:10   Re: php -> server
Reply With Quote #15

Yes It is. I will try to add a loop...something like:

while (($currentByte = socket_read($socket, 1)) != "") {



}
filegreg is offline
sparkey
Senior Member
Join Date: May 2010
Old 08-16-2011 , 20:35   Re: php -> server
Reply With Quote #16

Sry for bumping old thread but did you ever find a solution for this? I am also experiencing the same problem in the rcon_hl_net class.
sparkey is offline
8088
Veteran Member
Join Date: Jan 2008
Old 08-16-2011 , 20:46   Re: php -> server
Reply With Quote #17

I never did, unfortunately. But I never really looked into it and I'm not using it anymore.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
sparkey
Senior Member
Join Date: May 2010
Old 08-16-2011 , 20:52   Re: php -> server
Reply With Quote #18

Okay Do you have any other good alternatives for getting hlds servers parameters like players with php?
sparkey is offline
8088
Veteran Member
Join Date: Jan 2008
Old 08-16-2011 , 21:00   Re: php -> server
Reply With Quote #19

You could write your own. This page may be helpful. At the bottom you'll find some libraries.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-17-2011 , 06:49   Re: php -> server
Reply With Quote #20

Try using my PHP class: https://github.com/xPaw/PHP-Source-Query-Class
It should be getting all info correctly without losses.

Will be good to have a report from you guys.
__________________
xPaw is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode