Commit graph

174 commits

Author SHA1 Message Date
Hjornskar
6d5e5c69ff
Update SpellHelper.cs (#4998) 2022-02-28 16:12:44 +00:00
Hjornskar
65fb10a4ed
Update SpellHelper.cs (#4943) 2021-06-04 23:36:45 -07:00
Dan
63d251645b Bug Fixes
Fixed an issue where various new potions were incorrectly able to be placed inside potion kegs.
Fixed a display issue with the Fermentation Barrel.
Fixed an issue with Vendor Search and certain vendor maps that were being created incorrectly.
Fixed an issue where a pet owner's luck was not always being calculated when determining basic loot drops.
Fixed an issue where monsters and pets could get "stuck" while casting a spell and would not cast anymore until after a restart.
2020-11-19 05:22:25 -05:00
TrueUO
d8670d7150
Changes (#4872)
Added stam/hits/mana regen timers to registry. Players and creatures will have their own timers to reduce any timer drift for players.
Moved TimerRegistry.cs to Server folder
Fixed issue where champ spawns weren't generating after they were deleted
Fixed issue where champ spawn corpses weren't deleting after 1 minute
Added timer object threshold where if met, a new timer will be created. This will prevent timers from processing potentially large lists causing server hangups.
removed huge memory leaks of un-needed timers firing during mobile creation and deserialization
Corpse decay times are now controlled by the mobile
2020-10-02 12:50:37 -07:00
TrueUO
b73897e554
Cleanup (#4848)
- Cleanup of various double calls and simplified code where possible.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-09-16 07:43:44 -07:00
TrueUO
262c273723
Cleanup (#4846)
- No code changes in this branch. This is simply clean up.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-09-15 08:15:23 -07:00
TrueUO
fee89ebc7e
Changes (#4826)
- All spell timers are now on one master timer. When testing with 70+ online this has lead to smoother casting when various spell casters (monsters and players) are in the same area.
- Global chat now has a forced 5 second delay per OSI.
- Trade Order Crates now except multiple "like type" items.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-08-12 14:10:49 -07:00
TrueUO
01068a1882
Fixes (#4824)
- fixed an exploit with the recipe book
- fixed an exploit where cutting up gargish cloth armor resulted in getting leather back.
- Aegis of Grace (elf id) can now be worn by humans
- Heal Potions now subject to 2 seconds heal stone timer and reduce heal amount on Heal Stone when consumed
- Gargoyle cloth armor can no longer be crafted with leather resources
- Gargoyle cloth armor will now only yield cloth when cut with scissors
- gargoyles can now wear detective credentials
- added gargish talons to gargoyle only gear
- NecroMageAI now attempts to cast Conduit
- Bulletin Boards now retain the color of the crafted resources
- Mystic/Sorcery named properties no longer have lower reg cost, per EA. Added int bonus.
- Spirit Speak now reveals the user

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-08-04 10:58:20 -07:00
TrueUO
afb62a58b2
Fixes (#4823)
Fixed an exploit with Hawkwinds quest for skill masteries where players could claim an almost unlimited amount.
Fixed an issue where Rentals, when expired correctly, were depositing too much gold.
Fixed a few notority issues with hiding / felucca / ally

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-07-30 14:39:58 -07:00
TrueUO
43ef3b7cf2
Changes (#4820)
- Shop item prices now reset at startup, per EA
- Nether Cyclone spell damage fixed
- magic reflect spell now EA like
- Vis list now persists through restarts.
- Fixed an exploit with ChickenStatue and CowStatue.cs
- Fishing poles now get luck accounted
- Restless soul is now grey
- Added proper CUB point value to tmaps
- Doom spawns are now seperated and EA accurate.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-07-26 18:18:34 -07:00
TrueUO
f2e8033ef1 Bug Fixes
Orchard apples can now be eaten by pets (that eat apples)
Per EA, added action delay per each item for EC equip macro
Fixed crash for shadowguard
Fixed issue where shadowguard would get hung up
Players can now use detect hidden (not passive) on blues in fel
consolidated ItemSocket expire timers in one static timer
Mastery spells will now bypass mana check to expire
Fixed issue where shadowguard apple was hanging up encounter after server restart
Fixed issue where creatures weren't regenerating stats if they were below 100
2020-07-20 16:14:45 +03:00
TrueUO
30c25d52a9
Bug Fixes (#4814)
Fixed issue where dying vendor hair wasn't working
Fixed various bugs with new account Vaults
Vaults now have siege support
SOS chests should no longer delete if player is overfull
fixed gump on Shipwreck book
Fixed Spell Damage focus skills per EA
Animate dead creatures now degenerate hits properly

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-07-15 08:31:26 -07: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
8b8519dba4
Bug Fixes (#4767)
Added removed mobiles to Spawner Persistence to remove them from spawners.
Re-Added harful effects for aura effect, reduced range to 3.
Various code cleanup.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-04-23 21:02:21 -07:00
TrueUO
f608d123a4
Bug Fixes (#4762)
-Fixed issue where client helpers could bypass the container gump and add items directly to the seed box
-SearedFireAntGoo is no longer stackable
-Blue NPC's (mainly vendors, not initial innocent) can no longer be attacked on trammel maps
-Aggressors/Aggressed from pet masters now works properly. This was suspected to crated large numbers to redundant aggressor/aggressed added to a mobiles aggressor/aggressed lists
-Aggressive action for healing a mobile while fighting another mobile has been re-enabled
-AuraDamage is now a harmful act, ie those affected will aggro on your pet!
-MLDryads should no longer attack other wild creatures during Blackthorn Invasion Instance
-More code cleanup
2020-04-21 17:25:24 -07:00
TrueUO
65ea32264b
Imbue fix. (#4761)
Various Cleanup
2020-04-20 10:09:58 -07:00
TrueUO
8427e1fc91 No more this.stuff 2020-04-16 18:41:32 -07:00
TrueUO
01f18a3eff A total convert of get return to => 2020-04-16 20:37:29 -04:00
TrueUO
5ba7d4dc76 Scripts folder cleanup. 2020-04-16 18:42:38 -04:00
TrueUO
528c0e0459 Made private fields readonly, where possible.
If a class has a field that's not marked readonly but is only set in the constructor, it could cause confusion about the field's intended use. To avoid confusion, such fields should be marked readonly to make their intended use explicit, and to prevent future maintainers from inadvertently changing their use.
2020-04-15 10:13:04 -04:00
TrueUO
4fd6edbcaf
The only folders left are Items, Mobiles, and Services. (#4727) 2020-04-14 13:03:33 -04:00
TrueUO
d8592ea02a
Removes the restrictions on the Crystal Cave in Malas. (Old event are… (#4679)
* Removes the restrictions on the Crystal Cave in Malas. (Old event area no longer used and removed)

* More cleanup.

* House => conversion
2020-04-06 15:17:32 -07:00
TrueUO
8a36e13cad
Fixes region travel restrictions error. (#4634) 2020-03-27 18:03:48 -07:00
Dexter
509489dec9
Cleanup (#4630)
* Removed faction args from AcquireFocusMob in BaseAI

* Removed Pre-AOS properties from BaseArmor

* Cleanup BaseClothing and PlayerMobile (removed era checks)

* Removed old Opposition Group, replaced by Tribe. UPdated BaseCreature

* Spell Cleanup

* Cleanued up Loot.cs, Lootpack.cs
2020-03-27 02:46:30 -04:00
Dexter
ac8b30bde9
Remove Factions (#4612) 2020-03-24 19:05:36 -04:00
Dexter
6f3d680344
Bug Fixes (#4588)
* - 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
2020-03-13 03:49:40 -04:00
Dexter
0189230576
Forgotten treasures (#4580)
* - 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.
2020-03-11 09:38:28 -04:00
Argalep
22b60f0bf4 * Vendor Search now appears in the auction items.
* Bug fix - Casting Mysticism spells increases Imbuing skill
2019-12-14 18:43:45 +03:00
Vorspire
aa6e998471 + Fix an exception caused by erroneous method overload call with a null reference argument. 2019-10-20 15:33:32 +01:00
Dexter
fc8fdfe9a3 Bug Fixes
- Explosion Potions no longer use throwers LOS for Damage
- Fixed class name for "Putrefaction"
- Failed craft no longer consumes ML Peerless resources
- Vendor Searing now recursively checks child containers in vendors backpack
- Vendor Searching now shows price of parent container if the entire container is for sale
2019-06-30 16:02:37 -07:00
Dexter
f1b5180cd1 Bug Fixes
- Orc Helm now gives 3% inherent LMC
- Animal Taming Masteries can no longer be used on Despise Creatures
- Mage Armor Conversion now enabled for artifacts
- Despise Creatures now raise resists as they level up
- Despise creatures should now properly discord (those that discord)
- Enabled Damage reflection for executioners (%100) and Shadowguard pirates (37%)
- Added 0x0F Encoded packet, even though there is no use for this yet. THis will keep the packet file from being filled up
- Added City Loyalty and Trade properties to PlayerMobile Command Properties
- Shadowguard apple trees now only produce 1 apple, per EA
- Increased bump chances of Shadowguard Greater Dragon
- Added Weight propery to Hunt trophies (not item weight, but weight when hunted)
- Added proper weapon abilities to saber toohted tiger
- Stat offset for buffs/curses now use math.ceiling
- Replaced TileFlag NoDiagonal with HoverOver (proper EA Use)
- Fixed issue where LOS was returning false from stacked containers in houses with roof
2019-05-22 19:44:13 -07:00
Dexter
23de181e69 Bug Fixes
- Adjusted Spell Cast times to add a very slight variance that appears in EA delays
- Shame Altar Boss summon now consumes shame crystals
- Corrosive ash now consumes the proper resources
2019-05-13 19:54:25 -07:00
Dexter
23cd5782bf Cast times update
This is per EA. Times were off on ServUO by 1 spell circle for magery and mysticism. Most necro spells were off by .25 seconds. All verified on EA.
2019-05-11 23:08:07 -07:00
Dexter
b08a9d99f5 Bug Fix:
Fixed issue where fire fields were not appearing on the proper surface for Stygian Dragon specials

Added various EventSinks. They currently have no use, however the intent is to ease custom code with minimizing distro code
2019-04-24 13:45:24 -07:00
Dexter
99e54de0af Krampus Encoutner Initial Commit 2019-04-08 17:46:01 -07:00
Dexter
7fd24f7165 Ritual Quest Line Initial Commit 2019-04-06 07:43:48 -07:00
Dexter
e5384662e9 New Features:
- Added Config for murderer travel restriction. Default is true. Change to false to allow reds in Trammel. They will not be able to use vendors in guardzones
- Added overrideable property in Region.cs for insurance multiplier. Set to 0 if you want no insurance cost, etc.
2019-03-23 20:50:41 -07:00
Dexter
c223e8276a Bug Fixes
- Conflag potions now do effects in houses
- Fixed message for Cuffs of the Archmage failed Craft
- fixed (hopefully) virtuabane Crash
- Inferno now drops 25% total fire Resist
- Fixed issue where special imbuable items couldnt be imbued

Additions:
Added several event sinks that could help shard owners:
- SkillCapChangeEventHandler
- StatCapChangeEventHandler
- QuestCompleteEventHandler (supports ML quests and old quest system)
2019-03-15 21:50:39 -07:00
Dexter
5b80e8c4d9
Merge pull request #294 from ServUO/master
merge w/ master
2019-02-25 19:39:32 -07:00
Dexter
67d5cdd18c Bug Fixes
- Added support for furniture addons to be dyable via furniture dye tub
- Fixed Coffee Craft Fix
- Stygian Dragon special abilities should be more in line with EA
- Fixed issue with Bod Times after bod collection
- Fixed issue where lightning effect wasn't visible when player was not facing the Target
- Attune Weapon now updates buff bar when damage is absorbed
- Enemy of One no longer shows pets orange, per EA
2019-02-23 13:41:49 -07:00
Dexter
d20a7c53a5 Event System initial commit.
- Treasures of Doom Complete
- Treasures of Khaldun incomplete
- Treasures of Sorcerer's Dungeon not started
2019-02-10 09:35:03 -07:00
Dexter
b5865c2bb5 Bug Fixes *Requires Core Re-Compile*
- Core.SA+ speeds up stamina regen rate, per EA. It used to be 24 stam per minute, is now 85 per minute. Significant increase!
- Added Wood and Stone armor to ArmorEnum MaterialType
- Added inherent stamina loss reduction, per EA (Core.SA)
- Added Core.SA to inherent lower mana cost regarding Armor
- Removed static DFAlgorithm property and added it to Mobile.cs as an instance property. This would have cause potential issues where the wrong stam loss was given out on damage
- Added public assessors to BaseTalisman killer/protection lists and RunicReforging property lists
- Added previously omitted TalismanSlayerName to Vendor Search Criteria serialization
- Fixed Casting Focus cliloc in Imbuing.cs, this was giving the wrong label in vendor search
2018-12-20 10:17:58 -07:00
Dexter
6920798e0e Removed redundant check. This was already checked. 2018-11-28 21:12:14 -07:00
Dexter
31a6ff593f More list conversion to SpellHelper.AcquireIndirectTargets
Added line to include creatures not in same team to AcquireIndirectTargets
2018-11-28 19:06:03 -07:00
Dexter
3334e679b1 Bug Fixes
- Added Era checks for cleanup britannia
- added era checks for trashcans
- Bard Mastery Spells now show/use the proper bonuses
2018-11-24 15:45:33 -07:00
Dexter
8603832787 Bug Fixes
- Added Rare armor set drops to peerless's
- Fixed conflagration potion LabelNumber
- Fixed issue where anyone could take items from a Mailbox
- Added Poppies Dust to Plant System Resource
- Flax Flowers now drop proper Resource
- Added Elemental Damage to Exquisite/Quality
- Hit Lower Defense no longer drops on Exquisite/Quality. It now drops as a random reforged property
- Fixed Hit Spell Property for Enchant Spell
2018-10-25 22:05:27 -07:00
Dexter
bc07371f70
Merge branch 'master' into BugFixes 2018-10-24 18:20:45 -07:00
Dexter
a1a7de1aae Bug Fixes
- Fixed issue where on hit weapon properties would not work
- Subsequent tames on pets will no longer reduce stats, however will reduce skills
- Fixed issue where britannian ships would not move with addons on the proper addon spots
- Fixed issue where pets were flagging other controlled pets when they shouldnt with indirect damage
- Skill Mastery spells now expire when the caster dies
2018-10-19 22:24:42 -07:00
Dexter
b241eba218
Updateds to ValidIndirectTarget
Specifically adding support for controlled creature vs controlled creature.
2018-10-19 12:24:39 -07:00
Dexter
ce95c51d06 Bug Fixes
- Fabled Fishing Nets now have a chance to spawn Osiredon.
- More indirect targeting optimizations
- Mastery Party spells now deactivate for players who leave party. If the party disbands, the spell remains for the caster/pets only.
2018-10-16 08:17:56 -07:00