Commit graph

21 commits

Author SHA1 Message Date
Kamron Batman
1ca8655fc1
Updates Serialization (#292)
- [X] Removes all save strategies
- [X] Removes duplicate file writer that won't be used
- [X] Removes persistence (it will become a duplicate system)
- [X] Add a save position variable to skip serializing a clean item/mobile
- [X] Update Guilds/Accounts to be IEntity types
    - Because guilds are abstract, this may make serialization tricky.
- [X] Update the generalized IEntity writing
- [X] Update the load/save to write to buffers then to files in background


Bumps release version
2020-10-31 17:38:29 -07:00
Kamron Batman
a8d486a969
Rearranges packet code (#295) 2020-10-30 22:49:00 -07:00
Kamron Batman
5f7e4bf050
Updates networking to make pipe writer awaitable (#290)
- [X] Updates result so it is preallocated
- [X] Updates PipeWriter so it is awaitable
- [X] Simplifies NetState code to match changes
- [X] Adds a byte for empty checking so incoming/outgoing can have full pipes.

Bumps release version
2020-10-27 11:22:07 -07:00
Kamron Batman
0e02cf0821
Changes account packets to functional (#284)
- [X] Moved packets from objects to functions
- [X] Fixed bug where characters were showing up with their modded names in the character list

Bumps release version
2020-10-25 23:47:29 -07:00
Kamron Batman
e0da7209f6
Changes namespace for packet tests (#285) 2020-10-24 19:10:53 -07:00
Kamron Batman
369a27b800
Replacing Networking (#271)
- [X] Removing Kestrel & Libuv
- [X] Cleaning up NetState
- [X] Removing System.IO.Pipelines
- [X] Cleaning up packet reading
- [X] Adds a maximum of 5000 sockets (configurable) to prevent OOM
- [X] Replaces the AsyncState with a thread-safe wrapped boolean called NetworkState
- [X] Removes Parallel.ForEach (no perf gain)
- [X] Removes custom houses compression on another thread
- [X] Test high load scenarios

Bumps release version
2020-10-20 20:55:19 -07:00
Kamron Batman
4e799ddbd7
Adds back in old benchmarks. Cleans up tests. (#270) 2020-10-04 11:45:07 -07:00
Kamron Batman
8149620b0c
Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
Kamron Batman
55ae0f8778
Fixes exiting/crash handling/ctrl+c (#237)
- [X] Fixes handling of CTRL+C
- [X] Fixes crash guard (but should really be rewritten
- [X] Fixes exiting/restarting

Bumps release version
2020-09-12 00:05:38 -07:00
Kamron Batman
bbdb561de8
Fixes leaking tests (#231) 2020-09-06 14:16:57 -07:00
Kamron Batman
ad3775c4d7
Formats UO Content (#201) 2020-08-27 18:30:38 -07:00
Kamron Batman
b476bcfd24
Fixes for Last Moved (#194) 2020-08-16 06:58:16 -07:00
Kamron Batman
319a990ede
Finishes targeting packets (#180) 2020-07-18 23:32:02 -07:00
Kamron Batman
5052bf9af3
Adds more packets (#177) 2020-07-18 19:03:26 -07:00
Kamron Batman
c0805850c1
Adds more packet tests (#176) 2020-07-11 01:01:57 -07:00
Kamron Batman
7d20cf7642
Streamlines packet tests (#175) 2020-07-11 00:29:53 -07:00
Kamron Batman
9d4bc7cda2
Adds more packet tests (#173) 2020-07-05 20:14:23 -07:00
Kamron Batman
e17195ca80
Adds more packet tests (#166) 2020-07-03 19:03:10 -07:00
Kamron Batman
24b1a579f4
Creates more tests for outgoing packets (#165) 2020-06-26 12:04:29 -07:00
Kamron Batman
69ebb45e59
Moves more outgoing packets (#152) 2020-05-28 19:15:34 -07:00
Kamron Batman
8278694105
Adds more unit tests (#133) 2020-05-08 20:32:59 -07:00