Commit graph

577 commits

Author SHA1 Message Date
Kamron Batman
f5fef07e0c
Merge branch 'main' into webSupport 2021-12-24 16:02:16 -08:00
Kamron Batman
3cba8c43f8
fix: Removes from literals (#893) 2021-12-24 15:56:07 -08:00
Kamron Batman
63e1b02d93
chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
Kamron Batman
171df32257
fix: Fixes first/second scrolls crashing (#891)
* Fixes first/second circle scrolls crashing
* Consolidates some resistance logic
* Removes unnecessary multiple lookups for items on layer
2021-12-24 15:26:12 -08:00
Kamron Batman
f634ee2748
fix: Changes spells so they register during configuration (#889) 2021-12-19 19:58:59 -08:00
Kamron Batman
b125146b27
fix: Adds BitArray support with codegen (#888)
* Adds a custom BitArray class with the following added features:
  * ctor for creating BitArray against read only span
  * ctor for creating BitArray against BinaryReader
  * CopyTo to copy a BitArray to a Span
* Adds BitArray to UO Primitive serialization so it can be codegenned.
2021-12-13 09:31:02 -08:00
Kamron Batman
61e2177011
fix: Fixes damage bonus and makes it easier to read (#885) 2021-12-11 09:58:24 -08:00
Kamron Batman
aba3473030
fix: Fixes divide by zero in poison spell (#883) 2021-12-09 11:57:55 -08:00
Kamron Batman
16f65e59c6
fix: Fixes VS builds by reverting back to nstd20 (#882) 2021-12-07 10:20:30 -08:00
Kamron Batman
ef5aee87f3
fix: Adds back generic timer delay call (#880) 2021-12-05 22:55:24 -08:00
Kamron Batman
3258947897
fix: Fixes codege of hashsets (#879) 2021-12-05 21:23:08 -08:00
Kamron Batman
4f9714818d
fix: Fixes skill requirements and cleans up magery spells (#870)
* Preps damage stacking for mysticism, necromancy fixes, and spellweaving
* Removes extra LINQ allocations
* Fixes skill requirements for magery spells.
2021-12-05 09:40:57 -08:00
Kamron Batman
1cf7b6c056
fix: Fixes badly formatted files (#878) 2021-12-05 08:56:09 -08:00
Kamron Batman
3650878399
Merge branch 'main' into webSupport 2021-12-04 23:43:12 -08:00
Kamron Batman
b67d57d806
fix: Adds Debian 11 and fixes Fedora 34 support (#875)
* Adds Debian 11 support
* Fixes Fedora 34 support
* Updates CentOS8 support
2021-12-04 23:40:38 -08:00
Kamron Batman
7da6cec27e
fix: Bumps source generator to netstandard2.1 (#874) 2021-12-04 11:58:59 -08:00
Kamron Batman
08baf3c35d
fix: Fixes explosion potions (#873)
* Fixes the users list not being cleared out
* Removes the LINQ allocations
2021-12-04 11:31:52 -08:00
Kamron Batman
12255fd7a8
fix: Adds back pre-pub-21 para blow (#872) 2021-12-02 11:49:36 -08:00
Kamron Batman
d1f4632012
fix: Fixes targeting range (#871) 2021-12-02 09:35:52 -08:00
Kamron Batman
bea20f36a0
fix: Fixes targeting checks (#869)
* Adds CanTarget for more granular overrides of specific targeting restrictions
* Updates spell targeting
* Fixes targeting checks
2021-12-01 08:15:16 -08:00
Kamron Batman
09a3bc9754
fix: Fixes winner determination (#868) 2021-11-30 08:19:44 -08:00
Kamron Batman
aff2f15a6c
fix: Fixes guild deserialization (#867)
* Fixes guilds being marked as deleted because the leader hasn't been deserialized yet.
* Fixes LastSerialization issue.
2021-11-28 20:54:16 -08:00
Kamron Batman
1ac803e778
fix: Adds better client verification (#853)
* Adds MinRequired and MaxRequired settings
* Removes god client detection
* Streamlines the kick messaging
* Fixes detecting client version on mac/linux
2021-11-27 10:06:39 -08:00
Kamron Batman
7439cc3a95
fix: Bumps native runtimes to .NET 6 (#861) 2021-11-22 07:39:01 -08:00
Kamron Batman
a3458a2950
Merge branch 'main' into webSupport 2021-11-21 18:18:51 -08:00
Kamron Batman
c8a6d4c696
fix: Fixes .net 6 compilation (#860) 2021-11-21 18:06:39 -08:00
Kamron Batman
c8043e8dd2
fix: Codegens remaining construction items (#859) 2021-11-21 10:45:07 -08:00
Kamron Batman
1bec4feb0d
fix: BaseCreature cleanup (#858)
* Removes LINQ
* Removes some list allocations
2021-11-21 09:43:09 -08:00
Kamron Batman
43db0d09c9
fix: Weapons cleanup (#857)
* Removes linq
* Removes list allocation for area effect
* Removes redundant swing overload
* Cleans up code
2021-11-21 09:19:09 -08:00
Kamron Batman
09613e2536
fix: Fixes crash in mass dispel (#856) 2021-11-20 14:26:52 -08:00
Kamron Batman
8806d6d7a7
fix: Fixes compiling (#855) 2021-11-20 11:37:13 -08:00
Kamron Batman
8c66be9090
fix: Cleans up protection (#854) 2021-11-20 11:34:46 -08:00
Kamron Batman
239dda4b3b
fix: Cleans up spell targeting (#851) 2021-11-14 21:07:54 -08:00
Kamron Batman
15b2d08ea2
fix: More spell variable cleanup (#850) 2021-11-14 18:48:44 -08:00
Kamron Batman
5df7bf6a75
fix: Removes duplicative spell checks (#849) 2021-11-14 18:45:16 -08:00
Kamron Batman
e5f55a424a
fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
Kamron Batman
91493f7f27
fix: Fixes guild assignment (#846) 2021-11-13 16:31:10 -08:00
nullptr-w8
38c4d09028
fix: Fixes animal taming timeout in case target is cancelled. (#842) 2021-11-13 16:19:34 -08:00
Kamron Batman
78f587f496
fix: Fixes dictionary codegen (#844)
* Fixes code gen with .net 6 by not using .net 6
* Fixes dictionary codegen
* Fixes kvp codegen
2021-11-13 16:18:16 -08:00
Kamron Batman
c31bf20d0e
feat: Updates to .NET 6 (#843)
* Fixes an issue with moving directories across volumes
* Removes usages of WebClient
* Removes usages of Cryptographic Providers

Note: Even though .NET 6 introduces Xoshiro RNG, there is no way to control the seed. I'll do some reconciliation of Xoshiro so it functions closer to the built in one. For the most part, it has parity though.
Benchmarks show there is nothing odd about the implementations, they are within 1ns of each other.
2021-11-13 13:38:01 -08:00
Kamron Batman
1f81bb7303
Merge branch 'main' into webSupport 2021-11-12 08:47:32 -08:00
Kamron Batman
a4d9a3bdc2
Adds dictionary to codegen (#838)
* Adds Dictionary serialization rule for codegen
* Adds Tidy for Dictionary. By default will remove key/value pairs where the key or value is either null or deleted. Only works for ISerializable keys or values (or both).
2021-11-07 13:20:11 -08:00
Kamron Batman
2890f5c3ec
fix: Adds packet logging (#836)
### Enabling Packet Logging
`[packetlogging on` and target the user.
Supports command modifiers such as:
`[online packetlogging on where accesslevel = player`

Logs are saved in `path/<ip address>/packets.log`. It is a simple append-format log with no date splitting.
2021-10-31 10:22:22 -07:00
Arthrutus
85d699fcd7
fix: Fixes archery in CharacterCreation and duplicate decorations for bucs den (#833) 2021-10-20 08:38:20 -07:00
Kamron Batman
bfbe2a6512
fix: Updates professions & new player gargish equipment (#819)
* Now reads Prof.txt to get the professions
* The templated professions are based on profession `TrueName`
* Adds missing starting equipment
* Implements gargish starting equipment
* Consolidates some of the code
* Moves TC stuff to the TC file.
* Fixes some starting equipment that was wrong.

Note:
* Implementing the original T2A professions is possible on the client side, but requires moving the old clilocs to the current clilocs file. In the current file the entries are blank.
* Using the original LBR professions (they match AOS but without necromancy/chivalry) is kind of confusing because the profession indexes are ripped out of the UOTD/UOR ones and have non-sequential indexes. This will probably cause confusion and people will get no templated items when they select the wrong profession.
2021-10-16 10:48:58 -07:00
Kamron Batman
8e79abc243
Merge branch 'main' into webSupport 2021-10-12 00:04:57 -07:00
nullptr-w8
7361c9158b
fix: Fixes extracting zstd and deserializing old account version (#828) 2021-10-12 00:04:40 -07:00
Kamron Batman
f4302928bb
fix: Fixes combat timers (#824) 2021-10-11 23:53:17 -07:00
Kamron Batman
9f0144dd08
chore: Bumps PollGroup to 1.1.0 (#827) 2021-10-10 12:22:25 -07:00
Kamron Batman
fe0abc4a8f
fix: Cleans up archiving and fixes wrong relative path used (#825) 2021-10-09 14:36:46 -07:00