View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0008340 | opensim | [MISC] Compiling / Building | public | 2018-07-17 07:02 | 2018-07-17 11:17 |
|
Reporter | Fly-Man- | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | patch ready | Resolution | open | |
Platform | Windows | Operating System | Windows | Operating System Version | 7 |
Product Version | master (dev code) | |
Target Version | master (dev code) | Fixed in Version | | |
|
Summary | 0008340: [PATCH] Update LSLConstants with latest constants |
Description | This basically patches the LSLConstants file to the latest version |
Tags | No tags attached. |
|
Git Revision or version number | |
Run Mode | Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim) |
Physics Engine | BulletSim |
Script Engine | |
Environment | Unknown |
Mono Version | None |
Viewer | |
|
Attached Files | 0001-Adding-missing-Constants.patch [^] (6,100 bytes) 2018-07-17 07:02 [Show Content] [Hide Content]From ecadddbd666edbd3d758050e5b015f54ecf9205f Mon Sep 17 00:00:00 2001
From: fly-man- <fly.man.opensim@gmail.com>
Date: Tue, 17 Jul 2018 15:58:41 +0200
Subject: [PATCH] Adding missing Constants * Updated from the latest source
---
.../Shared/Api/Runtime/LSL_Constants.cs | 98 ++++++++++++++++++-
1 file changed, 97 insertions(+), 1 deletion(-)
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index dedf75eba3..15b958033a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -98,7 +98,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public const int AGENT_CROUCHING = 1024;
public const int AGENT_BUSY = 2048;
public const int AGENT_ALWAYS_RUN = 4096;
- public const int AGENT_MALE = 8192;
+ public const int AGENT_AUTOPILOT = 8192;
+ // Moved this constant to higher since AUTOPILOT
+ // already had 8192
+ public const int AGENT_MALE = 32768;
//Particle Systems
public const int PSYS_PART_INTERP_COLOR_MASK = 1;
@@ -397,6 +400,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public const int HTTP_VERBOSE_THROTTLE = 4;
public const int HTTP_CUSTOM_HEADER = 5;
public const int HTTP_PRAGMA_NO_CACHE = 6;
+ public const int HTTP_USER_AGENT = 7;
+ public const int HTTP_ACCEPT = 8;
// llSetContentType
public const int CONTENT_TYPE_TEXT = 0; //text/plain
@@ -855,6 +860,97 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public const string JSON_DELETE = "\uFDD8";
public const string JSON_APPEND = "-1";
+ // Pathfinding types
+
+ public const int CHARACTER_DESIRED_SPEED = 1;
+ public const int CHARACTER_RADIUS = 2;
+ public const int CHARACTER_LENGTH = 3;
+ public const int CHARACTER_ORIENTATION = 4;
+ public const int CHARACTER_AVOIDANCE_MODE = 5;
+ public const int CHARACTER_TYPE = 6;
+ public const int TRAVERSAL_TYPE = 7;
+ public const int CHARACTER_MAX_ACCEL = 8;
+ public const int CHARACTER_MAX_DECEL = 9;
+ public const int CHARACTER_MAX_TURN_RADIUS = 10;
+ public const int CHARACTER_DESIRED_TURN_SPEED = 12;
+ public const int CHARACTER_MAX_SPEED = 13;
+ public const int CHARACTER_ACCOUNT_FOR_SKIPPED_FRAMES = 14;
+ public const int CHARACTER_STAY_WITHIN_PARCEL = 15;
+
+ public const int PURSUIT_OFFSET = 1;
+ public const int REQUIRE_LINE_OF_SIGHT = 2;
+ public const int PURSUIT_FUZZ_FACTOR = 3;
+ public const int PURSUIT_INTERCEPT = 4;
+ public const int PURSUIT_GOAL_TOLERANCE = 5;
+
+ public const int CHARACTER_TYPE_A = 0;
+ public const int CHARACTER_TYPE_B = 1;
+ public const int CHARACTER_TYPE_C = 2;
+ public const int CHARACTER_TYPE_D = 3;
+ public const int CHARACTER_TYPE_NONE = 4;
+
+ public const int AVOID_CHARACTERS = 1;
+ public const int AVOID_DYNAMIC_OBSTACLES = 2;
+
+ public const int HORIZONTAL = 0;
+ public const int VERTICAL = 1;
+
+ public const int TRAVERSAL_TYPE_NONE = 1;
+ public const int TRAVERSAL_TYPE_FAST = 2;
+ public const int TRAVERSAL_TYPE_SLOW = 4;
+
+ public const int PU_SLOWDOWN_DISTANCE_REACHED = 0;
+ public const int PU_GOAL_REACHED = 1;
+ public const int PU_FAILURE_INVALID_START = 2;
+ public const int PU_FAILURE_INVALID_GOAL = 3;
+ public const int PU_FAILURE_UNREACHABLE = 4;
+ public const int PU_FAILURE_TARGET_GONE = 5;
+ public const int PU_FAILURE_NO_VALID_DESTINATION = 6;
+ public const int PU_EVADE_HIDDEN = 7;
+ public const int PU_EVADE_SPOTTED = 8;
+ public const int PU_FAILURE_NO_NAVMESH = 9;
+ public const int PU_FAILURE_DYNAMIC_PATHFINDING_DISABLED = 10;
+ public const int PU_FAILURE_PARCEL_UNREACHABLE = 11;
+ public const int PU_FAILURE_OTHER = 1000000;
+
+ public const int FORCE_DIRECT_PATH = 1;
+
+ public const int CHARACTER_CMD_STOP = 0;
+ public const int CHARACTER_CMD_JUMP = 1;
+ public const int CHARACTER_CMD_SMOOTH_STOP = 2;
+
+ public const int SIM_STAT_PCT_CHARS_STEPPED = 0;
+
+ // Experience Parameters (from event "experience_error")
+ public const int XP_ERROR_NONE = 0;
+ public const int XP_ERROR_THROTTLED = 1;
+ public const int XP_ERROR_EXPERIENCES_DISABLED = 2;
+ public const int XP_ERROR_INVALID_PARAMETERS = 3;
+ public const int XP_ERROR_NOT_PERMITTED = 4;
+ public const int XP_ERROR_NO_EXPERIENCE = 5;
+ public const int XP_ERROR_NOT_FOUND = 6;
+ public const int XP_ERROR_INVALID_EXPERIENCE = 7;
+ public const int XP_ERROR_EXPERIENCE_DISABLED = 8;
+ public const int XP_ERROR_EXPERIENCE_SUSPENDED = 9;
+ public const int XP_ERROR_UNKNOWN_ERROR = 10;
+ public const int XP_ERROR_QUOTA_EXCEEDED = 11;
+ public const int XP_ERROR_STORE_DISABLED = 12;
+ public const int XP_ERROR_STORAGE_EXCEPTION = 13;
+ public const int XP_ERROR_KEY_NOT_FOUND = 14;
+ public const int XP_ERROR_RETRY_UPDATE = 15;
+ public const int XP_ERROR_MATURITY_EXCEEDED = 16;
+ public const int XP_ERROR_NOT_PERMITTED_LAND = 17;
+ public const int XP_ERROR_REQUEST_PERM_TIMEOUT = 18;
+
+ // constants for llSitOnLink (Experiences)
+ public const int SIT_INVALID_AGENT = -4;
+ public const int SIT_INVALID_LINK = -5;
+ public const int SIT_INVALID_OBJECT = -7;
+ public const int SIT_NOT_EXPERIENCE = -1;
+ public const int SIT_NO_ACCESS = -6;
+ public const int SIT_NO_EXPERIENCE_PERMISSION = -2;
+ public const int SIT_NO_SIT_TARGET = -3;
+
/// <summary>
/// process name parameter as regex
/// </summary>
--
2.17.1.windows.2
|
|