Commit graph

48 commits

Author SHA1 Message Date
pyro17
bebc100d6c
Ranger Equipment fix, Additem delete (#5012)
* Ranger Equipment fix, Additem delete
- add parameter with default value to AddItem
- On Conflict, still log conflict, but delete the conflicting Item by default

- Delete the base boots of Rangers befor adding the new boots

* Updated Mobile Scripts

- went through all scripts to update them to SetWearable
- reverted change to AddItem

* Update to SetWearable

- last item being set will be worn (if no override to OnEquip returns false
- delete the item on the layer that is the same as the new item (if existend)
- used ifs to cap item.Movable, therefor no need to call to Random if <= 0 or >= 1

* Update base InitOutFit

- replaced the Additem for Backpack with SetWearable, Movable is getting set this way too
- altered the other SetWearable calls, to allow the items to be moved / dropped (as they should normally)

* Null reference sanity check.

Co-authored-by: Voxpire <admin@vita-nex.com>
2022-06-16 04:44:54 +01:00
TrueUO
ff3f6d713c
Restructure (#4880)
- No code was changed here, just moved.
2020-10-08 07:23:53 -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
TrueUO
98d111ae35 Cleanup
- Last of the yearly "cleanup" pushes.
2020-09-18 10:59:33 -04: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
6ef1e31f12
Bug Fixes (#4837)
- Fixed the loot intensity values for DCI and HCI.
- Changed how the exodus dungeon and key getting works.
- Various quest fixes.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-08-31 17:54:54 -07:00
LG Archer
93646bc5bd
Various Fixes (#4834)
* Properly implement ICommodity.Description in CommodityDeed tooltips.

* Improve arbitrary formatting for merge compatibility.

* Fix a timer dump export error.

* Remove redundant missing file from csproj list.

* Add an overload for Gump.AddTooltip that takes a single string argument.

* Fix access level checks for VvV potions.

* Rename Server.Items.Size enum to Server.Items.ItemSize to prevent ambiguity with System.Drawing.Size.

* Add helper method for adding TextDefinitions to gumps as a tooltip.

* Collection rewards now support TextDefinition tooltips.

* Removed conflicting AddTooltip(string text)

* Fixed Compile error with new ToolTip Support.

Co-authored-by: TrueUO <staff@trueuo.com>
Co-authored-by: Dexter <kevin_bourne10@yahoo.com>
2020-08-29 10:27:44 -07:00
TrueUO
05f0d7cbfe
Bug Fixes (#4796)
- Bone Crusher should now work properly.
- Scrappers should now have a chance to add 3 properties at 120 magery
- Players can now heal Vollem's from the crystal (CuB bought) with bandages
- Fixed snow tree/trunk id's and z offset
- Dagger from Fabrizio quest should now deleted when quest is Complete
- Fixed exploit with auto-stabling pets. Basically, added a stable count check for auto stable
- Luck can now be inc/dec by 1 for imbuing (10 for loot)
- Cleanup of various unneeded variables or preaos checks.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-06-22 08:57:10 -07:00
TrueUO
80e0d42d33
Bug Fixes (#4782)
- Whirlwind Attack now does the correct amount of damage.
- Added in new Aqaurium system, with new catchable fish. https://uo.com/wiki/ultima-online-wiki/gameplay/aquariums/
- Fixed an issue where players could get a weird client crash, and be unable to log back in right away, when fighting Beacons.
- Fixed an exploit with RunicReforging. Recommend updating to newest Reforging code.
- Fixed an issue where item stats from equipment sets were not adding their values correctly on Mannequins.
- Fixed an issue where you sometimes had to exit and re-enter a house to get all the items the load correctly.
- Players can now correctly craft Charybdis bait.
- All scale types can now correctly be turned in to community collection Mobiles.cs
- Thieve Consumables from the Monster Stealing system now all work correctly.
- Some more file structure cleanup.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-05-16 15:31:52 -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
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
1a40e06495 Removes unneeded ints from the entire project.
VS checked.

Tested and works fine.
2020-04-16 09:27:30 -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
f25e60cf56
Services Folder Cleanup (#4728) 2020-04-14 14:04:34 -04:00
TrueUO
29bc67a2a8
Cleaned up TC and some random mobiles. (#4700)
* Cleaned up TC and some random mobiles.

* Why did we ever hide when the world was saving and the save times from players?

* Removed BankChecks from Community Collections
2020-04-11 15:03:56 -07:00
Dexter
beac595691
More cleanup (#4682)
* Removed faction args from AcquireFocusMob in BaseAI

* Cleanup: *RE\equires core recompile*
Removed PetTraining Era Checks
Removed GuildType and New Guyild System checks
Fixed Guld titles being removed
2020-04-07 00:34:50 -04:00
Dexter
69cbd8db36
Removed Era Checks from multiple files (#4635)
* 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

* Removed Era Checks from multiple files

* removed old tmap config
2020-03-28 22:48:55 +03:00
TrueUO
01182e2af6
Removes unneeded netstate checks. (#4625) 2020-03-26 14:00:50 -07:00
Dexter
ac8b30bde9
Remove Factions (#4612) 2020-03-24 19:05:36 -04:00
Dexter
73c508ebbb Bug Fixes
- Insured property now aligns in the proper list spot. Will need a core recompile.
- Sell price on palyer vendors moved to the correct list location. Will need core recompile
- Added proper craft chances for distillery
- added era checks to base boat for anchors
- Added "guild" command to open guild gump
2019-06-08 13:48:06 -07:00
Dexter
a2e4ac68e9 removed no longer used code. 2019-06-08 11:33:21 -07:00
Dexter
da89b06a01 Community Collections Fixs
- Fixed issue where any level tmap would be accepted
- Lobsters/Crabs now are differentiated
- Now accept commodity deeds
2019-06-08 11:30:42 -07:00
VitaNex
73cfc5e422 + Housekeeping.
+ Update Ultima SDK TileFlag support.
2018-08-01 20:02:35 +01:00
Dexter
ce093cc20e Bug Fixes
- Pets no longer cast invis on themselves
- Firebeetle slot fix
- Sea Market Babble pirate location even if a player doesn't have the Quest
- WhetstoneOfEnervation now requires an exceptional weapon
2018-07-31 21:25:46 -07:00
Dexter
6c664f3a73 -Added check for beetle/lesserhiry fix
- Added groups to certain animal collection turn ins
2018-07-29 10:22:16 -07:00
Tasanar
003c90b418
Update RoyalZooDonationBox.cs
The Zoo Armor Plate Female Chest was using the same ItemID as the plate legs, causing confusion.
2018-07-26 19:04:37 -04:00
James Kidd
79034149e1 Bunch of misc issues found using PVS-Studio 2018-05-10 05:34:40 +10:00
James Kidd
d743a94ecf Fix Gold donations re #3263 2018-03-29 03:37:35 +11:00
Dexter
842c4d9efa Bug Fixes
- Added Faction Era Artifacts and support and missing items, marked era ML+
- Fixed ZOffset during boat teleport. THis function is used if the boat moves over 1 tile, ie not smooth movement, using serpent pillars or corgul warp
- Added missing file to csproj
- Added Vera/Cora spawners to New Covetous entity list for system removal/add
- Added Mythical Character Token (EA Version of the skillball)
2018-02-11 19:34:41 -07:00
Dexter
1992647803 Crash Fix 2018-01-15 09:27:58 -07:00
Dexter
9660abdea0 Fixes
- Mobiles now auto-defend when combatant is null, even after initial combat
- Auto-defend no longer occurs when aggressed mobile is hidden
2017-11-10 17:18:43 -07:00
Dexter
a27588d600 Ooopsy! here is the missing file 2017-07-08 15:50:35 -07:00
Dexter
579b54ddfb Bug Fixes
- Massive now places all items at 125 str Req
- Unwieldly now places items at 50 stones
- Renamed ComunityCollectionGump to CommunityCollectionGump
2017-07-07 19:01:00 -07:00
Dexter
8451c24a31 Bug Fixes/Changes
- Changed all CollectionTitle names to RewardTitle
- Added appropriate era check for new loot system. Enabled/Disabled is no longer handled in Config
- Added new loot system override in BaseRunicTool
2017-06-28 18:47:09 -07:00
Argalep
a4f0d2defc fix. 2017-06-11 11:38:54 +03:00
Argalep
53ecef4e6b * Veteran Reward MonsterStatuette fix.
* Cleanup Reward MonsterStatuette  fix.
2017-06-10 18:54:51 +03:00
Dexter
0d12bad59e Bug fixes
- fixed lighthouse crash
- Altering items should now carry all properties over. I still need a list of artifacts/special items that can be altered.
- prism of light tele now teleports pets
- Community collections should now let players donate gold from their accounts
- Community Collection Britannia Waters now accepts HS fish/lobsters/crabs
- Fixed type with quest giver chiefs
- Added proper hue to HS Expansion requirement in craft menu
- Charcoal can now be made with logs and/or boards
- Craft menu resource count display now shows the proper amount, ie logs and boards combined
2017-01-14 12:36:52 -07:00
Dexter
ab58b69ec9 Blackthorn updates
- Added generate Command
- Minax item drops are now similar to TOT drops
- cleaned up gump item placement
- UPdate spawners for agents and other monsters
2016-10-16 14:08:33 -07:00
Dexter
e9e13657a5 - Uses try/catch in case value isnt in table. 2016-08-15 21:04:58 -07:00
Dexter
4702930585 - Change item placement from using Ultima.dll to ItemBounds.bin. This is much less problematic, however may need testing to newer item ids. 2016-08-15 21:02:31 -07:00
Dexter
119cef1b09 High Seas and bug fixes
- fixed label in PillarOfStrength
- DemonHuntersStandard now has Exorcism slayer
- Fixed Chicken Coop Crash
- Fixed instances where scale collar wasn't un-freezing on tame
- Scouring Toxin now wipes out plant hues
- Fixed Runic Tool Consolidation
- Maps can now be crafted in other facets
- Removed redundant DryReed class
- Added proper clilocs on reeds, pigments and plant clippings
- Basket weaving has been moved to Tinkering menu, per EA
- Added resource target to plant hue items crafting
- Fixed craft menu issues in Carpentry
- Fixed void pool spawn crash
- Damage Increase now counts as an imbuing Property
- Added buff icon for curse Weapon
- Strange buff is now removed properly
-
2016-08-12 20:54:29 -07:00
dmurphy22
6fc7fc8b85 Fix exploit in community collections 2016-05-03 04:14:58 +01:00
Norman B. Lancaster
19e86ef436 Cleanup - Finished 2016-04-04 13:03:36 -05:00
Norman B. Lancaster
07dc45722e Cleanup Services and Services/Quests 2016-04-04 12:37:12 -05:00
Norman B. Lancaster
96dd209940 Further cleanup 2016-04-01 10:29:31 -05:00