Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
bafa411329
Expose LockTeam/LockSpawn to mappers
2011-06-20 22:50:31 +12:00
Paul Chote
4f172d7ed8
Make bots first-class players.
...
- Bots have their own Clients, with unique ClientIDs
- Hosts can set bot team/color in the lobby
- Bots are kicked when switching to a smaller map without enough slots
- Order validator assumes that only client 0 has permission to issue bot orders
2011-06-20 22:50:29 +12:00
Paul Chote
d2df5722b5
Fix the lobby slots.
...
- lobbyInfo.Slots is now a dictionary, keyed by the name of the PlayerReference that the slot is tied to.
- LockRace/Color/Team is now specified on the slot, avoiding map lookups in the lobby
- Observers are no longer tied to slots -> players will join as observers instead of crashing the game if there are no available slots
- Observers are able to change their name and color
2011-06-20 22:50:27 +12:00
Paul Chote
bcbd18bb52
Skirmish mode starts with a bot selected.
2011-06-20 22:50:22 +12:00
Paul Chote
c6182f6039
Fix player connected chat message
2011-06-20 14:39:03 +12:00
Paul Chote
124f19f00b
Bind skirmish servers to a random available port
2011-05-30 22:15:14 +12:00
Chris Forbes
cd756885a6
remove MasterServerQuery in favour of ServerList
2011-05-22 18:41:33 +12:00
Paul Chote
ab423fbe8c
Mark some bits obsolete
2011-05-21 17:26:18 +12:00
Paul Chote
529ed51034
Nit: use ServerSettings to pass info to the server
2011-05-21 17:26:16 +12:00
Paul Chote
5fffc9d816
Don't tell the master server about local servers
2011-05-21 17:26:16 +12:00
Paul Chote
814845730f
Work around a race condition with local servers.
2011-05-21 17:26:14 +12:00
Paul Chote
33a4f5e29e
Support loopback servers for solo play
2011-05-21 17:26:14 +12:00
Paul Chote
b1a6eec3d3
Stop using MasterServerQuery in server browser
2011-05-21 17:26:14 +12:00
Paul Chote
6cb0cb7d0e
Can now start a game and disconnect from lobby without triggering a reload.
...
It is now possible to crash the game by starting a new server before the previous one has had time to timeout and release the port binding (the previous loadscreen pause meant this was always hidden).
2011-05-21 16:27:37 +12:00
alzeih
22aa1308ce
give GameServer some UsefulMods so we have the remote mod version in the ServerBrowser.
2011-03-13 12:26:27 +13:00
Chris Forbes
0f0facedd1
#540 move 'allow cheats' to lobby from prelobby
2011-02-13 17:28:40 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
e3c090a201
More drop messages.
2011-01-15 13:56:52 +13:00
Paul Chote
06612d0f68
Add a mechanism for custom drop messages. Implement for kick.
2011-01-15 13:49:46 +13:00
Chris Forbes
3426b52247
add ColorRamp type; change everything to use it; maps not yet upgraded
2011-01-08 18:17:18 +13:00
alzeih
5c343caeaf
Mod version validation
...
- Game.CurrentMods property to query the current mods when no orderManager accessible
- Server sends mod versions to master server on ping
- Client sends mod versions on handshake response
- Validate match on server side of handshake, not client side
2011-01-08 16:00:29 +13:00
Chris Forbes
dcbb6ee4eb
small tweak to HttpUtil - we don't support 1.1, so dont pretend we do; also, set WebClient.Proxy everywhere to null
2011-01-04 20:02:23 +13:00
Paul Chote
42096cc5c9
Foo
2010-12-31 18:26:03 +13:00
Paul Chote
1d3b2334d0
Drop any remaining connections on gamestart.
2010-12-31 17:47:44 +13:00
Paul Chote
64304635b7
Fix dropping unvalidated clients.
2010-12-31 16:52:17 +13:00
Paul Chote
486fa9a978
Handshake mod versions and map. Bump the protocol version.
2010-12-31 13:35:21 +13:00
Paul Chote
e2d1eec56e
Shift Client creation to the client, sent in the handshake response. Fixes the `Newbie' bug and removes a lot of fragmented behaviour on player join.
2010-12-31 12:51:19 +13:00
Paul Chote
8f9e32dcc0
Client/server handshake. Only checks that the correct mods are active.
2010-12-31 11:41:25 +13:00
Paul Chote
dc012c0faf
Fix server shutdown crash under mono.
2010-12-30 20:29:11 +13:00
Chris Forbes
2cce1ce23c
fix warnings, and bogosity in projectfiles
2010-12-27 18:26:07 +13:00
Chris Forbes
ce609195cd
make kicking actually work
2010-12-24 12:31:37 +13:00
Chris Forbes
54cf2e7993
add kick command to LobbyCommands
2010-12-24 12:31:36 +13:00
Paul Chote
dc3bf2515a
Remove VERSION file, and version / motd display from the ingame menu. Write git-version into the individual mod versions.
2010-12-24 11:41:35 +13:00
Chris Forbes
c99f89c987
fix crash on server overfill, fix another problem preventing spec slots from autofilling
2010-12-19 18:40:10 +13:00
Chris Forbes
7c76b25a44
blah
2010-12-19 18:40:09 +13:00
Chris Forbes
4fdc8222e8
blah
2010-12-19 18:40:09 +13:00
Bob
6cf9939ab3
remove staticness on Server
2010-11-14 21:26:50 +13:00
Chris Forbes
caae95f12e
make Server.Server public so it works.
2010-11-10 11:34:37 +13:00
Paul Chote
dfa14f16d3
Move ServerTraits into Mods.
2010-11-10 10:30:26 +13:00
Paul Chote
8e007131c9
Define ServerTraits in mod.yaml
2010-11-10 10:30:26 +13:00
Paul Chote
ed4c588701
Allow custom commands to be parsed when the player is in a ready state.
2010-11-10 10:30:26 +13:00
Paul Chote
d33806e932
More refactoring
2010-11-10 10:30:25 +13:00
Paul Chote
e83838e9ff
Pass the client into InterpretCommand
2010-11-10 10:30:25 +13:00
Paul Chote
b77dcd476c
Pull the master server communication into a ServerTrait
2010-11-10 10:30:25 +13:00
Paul Chote
836b3a598b
Pull out potentially mod-specific player join code (slightly bogus, will fix properly later)
2010-11-10 10:30:25 +13:00
Paul Chote
967b16fc0e
Pull LoadMap out of the server
2010-11-10 10:30:25 +13:00
Paul Chote
ee3437d0f6
Pull the traits into their own files
2010-11-10 10:30:25 +13:00
Paul Chote
e20c736e3f
Handle server orders in their own traits - needs further refactoring
2010-11-10 10:30:25 +13:00
Paul Chote
a98d20ea72
Start hacking on a server traits model
2010-11-10 10:30:25 +13:00