[UPDATED 01-06-2012] wolfmp.info server browser code...

Moderator: =KT=PREDOGGG

Site Admin
User avatar
Posts: 43
Joined: Wed Jan 12, 2011 11:46 pm

[UPDATED 01-06-2012] wolfmp.info server browser code...

Postby Jun1oR » Tue Jan 25, 2011 4:15 pm

A few people asked me if I could share the server browser code with them to use on their own sites. So here it is, just don't remove the "Wolfmp.info" at the bottom. It's only partially completed but when I get around to finishing it I will post it here. I apologize for my code, its like a 1st draft of an essay :)

Copy the the "browser" folder to your web server and point your web browser to "http://yourdomain.com/browser/".

If you wish to retrieve servers other then 1.4+, edit the "query.php" and change
Code: Select all
$protocol="60";
on line "150" to what ever server protocol you want to retrieve.

Protocol versions:
57 - RTCW - 1.0
58 - RTCW - 1.3
59 - RTCW - 1.33
60 - RTCW - 1.4+ // DEFAULT //////////////////////////////

Need help? Post it here.

Changelog:

Fixed 404 error when clicking on get new list.
Optimized server browser.
Removed duplicates from server browser.

User avatar
Posts: 1
Joined: Mon Jan 17, 2011 10:24 am

Re: wolfmp.info server browser code...

Postby General Wolfens » Wed Jan 26, 2011 5:50 am

thanks :)
Image

User avatar
Posts: 7
Joined: Wed Jan 19, 2011 11:40 pm

Re: [UPDATED 2-20-2011] wolfmp.info server browser code...

Postby Nate » Mon Mar 07, 2011 11:47 pm

Hmm, never played on any of this servers :lol:

Site Admin
User avatar
Posts: 43
Joined: Wed Jan 12, 2011 11:46 pm

Re: [UPDATED 2-20-2011] wolfmp.info server browser code...

Postby Jun1oR » Tue Mar 08, 2011 8:47 am

Yea I been getting hit with spam hard but I think I pretty much put it to an end. I guess I miss that post though....

User avatar
Posts: 3
Joined: Sun Jan 23, 2011 2:18 am
Location: Hungary

Re: [UPDATED 2-20-2011] wolfmp.info server browser code...

Postby tzs » Thu Mar 24, 2011 4:22 am

First, a very good idea, I believe it is disclosed in this list! :)
this is a very good idea to me / us! :)

I was a Hungarian fund, but several languages ​​rtcw forum was created. We want you to be available and would be operational in this list.

2 comments on this!

1. a problem occurs during operation, which appears here:
http://rtcw-portal.com/browser/rtcw_ser ... _error.png

And go live in http://rtcw-portal.com/browser/

2. 1.0 What is mainly for multiplayer play. Is it possible that this list is not just for version 1.4, but 1.0 is also available bundled with?

Thank you in advance for your help / ideas!

Tzs

Site Admin
User avatar
Posts: 43
Joined: Wed Jan 12, 2011 11:46 pm

Re: [UPDATED 2-20-2011] wolfmp.info server browser code...

Postby Jun1oR » Thu Mar 24, 2011 6:51 pm

tzs wrote:First, a very good idea, I believe it is disclosed in this list! :)
this is a very good idea to me / us! :)

I was a Hungarian fund, but several languages ​​rtcw forum was created. We want you to be available and would be operational in this list.

2 comments on this!

1. a problem occurs during operation, which appears here:
http://rtcw-portal.com/browser/rtcw_ser ... _error.png

And go live in http://rtcw-portal.com/browser/

2. 1.0 What is mainly for multiplayer play. Is it possible that this list is not just for version 1.4, but 1.0 is also available bundled with?

Thank you in advance for your help / ideas!

Tzs


try the new code in the first post

Edit the "query.php" and change
Code: Select all
$protocol="60";

on line "150" to what ever server protocol you want to retrieve.

Protocol versions:
57 - RTCW - 1.0
58 - RTCW - 1.3
59 - RTCW - 1.33
60 - RTCW - 1.4+

*note*

It's still going to say version Wolf 1.41b at the bottom of the server browser because it is just an image file but I will update the script so the user can choose which protocol he wants and save it as a cookie and also make it show the correct version chosen at the bottom right, so keep checking back.

User avatar
Posts: 3
Joined: Sun Jan 23, 2011 2:18 am
Location: Hungary

Re: [UPDATED 03-24-2011] wolfmp.info server browser code...

Postby tzs » Thu Jan 05, 2012 7:25 am

archive is corrupted

Site Admin
User avatar
Posts: 43
Joined: Wed Jan 12, 2011 11:46 pm

Re: [UPDATED 01-06-2012] wolfmp.info server browser code...

Postby Jun1oR » Fri Jan 06, 2012 4:46 pm

Sorry about the corrupt archive. I have replaced it so it should now be ok.

Return to General

Who is online

Users browsing this forum: No registered users and 10 guests