Commit Graph

26425 Commits (d6723dab37d86af22c712e2705af34fd2c82b174)

Author SHA1 Message Date
UbitUmarov 9c322c93cc fix particles encoding on compressedupdate 2019-03-23 08:04:23 +00:00
UbitUmarov 010d64dcd2 a bit more suicidal... 2019-03-23 03:58:22 +00:00
UbitUmarov a9aba562b1 pesty warning 2019-03-23 02:24:32 +00:00
UbitUmarov d0052c8174 add more test code to make usage od compressed updates etc. Should be disable, but well many things can go wrong. 2019-03-23 02:18:32 +00:00
UbitUmarov db191cd4e2 oops send flag PrimFlags.InventoryEmpty but do not override others 2019-03-21 07:13:39 +00:00
UbitUmarov cfbd34f618 add some code for compressed updates, but disabled, since more changes are needed elsewhere 2019-03-21 06:52:18 +00:00
UbitUmarov b1cf06796f do send flag PrimFlags.InventoryEmpty 2019-03-21 06:21:57 +00:00
UbitUmarov 7211afb3b9 missing file 2019-03-20 15:12:56 +00:00
UbitUmarov d6b3413c63 RegionHandshake IS critical llupd protocol not to be done by odd modules 2019-03-20 15:09:53 +00:00
UbitUmarov 81ff118378 lludp direct encode RegionHandshake 2019-03-20 14:41:19 +00:00
UbitUmarov fe6317f009 LSL update texture entry is heavy, set all parameters on same update 2019-03-19 21:37:58 +00:00
UbitUmarov af35882eda prevent spurius acceleration values 2019-03-19 13:00:11 +00:00
UbitUmarov c521ff394e recover the UnAckedBytes are in KB fix 2019-03-19 10:59:01 +00:00
UbitUmarov 7884278097 try to avoid some useless full object updates 2019-03-19 10:29:48 +00:00
UbitUmarov a7927e9d7b lludp ObjectAnimation encoding 2019-03-19 09:44:13 +00:00
UbitUmarov 71361f61f4 lludp SimStats encoding 2019-03-19 08:52:14 +00:00
UbitUmarov 132d8be9cc UnAckedBytes are in KB 2019-03-19 07:22:24 +00:00
UbitUmarov b10a3ba023 take the deafult on the parameter overlay 2019-03-19 06:52:57 +00:00
UbitUmarov 182977a872 do not send parceloverlay on crossings (may be bad, or not) 2019-03-19 06:38:43 +00:00
UbitUmarov 1c6be0fae3 ooops 2019-03-19 06:10:08 +00:00
UbitUmarov 6dde1aaa14 try save a few ns on parcel overlays 2019-03-19 06:00:36 +00:00
UbitUmarov c2086e6257 add a few extra checks for viewers animated objects support, to avoid timming issues 2019-03-19 00:47:45 +00:00
UbitUmarov 199d4a1bd0 lludp ReplyTaskInventory, SendXferPacket and AbortXfer enconding 2019-03-18 23:36:49 +00:00
UbitUmarov ee0eef5ee0 also fix the ThrottleOutPacketType 2019-03-18 22:29:24 +00:00
UbitUmarov f17dba9925 oops 2019-03-18 22:26:02 +00:00
UbitUmarov 37619443a7 lludp GenericMessage enconding 2019-03-18 22:19:23 +00:00
UbitUmarov 606d096709 lludp ImprovedInstantMessage enconding 2019-03-18 21:04:42 +00:00
UbitUmarov 6fd7b931b1 lludp ChatFromSimulator enconding; some simplification 2019-03-18 18:58:07 +00:00
UbitUmarov 84187975bd lludp AgentMovementComplete enconding 2019-03-18 18:03:22 +00:00
UbitUmarov b9987b4183 stop sending some useless small packets 2019-03-17 21:37:21 +00:00
UbitUmarov 9ccca71c1b remove redundant code 2019-03-17 19:00:02 +00:00
UbitUmarov 8bb0c05825 lludp: direct encode PacketAck, StartPingCheck and CompletePingCheck 2019-03-17 18:16:38 +00:00
UbitUmarov ee8ad3e69d lludp: direct encode AvatarAppearance 2019-03-17 02:02:40 +00:00
UbitUmarov 2ff5b322be lludp: direct encode CoarseLocationUpdate 2019-03-16 17:44:34 +00:00
UbitUmarov 5428b4799d lludp: direct encode rest of send terseupdates 2019-03-16 15:40:01 +00:00
UbitUmarov d8f9a007f4 bug fix on mapblockreply; direct encode mapitemreply just because.. 2019-03-16 14:30:53 +00:00
UbitUmarov 4a80802bec lludp direct encode mapblockreply. Not bc its a high volume packet, but bc it needed work anyways 2019-03-16 00:38:49 +00:00
UbitUmarov 492ba8f644 minor cleanup 2019-03-15 19:21:44 +00:00
UbitUmarov e1c20a32ca LSL: limit sittext and touchtext to length current viewers cand display 2019-03-15 18:17:50 +00:00
UbitUmarov 46dc9ebd4e lludp: change zero encode of strings; limit them to what current viewers expect 2019-03-15 18:08:05 +00:00
UbitUmarov f143dbc23f lludp direct encode object Properties update packets 2019-03-14 17:11:23 +00:00
UbitUmarov b82337de09 Robust: to tell main httpserver to stop on shutdown 2019-03-12 11:48:17 +00:00
UbitUmarov 1b8999b130 try to work around robust shutdown/quit blocking on mono 2019-03-12 11:14:59 +00:00
root c7a02dc058 Merge branch 'master' of brain.opensimulator.org:/var/git/opensim 2019-03-11 23:41:26 +00:00
root 0a4f0758fa Should have been in the last commit 2019-03-11 23:40:55 +00:00
root c3f9b1568c Fix multi, and single tenancy on MapGet 2019-03-11 23:38:57 +00:00
root e877c94b51 Add a but more status info on marker files 2019-03-11 23:37:53 +00:00
root d8e558a3da Allow anyone to get a CAP to the console - check rights on use 2019-03-11 23:36:52 +00:00
UbitUmarov 68b0d9f31d errr use invariantculture compare not current 2019-03-11 23:24:20 +00:00
UbitUmarov 186e9e2838 at login do try proper region name match before sending just somewhere that looks similar 2019-03-11 23:15:30 +00:00
UbitUmarov 32a03a49fc lludp: direct encode terrain patchs packets 2019-03-10 15:56:14 +00:00
UbitUmarov 7b55d42b11 lludp fix max packet size on ack appends 2019-03-10 11:23:38 +00:00
UbitUmarov 343239c7c3 do not send animated attachments to viewers that do not support them. 2019-03-09 12:04:26 +00:00
UbitUmarov 6bc37f348e ooops bad zeroencode flag 2019-03-08 22:28:57 +00:00
UbitUmarov e9d7ced733 just direct encode avatar animation also 2019-03-08 21:14:08 +00:00
UbitUmarov a32060180f agent animation object ids are only for self avatar 2019-03-08 19:14:09 +00:00
UbitUmarov 155e499457 well let trees have special state and grass data block again. 2019-03-07 18:57:13 +00:00
UbitUmarov 95c4de6144 grass even more 2019-03-07 18:20:17 +00:00
UbitUmarov 4e7cddc6a8 vegetation is special 2019-03-07 17:11:52 +00:00
UbitUmarov 9ccc3ed756 make use of direct object update encoding 2019-03-07 14:53:32 +00:00
UbitUmarov fbd741ece3 prims have at most 9 face textures 2019-03-07 12:12:11 +00:00
UbitUmarov 6ae1341c58 don't read from dbs wrong sound flags 2019-03-07 04:53:41 +00:00
UbitUmarov 9487f5cdd3 don't send irrelevant data 2019-03-07 04:50:05 +00:00
UbitUmarov fdb1ce827b fix packet type 2019-03-06 22:48:00 +00:00
UbitUmarov 0970dc04e2 llupd add direct encode, with inline zeroencode, of objects update ( code path currently not in use) 2019-03-06 22:42:37 +00:00
UbitUmarov cf0f3954a8 lludp do inline zeroencode of some(most) agent full updates (runprebuild) 2019-03-06 20:00:39 +00:00
Robert Adams 87c81b5172 BulletSim: Add delay to stationary check after adding force to Avatar.
Fix to Mantis 8496.
Add parameter [BulletSim] AvatarAddForceFrames.
2019-03-06 10:29:46 -08:00
UbitUmarov 39f73b82d4 dont try to backup a object in the middle of possible multipack link 2019-03-05 17:03:17 +00:00
UbitUmarov 0944a96517 llupd direct encode object updates for agents; let terse updates be zeroencoded. This is not as spec but does work 2019-03-05 16:01:29 +00:00
UbitUmarov b5ad1b7dcc remove lludp throttle texture rate cannibal option. That rate is used by http, and beeing http is still trafic 2019-03-05 09:22:34 +00:00
UbitUmarov 80056abbe7 OOOPPPSSS 2019-03-03 12:15:28 +00:00
UbitUmarov ca1993c72d direct encode lludp terse object update, let contain texture entry 2019-03-02 18:23:29 +00:00
UbitUmarov 9da1ca2b44 ll rez objects: silent ginore null object id; remove redundante llSetColor code 2019-03-02 15:38:36 +00:00
UbitUmarov 8a8ce8b10a put back assetViewer cap code, to allow viewers testing. It is disabled at OpenSimDefaults, and should not be enabled until all major viewers do it right on opensim 2019-03-01 11:57:52 +00:00
UbitUmarov 87733b196b reduce the chance of using a invalid avatar physics actor 2019-03-01 11:48:00 +00:00
Robert Adams bd1b992aaf Add Thread.ResetAbort() to various thread loops to clean up errors on
shutdown. Fixes Mantis #8494.

