Igor Popov
bf73cdbd01
basic dedicated server support
2012-09-23 17:20:45 +12:00
Matthias Mailänder
3728685c67
fixed UPnP more crashes
...
proper timeout: does not crash/lag if no UPnP devices are found
close all ports, sockets, responses after they have been used
so it does not crash when port forwarding for the 2nd time
put all exceptions logs into OpenRA sourcecode
2012-07-15 22:31:02 +02:00
Chris Forbes
c2321e3eea
fixed #2284 - crash in upnp when device found but it doesnt want to talk upnp
2012-07-01 20:14:14 +12:00
James Dunne
8eb4782a49
Fixed socket code constantly throwing exceptions about non-blocking.
2012-06-21 09:29:02 +12:00
Chris Forbes
94f7f1c473
clean up game timeout
2012-06-15 15:14:56 +12:00
Igor Popov
4a7417347a
fix #2199 ; Game Timer (min 10 seconds)
2012-06-10 17:08:49 +12:00
Matthias Mailänder
dc6b286d25
remove unneccessary dependencies, make SendTo less spammy
2012-06-10 16:46:19 +12:00
Matthias Mailänder
aa36a56b27
UPnP source code fixes
...
as suggested by Chris Forbes
2012-06-10 16:46:19 +12:00
Chris Forbes
a831e72fa2
Merge remote-tracking branch 'tuc/simplepause'
2012-06-10 16:35:41 +12:00
Igor Popov
3f0fafb380
Add banlist (Server.Ban settings item) support to game servers
2012-06-07 12:14:26 +12:00
Remco van der Zon
a07697be03
Pause the game option.
...
Game is paused when PAUSE on the keyboard has been hit. It can also be unpaused this way.
2012-05-16 17:35:10 +02:00
Chris Forbes
a4e1915aff
warn the lobby when a client joins with DEV_VERSION
2012-04-09 09:40:22 +12:00
Chris Forbes
9d2833fc2b
fix spelling error in comment
2012-04-09 09:39:57 +12:00
Chris Forbes
ab4c21f80c
fix crash in server in StartGame if there are unvalidated connections
2012-04-09 09:18:54 +12:00
Curtis Shmyr
95b908b234
Fixed bug where bots weren't given proper client index
2012-02-13 09:11:54 +13:00
Nikita Tsukanov
ad29926391
Removed Connection.PlayerIndex == 0 checks if favor of Session.Player.IsAdmin
2012-01-09 15:37:55 +04:00
Chris Forbes
c169bc3c51
fix #1320 bogus use of Game.CosmeticRandom from server thread
2012-01-07 20:33:56 +13:00
Chris Forbes
564fdd650d
add mechanism for traits to export the *Inits they can use
2011-11-05 12:29:55 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
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