Commit graph

287 commits

Author SHA1 Message Date
Mark Sturgill
4fccb0c3d3 reduce timer queuing interval to 1ms (from 10ms) to prevent timer stacking with new high resolution timers (tested in production by vorspire) 2013-11-02 01:05:50 -07:00
Mark Sturgill
ad5c172687 mono should not need these fixes anymore 2013-10-30 12:11:45 -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
aa738007d7 missing enum refactor 2013-10-29 10:45:55 -07:00
Mark Sturgill
cf2544dcea enum tidying 2013-10-27 11:30:24 -07:00
Mark Sturgill
502f3b3b97 cleanup core.tickcount
fix typo in Mobile.cs
2013-10-25 01:24:14 -07:00
Mark Sturgill
5b03ef628e drag effects have the potential to crash SA clients regardless of any location checking 2013-10-23 21:42:33 -07:00
Mark Sturgill
28744d486e misc generic conversions 2013-10-23 09:54:06 -07:00
Mark Sturgill
d567869eb8 begin 2.5 2013-10-22 19:18:58 -07:00
Mark Sturgill
a45c07200d delta queue typo 2013-10-22 15:00:32 -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
75817400fc misc clr nagging/housekeeping 2013-10-21 23:01:44 -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
3655814e4a more double checked locking 2013-10-17 20:29:23 -07:00
Mark Sturgill
fe1f40f927 parallelization isn't worth it unless we can reasonably estimate our workload before initiating
implement double checked locking
change active solution to x64
map thread-safety
2013-10-17 20:25:11 -07:00
Mark Sturgill
ae8ded4a16 7.0.33.1 support
thread-safety
2013-10-17 01:48:04 -07:00
Mark Sturgill
699fa3bdd8 mono friendly change 2013-10-15 21:56:57 -07:00
Mark Sturgill
530258decb leftovers from last commit 2013-10-15 21:42:30 -07:00
Mark Sturgill
f5f24d3a92 generic enumerable refactor 2013-10-15 21:30:35 -07:00
Mark Sturgill
88488bc616 generic pooled enumerators
guild event bcp
2013-10-15 21:15:59 -07:00
Mark Sturgill
42bdaae3f1 ipooledenumerable tidy 2013-10-15 15:16:11 -07:00
Mark Sturgill
ffcd063213 reduce nested parallelization; profiling shows that it is not optimal for the average use case 2013-10-15 13:54:36 -07:00
Mark Sturgill
c631528968 scale back overaggressive parallelization 2013-10-15 02:32:17 -07:00
Mark Sturgill
20635cc8ee handle speech events with some parallelism
limit pooled enumerables and timerchangeentries to 200 (arbitrary)
dont place disposed items back in the pool
2013-10-14 21:24:09 -07:00
Mark Sturgill
710c600b65 randomdouble implementation tweaks 2013-10-14 14:28:48 -07:00
Mark Sturgill
3c1bc12829 missing lock 2013-10-14 02:05:53 -07:00
Mark Sturgill
855b6463ca tilematrix thread-safety
main waithandle timeout removed
basecreature typo
2013-10-13 22:12:18 -07:00
Mark Sturgill
b3831721d9 proper nextdouble
direct randombool
thread safe parallelized timer changes
2013-10-13 19:27:25 -07:00
Mark Sturgill
41019b691b delta recursion protection
flush in send completion
2013-10-12 15:53:29 -07:00
Mark Sturgill
97b45ed0bf more parallelization 2013-10-12 04:10:57 -07:00
Mark Sturgill
131c41aa9a additional network level parallelization
ai target acquisition parallelization
better pooled enumerator thread safety
2013-10-11 20:09:04 -07:00
Mark Sturgill
f892ad28a3 Send locking for NewAsyncSockets 2013-10-11 13:19:50 -07:00
Mark Sturgill
d2e02ecda4 more net 4.0 parallelization 2013-10-11 03:58:28 -07:00
Mark Sturgill
0e31731d01 gump errata (thanks vorspire) 2013-10-11 03:57:38 -07:00
Mark Sturgill
ddcc4e7a20 parallel delta queue processing
thread safe packet construction, compilation, compression, gump compilation, sending, coalescing, and many other fixes
TODO:  delta queue recursion fixups, ipooledenumerable fixups/generics
2013-10-11 00:01:05 -07:00
Mark Sturgill
9404651774 Timers use Core.TickCount 2013-10-07 18:07:00 -07:00
Mark Sturgill
a0bafa9bf7 add crash report packet handler
begin packet processing parallelization
2013-10-07 15:27:16 -07:00
Mark Sturgill
7b6cf66b87 rework Core.TickCount 2013-10-07 00:22:11 -07:00
Mark Sturgill
be920e0c31 Core.TickCount for some AI actions
Correction in NewAsyncSockets
2013-10-06 17:21:40 -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 Sturgill
f99eefb288 prep constants for rdrand parallelization 2013-10-05 11:13:09 -07:00
Mark Sturgill
ec3b7c8758 Aggressive rewrite of core random number generation.
Add Random.cs to VS project.
2013-10-05 04:41:02 -07:00
Mark Sturgill
f0086865b4 thread safe random methods 2013-10-04 02:33:15 -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 Sturgill
35372d1c8c Merge remote-tracking branch 'remotes/origin/VisualStudioSolution' 2013-09-30 12:33:52 -07:00
Derrick
6fc1aae38d Buildable/Runnable/Debuggable solution for Visual Studio 2013-09-30 13:44:17 -04:00
msturgill
57904a5792 bump version to 2.3 2013-09-28 22:07:41 -07:00