WormNET (Worms Unlimited)

From Worms Knowledge Base

Revision as of 15:48, 24 September 2008 by ArcBeetle (Talk | contribs) (Edited introduction, Lobby screen and Buddy List)

Jump to: navigation, search

Introduction

I believe that I'm not the only one who's thinking that WormNET could be much better. (todo: insert more cricitism here). To implement even a part of the ideas I stated here would mean rewriting most of the network code from scratch. Many of the ideas stated here were taken from the way Sallos is done. Sallos is an Internet gaming lobby, currently featuring IRC-like chat, and some games: a Gunbound clone, Chess, TetriNET and MasterMind. The network code is scalable and quite well-organized (considering that Sallos is a network application in the first place). The whole system connects to one cental server, which hosts the chat and all of these games as one single service. The system utilises a built-in smart update feature, that automatically updates the client software by downloading patches from the server (again, through the very same protocol).

About the protocol, Currently Wormnet uses IRC and HTTP. A proper protocol for gaming sould be used, a example of a gaming protocol is Open Gaming Protocol.

Ranks

Ranks should be based on ranked channels: when you beat players in a one of these channels, you get points, and when you get enough points for enter in a ranked channel, you can enter in it.

The scoring system should be a ladder system, as that would encourage people to play the strongest players.

And finally, there should be ranks for various gametypes: shoppa, proper, bng, wxw...

Server-to-server connections

Instead of making the players connect to each other, it would be better to make them connect to the server, which will route the data across other players. This will allow onybody to host a game, avoiding any router / firewall problems.

This will also reduce the number of network drops - if the host drops out, the game will go on, and the game will close as soon as the round is finished.

In the case somebody wants to, there would be the possibility of the traditional hosting method, for the players who can do it. Alternatively, there would be Direct Ip and LAN games, in the case Wormnet is down.

Running games

Often it is desired to join or spectate a game already in progress. I'm not saying that this will require a new team to be added directly to the field - the player will be able to simply spectate the game until the round is finished, after which he can add his team.

As well, an ability to show players that are currently playing a game. Combine this with the ability to locate a player in all running games, and it should eliminate the chaos of trying to find your buddy on WormNET.

A checkbox/button could be added to the lobby to toggle showing already running games.

Also, there should be the possibility of continuing running games from a replay file. For using this option, all players would have the same replay file and all would have to agree with it. Before starting, the game would check the replays of all players to check if all the replays of them are the same and if they are not corrupted.

Channels

There should be multiple channels, and you should be able to create your own channel, which could be private or public. You could configure it to have forced schemes or maps, and you could upload these. Of course, in the server there would be a size limit, and you could also upload the maps/schemes to a remote URL and tell the server to use them. When a player hosts a game, the maps/schemes will be downloaded from that URL to the computer of the host.

For the case of ranks, there could be channels which you can access with a determinated rank.

There could be a channel where only classic options from w:a can be used.

Also, there could be a channel where only determinated options can be used(Infinite full-Powered Rope, Rope Knocking, No Rope..) and channels with prefixed schemes, like WxW, Proper, Shoppa..

Map cache

With the new maps, the file sizes for those maps would increase significantly. Some kind of map cache, which would store all downloaded maps in a folder (and perform clean-up occasionally). Then, when a map would be downloaded from the server, the client would compare hashes of the map with the maps in the cache - thus avoiding re-downloading of the map.

Buddy list

A buddy list would make possible the following features: -The text from buddies and games hosted by them would be highlighted -When hosting a game you would be able to pick betweem public game, private game or buddies-only game

Lobby Screens

You should be able to send private messages in the lobby screen without having to type the /msg command. The problem is that if had to be made by clicking in the name, how would the host do it, if clicking in a player's name is now used to boot a player from the game. The solution would be to put a "kick button" near the name of the player, so when click it, the player gets booted and when you click on his name, you can send a private message to him. Also, with the new editors, the host would get lost in the sea of option and players would be left waiting. The solution to this would be to have a chat window in all those menus, that could be opened and closed as the in-game chat window.

Personal tools