mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
change api,yengine compile and serial version numbers (this will force scripts recompile and return to start state)
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public partial class ScriptBaseClass
|
||||
{
|
||||
// SCRIPTS CONSTANTS
|
||||
public static readonly LSLInteger OS_APIVERSION = 23;
|
||||
public static readonly LSLInteger OS_APIVERSION = 24;
|
||||
|
||||
public static readonly LSLInteger TRUE = 1;
|
||||
public static readonly LSLInteger FALSE = 0;
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
{
|
||||
public static readonly string OBJECT_CODE_MAGIC = "YObjectCode";
|
||||
// reserve positive version values for original xmr
|
||||
public static int COMPILED_VERSION_VALUE = -10; // decremented when compiler or object file changes
|
||||
public static int COMPILED_VERSION_VALUE = -11; // decremented when compiler or object file changes
|
||||
|
||||
public static readonly int CALL_FRAME_MEMUSE = 64;
|
||||
public static readonly int STRING_LEN_TO_MEMUSE = 2;
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
/*
|
||||
* Makes sure migration data version is same on both ends.
|
||||
*/
|
||||
public static byte migrationVersion = 11;
|
||||
public static byte migrationVersion = 12;
|
||||
|
||||
// Incremented each time script gets reset.
|
||||
public int m_ResetCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user