From b2de81ebac9d07e8377814e47e7e261612e974bb Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Tue, 17 Mar 2009 07:03:53 +0000 Subject: From: Christopher Yeoh Attached is a patch which enabled through an OpenSim.ini option the ability to read long notecard lines. Currently although the data is read from the notecard it is truncated at 255 characters (same as for the LL servers. This patch allows the setting of that limit to a different value. ; Maximum length of notecard line read ; Increasing this to large values potentially opens ; up the system to malicious scripters ; NotecardLineReadCharsMax = 255 this allows for save/restore functionality using notecards without having to worry about very short line length limits. --- bin/OpenSim.ini.example | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bin/OpenSim.ini.example') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index e2ae33c..39fee58 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -693,6 +693,11 @@ InterregionComms = "RESTComms" ScriptDelayFactor = 1.0 ScriptDistanceLimitFactor = 1.0 + ; Maximum length of notecard line read + ; Increasing this to large values potentially opens + ; up the system to malicious scripters + ; NotecardLineReadCharsMax = 255 + ; ; These settings are specific to DotNetEngine script engine ; Other script engines based on OpenSim.Region.ScriptEngine.Common.dll will have almost identical settings, but in another section of this config file. @@ -981,6 +986,11 @@ InterregionComms = "RESTComms" ; The factor the 10 m distances llimits are multiplied by ScriptDistanceLimitFactor = 1.0 + ; Maximum length of notecard line read + ; Increasing this to large values potentially opens + ; up the system to malicious scripters + ; NotecardLineReadCharsMax = 255 + ; OS Functions enable/disable ; For each function, you can add one line, as shown ; The default for all functions allows them if below threat level -- cgit v1.1