Commit Graph

8306 Commits

Author SHA1 Message Date
MrGadget1024
11dc4a9f60 fix(NetworkManager): Move networkAddress check up in StartClient
- If we're going to abort for this, do it before setting anything up.
- If/when the networkAddress is later set, we won't have issue with double initilization when StartClient is called again.
2023-11-24 18:03:05 -05:00
MrGadget
dfec9a713e
feat(SWT): Logging System Overhaul (#3663)
* SWT-Logging system overhaul
2023-11-24 17:39:23 -05:00
MrGadget1024
bfe95afc0c SWT(BufferPool): Grammar in exception 2023-11-24 16:49:32 -05:00
MrGadget1024
8bb713cfb5 SWT(Connection): Return remoteAddress in ToString if available 2023-11-24 16:47:12 -05:00
MrGadget1024
ba100dcd2c SWT: Rearranged Inspector fields 2023-11-24 16:35:07 -05:00
MrGadget1024
b79b2dd58a SWT: Renamed Log Levels 2023-11-24 16:32:18 -05:00
MrGadget1024
0f17071d48 SWT: Renamed serverMaxMessagesPerTick to serverMaxMsgsPerTick 2023-11-24 16:29:12 -05:00
MrGadget1024
3d32470d3a SWT: renamed clientMaxMessagesPerTick to clientMaxMsgsPerTick 2023-11-24 16:27:48 -05:00
MrGadget1024
8c1825dfb3 SWT: Renamed Log.level to minLogLevel 2023-11-24 16:18:20 -05:00
MrGadget1024
7ae2e0b234 Renamed _logLevels to minimumLogLevel 2023-11-24 16:13:21 -05:00
MrGadget1024
fc5f68a637 SWT: Renamed handshakeMaxSize to maxHandshakeSize 2023-11-24 16:11:44 -05:00
MrGadget1024
cab133ce06 SWT: Syntax 2023-11-24 16:06:03 -05:00
MrGadget1024
5b71136a0e SWT: Removed stray blank lines 2023-11-24 16:04:20 -05:00
MrGadget1024
36382bd875 SWT: Syntax 2023-11-24 16:01:13 -05:00
MrGadget1024
20faa4ef67 SWT: Added Help URL 2023-11-24 15:59:35 -05:00
MrGadget1024
9f9957eafa SWT: Added console color comments 2023-11-22 21:39:21 -05:00
MrGadget1024
8cf499e61e SWT: Added ToString override 2023-11-22 21:38:55 -05:00
MrGadget
f83d568e60
feat(HUD): Better HUD for WebGL (#3659)
* feat(HUD): Better HUD for WebGL

* restored comments

* fixed missing StopClient

* Simplified Stop Buttons
2023-11-22 18:00:42 -05:00
JesusLuvsYooh
d55967640f
fix: TanksCoop example, reset host values. (#3660)
Added OnStopServer  - nulls, to prevent a bug that can be caused on client host, when scenes do not reset during play, tank variables are set as "missing", which Unity does not count as null/empty.
2023-11-22 15:32:51 -05:00
MrGadget1024
a420e20d24 NetworkManagerHUD: formatting & syntax 2023-11-22 13:26:02 -05:00
MrGadget1024
b9b80c4f93 fix(SWT): silenced silly error logs 2023-11-22 12:53:58 -05:00
MrGadget1024
eb66d81c77 feat(Reader/Writer): Added LayerMask Support
- includes normal and nullable
- includes unit tests
2023-11-21 02:26:22 -05:00
MrGadget1024
fd049fc67d fix(PlayerPredicted): Fixed deprecated FindObjectOfType 2023-11-20 20:45:59 -05:00
MrGadget1024
0aef64259b fix(ClientWebsocketSettingsDrawer): Syntax Error 2023-11-20 19:34:19 -05:00
MrGadget1024
36a78fff7e SWT: Code formatting and syntax 2023-11-20 19:26:09 -05:00
Andrew Allbright
2425898def
feat: [SimpleWebTransport] Add ability to specify a custom client port (for reverse proxy scenarios not using port 80/443) (#3648)
* Add ability to specify a client port (for reverse proxy scenarios not using port 80/443)

* Create custom editor for simple web transport to enable customizing client port

* Incorporate James' suggestions

* Clients can specify custom paths too

* Tidy up code, try to make new settings more user friendly (+tooltips)

* Move simplewebtransport editor into new simplewebtransport.editor asmdef

* Remove custom path from client websocket connection

* Update Assets/Mirror/Transports/SimpleWeb/Editor/ClientWebsocketSettingsDrawer.cs

Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>

* var -> explicit type

* Remove editor asmdef

* remove private

---------

Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
2023-11-20 17:38:18 -05:00
mischa
dbe98740be breaking: remove PredictedRigidbody auto generated namespace 2023-11-20 17:21:19 +01:00
MrGadget1024
8086527731 chore(CI): RunUnityTests - updated unityVersion 2023-11-20 08:47:42 -05:00
mischa
e42217a978 PredictedRigidbody: show inserted correction too 2023-11-20 13:22:39 +01:00
MrGadget1024
b5d6d775df Updated Compiler Symbols 2023-11-20 07:06:24 -05:00
mischa
ab7c153df9 fix failing test 2023-11-20 12:32:10 +01:00
mischa
582a9c9dbf fix failing test 2023-11-20 12:24:04 +01:00
mischa
a24103baef PredictedRigidbody: comment out unused positionSensitivity for now 2023-11-20 12:17:43 +01:00
mischa
3367ed9e1d ProjectSettings resaved with latest Unity version 2023-11-20 12:14:36 +01:00
Nick
40953aaf81
Added plunder readme showcase (#3657)
* Update README.md
2023-11-20 11:28:04 +01:00
mischa
0655f77922 PredictedRigidbody: CorrectionMode instead of bool to support more modes soon 2023-11-20 10:58:23 +01:00
MrGadget1024
55e8ca57e7 fix(RandomColor): Consolidated to Common 2023-11-19 10:14:12 -05:00
MrGadget1024
ec357740cb fix(PhysicsSimulator): Consolidated to Common 2023-11-19 10:13:22 -05:00
MrGadget1024
1113e45f5f fix(CanvasNetworkManagerHUD): added namespace 2023-11-19 10:10:12 -05:00
MrGadget1024
0c8166326d fix(AdditiveLevels): Fixed Portal label generation 2023-11-19 08:38:47 -05:00
mischa
816b775feb Revert "fix: #3576 Pings are now stamped with a scene hash so we can drop messages before a (potentially long) scene load. fixes a bug where RTT would be very high after a long scene load. (#3650)"
This reverts commit c729fe119c.
2023-11-17 11:09:33 +01:00
mischa
d4c0f20827
breaking: fix: #3652 host [Command]s are now simulated over a message queue instead of invoking them directly (credits: Brian B.) (#3653)
* comment

* fix: host [Command]s are now simulated over a message queue instead of invoking them directly (credits: Brian B.)
2023-11-17 10:34:20 +01:00
mischa
8ec937dfa6 LocalConnectionToClient: update comments 2023-11-16 17:10:49 +01:00
mischa
d6c43a343b Tanks/FaceCamera moved to Examples/Common 2023-11-15 11:30:01 +01:00
mischa
95f3ac501d Examples/Common renamed to Examples/_Common to be more obvious 2023-11-15 11:26:46 +01:00
mischa
c729fe119c
fix: #3576 Pings are now stamped with a scene hash so we can drop messages before a (potentially long) scene load. fixes a bug where RTT would be very high after a long scene load. (#3650)
* fix: #3576 Pings are now stamped with a scene hash so we can drop messages before a (potentially long) scene load. fixes a bug where RTT would be very high after a long scene load.

* 16 bit hash fakebyte
2023-11-15 11:25:37 +01:00
mischa
7a69c424eb Extensions: GetStableHashCode16 from NetworkMessages.CalculateId for reuse in other places 2023-11-15 11:08:03 +01:00
mischa
f5599fa0c9 Room Example: update readme for new scene names 2023-11-15 09:51:15 +01:00
MrGadget1024
19d5fb4314 chore(CI): Updated package versions 2023-11-14 09:38:21 -05:00
mischa
d90b913d5d PredictedRigidbody: smoothCorrection tooltip 2023-11-14 13:14:08 +01:00