Web-based server browser |
by SleepwalkR
on 10/16/2002 13:55, 48 messages, last message: 07/04/2003 19:41, 10963 views, last view: 05/19/2024 01:21 |
|
In case you haven't noticed, there is a web-based server browser at http://wouter.fov120.com/cube/masterserver/
Check it out and let me know if there are any problems / wishes.
|
|
Board Index
|
|
#9: Re: SleepwalkR... |
by pushplay
on 10/17/2002 03:07, refers to #8
|
|
Ok, cool.
About the jsp. It looks good in IE, but Mozilla thinks that the doc type is text/plain for some reason. Is there anything that can be done about that? It's particularly important to me because every server except localhost in the server list can't be contacted for ping or anything. I'm not sure why.
reply to this message
|
|
#10: Re: SleepwalkR... |
by SleepwalkR
on 10/17/2002 03:14, refers to #9
|
|
Yeah, I could for example remove the text/plain tag from it. Sorry about that =).
reply to this message
|
|
#11: Re: SleepwalkR... |
by SleepwalkR
on 10/17/2002 03:17, refers to #9
|
|
You need to be aware though that you need a servlet container to use the masterserver (e.g. Tomcat, http://jakarta.apache.org/tomcat/ ).
reply to this message
|
|
#12: Re: SleepwalkR... |
by pushplay
on 10/17/2002 04:50, refers to #11
|
|
Beautiful! :)
Well I have no idea what a servlet container is but I guess I'll have to learn.
reply to this message
|
|
#13: Re: rock on! |
by Shockie
on 10/17/2002 09:19, refers to #1
|
|
i think that you should be able to click on the server to get full info on it, ie players, time left on map, etc
something like psychostats psycho query, you might get an image such as in the link following, not that is IN A WEB BROWSER, using a BG Image on the base table, not ingame. i think something like that would be pretty cool.
http://psychostats.com/pquery.php
that way if you dont know what the map is, you can see a picture, and it will let you perhaps find a player you are looking for!
reply to this message
|
|
#14: Re: SleepwalkR... |
by SleepwalkR
on 10/17/2002 09:23, refers to #12
|
|
Pushplay, a servlet container is sort of a specialized web server for server side Java code. I suggest you don't start dicking around with it just yet - I will make the masterserver and browser compatible to other protocols soon.
That means that you can use this masterserver if you want to roll your own Cube-based game. I'll just have to wait how much traffic it will produce to see if I can afford it.
reply to this message
|
|
#15: Re: rock on! |
by SleepwalkR
on 10/17/2002 09:24, refers to #13
|
|
Unfortunately, there's no way to get this info from servers just yet (other than to connect to it as a player, which is not the way to go).
About map screenshots, I don't really think this is neccessary.
reply to this message
|
|
#16: Source release |
by SleepwalkR
on 10/17/2002 09:26
|
|
For obvious reasons, I won't include the code that implements the network protocol used in the current Cube binaries, neither as source nor as binary files. You will have to write your own plugin to handle the protocols you want to use in your own game.
reply to this message
|
|
#17: Re: Source release |
by Shockie
on 10/17/2002 09:29, refers to #16
|
|
how easy would the server browser be to create in other languages, or even a program. other languages i mean in PHP, PERL, ASP, Python, C, etc
reply to this message
|
|
#18: not so server browser related |
by Shockie
on 10/17/2002 09:35
|
|
i was just thinking, some loging system for cube would be great, we could have stats on our servers! how bout sum plugin support, so that we can create our own server plugins (not just recreate the game)
-- also posted in most wanted
reply to this message
|
|
#19: Re: Source release |
by SleepwalkR
on 10/17/2002 09:52, refers to #17
|
|
Not difficult as long as the language has threads or nonblocking sockets.
reply to this message
|
|
#20: Re: Source release |
by SleepwalkR
on 10/17/2002 09:52, refers to #19
|
|
"the language has..." means "there are implementations for..."
reply to this message
|
|
#21: Hi |
by Comander
on 10/17/2002 16:53
|
|
can i code a watch server for cube in php how can i code this?
reply to this message
|
|
#22: Re: Hi |
by SleepwalkR
on 10/17/2002 21:18, refers to #21
|
|
I don't know what you mean by watch server, but if you mean a server browser, yeah, it's possible in PHP. You need to know a bit about UDP and non-blocking socket programming though. It's not THAT hard once you understand how sockets work. Read the PHP manual section on sockets.
reply to this message
|
|
#23: Re: Hi |
by Shockie
on 10/18/2002 15:17, refers to #22
|
|
i might get my arse into gear and write an ASP component for it =)
reply to this message
|
|
#24: Re: Hi |
by SleepwalkR
on 10/18/2002 17:26, refers to #23
|
|
You'll have to rewrite it then, plus as long as you know nothing the protocol in the release, your serverbrowser would be pretty useless, unfortunately.
reply to this message
|
|
#25: in game |
by Shockie
on 10/19/2002 06:02, refers to #24
|
|
i realy dont like the ingame server browser! ...
reply to this message
|
|
#26: Re: in game |
by pushplay
on 10/19/2002 06:52, refers to #25
|
|
Maybe I mentioned this before, but with the test version of Cube I was able to get responses from other Cube servers and see the # of people and pings and such, but now I can only get that from servers on my lan, everything else shows up as waiting for a response.
Run on sentance...
reply to this message
|
|
#27: Re: in game |
by Shockie
on 10/19/2002 07:14, refers to #26
|
|
yeh, i have a stack of servers either saying "cannot be resolved" (even ip's hahahaha) or waiting for a response, i should get a ping of 500-1300 to them...
reply to this message
|
|
#28: Re: in game |
by Aardappel@home
on 10/19/2002 15:43, refers to #27
|
|
that's maybe because they run an old version of the cube server which doesn't know how to respond to a server info request.
reply to this message
|
|
|
Board Index
|
|