Commit graph

106 commits

Author SHA1 Message Date
Kamron Batman
632e8b4757
Upgrades code style - First batch (#22) 2018-08-14 06:16:50 +08:00
Kamron Batman
8ee42c8ea2
Add DefaultName property to Mobiles & Items (#18) 2018-08-09 17:18:41 -07:00
Kamron Batman
b06f5bf60d
Adds better type support for pooled enumerables. Refactors code. (#16) 2018-08-09 14:08:34 -07:00
Kamron Batman
20ae1b3989
Fixes lots more spelling errors (#5)
* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
2018-02-20 16:01:41 -08:00
Kamron Batman
bb8f09752f
Renames equiped to equipped. (#1) 2018-02-19 21:51:13 -08:00
Pedro Pardal
7df658cd00 Basic support for mysticism spells, scrolls, inscription craftables, mystic reagents, 6 new spells 2017-03-21 17:31:08 +01: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
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
af0ec21a07 disguisekit generics 2014-02-13 23:12:23 -07:00
Mark Sturgill
1f3569aefc generic explosion potion user list
whitespace
2013-10-24 15:22:56 -07:00
Mark Sturgill
88488bc616 generic pooled enumerators
guild event bcp
2013-10-15 21:15:59 -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
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
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
xavier
c7e36397d3 oops 2012-12-23 06:39:20 +00:00
xavier
68ab65a475 new tubs. 2012-12-22 22:21:04 +00:00
mark
e32d3368af branch sync 2012-11-13 06:38:29 +00:00
mark
14873aaa3e 2012-11-10 20:06:36 +00:00
eos
11f84a33cd - Removed the ASCII 0x7F control character from safe character lists.
- Added the TraceLockdown command.
- Fixed a missing conflicting layer check for FishingPole.
- Controlled and summoned creatures are no longer affected by the confusion blast potion effect.
2012-09-08 23:42:45 +00:00
eos
d6c2a0049c Fixed layer on FishingPole. 2012-08-26 23:27:19 +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
eos
ece7ad37ac - Corrected the Sanctuary dungeon region bounds in Trammel.
- Added the [Message command to send players a page reply style message.
- Added a more robust version of the [DesignInsert command, supporting the [Area modifier and conditionals, and only allowing insertion of Static items unless otherwise specified (using [DesignInsert true). Items can also be inserted into multiple house plots at the same time.
- Added the ObjectTypes check to the [Serial command implementor, fixing potential server crashes on invalid casts.
- Grammar fixes for page gump replies.
- Removed the runebook use delay for Core.SA.
- Ridgeback, SavageRidgeback and ScaledSwampDragon now override bonding requirements.
- Added a PlayerMobile type check to BaseVendor.OnDragDrop to prevent invalid casts.
- Players can now return filled bulk orders without having any points in the bulk order crafting skill.
- Added ArcaneFocus constructor overloads to make it addable in game.
2012-05-27 02:21:32 +00:00
eos
99b0ad9de5 - Fixed the Palace of Paroxysmus region bounds.
- Fixed a typo in the Huntsman's Forest region name.
- Added the Bravehorn's drinking pool and Huntsman's Forest quest regions to Felucca.
- Fixed CheckObjectTypes not sending invalid condition replies, because the commands are not always flushed after checking this.
- When using an item condition with [online or [ipaddress, the command will now correctly say it does not support items.
- The [Go menu now handles comments in the XML location files correctly.
- Added the Increased Karma Loss attribute.
- Renamed DummyTheif to DummyThief.
2012-05-20 02:35:53 +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
c179bac4a2 More Aquarium fixes
http://jira.runuo.com/browse/RUNUO-126

Various overhead messages wrongly set as public
http://jira.runuo.com/browse/RUNUO-127

Enabling of Spellweaving's Immolating Weapon
http://jira.runuo.com/browse/RUNUO-128
2012-01-22 05:32:04 +00:00
eos
4708ec4301 Various Aquarium fixes - http://jira.runuo.com/browse/RUNUO-102 2011-12-01 05:42:10 +00:00
xavier
7d8bbffd5f re-applied weight correction for fish. 2011-10-23 15:59:39 +00:00
xavier
22ed0d8bb4 2011-10-23 04:05:27 +00:00
xavier
cbd45b53b8 added:ML aquariums, ML potions,runebook and spellbook makers mark, two new runic tools, NPC vendor updates 2011-10-23 03:38:07 +00:00
xavier
028b5ad696 weight correcton for trophy fish 2011-10-23 02:02:35 +00:00
xavier
a7c38951ce crafting skill chances corrected for HollowPrism
notoriety fix for confusion pots
notoriety fix for basecreature
typo corrected for "bone mage"
buying value for scrolls restored to previous in holymage
2011-10-22 23:55:28 +00:00
xavier
359349ed01 correction in moongates regarding unhiding. ItemID wands should not be dropping on AoS+ shards. 2011-09-20 01:08:30 +00:00
xavier
57b8b32096 yuh, runix 2011-08-06 02:43:04 +00:00
xavier
129cac945b Heritage items, talismans 2011-07-24 01:47:01 +00:00
xavier
32466896b1 major missed flaw in the math. reverted. 2011-07-18 00:23:16 +00:00
xavier
2d7747154c corrections for more champ spawn replicas. correction for mounted potion animation. 2011-07-07 23:51:33 +00:00
xavier
f5e7b9ed30 context menu fixed 2011-06-25 19:13:32 +00:00
xavier
5c7774b99a Missing System Message "Your pet looks happier" (regardless of loyalty)
http://www.runuo.com/community/threads/ready-missing-system-message-your-pet-looks-happier.450209/

Not all powerscrolls do drop - Ninjitsu, Bushido etc.
http://www.runuo.com/community/threads/ready-not-all-powerscrolls-do-drop.459974/

Savage Kin Paint Wrong Skill Requirement + Wrong Success Chance
http://www.runuo.com/community/threads/ready-savage-kin-paint-wrong-skill-requirement-wrong-success-chance.455360/

Hag Quest - Stew, can't eat it
http://www.runuo.com/community/threads/ready-hag-quest-stew.454406/

Giant Blue Beetles shouldn't need beating into submission after being tamed once
http://www.runuo.com/community/threads/ready-giant-blue-beetles.450205/

Greater Dragon Fame/Karma Doesn't Match OSI
http://www.runuo.com/community/threads/ready-greater-dragon-fame-karma-doesnt-match-osi.472206/

Resizing Houses, you can resize a house by using a command under the house sign
http://www.runuo.com/community/threads/ready-resizing-houses.414762/

Crafted Shield Resists are wrong on RunUO
http://www.runuo.com/community/threads/ready-crafted-shield-resists.454186/

Yomotsu Mines, you should not be able to recall out of there.
http://www.runuo.com/community/threads/ready-yomotsu-mines.445486/

Missing Necro Icons in the Buff/Debuff Bar
http://www.runuo.com/community/threads/ready-missing-necro-icons-in-the-buff-debuff-bar.450872/

Chivalry Spells, you are allowed to attempt casting of spells outside of your skill range without a system message
http://www.runuo.com/community/threads/ready-chivalry-spells.450757/

Tinker tools use a different graphic on OSI
http://www.runuo.com/community/threads/ready-tinker-tools.460690/

Tinkering should not be required when crafted a Tetsubo
http://www.runuo.com/community/threads/ready-wrong-skill-requirement-carpentry-wrong-success-chances.455342/

Carpentry-Small+Large Beds -Wrong Success Chance
http://www.runuo.com/community/threads/ready-carpentry-small-large-beds-wrong-success-chance.455794/

Telekinesis, various changes to behaviour with items
http://www.runuo.com/community/threads/ready-telekinesis.455250/

Forensic Evaluation Various issues
http://www.runuo.com/community/threads/ready-forensic-evaluation-various-issues-merged.458700/

Animate Dead Corpses, you cannot carve the corpse after it's used
http://www.runuo.com/community/threads/ready-animate-dead-corpses.453823/

You should be able to use begging skill while riding
http://www.runuo.com/community/threads/ready-begging-while-riding.466174/

Crafting Mod Lower Requirements should only appear on shields
http://www.runuo.com/community/threads/ready-crafting-mod-lower-requirements.452112/

You should be revealed While Taking Poison/Strangle Damage
http://www.runuo.com/community/threads/ready-you-never-reveal-while-taking-poison-strangle-damage.456946/

Insurance messages don't do the math!
http://www.runuo.com/community/threads/ready-insurance-messages-dont-do-the-math.454928/

Slayers should work on area of effect spells
http://www.runuo.com/community/threads/ready-slayers-should-work-on-area-of-effect-spells.448774/

You should not be able to use any travel spell in Heartwood
http://www.runuo.com/community/threads/ready-heartwood.457379/

Welcome Back To The House Friend message does not show post-AoS
http://www.runuo.com/community/threads/ready-welcome-back-to-the-house-friend.415924/

Giant Beetle speed should be very fast when magery spells are cast on it
http://www.runuo.com/community/threads/ready-giant-beetle.417848/
2011-06-25 18:39:14 +00:00
xavier
07e45156e5 woops on my part. ninjaweps and spellhelper multi checks. 2011-01-23 14:33:58 +00:00
xavier
33de7434c5 Ninja Darts and Shuriken should use combat checks, never 100% chance of hit. Should trigger Evil Omen poison level increase. Missed shots should not consume poison chg, but empty ammo clears weapon poison. Code overhaul. 2010-12-31 20:28:58 +00:00
xavier
c81a87394d Implement SE lootpacks for SE enabled shards.
http://www.runuo.com/community/threads/scn-656-osi-loot.429885/

Range Corrections for NPC context menus.
http://www.runuo.com/community/threads/svn-656-bulk-order-info-and-train-context-menu-range.451723/

Correction to ships' tillerman. Fixes dropping maps to tillerman, and a boat-break-in exploit.
http://www.runuo.com/community/threads/svn-656-tillerman-doesnt-accept-map.447911/

Aesthetic corrections to GargoylesPickaxe.
http://www.runuo.com/community/threads/svn-656-blacksmith-reward-gargoyle-pickaxes.436462/
2010-12-31 19:20:50 +00:00
xavier
a1d7083098 2010-12-10 20:36:25 +00:00
xavier
36c6ecee6c potions: create separate new pot when d-click stack, as on OSI, fixes second explosion when exp pot is not thrown, misc accuracy fixes to exp pots, mobiles that cant take damage from an explosion pot also shouldn't absorb their share of the damage. 2010-12-10 16:58:01 +00:00
mark
d444b9ba5c 2010-12-06 06:45:45 +00:00