Commit graph

748 commits

Author SHA1 Message Date
Kamron Batman
20a80ea2f3 More casting fixes 2018-09-11 18:59:11 -07:00
Kamron Batman
f211efc3bd Fixes more casting and null propogation 2018-09-11 16:20:57 -07:00
Kamron Batman
403e2a8b9d Fixes casting, default parameters and null propogation in more files. 2018-09-09 22:05:44 -07:00
Kamron Batman
067dca8393 Come more cleanup before finishing for the day. 2018-09-09 09:00:25 -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
4d2965d2de
Various fixes related to DefaultName. Makes the event loop more async. 2018-09-03 14:44:48 -07:00
Kamron Batman
6ef32ce910 Fixes unavailable syntax for Mono. 2018-09-03 09:34:36 -07:00
Kamron Batman
f674ec2be0 Adds more formatting 2018-08-19 21:28:24 +08:00
Kamron Batman
e77d695684 Fixes more casting 2018-08-19 11:04:07 +08:00
Kamron Batman
61937d9c97 Fixes more casting and other formatting issues. 2018-08-19 10:14:40 +08:00
Kamron Batman
03dd5f1926 Fixes casting checks 2018-08-19 01:38:55 +08:00
Kamron Batman
6987d0c18e
Replaces corpse name (#23) 2018-08-14 23:50:00 +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
fad41140d1
Adds support for Roslyn / Mono C# 7. (#20) 2018-08-08 23:29:14 -07:00
Kamron Batman
5df5b61221
Updates against master 2018-08-08 20:39:57 -07:00
VitaNex
34f14c538d + Rename Gumps/Properties directory to avoid conflicts when unloading Scripts project. 2018-08-01 22:11:34 +01:00
VitaNex
5b25d957e2 + Housekeeping. 2018-08-01 21:30:15 +01:00
LG Archer
b3f0586a17
Update Scripts.csproj 2018-08-01 21:14:50 +01:00
LG Archer
0a897d7727
Update Scripts.csproj 2018-08-01 21:05:11 +01:00
Kamron Batman
0d9fe76b2b
Fix/consume - Closes #10 (#14)
* Fixes stacking, consumption instead of deletion, and a few other minor issues. Server-side only.
* Fixes stacking of ore.
* Fixes cooking consumption.
2018-02-22 00:57:07 -08:00
Kamron Batman
f6d5689dee
Quick optimization to aggregate for Gold Ledger 2018-02-21 20:36:21 -08:00
Kamron Batman
5d61205240
Upgrades gumps to allow netstate specific compilation/appends. (#7) 2018-02-21 20:30:45 -08:00
Kamron Batman
d8ed7c1da9
Changes to new Gold Ledger system (#3)
Changes new gold system to use separate gold/platinum with DivRem instead of relying on doubles.
2018-02-20 22:47:16 -08:00
Kamron Batman
1030bb7675
Upgrades spawners to have parameters/properties and optimized timers (#6)
Upgrades spawners to have:
- [X] Parameter support
- [X] Property support
- [X] Optimized timers
- [X] Support for Proximity Spawners
- [X] Probabilities
2018-02-20 22:33:25 -08: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
ca4e99c179
Renames overriden to overridden 2018-02-20 11:18:23 -08:00
Kamron Batman
9a4aeaba0d
Renames trapable to trappable. (#4) 2018-02-20 11:08:02 -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
Xeroxxx
8f3813b11f Typo & removed Engine=InnoDB 2017-01-17 15:52:16 +01:00
Xeroxxx
53d6d8f882 Added initial database schema creation 2017-01-16 11:32:38 +01:00
Xeroxxx
2931df9644 E-Mail Authentication 2017-01-16 11:16:51 +01:00
Kamron Batman
5f15f5bd8a [Update] Updates ServerList.cs with public IP API.
Updates ServerList.cs with public IP API.
2016-11-18 18:06:30 -08:00
Hjornskar
bec702d97d Update Banker.cs
Corrections to OnSpeech in Banker to utilize the TOL changes with "withdraw" and "balance" keywords. Bankers do not respond to "check" keyword in TOL.
2016-06-28 12:23:38 -04:00
Dragon Slayer
980e5415e5 Added Couple fixes to BaseVendor
Animal Will not follow no more Per Uo Accurate when bought from a npc.
Changed the msgs you get from text to clilco Per UO Accurate when buying
items.
2016-03-31 23:48:29 -05:00
VitaNex
7af0579875 + RunUO 2.7 with initial TOL expansion support. 2016-01-27 02:59:11 +00:00
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