Commit graph

308 commits

Author SHA1 Message Date
Pedro Pardal
7df658cd00 Basic support for mysticism spells, scrolls, inscription craftables, mystic reagents, 6 new spells 2017-03-21 17:31:08 +01:00
VitaNex
7af0579875 + RunUO 2.7 with initial TOL expansion support. 2016-01-27 02:59:11 +00:00
Mark Sturgill
0be4162ae7 fix minor patch errata 2015-07-20 20:46:36 -07:00
Vorspire
1e5bc72366 Infinite Loop Breakout
There is a very rare potential, mostly in custom situations, for the 'BaseRunicTool' 'ApplySkillBonus' method to cause the server to become unresponsive.
The reason for this is that, if you call the method on a 'Spellbook' which already has all 4 of the skills listed by default in 'm_PossibleSpellbookSkills', then 'found' is always true.

This issue has been reproduced on a shard that calls 'ApplySkillBonus' more than once when crafting 'Spellbooks'; the rarity is that the 'ApplyAttributesTo' method may call the 'ApplySkillBonus' more than once; the off-chance of 5 consecutive calls, where each preceding call applies one unique skill of the 'possibleSkills', would result in the 5th call entering the deadlock state.

The fix is quite simple, evaluate the 'count' in the while statement and decrement it for each skill that is checked; removing each skill from the 'possibleSkills' list as they are checked, to prevent them being checked multiple times due to the random indices selection.
2015-07-21 00:45:43 +01:00
Mark Sturgill
d2349164ce edge-case bandaid for disguise kits
this should really be fully rewritten to not be so dependent on the underlying timer state
2014-02-27 13:46:12 -07:00
Mark Sturgill
76b7fa6f30 add OnSingleClick for BulkOrderBook and Aquarium
allow primary LadderController instance to be deleted
add MessageRuleset method to DuelContext
2014-02-22 12:56:58 -07:00
Mark Sturgill
12826da7c4 remove ParentEntity and RootParentEntity
Parent and RootParent are now IEntity properties
refactor object arguments to IEntity for parent related methods
branch and version bump to 2.6
2014-02-15 13:21:28 -07:00
Mark Sturgill
705236b923 proper disguise persistence using kvp instead of dictionary entries 2014-02-15 13:11:50 -07:00
Mark Sturgill
1d2d51b1de change communication crystals to always return true for HandlesOnSpeech
we will be making some changes to the way child items that handle speech events are processed
2014-02-14 21:41:24 -07:00
Mark Sturgill
af0ec21a07 disguisekit generics 2014-02-13 23:12:23 -07:00
Mark Sturgill
436e8f054a add Deleted property to IEntity
cleanup Map.GetObjectsInRange
additional hashtable -> dictionary conversions
generic timer impl for EffectController
2013-11-02 10:52:08 -07:00
Mark Sturgill
1f3569aefc generic explosion potion user list
whitespace
2013-10-24 15:22:56 -07:00
Mark Sturgill
2d60d61a6b misc merge/tidy from Zenvera 2013-10-24 14:23:03 -07:00
Mark Sturgill
88488bc616 generic pooled enumerators
guild event bcp
2013-10-15 21:15:59 -07:00
Mark Sturgill
2061a88da3 correct spelling (thanks Andre Grobler) 2013-10-11 04:03:13 -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
be920e0c31 Core.TickCount for some AI actions
Correction in NewAsyncSockets
2013-10-06 17:21:40 -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
Mark Sturgill
acd585cb5b fix pre-aos OPL spellbook display 2013-10-05 04:48:23 -07:00
Mark Sturgill
893b42c3bf implement client bandage macro handler
fix non-opl paragon chest container property display
2013-10-02 03:16:12 -07:00
mark@runuo.com
9289f2ce86 make corpses private containers 2013-09-06 03:51:48 +00:00
mark@runuo.com
5e2fb90a53 corpse packet fixes 2013-09-06 02:29:52 +00:00
mark@runuo.com
2a9b547f7b just misc merge cleanups 2013-09-04 23:07:39 +00: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
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
mark@runuo.com
f61af43f94 misc branch sync 2013-05-09 21:51:37 +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
mark@runuo.com
9cfd9a6165 clean up line endings and formatting 2013-03-14 17:52:42 +00:00
xavier
c6ad1bb0a6 new v-props in baseregion, added butcherswarcleaver, runesabre, revised acid proof rope drop - should be rare. 2013-03-09 23:12:01 +00:00
eos
71a9e054de - Modified the quest system to allow non-BaseCreature quest givers, now requires IQuestGiver.
- Added base quest giver items, both timed and untimed.
- Added BatteredBucket and Lost and Found quest.
- Moved quester 'friendly names' to a class attribute. If left unspecified, the type name is used.
- Misc quest corrections.
- The bag of sending will now reject nontransferable items.
- Fixed quest items generating error messages when StackWith was attempted on them. (StackWith is not supposed to produce feedback.)
- Quest items can now be dropped onto the player's backpack.
2013-02-24 00:31:44 +00:00
xavier
3f98fd7591 proper expansion check for instanced corpses. 2013-02-14 20:05:01 +00:00
eos
cdc2ea44da Pre-AOS compatibility for Valentine's items. 2013-02-10 20:14:38 +00:00
xavier
661e2b3cda 2013-02-10 01:07:28 +00:00
xavier
91273d85d6 discard Spawner setter. various fixes to dismount, pets, bolas, specials, spells... 2013-02-09 23:57:01 +00:00
eos
3499444660 Reverting redundant check 2013-02-04 00:30:45 +00:00
xavier
67c6503f8d animation fixes. 2013-02-04 00:11:31 +00:00
xavier
f95f655c39 ... 2013-02-03 01:22:10 +00:00
xavier
87d72ad3e9 reverting incomplete bola.cs for push to shard. 2013-02-03 01:13:02 +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
athena
cf3f6e8276 Fixed NameChangeDeed so it doesn't allow invalid names. 2013-01-21 01:47:03 +00:00
xavier
bb13ac113f bola mount fix. 2013-01-20 02:17:31 +00:00
xavier
5718b66fde 2013-01-20 01:26:51 +00:00
xavier
296ef1be68 fixes to miasma special moves. 2013-01-19 23:06:49 +00:00
xavier
255bc064ad range check mobiles, return home. On OSI they just delete and respawn. We will try to be a little more graceful, and see if we can walk back. 2013-01-19 21:52:09 +00:00
xavier
39631e3a8a keg :D 2013-01-19 20:21:53 +00:00
xavier
2120f4fb5b Fixes to bola: thrower+target dismount time is equal, Core.ML is 10s, 4 sec delay from throw to hit victim, dismount info moved to playermobile rather than mount, to prevent exploit. 2013-01-12 23:56:40 +00:00
xavier
422b6b0388 itemids fixed. 2013-01-04 02:30:37 +00:00
xavier
55519d49dc its AcidElemental, not ToxicElemental 2013-01-03 13:41:03 +00:00
xavier
d96a94e3ec wow. cleanup. 2012-12-29 21:16:38 +00:00