Commit graph

26 commits

Author SHA1 Message Date
VitaNex
f840e50340 Updated .editorconfig file with advanced configuration settings that will help maintain user code style and best practices with most IDE's.
Complete core housekeeping operation using "Profile 1" with new .editorconfig settings.
2021-01-15 12:51:10 -08:00
TrueUO
df528a25ae
Changes (#4867)
- Allows quests to be removed safely.
2020-09-29 09:39:45 -07:00
TrueUO
fb1802305f Bug Fixes
- Removed unneeded usings
- World chat log now has a Config option. Turned off by default now.
- Added two new timer priorities.
- Fixed a crash with box of ropes.
- Consolidation of the Pathing movements and algorithms.
- Correctly makes sure you are inside the house you are trying to place addons in.
2020-09-21 09:53:44 -04:00
Jaedan
553450f77b Do not dynamically compile Scripts
Scripts are now compiled into Scripts.dll and linked with Server.dll to
form ServUO.exe. There is no compilation at run time.

The build scripts will still function as normal but now require the
'dotnet' tool which is available in the .NET core SDK. The project
itself still builds against .NET 4.8.
2020-08-29 06:49:57 -04:00
VitaNex
42e8c95fd3 Core housekeeping. 2020-08-21 08:56:15 -04:00
TrueUO
a99dec6807
Changes (#4781)
All loot pack items are now generated when the mobile is killed.

Reworked monster stealing and begging.

Various re-structuring and bug fixes.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-05-13 07:58:04 -07:00
TrueUO
e53aaaf4d4 Clean up 2020-04-16 18:07:15 -04:00
TrueUO
7db8084550
Core cleanup (#4720)
* using cleanup on Commands and ContextMenu folders.

* Cleanup of spaces (( and using in the core.
2020-04-13 20:43:52 -07:00
TrueUO
756a23e4e5
Core converted to use => over {get {return (#4677) 2020-04-06 11:54:47 -07:00
Dexter
fcae143fa2
Added feature to show script compile time. (#4610)
* - Internal Galleon Update: Galleon Facing now  uses the Multi Component List to change the ID's of fixtures. Some of the ID's (weapon pads) were not using the correct ID's, and this way the code is much more simplified. All fixture lists have been consolidated into one list.
- Gargish Jewels no longer drop on non-SA Core
- Fixed issue with trapped boxes
- Added Event Sink for sending detailed house foundation packet.
- Fixed issue where imbued jewelry weren't getting durability.

* update solution
fixed graphical issue

* Bug Fixes
- Added Blackthorne DUngeon stealables
- Added proper base resists to Leather Ninja Hood
- Medusa now drops Medusa Floor Tile Addon Deed (THANKS MILVA!)
- AOSWeaponAttributes now work on Armor
- Protection now expires after player death
- Fixed crash in PVP Arena Gumps
- Exceptional Damage Inc no longer gives extra points for Clean up Britannia Turn In
- Fixed Loyalty Gump Crash
- Fixed Stygian Dragon arty drops per EA

* Potential Crash Fix

* csproj update

* Fixed conflict issue... WTF?

* Bug Fixes *Requires Core Recompile*
- Fixed cliloc on new belt craftables
- failed craft no longer deletes crimson cincture and luck mempo
- Added a core edit to Container.cs (had to do it folks) for better resource evaluation when considering resources to consume while crafting. In this instance, we don't want VvV or Faction items being used as craftable resources due to thier ease of obtaining.
- Consolidated no-delete resources in CraftSystem.cs
- Fellowship Data now serializes to prevent generation at each server start

* Resolve Conflicts

* Bug Fixes
- Shield bash forumula no more EA like (still not perfect)
- Healers now show to dead players (needs work)
- Honor buff now persists through death
-

* crash fix

* Initial Commit - Publish 105 Forgotten Treasures
- Removed Remove trap skill prerequisites

* Moongate Fix
- You have to be 1 tile to double click it. All other range checks are correct.

* Commit #2

* crash fix

* Commit #3

* Crash Fix

* Commit #3

* More updates and additions. Compiles!

* Final Commit

* Project Update

* Shields no longer engraveable w/ armor engraving tool.

* Fixed THunting Town Crier Quest
Fixed issue where initial guardians were not spawning for level 1 maps

* Compile error fix.

* COmpire error #2 fix

* Bug Fixes
- Summoners Kilt is now repairable
- Orange petals are now 1 stone each (HS era check)
- Enabled altering artifact (IsArtifact) footwear
- Altering certain artifact (IsArtifact) items now carry over the proper resistance bonuses
- Fixed Primeval Lich Unholy Touch special ability
- Orc brutes now have a chance to throw an orc on any damage Received
- Name changes now show up on the paperdoll (you have to close/re-open)
- Removed "Gravewater Lake" region. It was conflicting with region functionality in Exploring the Deep Quest
- Shadowguard Orchard Encounter apples now spawn a treefellow on each player in the region when deleted and thrown at the incorrect Tree
- Shanty the Pirate no longer does reflect damage attack
- Animal Lore gump now shows adjusted stats, ie cursed/blessed
- Vendor Maps in Tokuno no longer crash the client
- Nether Blase cast delay moved to 2.0 seconds, per EA
- Arcane Empowerment SDI buff now shows in the status bar
- Wildfire should no longer stack

* Bug Fixes
- Toggling weapon specials now expires Injected Strike
- Crafting stacked items will now drastically reduce the amount of skill gains, per EA
- Fixed issue where items were invisible to players in castle courtyards
- Fixed issue where Assistants were kicking EC clients during Handshake
- Added proper area effects to Fire Beetle

* Added singing ball

* Bug Fixes
- Increases Spinning Wheel timer to 6s
- Attacking pets now use active speed when combatant is not a player, per EA
- Fixed name issue for certain CUB pigments
- Fixed issue where only young players could use stash treasure maps
- Blackthorn invasion creatures will no longer be able to swim (water elementals)

* Bug Fixes
- Adjusted Frenzied Whirlwind min damage
- Thiefs now train remove trap
- Training remove trap no longer requires lockpicking and detect hidden
- Death ray can no longer be stacked on single targets

* Removed unused code

* More adjustments.

* Final Frenzied whirlwind fix

* Bug Fixes
- Treasure Maps now only spawn 1 ancient guardian at a time during remove trap
- Players can now cast spells while digging up Chest
- Removed skill wait time if chest is out of range
- Nether blast mana rip no longer works if target has no mana

* - Fixed Eodonian Potion Crash
- Fixed Ararat Artifact Spawn Locations
- Added Hues to TMap Guardians per EA

* Bug Fixes
- only crewman+ can now repair galleons
- Updated Davie's Locker to handle new TMap System

* added doors

* Nether Blast Nerf. Damage no longer stacks. Fixed reg for Spell Plague Scroll.

* Crash Fix

* Bug Fixes
- Snake Charmers Flute now is crafted the proper hue
- Clean up Brit now gives the proper points for t-maps
- Fixed issue where t-chests could be opened, even if ancient guardian was still alive

* Pets now heal owners who are poisoned.
Shipwright in Tokuno docks now sell galleons.

* Keeps track of script compile time

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-03-24 12:12:04 -04:00
VitaNex
d12479961c Type cache; Fix issues with conflicting type names by implementing nested caching for types.
Type sorting; Types implementing IEntity will always take priority when performing lookups.

[Add command; Check for IEntity implementation using Type.GetInterface instead of Type.IsAssignableFrom.

SackFlour; Removed redundant TypeAliasAttribute.
(TypeAliasAttribute should only be used when the aliased type no longer exists)
2019-05-13 03:20:15 +01:00
Argalep
dd3035fce6 * Initial inclusion of .net 4.6.1, c#6 and roslyn script compiler 2018-12-04 10:56:53 +03:00
VitaNex
7851c5e88c + Removed most file header regions.
+ Add MONO to Makefile compile definitions.
+ Update Ultima SDK to support MONO compile definition.
+ Rename Properties Gump parent directory to prevent VS issues.
+ Console error messages will now use red instead of dark red font.
+ Add crash state handler function to Core.
+ AI optimizations and housekeeping.
+ Context Menu optimizations and housekeeping.
+ Add ability to drop throttled packets.
+ Add string parsing support to Rectangle3D.
+ Optimize guild messages and chat.
+ IAddon implements IChopable.
+ Add more flexibility for altering Mobile names.
+ Add ability to enable or disable OPL for individual mobiles.
+ Optimize damaging regions and ensure timers are removed properly.
+ Update Welcome Timer with more intuitive message groups.
+ Normalize all virtue related objects to the Server.Services.Virtues namespace.
+ Add ability for ISpawner to append OPL and Context Menus to their spawn.
+ Add EventSink events for obtaining items, equipping items, context menus, and world broadcasts.
+ Add ability to lock a creature's direction and movement regardless of AI manipulation.
+ Add ability to dynamically change a creature's approach range and wait state.
+ Add extended enumeration features for AOS attributes.
+ Add ability to control whether creatures have blood, and its color.
+ Expose corpse flag manipulation methods.
+ Add ability to prevent criminal action when looting a corpse.
+ Corpse will now be permanently tagged as murderer at time of death if owner is a murderer.
+ Add TextDefinition support for Commodity Deed descriptions.
+ House add-on and component optimizations and housekeeping.
+ Item light is no longer backed by the direction property.
+ ITool implements IEntity.
+ Prevent trading of Siege Bless items.
+ Guards are naturally be immune to guards.
+ Siege Shard initialization housekeeping.
+ Character Creation housekeeping.
+ Generic commands housekeeping.
+ Add Mark command for staff.
2018-07-19 22:12:52 +01:00
Tasanar
aa6eb08926
Merge pull request #3444 from DarkLotus/patch-9
Possible fix for OSX failure
2018-07-09 07:18:36 -04:00
VitaNex
3db57f0155 + Allow unsafe context for ScriptCompiler process. 2018-07-07 15:50:46 +01:00
James
1428044721
Possible fix for OSX failure
This appears to fix #3443 I Tested with Mono 5.10.1.47 on OSX 10.12 this change solves the crash and allows the scripts to compile on OSX again.
Needs to be tested on Linux as i don't have an install setup at the moment an d so this is untested.
2018-05-24 02:21:38 +10:00
Xeroxxx
e96778fb7f Update ScriptCompiler
Cosmestic Update
2018-04-14 23:33:12 +02:00
Xeroxxx
15286df1d7 Update ScriptCompiler.cs
Cosmetics
2018-04-14 22:15:09 +02:00
Xeroxxx
4de238d20d Update ScriptCompiler.cs World.cs - Cosmetics
Cosmetics
2018-04-14 17:52:39 +02:00
Xeroxxx
ae9336d921 Update ScriptCompiler.cs
Removing compiler statements and wrapped Core.Unix
2018-04-09 12:47:56 +02:00
Xeroxxx
5669033843 Update ScriptCompiler.cs
No #if MONO statements used anymore in scripts.
2018-04-09 12:39:23 +02:00
Xeroxxx
988f6952d3 Corrected file-encoding
Windows (CR LF) UTF-8 to Unix (CR) UTF-8
2018-04-02 22:13:58 +02:00
Xeroxxx
d1d2d8dc3a Restore compatiibility for MONO5
Checked with MONO 5.10 and 3.28
2018-04-02 22:11:36 +02:00
LG Archer
1dbd9467f7 + NEWTIMERS preprocessor directive (RunUO compatibility) 2016-01-26 23:59:06 +00:00
Darragh Murphy
7fe7e8d6f1 Add persistence for save system and add ServUO compiler Definition.
+Saving of help pages.
+Add ServUO Compiler Definition. - Requires ServUO.exe recompilation.

Both required for future features.
2016-01-20 09:06:16 +00:00
VitaNex
27cd8c04ce - Publish 53 Foundation 2013-10-28 07:09:42 +00:00