Commit Graph

37 Commits

Author SHA1 Message Date
Regalis
fbe6c91d67 - previous networkevent of an item isn't overridden if the event is for a different itemcomponent
- batteries are restored to full capacity and all items repaired when resetting the respawn shuttle
- some respawnmanager refactoring (characters/items arent created in WriteNetworkEvent anymore)
- syncing respawnmanager state with clients who join mid-round
- LOS is turned back on when respawning
2016-08-13 18:42:55 +03:00
Regalis
7f40071565 - fixed ReliableChannel going crazy if a client disconnects and reconnects immediately after: the client created a new ReliableChannel but the server was still using the old one, causing the client to rerequest a ton of messages (now the server resets the channel when a client rejoins and reliablechannel resets itself if the message IDs are too far apart)
- syncing statuseffects caused by using an item on self
2016-03-27 20:20:34 +03:00
Regalis
d1580328ed Some cleanup using ReSharper (mostly removing redundancies) 2016-03-12 15:32:34 +02:00
Regalis
a1c728d207 Networking bugfixes & improvements:
- fixed server not sending kill-events when a monster dies
- some interpolation when correcting character positions
- physicsbody position lerping improvements
- sending AICharacter Dir instead of TargetDir
2016-03-09 16:56:42 +02:00
Regalis
10bb5d061f - WIP attempt at syncing item positions
- Some changes to item floating logic (lift is also applied to items outside the sub, forcefactor is clamped to 1 if the item is fully submerged)
2016-03-07 00:57:15 +02:00
Regalis
40714c1102 - converting NetworkEvent sending time to local time before doing any comparisons
- using mersenne twister for random number generation due to differences in Mono and .NET implementations of the Random library
- password prompt for password-protected private servers
- fixed deconstructor, fabricator and railgun connection panels closing immediately after opening
- fixed editor saving newly created subs to the root folder instead of the Submarines folder
- keeping items in the same inventory slots between clients instead of just syncing which items are in the inventory
- fixed crashing when swapping items between different limbslots
2016-03-03 21:11:54 +02:00
Regalis
77d3d22810 Camera twitching fixes, fixed crashing when loading a sub with no hull, fixed server lobby player count only working for 0-15 players, progress on downloading subs from the server 2016-02-25 22:54:10 +02:00
Regalis11
6f51c6fb33 Extension method for reading/writing enums in netbuffers, (untested) classes for sending files 2016-02-24 15:45:45 +02:00
Regalis11
c613e5fcf8 AICharacte syncing bugfixes, cleanbuild removes the temp save folder, minor networkevent optimizations (enum max value == GetValues().Length-1) 2016-02-21 20:46:57 +02:00
Regalis
308ae7a8b0 v0.3.3 2016-02-20 21:52:05 +02:00
Regalis11
91a0033025 NetworkEvents can be sent using Lidgren's reliable delivery method 2016-01-31 18:09:24 +02:00
Regalis11
7f78582df7 MonsterEvent spawns monsters at start, writing networkeventtype using WriteRangedInt instead of WriteByte 2016-01-31 17:39:50 +02:00
Regalis
17f3ec7301 Fabricator, deconstructor, itemspawner & itemremover syncing, fixed placing hulls in editor, misc cleanup 2016-01-10 17:10:22 +02:00
Regalis
cddf4f1bde Sending NetTime at the start of a combined networkevent instead of individual networkevents, syncing itemcomponents for spectators, AICharacter importantentityupdates are sent again, misc bugfixes, some new heads 2015-11-20 17:12:33 +02:00
Regalis
ab7c39071c Input syncing between clients, inventory sync bugfix, structure sync bugfix, settings button highlight bugfix, spectating bugfixes, in-game chatbox not visible when joining a server when the round is running 2015-11-14 00:09:56 +02:00
Regalis
24ed95cd68 Networking bugfixes, underwater scooter, fixed limbs going through walls when flipping the ragdoll 2015-11-13 00:52:42 +02:00
Regalis
cd48d12be6 Setting ragdoll position without limbs going through walls, rotating entire ragdoll, using combined network messages client->server, fixed fabricators 2015-11-08 22:20:29 +02:00
Regalis
5a21d64b3a FillNetworkData uses NetBuffer instead of OutgoingMessage 2015-11-04 20:21:34 +02:00
Regalis
9f9f0205e7 Sending multiple networkevents in one packet, removed limb updates from ImportantEntityUpdate 2015-11-04 00:12:53 +02:00
Regalis
963f46e7d1 Improved character movement lag compensation 2015-11-03 18:15:12 +02:00
Regalis
3335f87f64 Traitormode won't choose the first client as the target, admin can be traitor/target, banlist & removing IPs, environment dust particles, clients are responsible for the KillCharacter message of their own character, moar backgroundfish, syncing item FixRequirement states, longer gameserver tickrate 2015-10-24 17:00:58 +03:00
Regalis
6736f1dd82 Remove items in dummycharacter inventory in editmapscreen, important character updates a separate networkeventtype 2015-10-23 19:28:21 +03:00
Regalis
51e68f0949 Banning players, networkevent refactoring, wire syncing bugfixes, wrenches can be used as a melee weapon, proper error message for invalid IPs, drawing held items in correct position, fixed client crashing if sending a chatmessage while connection is lost 2015-10-22 01:04:42 +03:00
Regalis
313d16d886 Changed entity ids from int to ushort, inventory sync bugfixes 2015-10-21 18:58:36 +03:00
Regalis
0233579e37 ItemInventories don't have own ID's anymore but rely on owner ID, relaying reliablemessages through server 2015-10-21 01:39:00 +03:00
Regalis
5f07d4b0c9 "ReliableMessages", networkevents aren't sent if FillNetworkEvent fails 2015-10-19 22:49:38 +03:00
Regalis
0e5e86e363 v0.2.2: updated Lidgren, railgun shells can be bought, autorestart server, netstats, tutorial moloch spawning in a wall fix, misc error checks 2015-10-18 22:44:30 +03:00
Regalis
3c1a66078c v0.2: iteminventory sync bugfix, meleeweapon "reload time", spears can be picked even if they're stuck inside a wall, tutorial bugfixes, "submarine godmode", removed round duration, drag character sync, reliable structure damage messages, job assignment bugfixes, some extra sounds 2015-10-17 16:01:42 +03:00
Regalis
838022fcd5 Switch to Barotrauma & too many misc changes to remember 2015-10-16 18:11:58 +03:00
Regalis
709d4efde9 Particle.FindAdjacentHulls exception fix, OpenAL "invalid value" dix, radar sync, better ragdoll sync, autoupdate cancel/retry on error 2015-10-08 21:48:04 +03:00
Regalis
f6966f06c3 WIP CrashReporter, misc refactoring 2015-09-19 15:14:47 +03:00
Regalis
2f08dcf3f9 Admin can play in multiplayer, backgroundsprites, fixrequirement bugfix, the condition of the reactor won't detoriate when it's running 2015-09-04 12:57:12 +03:00
Regalis
f739808520 Progress on tutorial, gap tweaking (water flows faster from room to room), UPnP error messages, input keys in array, underwater aiming tweaking, tons of misc stuff commit more often ffs 2015-08-31 19:57:49 +03:00
Regalis
8c559f716f Progress on tutorial, misc bugfixes 2015-08-20 00:42:24 +03:00
Regalis
00c64f0b20 Networking bugfixes & optimization 2015-08-18 18:13:40 +03:00
Regalis
01b1dfe0df reliable network messages aren't sent as frequently, equippable grenades/detonators 2015-08-01 13:48:20 +03:00
Regalis
85b0cda4ca v0.1 2015-07-31 21:05:55 +03:00