Commit Graph

134 Commits (9edad026f4494de1a6f02ecc3f477faa27a361ef)

Author SHA1 Message Date
Ansariel 529569cdd9 Merge viewer-neko 2019-08-04 12:09:33 +02:00
Tonya Souther 5d0704e36c FIRE-23155: Allow the LSL bridge AO interface to only disable stand animations 2019-06-16 13:18:34 -05:00
Ansariel 20494c8ee9 FIRE-23328: Improve extended script info by agent/group SLURLs & human-readable attachment point name 2018-12-03 23:39:14 +01:00
Ansariel 762a789409 Clean up LSL bridge and move on to C++11 2018-11-24 01:15:48 +01:00
Ansariel 3c05d19903 Fix crash if trying to create LSL bridge with an invalid script 2018-11-21 00:27:45 +01:00
PanteraPolnocy ec92b2135f An option to extend basic script info feature with various details useful for builders 2018-11-20 00:29:28 +01:00
Ansariel 2ada052892 LSL bridge: Use LLScriptAssetUpload for task upload instead of FSMonoScriptAssetUpload 2018-11-19 19:26:17 +01:00
Ansariel e94cf15422 FIRE-22962: Move script uploaded handling to idle callback as well 2018-08-27 01:29:05 +02:00
Ansariel d41999865f FIRE-22962: Attempt at fixing the bridge creation crash: Use timer only to signal state change and perform actions during idle callbacks 2018-08-22 20:17:05 +02:00
PanteraPolnocy 1d8f706523 FIRE-21622: Rework Flight Assist to work with llSetForce() instead of llApplyImpulse() 2018-07-13 22:20:25 +02:00
PanteraPolnocy ef8b7fd627 FIRE-21622: Tweak Flight Assist by adjusting speeds, addin proper mass measurement and minimum flight altitude 2018-07-12 11:41:23 +02:00
Ansariel 4b31a9896d Add some more logging to bridge creation 2018-06-11 18:24:48 +02:00
Ansariel a4acd02e10 Add some more debug messages to the LSL bridge 2017-12-05 17:38:43 +01:00
Ansariel e181912a81 Add NULL checks 2017-10-12 10:10:50 +02:00
Ansariel eab6e009d0 Don't try to use LSL bridge if we don't have a URL and log URL request failures 2017-01-06 09:32:25 +01:00
Ansariel d22d0da0e8 Changed method names for consistency 2016-06-02 09:33:19 +02:00
Ansariel df8446b1ff Fix a typo 2016-04-27 01:00:27 +02:00
Nicky 4b7fb09a47 Merge. 2015-12-21 19:16:34 +01:00
Ansariel b0542a1a46 Refactor FSCommon 2015-11-14 01:36:57 +01:00
Nicky 22316c6e76 Bridge code migrated to new http interfaces. 2015-11-03 22:59:47 +01:00
Nicky c218e524b2 Merge - Step 1; Still enough to do. 2015-10-26 20:20:13 +01:00
Ansariel bc523f11c0 Housekeeping the bridge... 2015-08-15 12:23:17 +02:00
Ansariel 5868147296 Another attempt in fixing a mysterious crash in the LSL bridge creation process 2015-08-15 11:02:03 +02:00
Ansariel f64f55ba91 Fix possible crash in LSL bridge 2015-07-30 19:13:57 +02:00
Northspring 01b394b2dd Alteration of commit 104695ae4765 after some internal discussions 2015-07-28 10:49:13 +02:00
Northspring 6fb470dd5c LSL Bridge: Micro optimizations; If you don't need to keep something in memory - don't
Also, prepend global variables with "g" for easier recognition in code
2015-07-26 20:29:14 +02:00
Ansariel 2caa5273be Merge Viewer-Big Bird 2015-06-04 15:59:17 +02:00
Ansariel 0cd0c588de Fixing re-defined variables, unused variables and other cruelties... 2015-05-09 14:39:40 +02:00
Ansariel f4bfb1aadf Merge LL V3.7.9 (AIS3 + SSA) 2014-10-22 02:02:08 +02:00
Northspring 5d9d82da07 LSL Bridge: Implement version verification 2014-09-05 21:32:46 +02:00
Northspring 8a8ed1b7f6 FIRE-6715: Cut out bridge spam on llOwnerSay when teleporting when bridge is disabled during a session
This also prevents the viewer from calling gSavedSettings on every single llOwnerSay() message, when Bridge is enabled and message is not a proper <tag> at all
2014-09-05 15:51:50 +02:00
Ansariel f61a3dc027 More LSL bridge fixing:
* Before creating a new bridge, detach the previous one first and purge all
  objects in bridge folder that have the same name as the bridge or the wrong
  object might be attached later
