Commit Graph

79 Commits

Author SHA1 Message Date
nooperation
7ca2bbdb7e Fix a bug in the SplitMultibyteString I added a little bit ago. Splitting an empty string should result in a list of a single empty string, not an empty list 2025-06-29 01:10:10 -04:00
nooperation
1c000c0fc9 Replaced some horrible to read stuff with less horrible to read stuff and added comments because I'll forget what this is doing in a few months. 2025-06-23 22:24:25 -04:00
nooperation
6b71cfaf80 Re-added 'allow split messages' parameter to AgentManger.Chat to lessen the possibility of breaking changes 2025-06-23 21:56:12 -04:00
nooperation
cc4e8061d5 add message chunking support to group and instant message sessions. message ordering not guarenteed and will probably be out of order. 2025-06-23 21:26:11 -04:00
nooperation
0e6447753a * Fixed message chunking logic for chat messages.
* Chat messages are longer limited to 900 characters, but rather 1023 bytes.
* Sending large messages containing unicode characters no longer discards the message and silently fails.
* Added support for sending messages on negative channels via ScriptDialogReplyPacket.
2025-06-23 20:51:52 -04:00
cinder
647d9d1eaa Add CancellationToken param to several methods in AgentManager 2025-06-11 12:24:26 -05:00
nooperation
0a9fb3c76c Added AccountLevelBenefits to AgentManager 2025-06-07 22:15:49 -04:00
cinder
3ebed429e5 Minor cleaning 2025-05-28 18:02:36 -05:00
cinder
5ee53b32ac ObjectsAvatars and ObjectsPrimitives are now ConcurrentDictionary to avoid a rather nasty locking bottleneck. 2025-05-27 14:16:03 -05:00
cinder
f005031b51 Heroic attempt to correct the use of <seealso cref=""/> 2025-01-21 07:27:05 -06:00
cinder
c7bf01efff Null check "UpdateAgentLanguage" cap 2025-01-20 07:37:14 -06:00
cinder
7401e027ea Ignore TeleportFailure if we've already Finished teleport 2025-01-20 06:47:12 -06:00
cinder
cd57c14fe7 null check for Caps in RetrieveInstantMessages() 2025-01-19 09:08:47 -06:00
cinder
d412aa3905 Prefer WaitOne with TimeSpan 2025-01-13 07:44:05 -06:00
cinder
6380fe19d2 More conversions to async/await 2025-01-12 22:57:27 -06:00
cinder
e27b517918 Refactor EventQueueClient to be much more robust.
- Polling is fired now every thirty seconds as polling too often was causing EQ to send junk acks
- No more recursive calls to PostRequestAsync() that was never going to end well.
2025-01-12 10:32:34 -06:00
cinder
b2878db912 Suppress rather annoying an trivial xmldoc ambiguous reference warning CS0419 2025-01-02 03:48:39 -06:00
cinder
79936981e2 Remove artificial chat length limitation. Thanks @stonejohnson for finding this. 2024-12-29 08:29:47 -06:00
Cinder Roxley
51287e8d40 InternalDictionary is now LockingDictionary 2024-08-30 15:34:50 -05:00
Adam Frisby
e22e6c8a9c * Improves the reliability of teleports, especially while the Event Queue is down.
* Adds some functions to check if a message is a normal agent message, or a group message.
* Adds new RelativePositionEstimate to complement RelativePosition - RelativePosition actually ends up drifting badly. RelativePositionEstimate instead calculates each time it is requested, using known velocity, and is far more accurate in practice.
* Adds an override to ChatEventArgs.ToString to dump information about the chat.
* Improves reliability of Group Messages
* Teleports previously used GetGridRegion which is sometimes unreliable, request the full map, once, if it fails. The results will be cached.
* Adds AgentManager.LastPositionUpdate to tell you when the avatars position was last updated
2024-08-29 20:56:30 -05:00
Cinder Roxley
aa713bcae5 Pedantic, but let's use consistent type keywords 2024-06-30 17:49:24 -05:00
Cinder Roxley
dc9ba3f8df More redundant lambda syntax cleanup 2024-06-30 17:35:56 -05:00
Cinder Roxley
136094c856 Guard against invalid cast 2024-06-30 17:28:47 -05:00
Madpeter
aebb563270 updates OfflineMessageHandlerCallback to work 2024-06-28 05:05:34 +01:00
cinder
ef8f013e3e Copyright update 2024-01-15 14:41:36 -06:00
Robert Adams
d862b737b0 Add RegionSizeX,RegionSizeY to Simulator class.
Add logic to copy region size info (if supplied) into Simulator class on instance creation.
Add region size fields to definitions of LoginResponse, EnableSimulator, TeleportFinishMessage, CrossedRegionMessage.
Add constants Simulator.DefaultRegionSizeX=256 and Simulator.DefaultRegionSizeY=256
Add display of region size in "RegionInfo" TestClient command
2023-06-16 13:17:13 -07:00
cinder
0317993393 Don't allow teleporting while another teleport is in progress 2023-01-29 15:58:16 -06:00
cinder
80db59e235 Minor 2023-01-28 20:37:22 -06:00
cinder
6781521ccb Null propegation 2023-01-27 21:07:39 -06:00
cinder
c9c84abe3d I before E except after C when or used like an A as in neighbor and weigh 2023-01-27 21:07:12 -06:00
cinder
17f5c18d19 CLeaning 2022-12-31 14:19:13 -06:00
cinder
b85220d4e3 Strip out the rest of our pretty C#8 and C#9 niceness to bring back .NET framework support a little longer 2022-11-20 00:46:46 -06:00
cinder
30e8d06c11 Fix annoying gramatical error that was cut and pasted 50 times 2022-11-14 18:48:49 -06:00
cinder
e5e6103c89 Docu and logging 2022-11-11 10:16:31 -06:00
cinder
6b04bb54c5 Tidy up GridManager and AgentManager, disable MULTIPLE_SIMS by default as it screws up teleporting and EQ most of the time 2022-11-06 21:22:36 -06:00
cinder
e8d08db151 Rewrite HttpCapsClient method signatures, add Connected callback handler 2022-11-04 07:13:09 -05:00
cinder
9d3ac9d3a6 Seed capabilities using HttpCapsClient 2022-11-03 14:47:34 -05:00
cinder
0e7c061b20 Begin replacement of CapsClient/CapsBase with HttpCapsClient 2022-11-03 14:19:56 -05:00
cinder
5ecca7745a Parenthesis 2022-10-22 19:52:21 -05:00
cinder
b164964f00 Array.Empty<> is a nice time 2022-10-10 16:22:33 -05:00
cinder
9937642841 Dependency updates 2022-08-27 20:36:50 -05:00
Cinder
b175963878 Redundant ToString() calls 2022-04-23 16:39:41 -05:00
Cinder
eeec061bdf Replace obsolete *CryptoServiceProvider objects with Base create methods. Apply Array.Empty<> changes 2022-04-19 18:25:04 -05:00
Cinder
7d3c0db5b1 Update copyright 2022-01-02 09:04:28 -06:00
Cinder
5cb3c6016b Ambiguous references in comments 2021-12-29 12:15:50 -06:00
Cinder
2d5393fb7a Ok this is ok 2021-12-21 17:53:13 -06:00
Cinder
d8b115c1b0 Autoprops everywhere 2021-12-09 14:21:48 -06:00
Cinder
164e40420d Merge checks 2021-12-09 13:53:36 -06:00
Cinder
bd3705fb19 Linden Lab is rolling back the change... Add support for the next fun API change.
While we're at it, change our own by introducing HomeInfo struct
2021-12-06 14:52:03 -06:00
Cinder
d4cb35a43a Rewrite CapsClient making the interface more explicit and simple 2021-09-24 14:05:12 -05:00