OpenSim Mantis Tracker
| Anonymous | Login | Signup for a new account | 2010-09-02 07:45 PDT |
| Main | My View | View Issues | Change Log | Roadmap | Summary | Docs | My Account |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0004329 | [opensim] [REGION] Script Functions | minor | always | 2009-10-29 09:00 | 2010-02-15 18:42 | ||||
| Reporter | aduffy70 | View Status | public | ||||||
| Assigned To | jhurliman | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | master (dev code) | ||||||
| Summary | 0004329: llDialog fails silently | ||||||||
| Description | Scripts using llDialog no longer function on recent versions. The scripts compile, and there is no error message, but no dialog box is produced. Could this be related to the recent change (66923983) that eliminated the "Script Compiled Successfully" popup box? | ||||||||
| Additional Information |
It seems it is only dialog boxes with an empty "buttons" list that fail... This works: touch_start(integer num) { key ToucherID = llDetectedKey(0); llDialog(ToucherID, "test", ["1","2"], 713); } This does not: touch_start(integer num) { key ToucherID = llDetectedKey(0); llDialog(ToucherID, "test", [], 713); } In builds from late september, both worked fine. |
||||||||
| Tags | No tags attached. | ||||||||
| Git Revision | 2c34619 | ||||||||
| SVN Revision | 0 | ||||||||
| Run Mode | Standalone (1 Region) | ||||||||
| Physics Engine | ODE | ||||||||
| Environment | Mono / Linux32 | ||||||||
| Mono Version | 2.4.2 | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0014009) aduffy70 (reporter) 2009-10-29 11:48 |
This might be part of something larger. I notice that calls to the IDialogModule.SendGeneralAlert() method from region modules have stopped working since late September versions as well. |
|
(0014013) dslake (manager) 2009-10-29 20:20 |
I did some poking around on this issue. The "compile successful" message came from OpenSim\Region\ScriptEngine\DotNetEngine\ScriptManager.cs but that file was removed in r11361 along with the rest of the DotNetEngine support. The mechanism it used was to send an AgentAlertMessage packet to the viewer through a call to the controlling agent SendAgentAlertMessage function. The llDialog command on the other hand uses a ScriptDialog packet type, generated by a call to the controlling agent SendDialog function. The removal of DotNetEngine may have impacted the dialog boxes, but they don't seem related from the code changes. |
|
(0014014) melanie (administrator) 2009-10-29 20:24 |
Actually, "Compile successful" was in two places. I removed it from XEngine, but didn't bother to remove it from DNE, since it's removal was already decided at that time. It's unrelated to the llDialog issue. |
|
(0014017) dslake (manager) 2009-10-29 22:05 |
The problem has been identified as a bug in libomv's ToBytesMultiple() function. Please see the bug report at: http://jira.openmv.org/browse/LIBOMV-737 [^] |
|
(0014018) dslake (manager) 2009-10-29 22:20 |
The patch does not fix the problem. The right place to fix it is in libomv. This will sanity check the results of splitting packets. |
|
(0014019) jhurliman (manager) 2009-10-30 00:10 |
This should be fixed in ra05c67bebb8a. I also applied an equivalent patch for logging an error message if ToBytesMultiple() fails to return any packets. |
| Mantis 1.1.1[^] Copyright © 2000 - 2008 Mantis Group |