* Allow detaching of bridge object even if attachment spot is locked by RLVa
2014-08-29 15:16:36 +02:00
Ansariel 9a80b2c6f5 Use size_t for std::string::find() in LSL bridge 2014-08-18 15:16:44 +02:00
Northspring c08bc38d2d Some LSL Bridge alterations
1) When creating/recreating Bridge do not call some functions twice - removed calls in state_entry(),
2) Because of that makeSane() and initBridge() are no longer necessary - code has been moved into proper places in script's code,
3) Initialize bridge functionality ONLY when worn as an actual attachment; Ground on_rez() sets the prim to temp anyway.
2014-08-12 18:45:15 +02:00
Northspring a2a4bbeeee Inform user if Bridge script is using wrong VM (LSO instead of Mono)
There is "std::string isMono" in fslslbridge.cpp set during script creation, but Techwolf had Bridge running in LSL2 mode recently, which was the cause of stack-heap collision.
2014-08-01 00:27:14 +02:00
Ansariel 9b235b1472 Some minor cleanup in the bridge 2014-07-24 11:48:07 +02:00
Ansariel 1d20c282c2 Detach bridge for 5 seconds after creation so it gets saved properly and we can re-attach it immediately if it gets detached anytime else 2014-07-18 08:43:37 +02:00
Ansariel 38ad6f2864 * Fix the bridge creation process that was working rather random
* Re-attach a detached bridge after 5 seconds to give the asset server time to store the bridge object properties and contents
  or they might be magically lost if it gets re-attached immediately
2014-07-17 16:41:53 +02:00
Ansariel f53aec8445 Let's use interators when iterating over vectors... 2014-07-17 11:24:24 +02:00
Ansariel cf7ae4e016 FIRE-14122: Moved bridge from illegal attachment spot to "Center 2"; Also set bridge object params properly without LSL 2014-07-17 11:09:59 +02:00
Ansariel 39727765a3 Optimize this... 2014-07-10 15:13:30 +02:00
Ansariel 0ecb573669 Prepare some stuff for FIRE-14122 and replace string literals cluttered all over the place 2014-07-10 08:21:17 +02:00
Northspring 9a7c4c95c8 Fetch news from status.secondlifegrid.net viewer-side, not script-side
Also, removing option from menu...
2014-07-07 14:10:42 +02:00
Northspring 937acfc075 Option to fetch latest news from status.secondlifegrid.net at login via Bridge and print it in chat
Also, menu option under Content. Bumping script version to 2.17.
2014-07-06 22:18:01 +02:00
Northspring 102f4dd2b3 Average CPU time used by the object for pathfinding navigation (OBJECT_CHARACTER_TIME) added in Script Info, if object is set in script as a pathfinding character 2014-06-23 22:40:33 +02:00
Northspring 197a644081 Objects with comma in name cannot cause getScriptInfo() to fail - encode their OBJECT_NAME fields with base64 in script, then decode in the viewer before printing on screen
Also, added some logging in case of invalid Bridge script behaviour
Bumping version to 2.15, hopefully final one for now
2014-06-18 18:18:31 +02:00
Northspring 871d89abf7 Send state of some values via HTTP to Bridge at login only when it's actually needed
Movelock, Flight Assist: They're defaulting to false / 0.0 script-side, in on_rez() event, anyway - so sending commands to disable them, when they're already turned off, is redundant
2014-06-18 02:00:05 +02:00
Northspring bf550b254d Make Bridge messages localizable, also small cleanup
Thanks to Tonya for help with C++ "bridgeGetScriptInfo" part
2014-06-18 01:39:23 +02:00
Tonya Souther 13762d2aab Fixing dumb bit of arithmetic I committed. 2014-06-17 09:03:38 -05:00
Northspring 8486f503e8 It's the Bridge itself who should tell if movelock is enabled or not - not the viewer
Message like that can be handy on laggy regions - user will know when the locking actually has started / stopped
Not bumping Bridge version for this one, it's a minor addition - besides, next release will force recreation of old Bridge script anyway; Nightly users can recreate manually if they wish
2014-06-17 15:52:21 +02:00