Commit graph

46 commits

Author SHA1 Message Date
Kamron Batman
22ab83ea9e Replaces types with built-in types. 2018-09-14 13:22:16 -07:00
Kamron Batman
83dcf536d8 Removes implicit this. 2018-09-14 12:56:58 -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
VitaNex
e47753df2b + Prevent NetState nullification recursion if the NetState is being disposed.
* This issue is responsible for causing client crashes when logging out, one of the signs is the sound of your backpack closing multiple times.
* Fix prevents multiple calls to subsystems such as the trade window, which had the potential to dupe items when returning them to the trade partner.
* Credit goes to UO:Revealed (www.uorevealed.com) for reporting the circumstances which lead to the fix, which seems to have been an overlooked issue for a very long time.
2016-06-11 21:32:20 +01:00
VitaNex
3f5678f061 + Expose NetState members for what they are, to help with custom implementations that require access to extended features. 2016-01-27 03:40:42 +00:00
VitaNex
7af0579875 + RunUO 2.7 with initial TOL expansion support. 2016-01-27 02:59:11 +00: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
0e5292d84d backoff parallelization 2013-10-19 17:08:31 -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
41019b691b delta recursion protection
flush in send completion
2013-10-12 15:53:29 -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
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
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
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
b94e3ea2b6 don't trace innocuous network exceptions unless debug flagged 2013-09-06 06:55:31 +00:00
eos@runuo.com
ec8520f4e0 - Added 7.0.30.0 protocol changes, for extended status packet use.
- Changed refuse trades option to only show in appropriate clients.
- Disabled item insurance on mount items.
2013-06-08 23:18:21 +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
asayre
3828be5415 Changing preprocessor directive for new networking code until verification of correct functionality. 2012-02-08 03:32:56 +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
ed14513cc9 character creation fixes 2011-07-31 04:05:09 +00:00
mark
b2b1229fb8 2011-06-29 03:29:14 +00:00
mark
0afa707b24 .NET *ASync Socket API
Incomplete, do not use (/d:Framework_4_0) in production.
2010-12-19 23:35:09 +00:00
mark
6441f12907 7.0.9.x compat
updated spawner
2010-10-14 06:34:46 +00:00
mark
5937357b8c m_Version null ref 2010-09-19 15:21:39 +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
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
33ffc0f070 character creation, healthbar (poison/yellow), etc 2009-10-04 04:33:01 +00:00
mark
cc7814db35 6.0.14.2 compat 2009-07-19 04:18:39 +00:00
mark
1ef98f10ec Partial Branch Sync 2007-08-27 08:49:15 +00:00
mark
57293771a2 Support for > 6.0.1.7 (Containers, SecureTrade, SpellBook, Vendors, etc)
WarningGump Fixed
2007-08-08 20:30:14 +00:00
krrios
0338bd6a75 Ripped socket disconnect code 2007-04-26 05:17:31 +00:00
krrios
2b54372249 initial attempt at socket pooling -- DOES NOT WORK -- EVIL CODE -- DO NOT RUN LIVE -- etc 2007-04-25 05:54:23 +00:00
mark
536e73b8df socket pooling, asyncstate cleanups 2007-04-25 01:35:38 +00:00
krrios
e15ed963d8 updated a few places to use NetState.Address rather than Socket.RemoteEndPoint.Address
added Utility.Intern(IPAddress) and implemented where appropriate
2007-04-25 00:42:47 +00:00
krrios
5c64b1754c restructured and extended performance diagnostics to cover gump and target responses 2007-04-22 06:08:45 +00:00
asayre
fc9e4d2be1 Fix Sparklies in UOTD Client. ie, fix due to Client not sending uo:td in client version 2007-01-02 08:46:15 +00:00
mark
9f84d30c40 advanced logging for special cases 2006-09-22 02:48:22 +00:00
krrios
6095f152cf Added Gump.OnServerClose -> called instead of Gump.OnResponse from Mobile.CloseGump and Mobile.CloseAllGumps
NetState properties Gumps, HuePickers, and Menus are now exposed as IEnumerable
Deprecated Mobile.CloseGump( Type, int ), Mobile.CloseGump( Type, int, bool )
Deprecated Mobile.CloseAllGumps( bool )
Deprecated Mobile.HasGump( Type, bool )
Mobile FindGump, CloseGump, and HasGump methods now support type inheritance
Refactored SendQueue to provide a more concise implementation
2006-08-27 20:35:58 +00:00
krrios
9dd4c1d37b Made NetState.Send virtual.
Lifespan of Packet.UnderlyingStream extended until Packet.Release (previously was freed in Packet.Compile).
2006-06-18 20:10:09 +00:00
mark
f3d56091b6 2006-06-15 04:28:39 +00:00
mark
47711d616e 2006-06-15 04:14:30 +00:00