Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → 3d Party Tools → [Solved]Problem with PHP Status PvPGN

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 7

1 (edited by Feofilaktt 13.02.2018 20:55)

Topic: [Solved]Problem with PHP Status PvPGN

I can not make PHP Status PvPGN work.


https://forums.pvpgn.pro/uploads/images/2018/02/06/status.jpg


I've already tried connecting from outside through my website, for example:

PHP file located on the website:

'ip' => 'server_address'
'port' => 6112

And internally, inside the PvPGN server, for example:

PHP file located on the PvPGN server:

'ip' => '127.0.0.1'
'port' => 6112

But in both configurations, I did not succeed. Which makes me very curious.

Is it any configuration of PvPGN? Because even with the file inside the server it worked..

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Planner

2

Re: [Solved]Problem with PHP Status PvPGN

Make sure php_sockets extension is enabled in your PHP configuration.  It's disabled by default.

Do not ask for support in PM.

3 (edited by Karol 06.02.2018 13:07)

Re: [Solved]Problem with PHP Status PvPGN

You use this script ?
https://github.com/pvpgn/phputils/tree/ … pgn-status

check webserver logs and php config

4 (edited by Feofilaktt 13.02.2018 22:04)

Re: [Solved]Problem with PHP Status PvPGN

HarpyWar wrote:

Make sure php_sockets extension is enabled in your PHP configuration.  It's disabled by default.

it was disabled..

Karol wrote:

You use this script ?
https://github.com/pvpgn/phputils/tree/ … pgn-status

check webserver logs and php config

Yess! Thanks for the info..


But even after all this, I had to add "udp://" before of the server address..

it worked! tks you all..

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Planner

5

Re: [Solved]Problem with PHP Status PvPGN

Sorry to comment in a post from 2018 but I am having a similar problem.

The online/offline page works fine and correctly however the stats are always showing as None.

I believe this is because of the following line:

$statusfile = '/usr/local/pvpgn/var/status/server.dat';

Now my server.dat file is not located in the same place as my webhost - how could I direct the php script to the correct file?

Check out Diablo09.com and join our Diablo II Private Server!

6

Re: [Solved]Problem with PHP Status PvPGN

Do you run webserv on server where pvpgn is hosted ?

7

Re: [Solved]Problem with PHP Status PvPGN

Setup cron to download this file using wget from the pvpgn server once per a minute.
As Karol asked it's required a web server running on the server.

Do not ask for support in PM.

Posts: 7

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → 3d Party Tools → [Solved]Problem with PHP Status PvPGN