Commit graph

62 commits

Author SHA1 Message Date
Kamron Batman
22ab83ea9e Replaces types with built-in types. 2018-09-14 13:22:16 -07:00
Kamron Batman
33f5e77a24 Fixes body expression style. 2018-09-14 08:46:14 -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
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
VitaNex
7af0579875 + RunUO 2.7 with initial TOL expansion support. 2016-01-27 02:59:11 +00:00
Vorspire
887ca5d341 + Don't allow processing of the Timer changed queue while the world is loading or saving.
* Removes the risk of inconsistency [warnings] generated by timers that tick with handlers that modify World.Items and World.Mobiles during I/O.

+ Update description of Core.TickCount.
2015-08-23 01:40:09 +01:00
Vorspire
d093acfb2e + Make sure #Map_NewEnumerables is defined by default, multiple sources have verified stability.
+ Core housekeeping, converted some for-loops to foreach-loops.

+ Reimplementation of Core.TickCount using only native .NET Stopwatch.
* Stopwatch actually wraps the QueryPerformanceCounter method to get its result and can also be used to determine whether HRT is supported.
- Removed SafeNativeMethods DLLImport for QueryPerformanceCounter.

+ Added Core.GlobalUpdateRange to define a constant standard range used in many calculations throughout RunUO.
* The value '18' in a range context is hard-coded in many places, this new property will eventually be used to replace those usages.
2015-08-22 04:50:05 +01:00
Mark Sturgill
83bf81b7ee synchronize Server/Scripts project properties
whitespace/comment changes in Serialization.cs and ScriptCompiler.cs
proper dispose pattern for Listener
remove IDisposable from FileLogger
2014-02-25 14:00:32 -07:00
Mark Sturgill
a5b7e6c78c Added the command line argument -usehrt to enable high resolution timing on supported platforms (QueryPerformanceCounter)
Timing will fallback to DateTime.UtcNow.Ticks when QPC is unsupported.
2014-02-09 12:10:13 -07:00
Mark Sturgill
1fdb2d9a1f update version display and project urls 2013-11-03 10:11:30 -07:00
Mark Sturgill
018ef960b0 mono tickcount fix 2013-10-30 11:49:59 -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
502f3b3b97 cleanup core.tickcount
fix typo in Mobile.cs
2013-10-25 01:24:14 -07:00
Mark Sturgill
75817400fc misc clr nagging/housekeeping 2013-10-21 23:01:44 -07:00
Mark Sturgill
c631528968 scale back overaggressive parallelization 2013-10-15 02:32:17 -07:00
Mark Sturgill
855b6463ca tilematrix thread-safety
main waithandle timeout removed
basecreature typo
2013-10-13 22:12:18 -07:00
Mark Sturgill
7b6cf66b87 rework Core.TickCount 2013-10-07 00:22:11 -07:00
Mark Sturgill
306a96bc81 RandomImpl display and additional interfaces 2013-10-06 13:54:45 -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@runuo.com
2a9b547f7b just misc merge cleanups 2013-09-04 23:07:39 +00:00
eos@runuo.com
6ae4f74e78 Crash handling fixes. 2013-06-20 15:56:59 +00:00
eos@runuo.com
858e86d45b - Added High Seas expansion to the expansions list.
- Changed the default expansion to HS.
- Changed meer monsters to all be FightMode.Evil.
- Added refuse trades option (client 7.0.30.0+).
- Added item insurance menu.
- Updated context menus to support new clilocs.
- Added item properties to gumps.
- Reverting items not decaying on spawners, needs to be configurable.
- Added AUO features to FeatureProtection.
- Tweaked third party authentication to not trigger the character password gump in the client.
2013-06-02 13:12:09 +00:00
mark@runuo.com
fb0368e201 Revision: 1073
Author: eos
Date: Saturday, May 25, 2013 2:53:05 PM
Message:
Fixed guild roster ordering.
----
Modified : /devel/Scripts/Gumps/Guilds/New Guild System/GuildRosterGump.cs

Revision: 1072
Author: eos
Date: Thursday, May 23, 2013 8:36:04 AM
Message:
Plant labeling:
- Added OSI clilocs for cocoa trees and sugar canes.
- Plant hue no longer takes priority over plant category if the plant type is unknown.
----
Modified : /devel/Scripts/Engines/Plants/PlantItem.cs
Modified : /devel/Scripts/Engines/Plants/PlantType.cs
Modified : /devel/Scripts/Engines/Plants/Seed.cs

Revision: 1071
Author: mark
Date: Wednesday, May 22, 2013 10:38:29 AM
Message:
core wait events
----
Modified : /devel/Server/Main.cs
Modified : /devel/Server/Network/Packets.cs

Revision: 1070
Author: eos
Date: Monday, May 20, 2013 3:26:40 PM
Message:
Added support for the High Seas relative drop.
----
Modified : /devel/Scripts/Multis/Boats/BaseBoat.cs
Modified : /devel/Server/Items/BaseMulti.cs
Modified : /devel/Server/Network/PacketHandlers.cs

Revision: 1069
Author: eos
Date: Saturday, May 18, 2013 9:21:10 PM
Message:
Added another missing deserialization fix for plants.
----
Modified : /devel/Scripts/Engines/Plants/PlantSystem.cs

Revision: 1068
Author: eos
Date: Saturday, May 18, 2013 9:03:52 PM
Message:
Added missing deserialization fix for plants.
----
Modified : /devel/Scripts/Engines/Plants/PlantItem.cs
Modified : /devel/Scripts/Engines/Plants/Seed.cs

