Regalis
c2d918073e
Serverlog message types (which atm only determine the color of the message)
2017-05-09 19:56:12 +03:00
Regalis
6c770afd6a
Clients aren't allowed to use the same name as the server, changed radio msg color back to yellow
2017-05-02 18:36:12 +03:00
Regalis
b98ebe6e21
Readded client permissions
2017-02-06 21:07:24 +02:00
Regalis
89e881cb57
Readded voting (submarine, mode, end round & kick)
2017-02-04 18:30:40 +02:00
Regalis
05c5880269
Displaying the names of the connected players in the server lobby
2017-02-01 18:10:48 +02:00
Regalis
6252db7928
- fixed server validating its own name instead of the name of a client who's logging in
...
- clients automatically reconnect to the server when the connection is lost and return back to server list if they fail to reconnect
- showing the error msg as a GUIMessageBox and returning to main menu if starting a server fails
2017-01-14 16:57:47 +02:00
Regalis
9b03b2bcc1
Server ignores UPDATE_INGAME messages if the game isn't running, server doesn't set any of the clients' lastRecvIDs above the ID of the latest chatMsg/event/etc (clients can't have received something the server hasn't sent yet)
2017-01-13 18:07:00 +02:00
juanjp600
2116a1a93a
Fixed rangeban
2016-09-03 18:15:36 -03:00
juanjp600
6f25bee9e1
Merge remote-tracking branch 'refs/remotes/barotrauma/master'
...
Conflicts:
.vs/Subsurface_Solution/v14/.suo
Subsurface/Barotrauma.csproj
Subsurface/Properties/AssemblyInfo.cs
Subsurface/Source/Items/ItemSpawner.cs
Subsurface/Source/Networking/GameClient.cs
Subsurface/Source/Networking/GameServer.cs
Subsurface/Source/Networking/GameServerLogin.cs
2016-09-03 17:54:33 -03:00
juanjp600
d0efbe14f3
Whitelist saving
2016-09-03 17:51:10 -03:00
juanjp600
efa8b4da51
Removed per-user password from whitelist
2016-09-03 17:18:44 -03:00
juanjp600
ef2b0d8721
Whitelist + conflict resolve
2016-09-03 14:57:36 -03:00
juanjp600
4b10ca21c4
Ban before disconnecting client
2016-09-02 22:49:40 -03:00
juanjp600
e3433c725e
Server name, message and submarine list syncing
2016-09-02 22:24:14 -03:00
juanjp600
e0b6642767
Minor fixes and tweaks
2016-09-01 22:22:45 -03:00
juanjp600
028c3a8bc1
Added lobby chat syncing
2016-09-01 20:45:43 -03:00
juanjp600
f845a21de8
Fixed login process
...
Time to get the lobby working
2016-09-01 13:45:46 -03:00
juanjp600
104ac73b97
Added login process to client
...
Doesn't work yet, gotta figure this out.
2016-09-01 11:42:21 -03:00
juanjp600
db0d4b1cd6
Fixed server kicking clients who request auth after validation
2016-08-31 21:11:27 -03:00
juanjp600
795efd82ab
Added missing auth response header
2016-08-31 19:44:29 -03:00
juanjp600
f3b826a371
Added new function calls in server ReadMessage loop
2016-08-31 18:47:16 -03:00
juanjp600
b9a246ca68
New login process + a little bit of cleanup
...
No reliability required :) Will get to the client soon
2016-08-31 18:26:17 -03:00
juanjp600
9416eb64d7
Completely destroyed game
...
Looks like a lot more than just netcode is getting rewritten. Removing coroutines because there are better ways of handling asynchronous tasks, removing filestream because that's to be reimplemented later
2016-08-30 19:59:14 -03:00
juanjp600
6e83ef7626
Merge remote-tracking branch 'refs/remotes/origin/master'
...
Conflicts:
Subsurface/Barotrauma.csproj
Subsurface/Source/Characters/AI/EnemyAIController.cs
Subsurface/Source/Characters/AICharacter.cs
Subsurface/Source/Characters/Character.cs
Subsurface/Source/Items/Components/DockingPort.cs
Subsurface/Source/Items/Components/Door.cs
Subsurface/Source/Items/Item.cs
Subsurface/Source/Networking/GameClient.cs
Subsurface/Source/Networking/GameServer.cs
Subsurface/Source/Physics/PhysicsBody.cs
2016-08-30 18:04:49 -03:00
juanjp600
52270e3a35
Hacked clients can't send chat messages from other characters anymore
...
Also added sendername as userdata in chat messages, for now it's not used for anything but we'll probably find something where this is useful
2016-08-30 17:35:58 -03:00
juanjp600
df0b064899
Hacked client can't join full server anymore
...
Not sure how they can get around lidgren's checking, but this should do the trick
2016-08-29 19:02:37 -03:00
juanjp600
83f8ad0555
Clientside fix for empty password
...
Thanks for finding this Reg
2016-08-29 18:40:27 -03:00
juanjp600
e284ff5f38
Heavier password encryption
...
I don't think this fixes actual bugs but the encryption seemed kinda weak.
2016-08-29 07:13:19 -03:00
juanjp600
d909a8d9b6
Filter out Unicode and non-printable ASCII
...
+ return when authentication fails because of null client
2016-08-28 16:01:23 -03:00
juanjp600
12f849be01
Removed references to reliable sender
...
Now the game is broken, progress is being made :)
2016-08-25 18:55:32 -03:00
Regalis
712953cc9e
WIP client special permissions (kick, ban, end round)
2016-08-24 11:47:46 +03:00
Regalis
ef0098d52a
Anti-gamerfood measures:
...
- clients don't send server passwords as plaintext: the server sends a nonce which the client encrypt using the password as the key
- IPs are visible in netstats
- amount of client jobpreferences limited to 3 at the servers side
- sanitizing client names
2016-08-19 18:18:07 +03:00