juanjp600
795efd82ab
Added missing auth response header
2016-08-31 19:44:29 -03:00
juanjp600
a4a6046013
Fix banned packets being read
2016-08-31 18:49:51 -03:00
juanjp600
f5bd5fe0d3
Extra ban check for data packet type
2016-08-31 18:48:45 -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
d561805010
More netcode cleanup
...
how much more is there :/
2016-08-30 21:35:05 -03:00
juanjp600
33dc22da05
Merge remote-tracking branch 'refs/remotes/origin/new-netcode'
...
Conflicts:
Subsurface/Source/Networking/GameClient.cs
2016-08-30 21:34:11 -03:00
juanjp600
55a2db7c70
Removed more networking code
2016-08-30 21:33:10 -03:00
juanjp600
2b110588b8
Removed more networking code
2016-08-30 21:30:31 -03:00
juanjp600
7bdcc51bae
Made game compilable
...
Networking functionality is fully disabled now.
I think it's time to start rewriting everything. OH BOY
2016-08-30 21:13:36 -03:00
juanjp600
0a0f8e19b4
Merged branch new-netcode into new-netcode
2016-08-30 20:37:12 -03:00
juanjp600
1b418a0fda
Re-enabling coroutines
...
Changed my mind about this
2016-08-30 20:36:44 -03:00
juanjp600
807c265652
Re-enabling coroutines
...
Changed my mind about this
2016-08-30 20:29:34 -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
37ffd64490
Disabled networkevent
...
Changing the way each item handles its own network updating
2016-08-30 19:28:32 -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
Sebastian Broberg
8142cc734e
Small rewrite of the Coroutine logic to stop it from going out of bounds and crashing.
2016-08-30 22:51:40 +02:00
juanjp600
9c116fc268
Merged branch master into master
2016-08-30 17:36:11 -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
Regalis
2e2043bf7f
Chat messages are added to the server log even if the host's character is out of range, message senders are shown in the server log, fixed multi-line log entries overlapping
2016-08-30 19:06:15 +03:00
Regalis
7ed95c430b
Option to choose which character to control with the console command when there are multiple characters with the same name
2016-08-30 19:04:06 +03:00
Joonas Rikkonen
a6d33b7ed4
Merged in Headswe/barotrauma/topwindow_change (pull request #2 )
...
Modified top window
2016-08-30 16:50:54 +03:00
juanjp600
af220dbc2a
Removed Fill/ReadNetworkData
...
These functions needed to be replaced because they rely heavily on reliability.
Instead, new functions called (Write/Read)Data(Server/Client) will be added.
Separating client and server code into completely separate functions will help ensure that proper security checks are performed.
2016-08-29 20:02:46 -03:00
juanjp600
6bb6f63dd7
Hacked clients can't change their character name
...
Also made spam filter's aggressiveness consistent
2016-08-29 19:45:21 -03:00
juanjp600
4c23145025
Merged branch master into master
2016-08-29 19:02:51 -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
Regalis
119d4f4600
v0.5.1.1
2016-08-30 00:58:38 +03:00
Sebastian Broberg
1d9c6da392
Modified top window
...
https://images-ext-1.discordapp.net/eyJ1cmwiOiJodHRwOi8vaS5pbWd1ci5jb20vVWtkeldmSy5wbmcifQ.xZ-njnk5KQ4aug-WzcIzOp5Wxf0.png
2016-08-29 23:55:33 +02:00
juanjp600
83f8ad0555
Clientside fix for empty password
...
Thanks for finding this Reg
2016-08-29 18:40:27 -03:00
juanjp600
bf686ae997
A few more security checks
2016-08-29 18:38:06 -03:00
juanjp600
8a3b901fa2
Merged branch master into master
2016-08-29 17:55:46 -03:00
Regalis
a0a5e2df33
v0.5.0.1 + re-enabled the black wall damage indicators, client permissions disabled
2016-08-29 23:43:08 +03:00
juanjp600
b3f0f71d43
Fixed password storage when it isn't set
...
Disabled hashing on an empty string
2016-08-29 17:42:37 -03:00
Regalis
ca5ad3ece4
Added some husk chems to the subs, attack key is included in the default config, fixed character and wiring modes crashing the game
2016-08-29 21:23:35 +03:00
Regalis
1dad116981
Adding a textblock with whitespace as the text doesn't blow up GUIListBoxes anymore, missing key bindings don't crash the game
2016-08-29 20:51:00 +03:00
Regalis
5de48a030e
Changes to the layout of the "manage players" menu
2016-08-29 18:28:31 +03:00
Regalis
9955856c0c
Tweaked the item interaction distance checks a bit:
...
- using worldposition instead of simposition (an item outside the airlock can be close enough to pick up even if it's far away in physics sim coordinates)
- checking if the player is inside the interact trigger of the item
- better way of checking if the item is a ladder
2016-08-29 18:26:24 +03:00
Regalis
0b2a5d5771
Wall sections are updated after resizing a structure
2016-08-29 17:25:17 +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
8f675e625b
Host can ban lobby players from ingame
...
New menu looks really ugly but it works
2016-08-28 22:16:49 -03:00
juanjp600
d27cafffa9
Fixed access to items without PickDistance
...
The ladder check is a horrible hack, but if you're horribly desynced then trying to interact with one will just kill you :)
2016-08-28 20:26:36 -03:00
juanjp600
86704c7d83
Stricter item interaction check
2016-08-28 20:00:46 -03:00
juanjp600
73fc0cf724
More security checks
...
This actually looks pretty bad, not gonna lie.
2016-08-28 19:54:31 -03:00
Sebastian Broberg
b51afdd0cb
Merge branch 'master' of bitbucket.org:Regalis11/barotrauma into master_home
2016-08-28 23:42:57 +02:00
Sebastian Broberg
a708c4f915
Fix for broken repeating textures.
2016-08-28 23:42:41 +02:00
juanjp600
6e67c86fb6
Item interaction distance checks
...
Another anti-hack measure, hopefully this stops them from wrecking the sub instantly
2016-08-28 18:35:38 -03:00
Sebastian Broberg
6c03b2ed3e
Merge branch 'master' into master_home
2016-08-28 22:01:19 +02:00
Sebastian Broberg
99b568b287
Flooding tweak
2016-08-28 21:54:11 +02:00
juanjp600
30f550df03
Ingame players can't receive messages from lobby players anymore
2016-08-28 16:46:51 -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