dcd566f2dc
Clients can't set the condition of an item unless the server says so, fixed low item condition being rounded down to zero when writing into a network msg
Regalis
2017-03-21 17:31:22 +02:00
ec31e86350
Server sets the condition of an item back to 100 when the item is fixed
Regalis
2017-03-20 21:16:21 +02:00
fe4a8b419d
Chatmessage GUITextBlock height matches the height of the message (-> multi-line messages don't overlap), fixed the name of the server being added to server chatmessages if there are no recipients
Regalis
2017-03-20 20:52:10 +02:00
2c688f40e3
Syncing RespawnManager state with clients
Regalis
2017-03-20 20:44:20 +02:00
7c6ea5b1c0
LightSource vertices are recalculated if another submarine within the range of the light has moved relative to the sub the light is in
Regalis
2017-03-20 17:15:12 +02:00
d6074d23ab
MonsterEvent switches state back to "not started" if the sub gets far enough from the monsters (prevents monster music from staying on), SoundPlayer plays a random default music clip if a suitable clip isn't found for the highest priority task
Regalis
2017-03-19 20:34:21 +02:00
cd0da235a2
Swimming anim fix: legs are forced back to their correct position if the thighs are bent too close to the torso (should fix characters swimming with their legs extended up over their shoulders)
Regalis
2017-03-19 19:49:59 +02:00
b38512865d
GUIListBoxes don't add children that aren't in the view to GUIUpdateList (-> can't scroll the listbox with the scroll wheel when the cursor is above/below the box)
Regalis
2017-03-19 19:19:04 +02:00
18fded1d87
Fixed a typo in the "give in" button tooltip
Regalis
2017-03-19 18:31:15 +02:00
dde0160956
Fixed items that aren't selected with the default select key being impossible to interact with, unconscious characters CanBeSelected
Regalis
2017-03-19 18:29:53 +02:00
40f5f352f5
- pasted entities are assigned to the main sub (-> entities copypasted from another sub are saved) - fixed submarinebody attempting to generate a physics body for a sub with no walls if there are some other walls loaded - MathUtils.GiftWrap doesn't throw an exception if passed an empty list of points
Regalis
2017-03-15 23:59:23 +02:00
4285cdde27
ID of the entity a character is interacting with is also sent to the client controlling the character (should fix characters dragging someone at the server's end but not at the client's, or vice versa)
Regalis
2017-03-15 21:30:24 +02:00
8d8620047d
Fixed clients who leave a server and re-join becoming desynced and not being kicked by the server.
Regalis
2017-03-14 22:33:33 +02:00
ac549f0feb
Fixed incorrectly aligned letters in scaled texts
Regalis
2017-03-14 20:32:29 +02:00
94d69ff6e9
Fixed clients not seeing player names in chat messages when in the lobby
Regalis
2017-03-14 19:52:08 +02:00
4a37dab3ca
Fixed hosts character being taken into account in both teams' job assignment
Regalis
2017-03-14 19:50:40 +02:00
3f590da395
Fixed AddToGUIUpdateList crashes (I think):
Regalis
2017-03-14 17:27:15 +02:00
8c659e2a08
Server checks if midround syncing is needed when a client is in the game (i.e. loaded the sub, etc), not when the client requests the start message. Some clients take longer to start the round than others, and they may miss unique messages even if they were in the lobby when the round started.
Regalis
2017-03-13 21:50:01 +02:00
3f1f2d23f2
Server sends the maximum number of players to the master server instead of the maximum number of connections, case-insensitive chat message commands
Regalis
2017-03-13 20:53:35 +02:00
2d7d7f3d8d
Fixed turret syncing, clients don't get a notification about changed permissions if they're assigned the same permissions they already have
Regalis
2017-03-13 20:52:31 +02:00
0874a0b059
PowerContainer syncing, clients can't launch a turret until the server tells them to
Regalis
2017-03-11 15:40:18 +02:00
9e3d51edf4
ServerEntityEventManager doesn't prevent creating a duplicate event if the previous one has already been sent to someone, handling exceptions in WriteEvent
Regalis
2017-03-11 15:39:11 +02:00
5bdb57b98a
Merge branch 'master' into new-netcode
Regalis
2017-03-11 13:24:09 +02:00
c851770386
Fixed "trying to read past the buffer size" errors caused by item updates sent by clients, midround syncing timeout period is calculated based on the number of events the client needs to receive
Regalis
2017-03-11 12:49:08 +02:00
a1342fdc45
Server-side file transfer UI, server notifies the recipient of a file transfer if the transfer is cancelled, fixed TextGetter not working on wrapped GUITextBlocks
Regalis
2017-03-10 19:16:17 +02:00
4f589603d1
Further improvements to item position syncing
juanjp600
2017-03-09 23:49:12 -03:00
6a31d56175
Fixed mid-round joining clients automatically getting kicked out because they're missing old events
Regalis
2017-03-09 21:40:58 +02:00
c956e7aa7f
Fixed one missed UInt32 -> Uint16 conversion in ServerEntityEventManager
Regalis
2017-03-09 21:35:02 +02:00
ede3f1c393
Removed old fonts
Regalis
2017-03-09 20:09:34 +02:00
38cd5d5a08
Fixed launcher
Regalis
2017-03-09 20:07:25 +02:00
be72a04d90
Switched to the pro version of Code Bold
Regalis
2017-03-09 20:04:33 +02:00
e406b76cd5
Some more logic to handle missing sub files and active file transfers when starting a round: - server waits for transfers to finish before starting the round (up to a max 20 seconds, can be skipped by the host) - clients enable the spectate button when the round starts (in case they fail to start the round due to a missing sub file or an error) - clients notify the server if a transfer is cancelled
Regalis
2017-03-09 19:56:27 +02:00
ca402396a0
Client-side file transfer UI, FileSender has a limit on how many transfers can be active simultaneously (todo: queue transfers?), some extra debug logging & small fixes
Regalis
2017-03-08 22:56:11 +02:00
64e866d771
Fixed an off-by-two error in entityspawner
Regalis
2017-03-07 23:02:33 +02:00
6bae2cf47b
File transfers (somewhat) working. Todo: testing, show active transfers in the UI
Regalis
2017-03-07 23:01:01 +02:00
2d9f706998
Scale applies to newlines in ScalableFont.DrawString
juanjp600
2017-03-07 15:44:59 -03:00
5450ff498a
Progress on file transfers (class for receiving files, FileSender can transfer multiple files to the same recipient simultaneously)
Regalis
2017-03-07 20:03:40 +02:00
ecb7500df9
Converted UInt32 ID's to UInt16
juanjp600
2017-03-06 16:25:12 -03:00
cf859eee7c
WIP file transfer logic
Regalis
2017-03-06 20:31:24 +02:00
10794a5e2c
Added z position to background sprites
Regalis
2017-03-06 18:38:38 +02:00
5e9f69eed4
v0.5.4.5
Regalis
2017-03-04 13:14:34 +02:00
88a76f0c9f
Fixed the game process staying active in the background after a crash (due to a running sound streaming thread)
Regalis
2017-03-03 20:58:32 +02:00
c96fcf7f34
Clients can't use headsets that are in the inventory
Regalis
2017-03-03 20:31:07 +02:00
4c863cfdd7
Some extra error checking in GUIComponent and PhysicsBody syncing logic
Regalis
2017-03-03 20:29:07 +02:00
ee16f0708b
-try-catch blocks for GUIComponents fixedChildren lists -player name and IP address in debug messages -crash logs now output up to 15 messages
juanjp600
2017-03-03 15:14:18 -03:00
e059a08688
Optimized lightsource raycasts
Regalis
2017-03-03 00:02:43 +02:00
f04a00f6e1
Merge branch 'lighting-optimization'
Regalis
2017-03-02 19:39:55 +02:00
335ee8c72e
Warning message about unlinked vents is only shown once when saving (not for each vent)
Regalis
2017-03-02 19:39:00 +02:00
a5017193bf
Items don't attempt to set the positions of contained items with SetTransform if SetTransformIgnoreContacts fails (because the former calls the latter anyway, causing another exception). Still haven't managed to reproduce the exception
Regalis
2017-03-02 19:38:31 +02:00
01a543e8b4
Fixed slight mistake in homoglyph list
juanjp600
2017-03-02 13:54:40 -03:00
ba026a8f88
Added list of homoglyphs for name comparison
juanjp600
2017-03-02 12:09:08 -03:00
65625777e5
Monster syncing fixes: - clients freeze and disable AI characters if no updates have been received in a while (due to the monster being far away from player-controlled characters at the servers side for example) - server disables AI characters that are too far for updates to be sent to clients (-> targets of monster missions can't swim away from the spawnpos and cause the clients' sonars to point to an incorrect position)
Regalis
2017-03-01 23:13:10 +02:00
7935ecce46
- fixed crash in UpdateVoteStatus - fixed clients reconnecting automatically after being kicked for desync
juanjp600
2017-03-01 17:04:51 -03:00
708a67caeb
Switched to fonts that support the cyrillic alphabet
Regalis
2017-03-01 19:31:26 +02:00
871c3bc93c
Character colliders are disabled when the character is disabled (-> monsters won't automatically drop into abyss in monster missions)
Regalis
2017-03-01 19:15:50 +02:00
1f607c2018
Made windowed door's shadow match the sprite more closely
juanjp600
2017-03-01 13:43:00 -03:00
3868b70387
Fixed windowed door shadows
juanjp600
2017-03-01 13:41:37 -03:00
4568f34f39
Rotating lights and overridden textures
juanjp600
2017-02-28 19:19:02 -03:00
eb0d592814
v0.5.4.4
Regalis
2017-02-28 00:05:13 +02:00
9e16542b13
Replaced the arrows in server lobby buttons with images, made GUIImages rotatable (todo: make them align correctly when rotated/scaled), fixed the size of the sub save warning messagebox
Regalis
2017-02-27 22:28:10 +02:00
979c82443c
Derp: fixed submarine files not being included in saves if the player saves and quits from the single player lobby
Regalis
2017-02-27 21:33:42 +02:00
27a883349c
Server keeps a reference to the StartGame coroutine and checks if it has stopped running before the round has started, and if so, resets autorestart timer and start button (i.e. an exception at any point during startup will trigger the reset)
Regalis
2017-02-27 21:30:39 +02:00
f8304ceb7e
Workaround for exceptions in SetTransformIgnoreContacts
Regalis
2017-02-27 20:55:23 +02:00
b635a61bb4
Editor UI fixes: UI of the selected item is added to GUIUpdateList in wiring/character mode, save/load/item menus can't be clicked when hidden by wiring/character mode
Regalis
2017-02-27 19:59:19 +02:00
c3b8f2a1db
Fixed OpenAL errors when removing looping sounds
Regalis
2017-02-27 19:02:33 +02:00
22d40077fa
Fixed exception in LightSource if ConvexHullList for hulls outside the sub hasn't been generated (i.e. if switching to game mode using console commands), removed some debug code
Regalis
2017-02-27 18:53:34 +02:00
68a0320935
LightSources cache the light vertices in vertex buffers and only recalculate if needed
Regalis
2017-02-27 00:41:40 +02:00
f3f875e641
Calculating light volumes works now. Very poorly optimized at the moment, todo: cache volumes and only recalculate when needed
Regalis
2017-02-26 18:44:18 +02:00
abfe2261d2
- ConvexHulls consist of Segments and SegmentPoints which keep references to each other - LightSources fetch a list of non-backfacing ConvexHull segments within their range, and sort the points counter-clockwise (TODO: calculate triangles from the points) - fixed incorrectly working CircleIntersectsRectangle method
Regalis
2017-02-26 01:17:22 +02:00
bcabe4ab39
Disabled convexhull shadow caching
Regalis
2017-02-25 21:50:11 +02:00
844097b132
Initial steps in making the light rendering use light volumes instead of shadow volumes to allow rendering the lights in one batch.
Regalis
2017-02-25 21:24:38 +02:00
c9f09031de
Re-enabled anchoring main limb to the collider when a remote player is unconscious (otherwise only the position of the collider will be synced, and the ragdoll won't follow it)
Regalis
2017-02-25 16:47:20 +02:00
f3c58a2494
Made item syncing look slightly less erratic on client's side
juanjp600
2017-02-25 12:22:38 -03:00
bf3fa804df
Fixed ragdolls accumulating a large movement value while being dragged (backported from commit a21d8d7)
Regalis
2017-02-25 16:40:52 +02:00
12466e304e
Fixed server failing to start a round if there's a selected cargo spawnpoint is not inside a hull
Regalis
2017-02-25 15:03:10 +02:00
2a60f9d052
Fixed "OpenAL not found" exceptions if no audio devices are found
Regalis
2017-02-25 14:28:12 +02:00
a21d8d7a53
Fixed ragdolls accumulating a large movement value while being dragged (line 902), causing them to launch off with a high velocity when they wake up
Regalis
2017-02-25 14:25:21 +02:00
7aafdadae5
(Maybe?) fixed "collection was modified" exceptions in GUIComponent.AddToGUIUpdateList
Regalis
2017-02-24 19:16:42 +02:00
b8c3b9c29f
- sub editor shows a warning upon saving if there are entities way outside the sub - warnings are shown in a GUIMessageBox instead of the debug console - added a submarine indicator to the editor
Regalis
2017-02-24 00:01:46 +02:00
3fcaff0288
Merge branch 'master' into new-netcode
Regalis
2017-02-22 23:33:14 +02:00
5006a9af6c
New fonts, loading progress doesn't stay stuck at 70% during SoundPlayer initialization
Regalis
2017-02-22 23:31:11 +02:00
27e74490a0
New wire sprite and switched the body from circle to capsule, tweaked physicsbody position lerping logic (catches up with the server faster)
Regalis
2017-02-22 22:02:33 +02:00
75d047b57e
Item position updates include whether the physics body is sleeping, clients disable sleeping bodies
Regalis
2017-02-22 21:27:52 +02:00
d7aba531d7
Server port included in refresh and remove requests to master server, spectators see indicators for both subs during combat missions
Regalis
2017-02-21 20:46:08 +02:00
d50eba55a6
Fixed controller.userPos being recalculated incorrectly when flipping the sub (due to userPos being relative to the center of the item since commit 49d4108e)
Regalis
2017-02-21 20:24:02 +02:00