Commit graph

84 commits

Author SHA1 Message Date
Kamron Batman
513e54f70e
Clean up: Bugs, LINQ, constructors, default values, and null checks (#18) 2019-03-11 14:29:59 -07:00
Kamron Batman
916d404c51
Fixes dictionary uses (#7) 2018-11-02 08:16:42 -07:00
Kamron Batman
dcf64091b1
Modernization Fixes & Updates to Default Values (#3) 2018-10-28 00:33:16 -07:00
Kamron Batman
f93c3b992e Fixes bad expressions, bad bool checks in loops, a few null pointer exceptions, and optimizes constructors. 2018-09-15 23:16:45 -07:00
Kamron Batman
a48ebb3a5f Fixes FindItemsByType and FindItemByType and new override of IsLockedDown and IsSecure by renaming their methods. 2018-09-15 15:50:35 -07:00
Kamron Batman
970fd563b2 Fixes code according to modern code style. Fixes a few expression bugs. 2018-09-15 09:58:51 -07:00
Kamron Batman
eeabc3d0e8 Removes redundant returns 2018-09-14 15:40:02 -07:00
Kamron Batman
06fa31a7bf Changes properties to use automatic property initializers 2018-09-14 15:23:29 -07:00
Kamron Batman
ff26dfa375 Fixes implicit ternary expressions 2018-09-14 14:56:48 -07:00
Kamron Batman
c85b0a740c Removes redundant delegate type declarations 2018-09-14 14:32:04 -07:00
Kamron Batman
3c9842ee5a Fixes null propogation 2018-09-14 13:49:23 -07:00
Kamron Batman
fee83ce560 Fixes implicit array initializers 2018-09-14 13:14:20 -07:00
Kamron Batman
7d3a0ca265 Fixes string interpolation 2018-09-14 13:07:43 -07:00
Kamron Batman
42d0b6271f Fixes sequential checks 2018-09-14 13:00:41 -07:00
Kamron Batman
83dcf536d8 Removes implicit this. 2018-09-14 12:56:58 -07:00
Kamron Batman
04b4cfe75b Removes implicit types 2018-09-14 08:48:39 -07:00
Kamron Batman
33f5e77a24 Fixes body expression style. 2018-09-14 08:46:14 -07:00
Kamron Batman
3f0a72a62f Removes unused namespaces 2018-09-14 08:41:38 -07:00
Kamron Batman
20a80ea2f3 More casting fixes 2018-09-11 18:59:11 -07:00
Kamron Batman
f211efc3bd Fixes more casting and null propogation 2018-09-11 16:20:57 -07:00
Kamron Batman
403e2a8b9d Fixes casting, default parameters and null propogation in more files. 2018-09-09 22:05:44 -07:00
Kamron Batman
03dd5f1926 Fixes casting checks 2018-08-19 01:38:55 +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
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
Mark Sturgill
0eeb0c0c31 generic conversions 2013-11-02 21:40:42 -07:00
Mark Sturgill
e67faba4d8 RunUO 2.4 will be the latest release supporting the 2.0 .NET Framework.
Framework_4_0 preprocessors have been removed. ScriptCompiler will set Framework_4_0 as legacy.
2013-10-30 11:28:34 -07:00
Mark Sturgill
28744d486e misc generic conversions 2013-10-23 09:54:06 -07:00
Mark Sturgill
0e5292d84d backoff parallelization 2013-10-19 17:08:31 -07:00
Mark Sturgill
ae8ded4a16 7.0.33.1 support
thread-safety
2013-10-17 01:48:04 -07:00
Mark Sturgill
88488bc616 generic pooled enumerators
guild event bcp
2013-10-15 21:15:59 -07:00
Mark Sturgill
131c41aa9a additional network level parallelization
ai target acquisition parallelization
better pooled enumerator thread safety
2013-10-11 20:09:04 -07:00
Mark Sturgill
ddcc4e7a20 parallel delta queue processing
thread safe packet construction, compilation, compression, gump compilation, sending, coalescing, and many other fixes
TODO:  delta queue recursion fixups, ipooledenumerable fixups/generics
2013-10-11 00:01:05 -07:00
Mark Sturgill
7b6cf66b87 rework Core.TickCount 2013-10-07 00:22:11 -07:00
Mark Sturgill
b3535985d7 BaseCreature/AI Core.TickCount 2013-10-06 18:57:37 -07:00
Mark Sturgill
be920e0c31 Core.TickCount for some AI actions
Correction in NewAsyncSockets
2013-10-06 17:21:40 -07:00
Mark Sturgill
d2c670f5c3 Implement Core.TickCount
Convert movement, actions (lift/use), combat, and spells to use Core.TickCount and avoid DateTime caveats (performance, system time dependency, etc)
Refactor DateTime.Now to DateTime.UtcNow
Add LOS check for Iron Maiden addon
2013-10-06 03:21:18 -07:00
eos@runuo.com
10a21d850d Cleaned up some more LF line endings. 2013-03-21 22:14:31 +00:00
mark@runuo.com
9cfd9a6165 clean up line endings and formatting 2013-03-14 17:52:42 +00:00
xavier@runuo.com
8690feea0a ai acquisition revision 2013-03-11 14:47:15 +00:00
xavier
55519d49dc its AcidElemental, not ToxicElemental 2013-01-03 13:41:03 +00:00
mark
cfb2d9421a some cleanup and modernization 2012-11-27 04:36:37 +00:00
xavier
e773309f17 uncontrolled summons will not be acquired by hostile mobiles, unless they attacked the mobile first. Necro familiars should be pretty much unlosable now... as well as not acquired by mobiles. 2012-11-23 21:57:03 +00:00
mark
14873aaa3e 2012-11-10 20:06:36 +00:00
eos
2938db753b Disabled pre-AOS wrestling moves for AOS. 2012-08-12 01:44:48 +00:00
eos
6962ed06bf - Updated WhoGump visibility of same AccessLevel players to resemble regular visibility.
- Vendors should not handle speech starting with their name, only if it is followed by *buy* or *sell*.
- Added most Prism of Light mobiles.
2012-05-06 03:46:11 +00:00
eos
9f0a67e5d7 - Added a new Assemblies.cfg file (Assemblies_4_0.cfg) specific for .NET 4.0, which includes System.Core.dll by default.
- Fixed cu sidhe and reptalon trade statuettes.
- Made IAccount comparable, to be able to sort by account in-game.
- Fixed item leak in ChampionSpawn and Harrower.
- Added ChampionSpawn and Harrower leaked item types to Cleanup.
- Added a helper for handling validation after deserialization, and converted classes using that technique to the new system.
- Fixed bulletin board item leak, and the core bug that caused it. Leaked items will be cleaned up on server boot.
- Fixed bulletin board message content packet to compensate for a client bug.
- Monster AI is now deactivated on the internal map, like it is on inactive sectors.
- Monster AI activity is now checked on map changes as well, not just location changes.
- Corrected hiding requirement needed to train stealth from an NPC for Core.ML.
- Fixed a SendLocalizedMessage overload calling itself.
2012-03-21 22:25:44 +00:00
eos
c0206c6f7e - Added more future ML craftables that already drop as loot to the special repair lists.
- Fixed Bloodwood Spirit and Totem of the Void sometimes not spawning with a protection attribute. (Prepatch ones are fixed on server start.)
- Fixed crashes in BaseTalisman resulting from setting Summoner to null.
- Paragon perks added to mobs dropping ML artifacts (by making them paragon "under the hood", seems to be the case on OSI as well). This also means the named mobs will now drop paragon chests.
- Poison immunity level is now also increased by 1 for paragons.
- Rend now drops ML minor artifacts.
- ML named mobs no longer use the AoS specific loot packs, but will adjust to the era the server is set in.
- The 'current speed' of paragons is now updated to account for the speed boost after spawning.
2012-03-11 01:43:55 +00:00
eos
a0e13d5007 - Future ML craftables added to the special repair list until the craft system is updated.
- Items can now be repaired while wearing them.
- Items can now be fortified while wearing them.
- Fixed repair deed messages not sending.
- Sound effect added to powder of fortifying.
- Map issue for fishing and SOSs fixed, where it would not allow fishing in empty resource banks when not on the target SOS map.
- Added proximity spawner.
- Improved spawner mouseover menu, now also shows types set on the spawner which are not yet spawned.
- Fixed spawners only deleting half of their spawned objects when deleted.
- Added the ability to set TextDefinition objects in the props gump.
- WaitTeleporters now round delays to nearest in the remaining time messages.
- Updated TextDefinition to be more usable; made it parsable from string and added safe serialization/deserialization methods.
- Improved checking whether a mobile can flee.
- Monsters that give ML minor artifacts will no longer flee when low on hits (like paragons).
- Monsters that give ML minor artifacts will no longer spawn as paragon.
- Fixed issue with pets not eating certain foods.
- AI and targeting fixes for Red Death, Pyre and Swoop.
- Fame and karma added to Rend.
- Swoop corrected to have 0 karma.
- Stat and skill tweaks for Putrefier.
- Changelings will no longer show their fame title when morphed.
- Added travel restrictions for ML dungeons.
- Fixed issue of travel restriction message displaying twice.
- Monster teleporting is no longer affected by region travel restrictions.
2012-03-07 18:59:52 +00:00