Author Topic: Local server list?  (Read 4046 times)

mikemeyer

  • PGP
  • Posts: 4
Local server list?
« on: September 10, 2006, 09:52:01 PM »
Is it possible to grab a local serverlist as opposed to getting on from dpball?

IE: "pball/serverlists/serverlist.txt"
not "localhost/serverlist.php"

???

TinMan

  • Autococker
  • Posts: 1347
Re: Local server list?
« Reply #1 on: September 10, 2006, 10:23:36 PM »
If you literally want to modify where it gets the serverlist from...I don't know if that's in an editable file or build into the executable.

If you just wanna see the serverlist you can use these methods:

txt of IP's:
http://dpball.com/serverlist.php
http://digitalpaint.planetquake.gamespy.com/serverlist.php

Standalone browser for Windows:
http://dpball.com/forums/index.php?topic=1683.0

Graphical website serverlist with info:
http://search.hlsw.org/sei/project/index.php?mode=extended&Search_Game=Q2&Search_Mod=pball&action=process&language=en

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Local server list?
« Reply #2 on: September 10, 2006, 11:25:13 PM »
If you can upload your serverlist somewhere, you can set the "serverlist_source" variable to use that list.  Why do you want to do this?

mikemeyer

  • PGP
  • Posts: 4
Re: Local server list?
« Reply #3 on: September 13, 2006, 06:46:13 PM »
I (like {appy Hamper) am on a proxied university LAN connection. We've got the "serverlist_source" variable set to a guy's personal website on university space. However, it's pretty finicky (only up half the time), and we're having a hard time getting the list while the site is up.
All his script does is generate an IP range, and Pball pings each IP to see if it's alive.
We want to be able to be independent of this remote serverlist. However, DPball doesn't have a proxy interface, so we can't connect to outside serverlists (and therefore we can't connect to outside games) because of the proxy server requiring authentication. We can, however, connect dorm to dorm, which is our primary goal here.

I want to be able to set the "serverlist_source" to a local file, not a remote one. That's the main issue.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Local server list?
« Reply #4 on: September 13, 2006, 06:48:56 PM »
Currently it does not have that functionality, I'm pretty sure.  I'll throw it on my todo list, though.

mikemeyer

  • PGP
  • Posts: 4
Re: Local server list?
« Reply #5 on: September 13, 2006, 06:50:12 PM »
Sweet, thanks for the quick reply. I'm looking forward to developement on this :)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Local server list?
« Reply #6 on: September 13, 2006, 06:52:15 PM »
In the meantime, if you want to set up a local webserver, it takes like 10 seconds to do with this: http://www.apachefriends.org/en/xampp.html -- then you can just put a serverlist.txt in c:\program files\xampp\htdocs and use http://localhost/serverlist.txt

mikemeyer

  • PGP
  • Posts: 4
Re: Local server list?
« Reply #7 on: September 13, 2006, 07:36:05 PM »
Yeah, I've already got XAMPP set up and running, and it works well, but only for me, and I'm sure that nobody else wants to set up a local server for the sole purpose of playing Paintball 2. Well, maybe...

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Local server list?
« Reply #8 on: October 01, 2006, 02:47:06 PM »
im also on a proxied univ. LAN connection and ive been thinking, pball sends a heartbeat to the master severlist at http://dpball.com/serverlist.php. i was wondering if i could change the destination to a network site, instead of pball.com. then have pball simply retrieve the list of active servers, using serverlist_source, and not go through pinging a few hundred IPs for two active servers. would that work?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Local server list?
« Reply #9 on: October 01, 2006, 09:26:33 PM »
It should.  You'd need to make a simple PHP script to add servers to the list (just use the ip of the machine accessing the script and $_GET['port']).  serverlist_source is just for the client, I think.  I can't remember what setting the server uses offhand.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Local server list?
« Reply #10 on: October 02, 2006, 06:12:43 AM »
It should.  You'd need to make a simple PHP script to add servers to the list (just use the ip of the machine accessing the script and $_GET['port']).  serverlist_source is just for the client, I think.  I can't remember what setting the server uses offhand.

Hard-coded ones.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Local server list?
« Reply #11 on: October 02, 2006, 01:07:37 PM »
whats hard-coded, the "http://dpball.com/serverlist.php" part?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Local server list?
« Reply #12 on: October 02, 2006, 05:03:16 PM »
"serverlist0" through "serverlist5".  "serverlist1" and 2 are the only ones being used.