Web-based server browser |
by SleepwalkR
on 10/16/2002 13:55, 48 messages, last message: 07/04/2003 19:41, 10962 views, last view: 05/18/2024 02:59 |
|
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
|
|
#1: rock on! |
by Aardappel
on 10/16/2002 15:33
|
|
this looks really cool, though its usefulness remains to be seen :P
reply to this message
|
|
#2: why do the servers all show SP |
by Aardappel
on 10/16/2002 15:35
|
|
is that a bug in your viewer, or do they really run mode -2 (hope not :)
reply to this message
|
|
#3: This in php |
by Comander
on 10/16/2002 15:45
|
|
i will code this in php and i can later code a scribt what screens to the map viewd!
reply to this message
|
|
#4: Aard |
by SleepwalkR
on 10/16/2002 15:50
|
|
You mean the negative times? That's what the servers report (or maybe I have a bug in there, though unlikely, because I just readint from the returned buffer).
re Usefulness: For me it's much more convenient to check if there are players online in my browser than to start cube, refresh list, look for populated servers. So it's already useful, if just to me.
Comander: What?
reply to this message
|
|
#5: Re: why do the servers all show SP |
by SleepwalkR
on 10/16/2002 15:52, refers to #2
|
|
Now I get it. There were servers running in other modes. I have merely copied the modes array from server.cpp and use the returned integer as index. Is that wrong?
reply to this message
|
|
#6: Damn |
by SleepwalkR
on 10/16/2002 15:54
|
|
There's a bug in the server browser that causes it to hang. No idea what's up there, might be multithreading related (hard to test that offline). Odd though because everything is synchronized...
reply to this message
|
|
#7: SleepwalkR... |
by pushplay
on 10/16/2002 23:30
|
|
Would you please be so kind as to release the source (or binaries if you prefer) relating to the master server?
reply to this message
|
|
#8: Re: SleepwalkR... |
by SleepwalkR
on 10/17/2002 02:54, refers to #7
|
|
I will, but not before next week.
reply to this message
|
|
#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
|
|
|
Board Index
|
|