Commit graph

62 commits

Author SHA1 Message Date
Kamron Batman
6f5cb00cdd
Updates Combat Packets & Moves Tracking to Content (#298)
- [X] Changes outgoing combat packets
- [X] Moves quest arrow to PlayerMobile and moves quest arrow packets to content.

Bumps release version
2020-11-01 21:33:01 -08:00
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
90220feb41
Cleans up API (#289)
Bumps version release
2020-10-25 22:17:42 -07:00
Kamron Batman
990e6fe188
Updates Pipe & Makes NetState more testable (#288)
Updates pipe eliminate result and segments from being allocated.

Bumps release version
2020-10-25 17:40:08 -07:00
Kamron Batman
293e691539
Changes Huffman to in-place & Adds CircularBuffer (#287)
- [X] Adds CircularBuffer
- [X] Updates Packet Encoding/Decoding
- [X] Changes Huffman to in-place

Bumps release version
2020-10-25 12:54:37 -07:00
Kamron Batman
3337cfa4e2
Adds PacketDecoder & Makes NetState testable (#286) 2020-10-24 21:49:28 -07:00
Kamron Batman
6bd4f0d265
Update Readers/Writers for Buffers & Fixes bugs (#283)
- [X] Renames PacketReader to CircularBufferReader
- [X] Fixes bugs with CircularBufferReader
- [X] Adds CircularBufferWriter
- [X] Adds SpanWriter
- [X] Adds SpanReader

Bumps release version
2020-10-24 14:46:59 -07:00
Kamron Batman
d366fa8e3c
Turns compression back on (#280)
Bumps release version
2020-10-20 21:00:16 -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
24bf97282e
Renames pvSrc (#277) 2020-10-17 22:04:44 -07:00
Kamron Batman
a87d0e2d70
Breaks out NetState (#275) 2020-10-17 20:56:40 -07:00
Kamron Batman
ddc58ec707
Fixes chat (#265)
- [X] Fixes crash from chat and newer clients
- [X] Fixes issue with fake names being used
- [X] Fixes potential issue with RawName being null
- [X] Adds chat to modernuo.json settings
- [X] Removes old chat
- [X] Removes chat event sink since it probably isn't needed.

Bumps release version
2020-09-26 18:22:23 -07:00
Kamron Batman
a236617ad9
Some cleanup of contains keys and try get values (#246) 2020-09-13 20:20:44 -07:00
Kamron Batman
741e8d8300
Cleanup/Housekeeping (#242) 2020-09-12 15:31:21 -07:00
Kamron Batman
7dbfa086bc
Cleanup and adds configuration for crashguard (#240) 2020-09-12 01:57:07 -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
dad5997c85
Fixes copyright headers and live template (#216) 2020-09-03 01:47:20 -07:00
Kamron Batman
86b7b3aed1
Fixes formatting (#200) 2020-08-25 18:53:35 -07:00
Kamron Batman
b476bcfd24
Fixes for Last Moved (#194) 2020-08-16 06:58:16 -07:00
Kamron Batman
010fd9402a
Code cleanup (#188) 2020-08-01 08:40:06 -07:00
Kamron Batman
21b02a7508
Fixes vendor packets (#184) 2020-07-25 21:55:07 -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
f868c34678
Adds listening sockets to the configuration file (#172) 2020-07-03 20:45:37 -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
d76d60d900
Moves zlib to its own nuget (#164) 2020-06-25 13:48:40 -07:00
Kamron Batman
69ebb45e59
Moves more outgoing packets (#152) 2020-05-28 19:15:34 -07:00
Kamron Batman
390f30e706
Convert Regions/Spawns to JSON (#138) 2020-05-26 00:34:29 -07:00
Kamron Batman
5ea11cef11
Fixes data file loading (#145) 2020-05-25 00:37:46 -07:00
Kamron Batman
739e77a973
Cleans up some pragmas (#136) 2020-05-14 01:52:42 -07:00
Kamron Batman
8278694105
Adds more unit tests (#133) 2020-05-08 20:32:59 -07:00
Kamron Batman
2347533b9c
Bring ZLib in locally. (#132) 2020-05-06 20:07:28 -07:00
Kamron Batman
b7c422e4ce
Cleanup (#131) 2020-05-04 15:16:27 -07:00
Kamron Batman
d9f417ee19
Outgoing Packet Tests (Pass #1) (#129) 2020-05-04 01:34:51 -07:00
Kamron Batman
11227391d3
Fixes configurations (#130) 2020-05-03 23:52:16 -07:00
Kamron Batman
1ee6830637
Streamlines the try/catches (#120) 2020-04-28 18:11:21 -07:00
Kamron Batman
63bf71ea47
Fixes disconnect, and publishing to windows. (#114) 2020-04-26 01:43:53 -07:00
Kamron Batman
556a17aba8
Adds style cop (#109) 2020-04-26 00:16:02 -07:00
Kamron Batman
e4037d2541
Fixes readmes and adds some convenience scripts (#107) 2020-04-13 01:54:37 -07:00
Kamron Batman
be0c33bc8a
Updates teleporter generator (#105) 2020-04-12 23:04:44 -07:00
Kamron Batman
038c3be258
Adds BufferReader and BufferWriter. Updates UOP handling. (#101) 2020-04-12 21:33:24 -07:00
Kamron Batman
2c0d97cd36
Switches to Kestrel (#102) 2020-04-12 20:57:48 -07:00
Andrew Fryer
9fd8150131
fixes uint to ushort truncation issue for Amount (#89) 2020-02-18 08:10:57 -08:00
Kamron Batman
27e8d823bd
Fixes packet length & PropertyList (#82) 2020-01-21 21:00:56 -08:00