New Multiplayer Lobby
New Multiplayer Lobby
Actual Lobby System:
New Player chooses a nickname, picks a game and the stats are stored locally.
New Lobby Server System
User Registration (User Database System)
New Players register online with a user/pass combination, this can either be throu a webinterface or ingame. (i dont know if changes to the game ui are easy to handle.) Maybe adding the email adress aswell would be a good idea for password resets?!
A player database would bring a lot improvements... Because every player is tracked, we could collect real game statistics and implement something like a ingame friend-list, a ladder system, better ranks, rewards, and even a report system for cheaters... (I thought of a way to prevent cheating by sending false data too, but that will not be discussed here)
The game statistics are there, they have only to be transported to the lobby server after the game ends. Disconnects count as a loss and will saved in the db beside the main count, more statistics for the website! :]
--
I would really like to help you but my c skills .. oh well.. I can read and understand code but besides that.. Im lost in
cheat sheets.. My real love is Perl
And in the last years ive coded some client/server scripts, even with mysql connect... so the server side coding part wouldt be a problem.. for the start, i need a bit help... can someone compile me a 2.3 warzone win32 version that connects to the lobbyserver on localhost? ive tried building 2.3 and trunk on ms vs, cross-compiling on ubuntu didnt work... (i cant use ubuntu atm because my intel onboard drivers are bugged in the lts release and starting anything 3d is a pain...)
So.. the first thing todo would be scripting the user/pass login routines with a database connect. (I guess mysql is the choice?), after that i would write the game-routines and have to check whats sent to the lobby and back (hm.. i guess i just sniff it before then..) The whole Eye-Candy stuff is more design then scripting.. and can ofcourse be done later, a short user/pass script in php shouldnt be the problem here...
That was just a short brainstorm... Leave critism and /or comment if you like the idea... :]
and sorry if i made some mistakes, english isnt my native
New Player chooses a nickname, picks a game and the stats are stored locally.
New Lobby Server System
User Registration (User Database System)
New Players register online with a user/pass combination, this can either be throu a webinterface or ingame. (i dont know if changes to the game ui are easy to handle.) Maybe adding the email adress aswell would be a good idea for password resets?!
A player database would bring a lot improvements... Because every player is tracked, we could collect real game statistics and implement something like a ingame friend-list, a ladder system, better ranks, rewards, and even a report system for cheaters... (I thought of a way to prevent cheating by sending false data too, but that will not be discussed here)
The game statistics are there, they have only to be transported to the lobby server after the game ends. Disconnects count as a loss and will saved in the db beside the main count, more statistics for the website! :]
--
I would really like to help you but my c skills .. oh well.. I can read and understand code but besides that.. Im lost in
cheat sheets.. My real love is Perl
And in the last years ive coded some client/server scripts, even with mysql connect... so the server side coding part wouldt be a problem.. for the start, i need a bit help... can someone compile me a 2.3 warzone win32 version that connects to the lobbyserver on localhost? ive tried building 2.3 and trunk on ms vs, cross-compiling on ubuntu didnt work... (i cant use ubuntu atm because my intel onboard drivers are bugged in the lts release and starting anything 3d is a pain...)
So.. the first thing todo would be scripting the user/pass login routines with a database connect. (I guess mysql is the choice?), after that i would write the game-routines and have to check whats sent to the lobby and back (hm.. i guess i just sniff it before then..) The whole Eye-Candy stuff is more design then scripting.. and can ofcourse be done later, a short user/pass script in php shouldnt be the problem here...
That was just a short brainstorm... Leave critism and /or comment if you like the idea... :]
and sorry if i made some mistakes, english isnt my native
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
I just realized this has been suggested before in another thread, maybe we could use this one for further discussion...
Just all leave a Message and tell us how it should be done!
Hm.. dont know if youre on it, maybe we can team up? Or you do it? Or me?Fastdeath wrote:Sorry, for didn't telling that. I want server side stats later to, if others agree to that.Giel wrote:Currently the lobby server doesn't at all deal with game stats. So if your goal is to implement a failover I definitely wouldn't suggest implementing some kind of stat handling storage facility.
The only goal the lobby currently serves is for players to easily find each other.
This can help us building up a community website with player stats/rankings and so on,
also users can't change stats on clientside after.
If you and others agree to that, i will develop to complete server side things required.
Just all leave a Message and tell us how it should be done!
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
masterserver_name in the config file.can someone compile me a 2.3 warzone win32 version that connects to the lobbyserver on localhost?
Re: New Multiplayer Lobby
duhstiv wrote:masterserver_name in the config file.can someone compile me a 2.3 warzone win32 version that connects to the lobbyserver on localhost?
thank you!
as a developer.. do you think i should just start a simple lobby server to show basic functions or do you have some regrets, for instance... the used language (perl)
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
im currently writing the lobby server, messing around with stuff and getting a nice base...
at the moment the server is accepting multiple connections and can parse xml encoded queries (took the idea from here, but used xml instead of JSON because its easier for me to parse and it doesent differ much to the example shown in the link)
some samples:
2nd Client:
So its allready possible to store games, list them and chat with other connected users. Currently im working on the changegame function that allows the hosting client to send back changes like the map, or the connected users. Because of this, the (to be done) ingame server browser could display anything like map, mod, count of connected players etc.
Planned things like a user/game sql-database is really easy to implement but i left it out for easier testing purposes...
i hope you like the concept of this new lobby server, critism and discussion please!
at the moment the server is accepting multiple connections and can parse xml encoded queries (took the idea from here, but used xml instead of JSON because its easier for me to parse and it doesent differ much to the example shown in the link)
some samples:
Code: Select all
$BADWORD@m1ndbox:~/workspace/lobby_server$ telnet 92.72.39.207 9990
Trying 92.72.39.207...
Connected to 92.72.39.207.
Escape character is '^]'.
# Server sends "connected" and "lobbyversion $lobbyserver-version"
connected
lobbyversion 1
# my input (list games)
listgames
# Server Output (No Games in Database)
no games
# my input (add a game by sending a xml query)
<lobbyquery><command>addgame</command><hostip>10.0.0.1</hostip><hostport>2100</hostport><hostversion>2.3</hostversion><map>SK-Rush</map><maxplayers>4</maxplayers><players>1</players><techlvl>T1</techlvl></lobbyquery>
# my input (list games again)
listgames
# Server Output (Games in Database)
<lobbyquery><hostip>10.0.0.1</hostip><hostport>2100</hostport><hostversion>2.3</hostversion><map>SK-Rush</map><maxplayers>4</maxplayers><player_id>3</player_id><players>1</players><techlvl>T1</techlvl></lobbyquery>
# my input (chat message broadcast: chat 'text')
chat this is a test
Code: Select all
$BADWORD@m1ndbox:~/workspace/lobby_server$ telnet localhost 9990
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
connected
lobbyversion 1
# Server Output, chatline from client with id 3
3: this is a test
Planned things like a user/game sql-database is really easy to implement but i left it out for easier testing purposes...
i hope you like the concept of this new lobby server, critism and discussion please!
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
* Added IRC Connect to print new Games, or list games or users by command (!listgames, !listusers) (bot test @ #warzone-lobby)
- Another thread about lobbyserver netcode
JSON <-> XML ?
JSON:
XML 1.0:
- Another thread about lobbyserver netcode
JSON <-> XML ?
JSON:
Code: Select all
{
"lobbyquery": {
"version": 1, // Protocol version, not game-version.
"query": {
"command": "add",
"name": "MyGameName",
"map": "SK-Rush",
"players": 4,
"tech": "T1"
}
}
}
Code: Select all
<lobbyquery>
<command>addgame</command>
<hostip>10.0.0.1</hostip>
<hostport>2100</hostport>
<hostversion>2.3</hostversion>
<map>SK-Rush</map>
<maxplayers>4</maxplayers>
<players>1</players>
<techlvl>T1</techlvl>
</lobbyquery>
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
Are we talking forum accounts?m1ndgames wrote:Actual Lobby System:
New Player chooses a nickname, picks a game and the stats are stored locally.
New Lobby Server System
User Registration (User Database System)
New Players register online with a user/pass combination, this can either be throu a webinterface or ingame. (i dont know if changes to the game ui are easy to handle.) Maybe adding the email adress aswell would be a good idea for password resets?!
A player database would bring a lot improvements... Because every player is tracked, we could collect real game statistics and implement something like a ingame friend-list, a ladder system, better ranks, rewards, and even a report system for cheaters... (I thought of a way to prevent cheating by sending false data too, but that will not be discussed here)
The game statistics are there, they have only to be transported to the lobby server after the game ends. Disconnects count as a loss and will saved in the db beside the main count, more statistics for the website! :]
I also don't know how you could stop cheating, since as soon as it enters the codebase, then anyone can come up with a way to bypass the checks.
In the config file, you can point it to new master server as stiv said, so no need to recompile the current 2.3 build for a new local host.I would really like to help you but my c skills .. oh well.. I can read and understand code but besides that.. Im lost in
cheat sheets.. My real love is Perl
And in the last years ive coded some client/server scripts, even with mysql connect... so the server side coding part wouldt be a problem.. for the start, i need a bit help... can someone compile me a 2.3 warzone win32 version that connects to the lobbyserver on localhost? ive tried building 2.3 and trunk on ms vs, cross-compiling on ubuntu didnt work... (i cant use ubuntu atm because my intel onboard drivers are bugged in the lts release and starting anything 3d is a pain...)
So.. the first thing todo would be scripting the user/pass login routines with a database connect. (I guess mysql is the choice?), after that i would write the game-routines and have to check whats sent to the lobby and back (hm.. i guess i just sniff it before then..) The whole Eye-Candy stuff is more design then scripting.. and can ofcourse be done later, a short user/pass script in php shouldnt be the problem here...
That was just a short brainstorm... Leave critism and /or comment if you like the idea... :]
and sorry if i made some mistakes, english isnt my native
If you are using forum accounts, then you have to find out what database the forums are using, and use that. You would also need to have server access, so perhaps it is best to e-mail Kamaze and ask him what he thinks of your plan?
If they will be hosted on your system, then you would need to convince everyone to use your server instead of the current one, and have the devs add support for what you are looking for. I think there is another thread about someone else suggesting this, but I don't think he ever got a good response, which may mean that you are wasting your time.
From looking at the python file, you need to contact one of these devs
# MasterServer v0.1 by Gerard Krol (gerard_) and Tim Perrei (Kamaze)
# v1.0 by Freddie Witherden (EvilGuru)
# v2.0 by Gerhard Schaden (gschaden)
# v2.0a by Buginator (fixed endian issue)
Re: New Multiplayer Lobby
Doesent look like youve read all postings
btw.: ive spoken with kamaze allready but he doesent have time to spare on this...
btw.: ive spoken with kamaze allready but he doesent have time to spare on this...
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
*push*
I would like to work on this.. badly!
But... i need input from your side! Tell me how you want the new lobby server to be build.. at this point... its already waiting for clients, it can store games and parse to irc + it has a lobby chat.
users: tell me your most wanted features
devs: tell me how i should build it (client <-> server communication process (its xml atm)
it would be so cool if a developer would like to team up.. me on the server/database side, him/her on the client side...
please drop me a note, critics or suggestions!
I would like to work on this.. badly!
But... i need input from your side! Tell me how you want the new lobby server to be build.. at this point... its already waiting for clients, it can store games and parse to irc + it has a lobby chat.
users: tell me your most wanted features
devs: tell me how i should build it (client <-> server communication process (its xml atm)
it would be so cool if a developer would like to team up.. me on the server/database side, him/her on the client side...
please drop me a note, critics or suggestions!
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
hmm nice idea. Suggestions:
1. perhaps have the player database use the forum logins
2. in chat have a "lobby" chat where the chat is over irc (#warzone2100-games)
3. have player "ratings" where the game host can "rate" player who cheat badly or rate experienced players well
just suggestions
-regards macuser
1. perhaps have the player database use the forum logins
2. in chat have a "lobby" chat where the chat is over irc (#warzone2100-games)
3. have player "ratings" where the game host can "rate" player who cheat badly or rate experienced players well
just suggestions
-regards macuser
ArtRev Website
System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
Re: New Multiplayer Lobby
no problem, if i remember right kamaze is the webmaster?! i will contact him but... i guess he wont let me because i need access to the database (i wouldnt give out the login data to a unknown community member)1. perhaps have the player database use the forum logins
but maybe he can supply me with the database structure so i just build my own test-db
thought of this but this is really a client-side thing... i have implemented a flood protection to my irc parser but if someone spams, all the messages get delayed for a long time, if i would add a irc connection for any user, the lobby server host will get booted because of too many connections2. in chat have a "lobby" chat where the chat is over irc (#warzone2100-games)
no problems with that, but its website related and can be done out of the user database.. the lobbyserver has nothing to do with besides supplying the data to connected clients, if we choose to make the data avaiable from inside the game... i wouldnt allow rating by the host because this can be exploited... you could get a bad reputation just by joining a game. maybe a comment or ++/-- rep button on the website would be better3. have player "ratings" where the game host can "rate" player who cheat badly or rate experienced players well
Last edited by m1ndgames on 05 Jul 2010, 19:25, edited 1 time in total.
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
Well, only things I really care for are that lobby doesn't go out of sync, and that it has a nice, fast chat, both in the lobby and in each game separately.
Re: New Multiplayer Lobby
the ingame chat is handled by the warzone client, because the games are stored in a database and the game data gets send when a client requests it... it cant really get out of sync. (ithe server drops the game if the port isnt reach-able anymore, the check interval is 5 seks). the lobby chat is fast too, and has a flood protection as well.
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Re: New Multiplayer Lobby
I'd recommend JSON for communication. Just so I could write a web interface easily.
Re: New Multiplayer Lobby
i had a xml parser function ready, thats why ive used it, but... no problem to build a json parser, ill change it!
we (or you as the devs) should think about how the string should look like, e.g what data gets send between client and server.
we (or you as the devs) should think about how the string should look like, e.g what data gets send between client and server.
Stuff: My Music - Game Hosting Guide
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub
Coding: New Lobbyserver - Needs suggestions
Maps: Bridgebattle - FightClub