Commit graph

89 commits

Author SHA1 Message Date
VitaNex
e47753df2b + Prevent NetState nullification recursion if the NetState is being disposed.
* This issue is responsible for causing client crashes when logging out, one of the signs is the sound of your backpack closing multiple times.
* Fix prevents multiple calls to subsystems such as the trade window, which had the potential to dupe items when returning them to the trade partner.
* Credit goes to UO:Revealed (www.uorevealed.com) for reporting the circumstances which lead to the fix, which seems to have been an overlooked issue for a very long time.
2016-06-11 21:32:20 +01:00
VitaNex
7af0579875 + RunUO 2.7 with initial TOL expansion support. 2016-01-27 02:59:11 +00:00
Mark Sturgill
2f005966f9 move stuckmenu methods from core mobile to PlayerMobile
take advantage of IEntity/Parent refactor in a few trivial places
2014-02-15 13:52:03 -07:00
Mark Sturgill
e68cfe354f add new visible damage mode Selective to VisibleDamageType enumeration
two new virtual properties ShowVisibleDamage and CanSeeVisibleDamage can be used to control damage visibility
default values for this mode are controlled by the static properties Mobile.DefaultShowVisibleDamage and Mobile.DefaultCanSeeVisibleDamage
2014-02-09 14:38:43 -07:00
Mark Sturgill
18bc7b84d9 slight refactor of visible damage 2014-02-06 23:17:23 -07:00
Mark Sturgill
f566daea30 gargoyle race/body impl from servuo with some modification 2013-11-02 15:37:39 -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
502f3b3b97 cleanup core.tickcount
fix typo in Mobile.cs
2013-10-25 01:24:14 -07:00
Mark Sturgill
5b03ef628e drag effects have the potential to crash SA clients regardless of any location checking 2013-10-23 21:42:33 -07:00
Mark Sturgill
a45c07200d delta queue typo 2013-10-22 15:00:32 -07:00
Mark Sturgill
75817400fc misc clr nagging/housekeeping 2013-10-21 23:01:44 -07:00
Mark Sturgill
0e5292d84d backoff parallelization 2013-10-19 17:08:31 -07:00
Mark Sturgill
fe1f40f927 parallelization isn't worth it unless we can reasonably estimate our workload before initiating
implement double checked locking
change active solution to x64
map thread-safety
2013-10-17 20:25:11 -07:00
Mark Sturgill
ae8ded4a16 7.0.33.1 support
thread-safety
2013-10-17 01:48:04 -07:00
Mark Sturgill
699fa3bdd8 mono friendly change 2013-10-15 21:56:57 -07:00
Mark Sturgill
530258decb leftovers from last commit 2013-10-15 21:42:30 -07:00
Mark Sturgill
f5f24d3a92 generic enumerable refactor 2013-10-15 21:30:35 -07:00
Mark Sturgill
88488bc616 generic pooled enumerators
guild event bcp
2013-10-15 21:15:59 -07:00
Mark Sturgill
ffcd063213 reduce nested parallelization; profiling shows that it is not optimal for the average use case 2013-10-15 13:54:36 -07:00
Mark Sturgill
c631528968 scale back overaggressive parallelization 2013-10-15 02:32:17 -07:00
Mark Sturgill
20635cc8ee handle speech events with some parallelism
limit pooled enumerables and timerchangeentries to 200 (arbitrary)
dont place disposed items back in the pool
2013-10-14 21:24:09 -07:00
Mark Sturgill
41019b691b delta recursion protection
flush in send completion
2013-10-12 15:53:29 -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
d2e02ecda4 more net 4.0 parallelization 2013-10-11 03:58:28 -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
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
030ad1db5b - Fixed Bola item drop bug for Core.SE.
- Added 'dead only' and 'no ethereals in pack' to ConditionTeleporter.
- Fixed tournaments discarding leftover participants for participant numbers greater than 2.
- Added support for the extended status packet.
- Fixed items not being placeable on tiles occupied by hidden staff mobiles.
2013-08-20 16:17:01 +00:00
eos@runuo.com
1cfac83311 - Removed invisible items from the item insurance menu.
- Changed the new context menu packet to only be used when necessary, until assistants are patched.
- Added a setting for disabling target ID validation for debugging purposes. (It is still enabled by default.)
2013-06-16 01:24:45 +00:00
eos@runuo.com
2067f181e1 - Corrected typo in CoM faction signup stone location.
- Removed duplicate code for talisman killer bonuses. (It's handled in BaseWeapon.OnHit)
- Changed Mobile.Account visibility to GM+ (to match ClientGump).
- Removed staff logout delay.
2013-06-07 01:04:35 +00:00
eos@runuo.com
858e86d45b - Added High Seas expansion to the expansions list.
- Changed the default expansion to HS.
- Changed meer monsters to all be FightMode.Evil.
- Added refuse trades option (client 7.0.30.0+).
- Added item insurance menu.
- Updated context menus to support new clilocs.
- Added item properties to gumps.
- Reverting items not decaying on spawners, needs to be configurable.
- Added AUO features to FeatureProtection.
- Tweaked third party authentication to not trigger the character password gump in the client.
2013-06-02 13:12:09 +00:00
mark@runuo.com
4e0b7a329a core optimization for small servers
moonglow CoM base coordinates
removed an unnecessary using directives
name change api
client verification null sanity check
2013-05-09 21:36:54 +00:00
xavier@runuo.com
110bd99e56 2013-05-07 19:19:24 +00:00
eos
e083b219f0 Moved ActionDelay change out of the core, reverted to old value for !Core.AOS. 2013-02-24 01:42:45 +00:00
eos
ea1f38c121 - Drag effect crash issues have been resolved, enabling effects by default again.
- Added an LOS check to the drag effects to hide effects on higher floors from players.
2013-02-24 00:47:50 +00:00
eos
0cb8782d87 Revised drag effect fix. 2013-02-05 19:42:45 +00:00
eos
171a1531da - Fixed drag effects crashing clients for equal from and to locations. (Only applies to drops.)
- Corrected the action delay as per OSI, can still be customized through the accessor.
2013-02-05 19:24:37 +00:00
eos
2750a14ea8 DragEffects
- Fixed deleted item handling (when dropping into trash chests, for example) resulting in 'flying animations'.
- Added a check for the visibility of the drag target, so hidden staff containers are not revealed.
2013-02-03 22:48:17 +00:00
eos
35fbffdb51 ML quest system; first SVN release.
Secondary changes:
- Region fixes, mainly for New Haven.
- Recipe system changes.
- Enabled ML craftables.
- Dyeing/cutting restrictions for quest items.
- Moved IsInvulnerable from BaseVendor to BaseCreature.
- Moved RandomBrightHue to Utility.
- Items no longer decay when attached to a spawner.
- Quest item hue is now faked through packets, instead of overriding Hue.
- Re-enabled item drag effects for SA clients.
- Fixed AssignRandomFacialHair bug in Utility.
- Added random hue comments to Utility.
2013-02-03 01:05:17 +00:00
eos
3c10fd8e32 - Fixed HalloweenPumpkin still appearing in the cursor after being deleted.
- Added sounds and messages to HalloweenPumpkin lighting.
- Corrected PlayerBones base class.
- Fixed old JackOLantern component names.
- Fixed core re-sending deleted items on lift rejection.
2012-11-03 02:11:41 +00:00
eos
3f4a2c4dc8 - Ore bought from faction ore vendors is no longer randomly sized.
- Ore is no longer a deedable commodity.
- Added StaffOnly condition to ConditionTeleporter.
- Account/IAccount now compares greater than null.
- General BaseOre cleanup.
- Fixed BaseOre smelting bug where any ore over 30k would be discarded.
- Added a 2 tile range check to FishingPole OnDoubleClick.
- Removed redundant checks from BaseAxe OnDoubleClick.
- General SkillCheck cleanup.
- Fixed a typo in SkillMod.
- Added CommandProperty to Mobile NetState.
- Implemented IComparable for NetState.
2012-07-29 02:41:00 +00:00
mark
599b2af6d5 - extensive framework for dueling, tournaments, and events
- IP address command implementor
- miscellaneous minor fixes
2012-04-22 05:37:16 +00:00
eos
c52504151b - IPTable update when deleting accounts, so the creation IP address gets a new account spot.
- Added AdminGump option for removing account access IP addresses.
- Firebombs now cancel the target properly when exploding.
- Fixed item placement bug when creating firebombs.
- Added criminal check option to Teleporter.
- Fixed item placement bug when opening MIBs.
- Made SOS flipable.
- Opening an SOS will no longer close other SOS gumps.
- Corrected Leafblade to be a Fencing weapon.
- Meer mages no longer cast plagues on pets, only on players.
- Corrected skills typo in CorruptedSoul.
- Movement induced by angering a monster during taming will now respect movement timers.
- Teleporting into keep walls is no longer possible.
- Removed the ability to have line of sight under a house plot through house walls.
- Added the Frozen mobile flag, providing clients with information on when they are frozen. (The client then disallows movement.)
- Fix for character statue redeeding issues.
2012-04-22 04:10:06 +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
asayre
d2f79e93ea Potential deletion of item outside of main thread issue resolved
Item.Spawner now uses CompactInfo for memory savings.
Empty accounts (No Characters) can now be set to go inactive sooner than accounts with characters.
2011-12-31 07:50:54 +00:00
mark
008c706ba8 quick core tweak 2011-10-02 04:14:01 +00:00
mark
59a5d8e684 correct typo in Mobile.CanBeBeneficial 2011-09-25 04:02:03 +00:00
asayre
18d1396670 ISpawner; ISpawnable, cleanup. All custom spawners should inherit from ISpawner. Also, Ridiculous, not rediculous, 2010-12-26 05:18:57 +00:00
asayre
2971234c1c Generics for Mobile.BeginPrompt<T> and Mobile.BeginTarget<T> 2010-12-24 01:52:37 +00:00
asayre
34e3a88bfe 40 FxCop Warnings; good practice 2010-12-23 09:18:45 +00:00