Commit graph

357 commits

Author SHA1 Message Date
Kamron Batman
3f0a72a62f Removes unused namespaces 2018-09-14 08:41:38 -07:00
Kamron Batman
86b63f003d Fixes unreachable code in Map 2018-09-13 23:30:04 -07:00
Kamron Batman
0cb14e3ca9 Fixes for player mobile and base vendor 2018-09-13 20:40:46 -07:00
Kamron Batman
f211efc3bd Fixes more casting and null propogation 2018-09-11 16:20:57 -07:00
Kamron Batman
d6c0bf2d4c Sets a default parameter for OnHit. More casting cleanup. 2018-09-09 08:54:10 -07:00
Kamron Batman
74f498c1c8 Fixes more casting 2018-09-09 08:03:01 -07:00
Kamron Batman
3f45bd57b9
Small adjustments as I go through the code. 2018-09-04 08:58:07 -07:00
Kamron Batman
4d2965d2de
Various fixes related to DefaultName. Makes the event loop more async. 2018-09-03 14:44:48 -07:00
Kamron Batman
6ef32ce910 Fixes unavailable syntax for Mono. 2018-09-03 09:34:36 -07:00
Kamron Batman
f674ec2be0 Adds more formatting 2018-08-19 21:28:24 +08:00
Kamron Batman
03dd5f1926 Fixes casting checks 2018-08-19 01:38:55 +08:00
Kamron Batman
0c7ffb41ee
Enables map updates. Simplifies code. (#24) 2018-08-16 10:31:25 +08:00
Kamron Batman
632e8b4757
Upgrades code style - First batch (#22) 2018-08-14 06:16:50 +08:00
Kamron Batman
8ee42c8ea2
Add DefaultName property to Mobiles & Items (#18) 2018-08-09 17:18:41 -07:00
Kamron Batman
b06f5bf60d
Adds better type support for pooled enumerables. Refactors code. (#16) 2018-08-09 14:08:34 -07:00
Kamron Batman
62b95f4d74
Adds IntelHW RDRand for Mac/Linux. 2018-08-09 00:06:23 -07:00
Kamron Batman
fad41140d1
Adds support for Roslyn / Mono C# 7. (#20) 2018-08-08 23:29:14 -07:00
Kamron Batman
5df5b61221
Updates against master 2018-08-08 20:39:57 -07:00
VitaNex
857bd02d32 + Optimize output targets. 2018-08-01 22:03:47 +01:00
VitaNex
5b25d957e2 + Housekeeping. 2018-08-01 21:30:15 +01:00
LG Archer
eac6da4710
Update Server.csproj 2018-08-01 21:14:16 +01:00
LG Archer
c4dc219fd6
Update Server.csproj 2018-08-01 21:04:09 +01:00
LG Archer
559f13e61e
+ Unsafe Compile Context Support
+ Allow unsafe context for ScriptCompiler process.
2018-07-07 15:53:57 +01:00
Kamron Batman
0d9fe76b2b
Fix/consume - Closes #10 (#14)
* Fixes stacking, consumption instead of deletion, and a few other minor issues. Server-side only.
* Fixes stacking of ore.
* Fixes cooking consumption.
2018-02-22 00:57:07 -08:00
Kamron Batman
5d61205240
Upgrades gumps to allow netstate specific compilation/appends. (#7) 2018-02-21 20:30:45 -08:00
Kamron Batman
d8ed7c1da9
Changes to new Gold Ledger system (#3)
Changes new gold system to use separate gold/platinum with DivRem instead of relying on doubles.
2018-02-20 22:47:16 -08:00
Kamron Batman
1030bb7675
Upgrades spawners to have parameters/properties and optimized timers (#6)
Upgrades spawners to have:
- [X] Parameter support
- [X] Property support
- [X] Optimized timers
- [X] Support for Proximity Spawners
- [X] Probabilities
2018-02-20 22:33:25 -08:00
Kamron Batman
20ae1b3989
Fixes lots more spelling errors (#5)
* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
2018-02-20 16:01:41 -08:00
Kamron Batman
ca4e99c179
Renames overriden to overridden 2018-02-20 11:18:23 -08:00
Kamron Batman
bb8f09752f
Renames equiped to equipped. (#1) 2018-02-19 21:51:13 -08:00
Kamron Batman
1ea03b7293 Updates .NET to 4.7.1 and updates gitignore 2018-02-10 22:03:37 -08:00
Ravenwolfe
6dff3478c8 Add persistence mechanism for serialization to files. *Requires Core Recompile* 2017-08-31 14:31:37 -05:00
LG Archer
e62fc4964a + Fix issues with status bars not updating.
The health bar status updates do not require prerequisite checks as they use flags within the packet to determine the proper state of being yellow or green or both.
2017-03-30 21:04:23 +01:00
VitaNex
0caf78c132 + Rework NetState nullification. 2016-07-18 18:49:50 +01:00
VitaNex
527550e667 + Gump ButtonID response validation.
* Dispose of NetStates that attempt to send a gump response with a ButtonID not defined by the Gump.
2016-06-12 19:14:13 +01:00
VitaNex
e47753df2b + Prevent NetState nullification recursion if the NetState is being disposed.
* This issue is responsible for causing client crashes when logging out, one of the signs is the sound of your backpack closing multiple times.
* Fix prevents multiple calls to subsystems such as the trade window, which had the potential to dupe items when returning them to the trade partner.
* Credit goes to UO:Revealed (www.uorevealed.com) for reporting the circumstances which lead to the fix, which seems to have been an overlooked issue for a very long time.
2016-06-11 21:32:20 +01:00
LG Archer
4ffc2f33d1 Fix erroneous CallPriorityAttribute computation.
Previous method of computing resulted in unexpected ordering when using Int32.MinValue or Int32.MaxValue as the Priority value.
2016-05-17 10:41:51 +01:00
VitaNex
3f5678f061 + Expose NetState members for what they are, to help with custom implementations that require access to extended features. 2016-01-27 03:40:42 +00:00
VitaNex
7af0579875 + RunUO 2.7 with initial TOL expansion support. 2016-01-27 02:59:11 +00:00
Vorspire
803cd14fc3 + Update project settings. 2015-08-23 02:36:34 +01:00
Vorspire
a32c4573ad + Execute and store the results of the Linq query as a List to prevent collection modified exceptions.
* The List is a member of PooledEnumerable<T> and is thus pooled along with it.
2015-08-23 02:13:49 +01:00
Vorspire
af86aa23c7 + Update project settings.
* Scripts project assembly name changed to "Scripts.CS" and build output targets the "Scripts/Output/" directory to mimic RunUO's ScriptCompiler behaviour.
2015-08-23 01:51:26 +01:00
Vorspire
887ca5d341 + Don't allow processing of the Timer changed queue while the world is loading or saving.
* Removes the risk of inconsistency [warnings] generated by timers that tick with handlers that modify World.Items and World.Mobiles during I/O.

+ Update description of Core.TickCount.
2015-08-23 01:40:09 +01:00
Vorspire
d093acfb2e + Make sure #Map_NewEnumerables is defined by default, multiple sources have verified stability.
+ Core housekeeping, converted some for-loops to foreach-loops.

+ Reimplementation of Core.TickCount using only native .NET Stopwatch.
* Stopwatch actually wraps the QueryPerformanceCounter method to get its result and can also be used to determine whether HRT is supported.
- Removed SafeNativeMethods DLLImport for QueryPerformanceCounter.

+ Added Core.GlobalUpdateRange to define a constant standard range used in many calculations throughout RunUO.
* The value '18' in a range context is hard-coded in many places, this new property will eventually be used to replace those usages.
2015-08-22 04:50:05 +01:00
Vorspire
9bae957ccb + Map Updates (4)
* Details in-file: Map.cs
2015-08-21 23:09:49 +01:00
Ravenwolfe
06fa2ab343 Found issue with XMLserialization using local time to serialize instead of UTC. Changed to be consistent with rest of project. 2014-04-13 22:03:06 -05:00
Mark Sturgill
5703f6ab78 comments 2014-03-26 11:45:46 -07:00
Mark Sturgill
5003f7c4a9 add NEWTIMERS and NEWPARENT preprocessor directives to assist third party developers 2014-03-09 17:07:26 -07:00
Mark Sturgill
54aef01c72 (potentially) more portable implementation of double/float serialization for mono 2014-03-07 17:36:28 -07:00
Mark Sturgill
49941a49af typo 2014-03-05 11:49:36 -07:00