Commit graph

709 commits

Author SHA1 Message Date
Vorspire
803cd14fc3 + Update project settings. 2015-08-23 02:36:34 +01:00
Vorspire
af86aa23c7 + Update project settings.
* Scripts project assembly name changed to "Scripts.CS" and build output targets the "Scripts/Output/" directory to mimic RunUO's ScriptCompiler behaviour.
2015-08-23 01:51:26 +01:00
Vorspire
413f9844b7 - Disable WebStatus by default. 2015-08-23 01:43:12 +01:00
Vorspire
5d50a5a37c + Added simple HttpListener for the integrated RunUO status page.
* HttpListener will serve the status page to a URI in the format of http://<shard-ip>/status/
* Port 80 may need to be white-listed for external requests to be served.
2015-08-23 01:34:04 +01:00
Vorspire
75c9c79a48 + Added FastMovementImpl
* Can be enabled or disabled by setting the static property 'Enabled' to true or false (disabled by default).
* Uses single-list caching for movement operations instead of multiple caches depending on direction.
* Uses deferred Linq queries to process high volumes of items in collision detection only when necessary.
* Reduces movement lag for all Mobiles, including players, even with thousands of on-screen Mobiles and Items.
2015-08-22 03:26:10 +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
1920989a75 Mindblast modifier to /2 (Fix #5) 2015-07-04 18:29:10 -07:00
Mark Sturgill
7bafd77c6f Fix #4 2015-07-04 18:27:52 -07:00
Rodrigo Fraga
d8e6ddf13b Fix compile error CS0165 on Mono
When running on mono building scripts, it will yield

Errors:
 + Engines/BulkOrders/SmallTailorBOD.cs:
     CS0165: Line 88: Use of unassigned local variable `useMaterials'

Calling RandomBool out of if
2014-07-06 02:08:02 -04:00
Mark Sturgill
ab4246058b add bombing run, double domination, king of the hill, and capture the flag events
add faction tournament mode
update vs project
2014-04-25 16:06:45 -07:00
Mark Sturgill
ba8e6c7a19 changing ip autodetection url, yet again 2014-04-23 00:12:15 -07:00
Mark Sturgill
568bd43733 RFC 6598 2014-04-14 02:55:16 -07:00
Ravenwolfe
06fa2ab343 Found issue with XMLserialization using local time to serialize instead of UTC. Changed to be consistent with rest of project. 2014-04-13 22:03:06 -05:00
Mark Sturgill
a29be6d64c switch ip autodetection to azure, no ssl for MONO because of cert dep 2014-04-03 03:24:42 -07:00
Mark Sturgill
fc96362050 autodetection url 2014-03-31 20:39:22 -07:00
Mark Sturgill
963606e376 power faction item creation and duel presence 2014-03-28 12:44:32 -07:00
Mark Sturgill
383f6cbada add power faction items 2014-03-28 12:29:31 -07:00
Mark Sturgill
6851c59521 add comments command and comments gump 2014-03-28 12:21:04 -07: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
abe9f5acb2 add AssemblyInfo.cs to Scripts (primarily to remove ComVisible code analyzer nag) 2014-02-25 13:56:48 -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
7bffaa645d change serverlist public ip address autodetection url
fixed base OnSubItemAdded being hidden in playermobile
2014-02-15 15:05:54 -07: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
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
ac17483ab4 remove old hashtables from animal taming, inscription, and invisibility code 2014-02-14 21:19:41 -07:00
Mark Sturgill
af0ec21a07 disguisekit generics 2014-02-13 23:12:23 -07:00
Mark Sturgill
bab199139b apipa range for serverlist autodetection 2014-02-06 23:51:49 -07:00
Mark Sturgill
290c4a1396 custom house optimizations 2013-11-08 12:29:21 -07:00
Mark Sturgill
5283de0b02 remove VS duplicated FlySpell.cs 2013-11-05 12:28:24 -07:00
Mark Sturgill
e319713571 gargoyle flyspell 2013-11-05 12:15:29 -07:00
Mark Sturgill
1fdb2d9a1f update version display and project urls 2013-11-03 10:11:30 -07:00
Mark Sturgill
0eeb0c0c31 generic conversions 2013-11-02 21:40:42 -07:00
Mark Sturgill
fa1df8eae5 more gargoyle additions from servuo 2013-11-02 16:21:12 -07:00
Mark Sturgill
f566daea30 gargoyle race/body impl from servuo with some modification 2013-11-02 15:37:39 -07:00
Mark Sturgill
142f71c258 additional ientity.deleted impl 2013-11-02 11:06:47 -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
b035a256b6 remove mono conditionals that no longer seem to be necessary 2013-10-30 12:26:51 -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
01a5d41cee update uosteam and razor urls 2013-10-26 12:23:24 -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
28744d486e misc generic conversions 2013-10-23 09:54:06 -07:00
Mark Sturgill
ed06db12bf more vs nag fixes
x64 solution and projects are necessary for proper vs debugging
2013-10-21 23:15:13 -07:00
Mark Sturgill
edf716f3cc visual studio updates 2013-10-21 21:04:12 -07:00
Mark Sturgill
0e5292d84d backoff parallelization 2013-10-19 17:08:31 -07:00
Mark Sturgill
ae8ded4a16 7.0.33.1 support
thread-safety
2013-10-17 01:48:04 -07:00
Mark Sturgill
88488bc616 generic pooled enumerators
guild event bcp
2013-10-15 21:15:59 -07:00