iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
114 stars 32 forks source link

Server list #68

Closed iamgreaser closed 11 years ago

iamgreaser commented 11 years ago

"When there is a serverlist I will be playing on it more often, the game is doing great all it needs is a serverlist." --Lawliet

I have a feeling that this depends on raw TCP socket support being implemented.

Oh well. I guess I'll have to shove that in. I suspect it'll be a 0.1.1 thing.

rakiru commented 11 years ago

UDP would be better (easier), unless you thread it. Would reporting be done Lua-side or engine-side?

iamgreaser commented 11 years ago

Lua-side, and yeah, UDP would be better for this.

iamgreaser commented 11 years ago

There's a user-maintained server list on the forums now. Should be fine for now.

iamgreaser commented 11 years ago

We now have raw UDP support, so we can work on getting a heartbeat server working. Possibly even an in-game server browser.

While I would write the heartbeat server in Erlang, it might be a bit of a nuisance compiling it, and I suspect I won't be taking much advantage of its strongpoints, so it's probably best to just stick with Python.

rakiru commented 11 years ago

Python would probably be easier for others to build upon or to do themselves, at least for me. It should be pretty simple to throw together using Twisted.

Ericson2314 commented 11 years ago

I could do it in Haskell :)

rakiru commented 11 years ago

Shush you. :P

iamgreaser commented 11 years ago

Erlang's better.

But yeah, I think Python would be the way to go, but I'm not keen on using Twisted.

rakiru commented 11 years ago

Why not Twisted? Something wrong with that framework, or do you just not want to use a framework at all?

iamgreaser commented 11 years ago

I would rather not use a framework at all. Raw sockets should be fine.

rakiru commented 11 years ago

Fair enough. I just figured using a framework would turn this from a half hour job to a 10 minute one.

Ericson2314 commented 11 years ago

If the protocol uses ENet @nateshoffner said he could host/write/integrate the master sever

iamgreaser commented 11 years ago

We now have a server list. You'll want at least 0.1.1-4 on your server, though. The heartbeat protocol is pretty simple to implement.

I think we'll need a launcher, though. Creating a new issue.