.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   webmod 0.47 (http://forums.bots-united.com/showthread.php?t=357)

T!m 14-01-2004 22:43

webmod 0.47
 
I just setup webmod 0.47,

What is it:

WebMod is a multi-threaded HTTP Web server embedded into a MetaMod plugin (Linux and Win32 compatible). It allows you not to use specific tools like HLSW or AgentOrange, or additional software such as a web server, PHPRCon or a Perl capable shell account to run PsychoQuery.

webmod download page

what is the problem, I can't test it as i am on lan 9_9 , so if anyone want to click on the link below and would report if it is workin or not i would be very thankful
:D.

http://62.166.3.191:27015

Pierre-Marie Baty 14-01-2004 22:52

Re: webmod 0.47
 
on port 27015 ? but port 27015 is not a HTTP port, it's the port to connect your HL server, no web browser can connect a HL server ! Your webmod plugin is running its HTTP server on another port, but I can assure you it won't be port 27015.

[edit]
I tried http://62.166.3.191:80/ on port 80, which is default port for web servers, but it gives me an "access forbidden" page :( But at least it tells that there is a http server beyond this port.

T!m 14-01-2004 23:06

Re: webmod 0.47
 
from the readme file:

Once installed, you can access it on http://server_ip:server_port/ ; for example if you connect to 123.45.67.89:27016 to play, you just have to add « http:// » at the beginning and give this to your web browser : http://123.45.67.89:27016/.

so it has to be ok, but not sure if it will work with cs1.6 sinds metamod 1.13 is recommended, pretty old or not!?o_O

edit: mabye it will work now, the tcp port was closed :o.

Pierre-Marie Baty 14-01-2004 23:57

Re: webmod 0.47
 
this is completely stupid, the programmer who did this plugin can't just hijack the HL engine game port to put a web service in, why couldn't he open his service on another port ??? I can't believe the Readme says that. Else it's an unofficial readme wrote by some clueless guy who wanted to make an installer or whatever.

anyway, HTTP doesn't work on port 27015 - but no wonder to me :)

Brakkenjan 15-01-2004 02:35

Re: webmod 0.47
 
lol, he didn't hijack the same port as the server, the hlds uses UDP 27015 and webmod uses TCP 27015, btw webmod works fine with the new hlds and is even more stable than it used to be.

Pierre-Marie Baty 15-01-2004 03:01

Re: webmod 0.47
 
aaaaahhhh, now this makes more sense :)
thanks for the clarification :)

[edit]
anyway if he's on lan why can't he just do http://localhost:27015/ ?

T!m 15-01-2004 08:50

Re: webmod 0.47
 
ah, it works fine now :D

PMB: I did check the localhost but that wouldend work,
so i thought mabye it was inpossible.
but it works fine on localhost two.

edit: btw. it doesn't see bots playing? it keeps up the score but no players:( .

BAStumm 15-01-2004 10:34

Re: webmod 0.47
 
webmod is retarded...

phprcon is limited by what you can get from the built in network protocol (queries from outside the game). webmod is a mm plugin meaning it can get ANY data the game has to offer such as:

Player Frags
Player Deaths
Player Health
Player Armor
Player Weapon Held
Player Model or Class
Players Team

Team Scores
Team Names

Entity info (think sentry guns or flags in TFC or bombs/VIP in CS or capture points in DoD)

In otherwords, webmod is retarded...

Keep an eye out for phpua coming mid February... found on http://unitedadmins.com :)

phpua is based on the following concept codes...

http://bs-linux.com/hlwebtv/
http://spokaneteamfortress.com/stats/

[edit] hmm loooks like webmod has teamscore and deaths now.... wonder if someone has been following my dev efforts... [/edit]

Nova 15-01-2004 18:40

Re: webmod 0.47
 
Few questions.

The bots-united cs / tfc server runs steam / metamod 1.17 / adminmod.

I tried running webmod on it but it say its using wrong metamod version.
I think we need some help with these servers anyway, oz the config is an absoulute MESS.

Anyone willing to help me ? BaStumm maybe? :)

T!m 15-01-2004 19:59

Re: webmod 0.47
 
Quote:

Originally Posted by BAStumm
webmod is retarded...

phprcon is limited by what you can get from the built in network protocol (queries from outside the game). webmod is a mm plugin meaning it can get ANY data the game has to offer such as:

.................................................. ..............................................

In otherwords, webmod is retarded...

ok, but it is php-based issen't it? so you need a webserver that uses php.
This is the problem I have some web space but i can't use php, ony html.
So webmod is handy in my case.

ps. or can i use php someway that it looks like there is only a html page?
yes me noob on webbased stuff:P


All times are GMT +2. The time now is 17:35.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.