Threads are aborted when shutting down and ThreadAbortException is odd
in that it is rethrown at the end of the catch unless the abort is
reset. No functional changes but fewer error messages on shutdown.
2019-02-27 07:49:52 -08:00
UbitUmarov 9e182c27fb combat module: those parcel changes are now handled elsewhere 2019-02-27 13:18:38 +00:00
UbitUmarov bcf05afd64 direct encode terseupdates 2019-02-27 10:07:25 +00:00
UbitUmarov fe46f8cd1d avoid packet split on terseupdates 2019-02-26 15:09:18 +00:00
UbitUmarov 4de5e14e54 issues with udp buffers pool on heavy load 2019-02-26 15:02:57 +00:00
UbitUmarov e24adb9ea1 mantis 6569: restore full health on invulnerable set to true; combat module is outdated and needs work. By then the proposal on this mantis should be reviewed 2019-02-26 13:38:03 +00:00
UbitUmarov 91569e00a0 buffers in pool have no data, better mk that clear 2019-02-26 01:16:30 +00:00
UbitUmarov a07951b044 fix UDPBuffersPoolCount value (readable with stats show clientstack 2019-02-26 00:43:44 +00:00
UbitUmarov d5d4dc4754 zero decode using a buffer from the pool 2019-02-25 23:30:01 +00:00
UbitUmarov 91fab70236 removed a redundant function; try to make a particular vi coder happy about removed comments 2019-02-25 23:05:11 +00:00
UbitUmarov d01165818d change UDPPacketBuffer pools (does waste a bit of memory) 2019-02-25 21:46:23 +00:00
UbitUmarov cd5a6daa84 also throttle llhttprequest by owner, options: PrimOwnerRequestsBurst = 5, PrimOwnerRequestsPerSec = 25; increase concurrency to 8 2019-02-24 09:46:55 +00:00
UbitUmarov 800f6d6529 several changes to llHttpRequest processing: options section renamed ScriptsHttpRequestModule; throttle by prim (PrimRequestsBurst = 3, PrimRequestsPerSec = 1) and max concurrent connections per instance (MaxPoolThreads = 5), llhttprequest returns if error, nullkey if throttled, reqid otherwise 2019-02-24 07:25:50 +00:00
UbitUmarov 009af3122f update script sintaxe 2019-02-22 22:42:07 +00:00
UbitUmarov d89a089ca2 remove redundant osInventoryDescription() and improve osInventoryDesc() to do the same 2019-02-22 22:28:47 +00:00
UbitUmarov 6e05695244 add LSL_Key osGetLastChangedEventKey() ( it is a alias for lldetectedkey(0) but don't tell anyone 2019-02-21 23:41:49 +00:00
UbitUmarov 5d78f52f7b let Xengine also have that detectedkey 2019-02-21 23:17:53 +00:00
UbitUmarov bd27573130 add LSL_String osGetInventoryName(LSL_Key itemId) and LSL_String osGetInventoryDescription(LSL_String itemNameOrId) 2019-02-21 23:11:03 +00:00
UbitUmarov ece3843798 let changed allowed drop have lldetectedkey[0] return the dropped item id, Yengine and still testing" 2019-02-21 22:54:43 +00:00
UbitUmarov b7507b70bc Yengine changed position and shape events can bt throttled by mineventdelay 2019-02-21 22:05:38 +00:00
UbitUmarov 16596b6ad0 add LSL_Key osGetInventoryLastOwner(string itemNameorid) 2019-02-21 21:56:27 +00:00
UbitUmarov 17ea412da1 fix last owner on add to object inventory 2019-02-21 21:54:24 +00:00
UbitUmarov 0f574d432d Yengine:save minEventDelay in script state 2019-02-20 20:36:43 +00:00
UbitUmarov 72c472f988 Yengine: let llminEventDelay do something: it just ignores a more limited set of events than Xengine (neither do as SL) 2019-02-20 20:12:13 +00:00
UbitUmarov ac651a168a Xengine: exclude a few more events from mineventdelay 2019-02-20 04:54:32 +00:00
UbitUmarov 62fb0961fd missing file on the kick commit 2019-02-20 04:07:42 +00:00
UbitUmarov 7c0eab8a23 Xengine: don't lose state change events 2019-02-20 04:04:35 +00:00
UbitUmarov b56eb2fe63 estate kick now just kill user connection if on same region. The teleport home we did, does not make much sense, and would need more work anyways 2019-02-20 03:05:23 +00:00
UbitUmarov fdf5274c25 add osKickAvatar(LSL_Key agentKey, string alert) 2019-02-20 02:06:25 +00:00
UbitUmarov 98b6ba24b4 oops do show the object delete 2019-02-15 02:28:00 +00:00
UbitUmarov 040ab65f68 (almost) useless change 2019-02-15 02:08:45 +00:00
UbitUmarov b242232c7b minor cleanup 2019-02-15 01:38:49 +00:00
UbitUmarov 06930a1803 don't break permitions on god object return or delete 2019-02-15 01:10:56 +00:00
UbitUmarov f58e1f6265 mantis 8479: deep change DeRezObjects(..) doing independent permitions checks per action. m_useTrashOnDelete should now work except if god deletes, but still not recomended 2019-02-15 01:09:37 +00:00
Robert Adams 52947b6280 Remove some more cut-and-paste typos in 6dof constraint setup in XNA
version of BulletSim. Could only effect operation of flexible linksets when
using the C# version of the Bullet physics engine.
Found by Tampa and AliciaRaven and reported in Mantis 7612.
2019-02-05 08:35:27 -08:00
Robert Adams a1568697d0 Remove cut-and-paste typo in 6dof contstrain setup in XNA version of
BulletSim. Could only effect operation of flexible linksets when using
the C# version of the Bullet physics engine.
Found by Tampa and reported in Mantis 7612.
2019-02-05 08:07:22 -08:00
UbitUmarov 874cc47617 allow more suicidal NonPhysicalPrimMax 2019-02-05 02:25:04 +00:00
UbitUmarov 175817fe55 enforce prim size restrictions on physical state change; Place restrictions on ini values 2019-02-05 01:45:04 +00:00
UbitUmarov b8121ad8a2 prevent freswitch from messing global cert validation, more work is need on rest requests ( also for other things) 2019-02-04 21:44:40 +00:00
UbitUmarov 55f27135dd remove references to obsolete CertificatePolicy 2019-02-04 21:06:50 +00:00
UbitUmarov 364b718acf reduce the odds of MTU violation 2019-02-04 20:12:08 +00:00
UbitUmarov 2f3101e1d2 typos, thx 2019-02-01 18:43:39 +00:00
UbitUmarov 75e48610e7 place a global cooldown of 2 min on god map generation 2019-02-01 18:19:27 +00:00
UbitUmarov 6bb8055cc2 change last commit to do as console comand generate map 2019-02-01 12:52:58 +00:00
fly-man- 45de5eb638 Allow Grid owners to regenerate a maptile for a region manually through the use of the God Tools
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2019-02-01 12:38:59 +00:00
UbitUmarov 9046e5cb9d ubode add position to pid control it stopped flying to prevent slow drifts 2019-01-31 17:25:18 +00:00
UbitUmarov 76b777b1fb remove MRM module (minimodule). Its outdated and we have no maintainers. Thanks to all that worked on it. You should either use scripts or a full region module. Or revert this commit and update its code ;) 2019-01-31 12:14:29 +00:00
UbitUmarov 44e6f45ed6 cosmetics 2019-01-31 12:03:14 +00:00
UbitUmarov e0b06d4b6b cosmetics 2019-01-31 11:46:18 +00:00
UbitUmarov 1e1d296ef4 do update physics script events on link ( this does need another cleanup one day 2019-01-31 10:27:21 +00:00
UbitUmarov 73e64c6597 mantis 6702: fix collisions lldetectedlinknumber also on Yengine 2019-01-30 12:27:03 +00:00
UbitUmarov dd43e613f0 oops that went bad on linux, reverting 2019-01-30 00:58:41 +00:00
UbitUmarov d86bb08c28 change GetDrawStringSize so result better matchs rendering size 2019-01-30 00:46:40 +00:00
UbitUmarov eb7715e2f8 a few changes to last commits 2019-01-30 00:12:46 +00:00
UbitUmarov 5fc44398fe actually .. do take the trim out 2019-01-29 22:06:30 +00:00
UbitUmarov 373ec7afa2 try to not lose start and end spaces in osDrawText 2019-01-29 22:01:54 +00:00
UbitUmarov dc633ee768 cosmetics 2019-01-29 21:16:28 +00:00
UbitUmarov 6479eb9022 change encoding few event cap messages 2019-01-29 21:11:21 +00:00
UbitUmarov 6bc8e2413f ubode replace a locklessqueue by .net concurrentqueue 2019-01-29 13:49:29 +00:00
UbitUmarov f1076607dc mantis 8457: ok ok shutup the warning 2019-01-28 07:47:00 +00:00
UbitUmarov 52e5f58c9a add a try catch on HandleMapItemRequest 2019-01-28 04:38:27 +00:00
UbitUmarov cc27168cc1 change encoding of event cap messages 2019-01-28 04:01:09 +00:00
UbitUmarov 4c79a85621 forgotten locks on ubode 2019-01-28 03:37:54 +00:00
UbitUmarov cc204a279e change encoding of a another event cap message 2019-01-28 00:40:33 +00:00
UbitUmarov 695d807696 change encoding of a few event caps messages 2019-01-26 16:42:42 +00:00
UbitUmarov 07946e040d ok i said all ( lie ) 2019-01-25 21:40:30 +00:00
UbitUmarov f7926eb28c ok take the all change 2019-01-25 21:35:23 +00:00
UbitUmarov 367bd48d91 script mono is meaningless for us 2019-01-25 21:21:23 +00:00
UbitUmarov df568b1a66 some sop cleanup 2019-01-25 20:57:48 +00:00
UbitUmarov 61fb39e49b cleanup 2019-01-25 20:54:24 +00:00
UbitUmarov 8048746759 changes on sog boundingbox and other cleanup 2019-01-25 20:52:46 +00:00
UbitUmarov cb94991acb cleanup dead code 2019-01-25 20:50:13 +00:00
UbitUmarov 3ee70aac0b mess around with prioritizer 2019-01-25 20:49:18 +00:00
UbitUmarov e3d0ec6f40 a few changes on priority queues and their heap 2019-01-25 20:46:03 +00:00
UbitUmarov 27f5248d9f Ooops fix bad locking 2019-01-25 03:19:48 +00:00