Revision: 1067
Author: eos
Date: Saturday, May 18, 2013 4:29:20 PM
Message:
T2A arena region fix.
----
Modified : /devel/Data/Regions.xml

Revision: 1066
Author: eos
Date: Saturday, May 18, 2013 2:58:35 PM
Message:
- Sync with GoogleCode repo (sans unix line endings).
- Tab woes.
----
Modified : /devel/Data/Regions.xml
Modified : /devel/Scripts/Engines/Plants/PlantType.cs

Revision: 1065
Author: eos
Date: Saturday, May 18, 2013 2:48:32 PM
Message:
- Added cocoa trees.
- Unifying PlantItem labeling for extensibility and compacter code.
- Misc plant system cleanup.
----
Modified : /devel/Scripts/Engines/Plants/PlantSystem.cs
Modified : /devel/Scripts/Engines/Plants/PlantItem.cs
Modified : /devel/Scripts/Engines/Plants/Seed.cs
Modified : /devel/Scripts/Engines/Plants/PlantType.cs
Modified : /devel/Scripts/Engines/Plants/PlantHue.cs
Modified : /devel/Scripts/Engines/Plants/PlantResources.cs
Modified : /devel/Scripts/Engines/Plants/ReproductionGump.cs
2013-05-28 17:44:07 +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
4bcde77cc2 revert forced 4.0 migration -- many users are still dependent on 2.0 2012-03-07 13:47:33 +00:00
asayre
b13718ca01 Isolated the problem with .NET 4.0 to the networking code changes; no reason to disallow support for .NET 4.0, and restoring default .NET FX 4.0 support 2012-03-05 11:38:02 +00:00
mark
558fcf495a Framework_4_0 preprocessor is necessary for legacy compatibility. 2012-01-03 00:36:52 +00:00
asayre
2401b86b24 Unused properties removed to handle warnings (Warn lvl 4, Treat Errors as warnings please & thankyou)
BaseCreature & PlayerMobile set to partial classes for easier extensibility.

Prevent Item from stacking with itself

Updated Bounds.bin with latest values.  ItemBounds will now correctly size itself to the TileData.

Compiler directives for .NET 4.0 no longer needed - .NET 4.0 is now supported by default to take advantage of the new Socket Events and Parallelization improvements.
2012-01-02 10:24:08 +00:00
mark
008c706ba8 quick core tweak 2011-10-02 04:14:01 +00:00
asayre
e5a22904e6 Code cleanup; Parallelization of Script verification for .Net 4.0 2010-12-28 09:24:08 +00:00
asayre
18d1396670 ISpawner; ISpawnable, cleanup. All custom spawners should inherit from ISpawner. Also, Ridiculous, not rediculous, 2010-12-26 05:18:57 +00:00
asayre
67af95cf0b Fix for RunUO Crash if Performance tab on Admin gump is open within first 100seconds of server running.
Completion of the DynamicSaveStrategy.  Background saves are now safe; triggered only by the autoSave or command [BackgroundSave ([BGSave)
2010-12-20 03:34:25 +00:00
asayre
a62fbec243 2010-10-16 19:26:26 +00:00
mark
177eb4c6ff Cleanup Expansions
WorldPacketSA should not be used yet. There is much more work to be done and that version has not been looked at in quite some time.
2010-06-17 07:11:43 +00:00
mark
b3e8ec0a08 massive branch sync 2010-04-25 06:09:43 +00:00
mark
98e26b7208 The overload of Socket.BeginAccept that we use does not work correctly with MONO.
Their implementation ignores the socket we give it and creates its own internally. This creates a leak.

We don't really need to use that overload, regardless of the platform.

Socket pooling was completely removed as well.
2009-10-17 07:27:30 +00:00
mark
bff9e9abe4 progress on -service.. no input, safe choices, etc
add Account.Inactive and Account.InactiveDuration
refactor IsEligable to IsEligible
2009-08-08 06:30:34 +00:00
mark
a8ea11ea5b 2009-08-07 09:21:36 +00:00
mark
0f73c81a6a mono fixes, tweaking service mode 2009-08-07 07:07:15 +00:00
mark
9c5abc3b0d 2008-05-29 03:57:42 +00:00
mark
a4c562c06d support for listening on specific ip addresses and additional ports 2007-11-17 07:10:29 +00:00
mark
f9a35ca7bb SetConsoleCtrlHandler is a Windows API issue not a Mono one and is now handled by Core.Unix. Because it is never used, Kernel32 will never be imported on Unix platforms. 2007-09-14 07:01:31 +00:00
mark
5f054005bb continuation 2007-09-14 06:43:30 +00:00
mark
9ac7b27606 testing a whim 2007-09-14 06:40:55 +00:00
mark
5e4c0668e3 fixed some funky service behavior (thanks panther) 2007-09-14 04:55:54 +00:00
mark
9e13975aed To clarify a bit, mono incorrectly increments the pointer 4 bytes when using *somePtr++, when it should increment the pointer the 3 or 7 bytes in the case of Tile/StaticTile. Using somePtr = somePtr + 1 works flawlessly. 2007-09-07 19:50:35 +00:00
mark
2533ee486a initial attempt at serverlist autoconfiguration, please let me know in irc if any issues are encountered. 2007-08-27 22:29:58 +00:00
mark
1ef98f10ec Partial Branch Sync 2007-08-27 08:49:15 +00:00
mark
b9e3476d8b general cleanup, fixed a slightly improbably crash issue 2007-08-12 07:19:44 +00:00