Commit graph

47 commits

Author SHA1 Message Date
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
ed726dd7a5
Bug Fix (#4789)
Minor fix for cosmetic display issue on Pet Training Gump.
Clean up of unused code.

Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-05-28 08:55:48 -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
4ed27e117f
Fixes an issue where bards could not use their abilities when calmed. (#4766)
Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
2020-04-22 11:40:20 -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
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
04703fd554
Using cleanup using VS (#4718) 2020-04-13 18:56:52 -07: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
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
Dexter
dbe818296e Added more event sinks *Requires Core Re-Compile*
-This are currently not used, and can be added as to custom code to keep the distro code Clean
-Cleaned up and consolidated some klunky code in various scripts to be handled as event sinks, ie Container.cs, BaseCreature.cs, etc
-Reduced amount of Niporailem Spawn (Spectral Armor), and fixed gold/sand to decay after 15 Minutes
-Added support to Corpse.cs for a Corpse Loot event to keep track of corpses original loot, to prevent exploits
-Enhanced Kill Handler in Points System to handle any mobile (as opposed to BaseCreature only) for more flexibility or possible future systems
2019-04-29 19:56:47 -07:00
Dexter
86b89b7729 Era Checks Initial Commit
- Added Era Specific world start locations
- Added Era UOR - SA for toggle champion title menu
2018-08-17 22:04:40 -07: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
Dexter
c314235f0d Store Bug Fixes
- Added Sovereigns, can be accessed via PlayerMobile Properties under AccountSovereign Property
- Sovereigns are default currency Type
- Various other bug fixes
2018-06-18 22:05:50 -07:00
Xeroxxx
b111ae0f11 Update Accounts.cs
Removing MONO specific return value
2018-04-07 22:51:18 +02:00
James
815578c4b3
Block spaces in usernames re #3202
Add space character to the list of forbidden characters, Will only apply to new accounts.
2018-03-23 19:50:26 +11:00
Xeroxxx
3278134d14 Update Account.cs|Account.cfg|AccountHandler.cs
SHA512 support

Password-System requires complete rework (I will do this) for proper salting (generating 'random' salt on first run) and better readability. Passwords are automatically converted from SHA1 to SHA512 after logon and next save.

NOTICE: SHA512 is the new default if you replace Config/Accounts.cfg. Change it back to NewCrypt (SHA1) in Accounts.cfg if you're in need of SHA1.

However keep in mind Server <-> Client communication stays unencrypted and is absolutely vulnerable to man in the middle attacks as client encryption is removed. It only protects if data gets stolen.

MD5 and SHA1 are known to be vulnerable to collisions and not safe.

Cheers
2018-01-25 18:17:05 +01:00
Dexter
836245e14b Fixed/Updates
- Updated new animation packets and added Core.SA era checks
- Fixed New Haven start location
2017-09-28 09:00:35 +03:00
Dexter
1448f6a844 Enhanced Client Fixes/Updates
- Move EC/Classic client console connect message to Account Handler
- Changed some of the new EC event handlers for easier use, ie Mobile args instead of NetState args
- Vendor action buttons now work. So far, I've identified Bank, Bulk Order Info and Bribe.
- Target by resource macro now works
- Equip Macro now works
- Unequip Macro now works
- EC login restriction now handled in ClientVerification.cs
- ClientVersion now adds the proper client type.  UOSA is not Stygian abyss, its actually the UO Second Age client, which is the Enhanced client
- Night Sight now works with the hotbar shortcut
- Added Bandage hotbar timer packet
- fixed issue regarding container grids and dragging items when amount > 1
2017-09-03 09:55:17 +03:00
Dexter
dbf34550c7 Bug Fixes
- Added local IP exempt from account limits
- Gate travel scrolls now can be dropped on House tele tiles to recharge
- Gargoyle Alchemists now sell blow pipes, glass and sand books
- Fixed issue in VvV battle where the improper amount of gold was being shown.  I still need to figure out if the end of battle stats shown are individual, or for thier entire alliance/guild.
- Fixed bug where OnMoveOver wasn't being called when the item height is greater than 1. This requires a core re-compile.
2017-08-19 11:01:04 -07:00
Dexter
0ac42b9b07 More fixes
- Added Siege start cities
- removed new haven start restriction. players can now start in any city, per EA. new haven is default.
2017-07-20 09:18:04 -07:00
Dexter
911621b961 Siege Commit 2017-04-28 16:29:52 -07:00
Dexter
8dbb205636 Gold Account Support
- Added Bank Actions Gump
- Added Secure Account to Account.cs
- Added wall safe
- Added message support for withdraw/depositing gold to new system

Bug Fixes
- Players can now dispel their own summons in Trammel
- Fixed update bugs in Titles Menu
2016-08-26 14:11:20 -07:00
Norman B. Lancaster
129e2a1d21 More Events 2016-02-12 09:11:50 -06:00
LG Archer
9e8a8ad951 + Extended Config system:
* Handles all value types.
* Simple syntax Config.Get and Config.Set methods.
* Loads and stores comments as description.
* Ability to step through Config errors with the option to ignore and continue, or kill the process.
* Ability to force option default without commenting out.
* Ability to edit Config options (entries) after being loaded (with API for a potential UI).
* Ability to save/write Config files.
* README.txt added for clarity.
2016-01-28 03:05:36 +00:00
Norman B. Lancaster
00e35ae995 Implemented file-based config system and basic settings 2016-01-08 11:28:39 -06:00
Vorspire
5d2134a4a4 + Locale-independent default value. 2015-09-17 17:31:54 +01:00
Vorspire
7c05eb4422 + Added GetXMLDouble method for reading account TotalCurrency data.
* Double parsing is now locale-independent.
2015-09-17 17:13:51 +01:00
Vorspire
2a708bf5a2 + Force update of BankBox totals when using ConvertCurrency command.
+ Bug fix for BankBox total gold/items/weight.
2015-09-09 07:28:30 +01:00
Vorspire
3bccf9c776 + Compensation for longer TileData lengths.
+ Code Clean-up profile "ServUO" performed on ComponentVerification.cs
+ Implemented Int64 support for depositing to and withdrawing from Account Gold.
+ Secure Trading now updates properly both ways.
+ Added notification messages about sending and receiving currency.
+ Gold and Bank Checks are properly consumed by the trade window and bank box.
+ Ensure that VirtualCheck can't be tampered with by closing it when the trade closes;
* If a player has accepted a trade and modifies their offer via the VirtualCheck, the trade will automatically un-accept.
2015-09-06 04:56:08 +01:00
Vorspire
affd483995 + Added static AccountGold class to be used for static configuration options in the core.
+ Split the Gold Account impl into an IGoldAccount interface, which IAccount now implements.
+ Replaced all Gold Account related Core.TOL checks with the new AccountGold.Enabled property.
+ Updated CurrentExpansion so that AccountGold.Enabled is set based on Core.TOL.
+ Removed Core.TOL checks from outgoing packet updates; 
* If their client supports TOL, e should still send the packets, even if Gold/Plat is nil.
2015-09-05 02:09:28 +01:00
Vorspire
7dd9c4b46b + It's getting late... last one for tonight. 2015-09-03 04:56:55 +01:00
Vorspire
484eae35d9 2015-09-03 04:55:13 +01:00
Vorspire
931ba831f3 2015-09-03 04:52:32 +01:00
Vorspire
b364e4cb46 2015-09-03 04:47:38 +01:00
Vorspire
178a299506 + Added protocol changes version resolution for client 7.0.45.65
+ Added conversion command for global banked gold.
2015-09-03 04:42:20 +01:00
Vorspire
2d4c2070cb + Virtualized Platinum/Gold trading for cross-client-version compatibility.
+ Dropping Bank Checks or Gold in to a trade window will automatically credit your account and increase your offer.
* Platinum and Gold amounts are displayed to unsupported clients by the presence of a virtual bank check in the trade window;
* This virtual bank check is automatically updated and is only visible to those with unsupported clients.
2015-09-03 03:05:02 +01:00
Vorspire
ddb3584347 + Housekeeping for Accounts 2015-09-01 00:54:16 +01:00
Vorspire
267bb9645c + Core Housekeeping
+ Combined multiple UpdateSecureTrade packets into one packet that uses flags to define its intention.
+ TOL Gold Account implementation standardization.
* All TOL Gold Accounting will fall-back to old functionality if the checks fail for any reason.
+ Fixed potential crash issues in AnimalTrainer.
+ Updated team-shared ReSharper settings so that Code Clean-up actually does some cleaning.
+ Reduced thread sleep time for timer processing to enable higher timer accuracy.
+ Removed ServUO.exe.config as VS keeps deleting it due to the existence of app.config in the core project.

* If merging some changes seems like a lot of lines have changed while comparing;
* Use ReSharper's Code Clean-up feature on the file first, then merge it - there should be less conflicts to deal with.
2015-09-01 00:12:23 +01:00
Darragh Murphy
1372166465 Start of TOL expansion support
# Add TOL expansion to core.  Set current expansion to TOL by defailt
# Add support for new trade system packets
# Add support for new account based gold ledger. Requires expansion to
be set to TOL.
2015-08-31 17:41:49 +01:00
Ravenwolfe
b8597008f3 Found issue with XMLserialization incorrectly using local time instead of UTC. 2014-04-13 22:57:17 -05:00
VitaNex
27cd8c04ce - Publish 53 Foundation 2013-10-28 07:09:42 +00:00