Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llDialog() change even worse than we thought

Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
02-04-2006 11:31
Ok, I've just found some bizarre behavior with llDialog.

It seems that the extra bit added by LL in the last patch - the display of the owner name and object name at the top of the dialog - counts against the 512 character limit for a dialog string.

However, SL's own bounds checking only checks the actual string that you pass to llDialog. So if your string is shorter than 512 characters, but becomes longer once the LL bit is added - then the end of your dialog message will be chopped off!

Beware, anyone who uses multiple dialogs to list stuff..
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
02-04-2006 21:56
From: Yumi Murakami
Ok, I've just found some bizarre behavior with llDialog.

It seems that the extra bit added by LL in the last patch - the display of the owner name and object name at the top of the dialog - counts against the 512 character limit for a dialog string.

However, SL's own bounds checking only checks the actual string that you pass to llDialog. So if your string is shorter than 512 characters, but becomes longer once the LL bit is added - then the end of your dialog message will be chopped off!

Beware, anyone who uses multiple dialogs to list stuff..

Thanks for the heads up Yumi.
_____________________
Kelly Linden
Linden Developer
Join date: 29 Mar 2004
Posts: 896
02-05-2006 00:34
Submit those bug reports please.
_____________________
- Kelly Linden
Karen Linden
Dev. Program Manager
Join date: 25 Jul 2005
Posts: 396
02-05-2006 01:49
I will ask the engineer who implemented that new behavior to try to address this in the next release. It may be too late for that, and if so we will be sure to do everything possible to resolve this for the release after that!