Commit graph

117 commits

Author SHA1 Message Date
Kamron Batman
22ab83ea9e Replaces types with built-in types. 2018-09-14 13:22:16 -07:00
Kamron Batman
fee83ce560 Fixes implicit array initializers 2018-09-14 13:14:20 -07:00
Kamron Batman
7d3a0ca265 Fixes string interpolation 2018-09-14 13:07:43 -07:00
Kamron Batman
42d0b6271f Fixes sequential checks 2018-09-14 13:00:41 -07:00
Kamron Batman
83dcf536d8 Removes implicit this. 2018-09-14 12:56:58 -07:00
Kamron Batman
04b4cfe75b Removes implicit types 2018-09-14 08:48:39 -07:00
Kamron Batman
33f5e77a24 Fixes body expression style. 2018-09-14 08:46:14 -07:00
Kamron Batman
3f0a72a62f Removes unused namespaces 2018-09-14 08:41:38 -07:00
Kamron Batman
d6c0bf2d4c Sets a default parameter for OnHit. More casting cleanup. 2018-09-09 08:54:10 -07:00
Kamron Batman
aba9452161 More cast conversion fixes 2018-09-06 18:07:42 -07:00
Kamron Batman
03dd5f1926 Fixes casting checks 2018-08-19 01:38:55 +08:00
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