Topic: Ladder Displayed on Website
Hello Guys,
Does anybody have any knowledge on the following or how to achieve it?
Essentially I would like our in game Diablo II ladders displayed on our website. Our PvPGN server is running on windows and not mySQL. The webhost is on an entirely different server using Linux (cPanel).
I have attempted to use this script: https://github.com/fw42/diablo2#ladderparser
However I cannot provide the script with $accountsdir file path as the webhost is of course not on the same machine as PvPGN.
Likewise I attempted to use this script: https://github.com/pvpgn/phputils/tree/ … vpgn-stats
However similarly to the above I cannot provide the following as once again the directory is not on the same server.
// set pvpgn_dir to where you pvpgn directory is, include trailing slash
$pvpgn_dir = "/usr/local/";
$ladders_dir = $pvpgn_dir."var/ladders/";
In terms of the .XML file - I can upload this from the PvPGN Server (windows) to the Linux webhost so that isn't a problem, I cannot however upload the entire charinfo folder (in the first example) or the entire pvpgn directory in the second example.
Does anybody have any methods or solutions on tackling this? I'm fairly confident most servers have separate web hosts and PvPGN hosts.
Thanks for any advice you guys can offer.