Here's a complete diff, showing the issues I'm having:


--- builtins.txt	2011-12-30 11:27:14.000000000 -0800
+++ x	2012-01-09 14:25:59.000000000 -0800
@@ -131,7 +131,6 @@ integer llGetPermissions(  )
 key llGetPermissionsKey(  )
 vector llGetPos(  )
 list llGetPrimMediaParams( integer face, list params )
-list llGetPrimitiveParams( list params )
 integer llGetRegionAgentCount(  )
 vector llGetRegionCorner(  )
 float llGetRegionFPS(  )
@@ -251,6 +250,7 @@ void llRemoveVehicleFlags( integer flags
 key llRequestAgentData( key id, integer data )
 key llRequestDisplayName( key id )
 key llRequestInventoryData( string name )
+key llRequestMoney( key from, key to, string message )
 void llRequestPermissions( key agent, integer perm )
 key llRequestSecureURL(  )
 key llRequestSimulatorData( string region, integer data )
@@ -319,10 +319,12 @@ void llSetPos( vector pos )
 integer llSetPrimMediaParams( integer face, list params )
 void llSetPrimURL( string url )
 void llSetPrimitiveParams( list rules )
+integer llSetRegionPos( vector position )
 void llSetRemoteScriptAccessPin( integer pin )
 void llSetRot( rotation rot )
 void llSetScale( vector size )
 void llSetScriptState( string name, integer run )
+void llSetSculptAnim( integer mode, integer sizex, integer sizey,
integer start_frame, integer end_frame, float rate, boolean
texture_sync )
 void llSetSitText( string text )
 void llSetSoundQueueing( integer queue )
 void llSetSoundRadius( float radius )
@@ -381,15 +383,15 @@ void llWhisper( integer channel, string
 vector llWind( vector offset )
 string llXorBase64Strings( string s1, string s2 )
 string llXorBase64StringsCorrect( string str1, string str2 )
-const integer ACTIVE = 0x2
-const integer AGENT = 0x1
+const integer ACTIVE = 0x8
+const integer AGENT = 0x8
 const integer AGENT_ALWAYS_RUN = 0x1000
 const integer AGENT_ATTACHMENTS = 0x0002
 const integer AGENT_AUTOPILOT = 0x2000
 const integer AGENT_AWAY = 0x0040
 const integer AGENT_BUSY = 0x0800
-const integer AGENT_BY_LEGACY_NAME = 0x1
-const integer AGENT_BY_USERNAME = 0x10
+const integer AGENT_BY_LEGACY_NAME = 0x8
+const integer AGENT_BY_USERNAME = 0x8
 const integer AGENT_CROUCHING = 0x0400
 const integer AGENT_FLYING = 0x0001
 const integer AGENT_IN_AIR = 0x0100
@@ -399,7 +401,7 @@ const integer AGENT_SCRIPTED = 0x0004
 const integer AGENT_SITTING = 0x0010
 const integer AGENT_TYPING = 0x0200
 const integer AGENT_WALKING = 0x0080
-const integer ALL_SIDES = -1
+const integer ALL_SIDES = <span title="0xFFFFFFFF
 const integer ANIM_ON = 0x01
 const integer ATTACH_BACK = 9
 const integer ATTACH_BELLY = 28
@@ -483,11 +485,11 @@ const integer CONTROL_RIGHT = 0x8
 const integer CONTROL_ROT_LEFT = 0x100
 const integer CONTROL_ROT_RIGHT = 0x200
 const integer CONTROL_UP = 0x10
-const integer DATA_BORN = 3
-const integer DATA_NAME = 2
-const integer DATA_ONLINE = 1
-const integer DATA_PAYINFO = 8
-const integer DATA_RATING = 4
+const integer DATA_BORN = 0x2
+const integer DATA_NAME = 0x2
+const integer DATA_ONLINE = 0x2
+const integer DATA_PAYINFO = 0x2
+const integer DATA_RATING = 0x2
 const integer DATA_SIM_POS = 5
 const integer DATA_SIM_RATING = 7
 const integer DATA_SIM_STATUS = 6
@@ -541,49 +543,49 @@ const integer MASK_GROUP = 2
 const integer MASK_NEXT = 4
 const integer MASK_OWNER = 1
 const string NULL_KEY = "00000000-0000-0000-0000-000000000000"
-const integer OBJECT_CREATOR = 8
-const integer OBJECT_DESC = 2
-const integer OBJECT_GROUP = 7
-const integer OBJECT_NAME = 1
-const integer OBJECT_OWNER = 6
-const integer OBJECT_POS = 3
-const integer OBJECT_PRIM_EQUIVALENCE = 13
-const integer OBJECT_ROT = 4
-const integer OBJECT_RUNNING_SCRIPT_COUNT = 9
-const integer OBJECT_SCRIPT_MEMORY = 11
-const integer OBJECT_SCRIPT_TIME = 12
-const integer OBJECT_TOTAL_SCRIPT_COUNT = 10
-const integer OBJECT_UNKNOWN_DETAIL = -1
-const integer OBJECT_VELOCITY = 5
+const integer OBJECT_CREATOR = 16
+const integer OBJECT_DESC = 16
+const integer OBJECT_GROUP = 16
+const integer OBJECT_NAME = 16
+const integer OBJECT_OWNER = 16
+const integer OBJECT_POS = 16
+const integer OBJECT_PRIM_EQUIVALENCE = 16
+const integer OBJECT_ROT = 16
+const integer OBJECT_RUNNING_SCRIPT_COUNT = 16
+const integer OBJECT_SCRIPT_MEMORY = 16
+const integer OBJECT_SCRIPT_TIME = 16
+const integer OBJECT_TOTAL_SCRIPT_COUNT = 16
+const integer OBJECT_UNKNOWN_DETAIL = 16
+const integer OBJECT_VELOCITY = 16
 const integer PARCEL_COUNT_GROUP = 2
 const integer PARCEL_COUNT_OTHER = 3
 const integer PARCEL_COUNT_OWNER = 1
 const integer PARCEL_COUNT_SELECTED = 4
 const integer PARCEL_COUNT_TEMP = 5
 const integer PARCEL_COUNT_TOTAL = 0
-const integer PARCEL_DETAILS_AREA = 4
-const integer PARCEL_DETAILS_DESC = 1
-const integer PARCEL_DETAILS_GROUP = 3
-const integer PARCEL_DETAILS_ID = 5
-const integer PARCEL_DETAILS_NAME = 0
-const integer PARCEL_DETAILS_OWNER = 2
+const integer PARCEL_DETAILS_AREA = 6
+const integer PARCEL_DETAILS_DESC = 6
+const integer PARCEL_DETAILS_GROUP = 6
+const integer PARCEL_DETAILS_ID = 6
+const integer PARCEL_DETAILS_NAME = 6
+const integer PARCEL_DETAILS_OWNER = 6
 const integer PARCEL_DETAILS_SEE_AVATARS = 6
-const integer PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY = 0x8000000
-const integer PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS = 0x4000000
-const integer PARCEL_FLAG_ALLOW_CREATE_OBJECTS = 0x40
-const integer PARCEL_FLAG_ALLOW_DAMAGE = 0x20
-const integer PARCEL_FLAG_ALLOW_FLY = 0x1
+const integer PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY = 0x10000000
+const integer PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS = 0x10000000
+const integer PARCEL_FLAG_ALLOW_CREATE_OBJECTS = 0x10000000
+const integer PARCEL_FLAG_ALLOW_DAMAGE = 0x10000000
+const integer PARCEL_FLAG_ALLOW_FLY = 0x10000000
 const integer PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY = 0x10000000
-const integer PARCEL_FLAG_ALLOW_GROUP_SCRIPTS = 0x2000000
-const integer PARCEL_FLAG_ALLOW_LANDMARK = 0x8
-const integer PARCEL_FLAG_ALLOW_SCRIPTS = 0x2
-const integer PARCEL_FLAG_ALLOW_TERRAFORM = 0x10
-const integer PARCEL_FLAG_LOCAL_SOUND_ONLY = 0x8000
-const integer PARCEL_FLAG_RESTRICT_PUSHOBJECT = 0x200000
-const integer PARCEL_FLAG_USE_ACCESS_GROUP = 0x100
-const integer PARCEL_FLAG_USE_ACCESS_LIST = 0x200
-const integer PARCEL_FLAG_USE_BAN_LIST = 0x400
-const integer PARCEL_FLAG_USE_LAND_PASS_LIST = 0x800
+const integer PARCEL_FLAG_ALLOW_GROUP_SCRIPTS = 0x10000000
+const integer PARCEL_FLAG_ALLOW_LANDMARK = 0x10000000
+const integer PARCEL_FLAG_ALLOW_SCRIPTS = 0x10000000
+const integer PARCEL_FLAG_ALLOW_TERRAFORM = 0x10000000
+const integer PARCEL_FLAG_LOCAL_SOUND_ONLY = 0x10000000
+const integer PARCEL_FLAG_RESTRICT_PUSHOBJECT = 0x10000000
+const integer PARCEL_FLAG_USE_ACCESS_GROUP = 0x10000000
+const integer PARCEL_FLAG_USE_ACCESS_LIST = 0x10000000
+const integer PARCEL_FLAG_USE_BAN_LIST = 0x10000000
+const integer PARCEL_FLAG_USE_LAND_PASS_LIST = 0x10000000
 const integer PARCEL_MEDIA_COMMAND_AGENT = 7
 const integer PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9
 const integer PARCEL_MEDIA_COMMAND_DESC = 12
@@ -598,7 +600,7 @@ const integer PARCEL_MEDIA_COMMAND_TIME
 const integer PARCEL_MEDIA_COMMAND_TYPE = 10
 const integer PARCEL_MEDIA_COMMAND_UNLOAD = 8
 const integer PARCEL_MEDIA_COMMAND_URL = 5
-const integer PASSIVE = 0x4
+const integer PASSIVE = 0x8
 const integer PAYMENT_INFO_ON_FILE = 0x1
 const integer PAYMENT_INFO_USED = 0x2
 const integer PAY_DEFAULT = -2
@@ -629,7 +631,7 @@ const integer PRIM_BUMP_DISKS = 10
 const integer PRIM_BUMP_GRAVEL = 11
 const integer PRIM_BUMP_LARGETILE = 14
 const integer PRIM_BUMP_NONE = 0
-const integer PRIM_BUMP_SHINY = 19
+const integer PRIM_BUMP_SHINY = 17
 const integer PRIM_BUMP_SIDING = 13
 const integer PRIM_BUMP_STONE = 9
 const integer PRIM_BUMP_STUCCO = 15
@@ -647,15 +649,15 @@ const integer PRIM_HOLE_DEFAULT = 0
 const integer PRIM_HOLE_SQUARE = 0x20
 const integer PRIM_HOLE_TRIANGLE = 0x30
 const integer PRIM_LINK_TARGET = 34
-const integer PRIM_MATERIAL = 2
-const integer PRIM_MATERIAL_FLESH = 4
-const integer PRIM_MATERIAL_GLASS = 2
+const integer PRIM_MATERIAL = 7
+const integer PRIM_MATERIAL_FLESH = 7
+const integer PRIM_MATERIAL_GLASS = 7
 const integer PRIM_MATERIAL_LIGHT = 7
-const integer PRIM_MATERIAL_METAL = 1
-const integer PRIM_MATERIAL_PLASTIC = 5
-const integer PRIM_MATERIAL_RUBBER = 6
-const integer PRIM_MATERIAL_STONE = 0
-const integer PRIM_MATERIAL_WOOD = 3
+const integer PRIM_MATERIAL_METAL = 7
+const integer PRIM_MATERIAL_PLASTIC = 7
+const integer PRIM_MATERIAL_RUBBER = 7
+const integer PRIM_MATERIAL_STONE = 7
+const integer PRIM_MATERIAL_WOOD = 7
 const integer PRIM_MEDIA_PERM_NONE = 0x0
 const integer PRIM_NAME = 27
 const integer PRIM_OMEGA = 32
@@ -668,46 +670,60 @@ const integer PRIM_POSITION = 6
 const integer PRIM_POS_LOCAL = 33
 const integer PRIM_ROTATION = 8
 const integer PRIM_ROT_LOCAL = 29
-const integer PRIM_SCULPT_FLAG_INVERT = 64
+const integer PRIM_SCULPT_FLAG_INVERT = 128
 const integer PRIM_SCULPT_FLAG_MIRROR = 128
-const integer PRIM_SCULPT_TYPE_CYLINDER = 4
-const integer PRIM_SCULPT_TYPE_MASK = 7
-const integer PRIM_SCULPT_TYPE_PLANE = 3
-const integer PRIM_SCULPT_TYPE_SPHERE = 1
-const integer PRIM_SCULPT_TYPE_TORUS = 2
+const integer PRIM_SCULPT_TYPE_CYLINDER = 128
+const integer PRIM_SCULPT_TYPE_MASK = 128
+const integer PRIM_SCULPT_TYPE_PLANE = 128
+const integer PRIM_SCULPT_TYPE_SPHERE = 128
+const integer PRIM_SCULPT_TYPE_TORUS = 128
 const integer PRIM_SHINY_HIGH = 3
 const integer PRIM_SHINY_LOW = 1
 const integer PRIM_SHINY_MEDIUM = 2
 const integer PRIM_SHINY_NONE = 0
 const integer PRIM_SIZE = 7
 const integer PRIM_TEMP_ON_REZ = 4
-const integer PRIM_TEXGEN = 22
+const integer PRIM_TEXGEN = 1
 const integer PRIM_TEXGEN_DEFAULT = 0
 const integer PRIM_TEXGEN_PLANAR = 1
 const integer PRIM_TEXT = 26
 const integer PRIM_TEXTURE = 17
-const integer PRIM_TYPE = 9
-const integer PRIM_TYPE_BOX = 0
-const integer PRIM_TYPE_CYLINDER = 1
-const integer PRIM_TYPE_PRISM = 2
-const integer PRIM_TYPE_RING = 6
+const integer PRIM_TYPE = 7
+const integer PRIM_TYPE_BOX = 0x30
+const integer PRIM_TYPE_CYLINDER = 0x30
+const integer PRIM_TYPE_PRISM = 0x30
+const integer PRIM_TYPE_RING = 0x30
 const integer PRIM_TYPE_SCULPT = 7
-const integer PRIM_TYPE_SPHERE = 3
-const integer PRIM_TYPE_TORUS = 4
-const integer PRIM_TYPE_TUBE = 5
+const integer PRIM_TYPE_SPHERE = 0x30
+const integer PRIM_TYPE_TORUS = 0x30
+const integer PRIM_TYPE_TUBE = 0x30
 const integer PROFILE_NONE = 0
 const integer PROFILE_SCRIPT_MEMORY = 1
-const integer PUBLIC_CHANNEL = 0x0
+const PUBLIC_CHANNEL =&nbsp
 const float RAD_TO_DEG = 57.29578
-const integer REGION_FLAG_ALLOW_DAMAGE = 0x00000001
-const integer REGION_FLAG_ALLOW_DIRECT_TELEPORT = 0x00100000
-const integer REGION_FLAG_BLOCK_FLY = 0x00080000
-const integer REGION_FLAG_BLOCK_TERRAFORM = 0x00000040
-const integer REGION_FLAG_DISABLE_COLLISIONS = 0x00001000
-const integer REGION_FLAG_DISABLE_PHYSICS = 0x00004000
-const integer REGION_FLAG_FIXED_SUN = 0x00000010
+const integer RCERR_CAST_TIME_EXCEEDED = -3
+const integer RCERR_SIM_PERF_LOW = -2
+const integer RCERR_UNKNOWN = -1
+const integer RC_DATA_FLAGS = 2
+const integer RC_DETECT_PHANTOM = 1
+const integer RC_GET_LINK_NUM = 4
+const integer RC_GET_NORMAL = 1
+const integer RC_GET_ROOT_KEY = 2
+const integer RC_MAX_HITS = 3
+const integer RC_REJECT_AGENTS = 1
+const integer RC_REJECT_LAND = 8
+const integer RC_REJECT_NONPHYSICAL = 4
+const integer RC_REJECT_PHYSICAL = 2
+const integer RC_REJECT_TYPES = 0
+const integer REGION_FLAG_ALLOW_DAMAGE = 0x00400000
+const integer REGION_FLAG_ALLOW_DIRECT_TELEPORT = 0x00400000
+const integer REGION_FLAG_BLOCK_FLY = 0x00400000
+const integer REGION_FLAG_BLOCK_TERRAFORM = 0x00400000
+const integer REGION_FLAG_DISABLE_COLLISIONS = 0x00400000
+const integer REGION_FLAG_DISABLE_PHYSICS = 0x00400000
+const integer REGION_FLAG_FIXED_SUN = 0x00400000
 const integer REGION_FLAG_RESTRICT_PUSHOBJECT = 0x00400000
-const integer REGION_FLAG_SANDBOX = 0x00000100
+const integer REGION_FLAG_SANDBOX = 0x00400000
 const integer REMOTE_DATA_CHANNEL = 1
 const integer REMOTE_DATA_REPLY = 3
 const integer REMOTE_DATA_REQUEST = 2
@@ -717,37 +733,35 @@ const integer SCALE = 0x40
 const integer SCRIPTED = 0x8
 const integer SMOOTH = 0x010
 const float SQRT2 = 1.4142135623
-const integer STATUS_BLOCK_GRAB = 0x40
+const integer STATUS_BLOCK_GRAB = 0x400
 const integer STATUS_BLOCK_GRAB_OBJECT = 0x400
-const integer STATUS_CAST_SHADOWS = 0x200
-const integer STATUS_DIE_AT_EDGE = 0x80
-const integer STATUS_PHANTOM = 0x10
-const integer STATUS_PHYSICS = 0x1
-const integer STATUS_RETURN_AT_EDGE = 0x100
-const integer STATUS_ROTATE_X = 0x2
-const integer STATUS_ROTATE_Y = 0x4
-const integer STATUS_ROTATE_Z = 0x8
-const integer STATUS_SANDBOX = 0x20
+const integer STATUS_CAST_SHADOWS = 0x400
+const integer STATUS_DIE_AT_EDGE = 0x400
+const integer STATUS_PHANTOM = 0x400
+const integer STATUS_PHYSICS = 0x400
+const integer STATUS_RETURN_AT_EDGE = 0x400
+const integer STATUS_ROTATE_X = 0x400
+const integer STATUS_ROTATE_Y = 0x400
+const integer STATUS_ROTATE_Z = 0x400
+const integer STATUS_SANDBOX = 0x400
 const integer STRING_TRIM = 0x03
 const integer STRING_TRIM_HEAD = 0x01
 const integer STRING_TRIM_TAIL = 0x02
 const string TEXTURE_BLANK = "5748decc-f629-461c-9a36-a35a221fe21f"
-const string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f"
 const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"
 const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"
 const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"
 const integer TOUCH_INVALID_FACE = 0xFFFFFFFF
 const vector TOUCH_INVALID_TEXCOORD = <-1.0, -1.0, 0.0>
-const vector TOUCH_INVALID_VECTOR = <0.0, 0.0, 0.0>
 const integer TRUE = 1
 const float TWO_PI = 6.283185307
-const integer TYPE_FLOAT = 2
-const integer TYPE_INTEGER = 1
+const integer TYPE_FLOAT = 0
+const integer TYPE_INTEGER = 0
 const integer TYPE_INVALID = 0
-const integer TYPE_KEY = 4
-const integer TYPE_ROTATION = 6
-const integer TYPE_STRING = 3
-const integer TYPE_VECTOR = 5
+const integer TYPE_KEY = 0
+const integer TYPE_ROTATION = 0
+const integer TYPE_STRING = 0
+const integer TYPE_VECTOR = 0
 const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED"
 const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED"
 const integer VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32
@@ -762,7 +776,7 @@ const integer VEHICLE_BANKING_TIMESCALE
 const integer VEHICLE_BUOYANCY = 27
 const integer VEHICLE_FLAG_CAMERA_DECOUPLED = 0x200
 const integer VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 0x010
-const integer VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 0x008
+const integer VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 0x200
 const integer VEHICLE_FLAG_HOVER_UP_ONLY = 0x020
 const integer VEHICLE_FLAG_HOVER_WATER_ONLY = 0x004
 const integer VEHICLE_FLAG_LIMIT_MOTOR_UP = 0x080
@@ -781,16 +795,17 @@ const integer VEHICLE_LINEAR_MOTOR_DIREC
 const integer VEHICLE_LINEAR_MOTOR_OFFSET = 20
 const integer VEHICLE_LINEAR_MOTOR_TIMESCALE = 30
 const integer VEHICLE_REFERENCE_FRAME = 44
-const integer VEHICLE_TYPE_AIRPLANE = 4
+const integer VEHICLE_TYPE_AIRPLANE = 5
 const integer VEHICLE_TYPE_BALLOON = 5
-const integer VEHICLE_TYPE_BOAT = 3
-const integer VEHICLE_TYPE_CAR = 2
-const integer VEHICLE_TYPE_NONE = 0
-const integer VEHICLE_TYPE_SLED = 1
+const integer VEHICLE_TYPE_BOAT = 5
+const integer VEHICLE_TYPE_CAR = 5
+const integer VEHICLE_TYPE_NONE = 5
+const integer VEHICLE_TYPE_SLED = 5
 const integer VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36
 const integer VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37
 const rotation ZERO_ROTATION = <0.0, 0.0, 0.0, 1.0>
-const vector ZERO_VECTOR = <0.0, 0.0, 0.0>
+const vecter TOUCH_INVALID_VECTOR = <0.0, 0.0, 0.0>
+const vecter ZERO_VECTOR = <0.0, 0.0, 0.0>
 event at_rot_target( integer tnum, rotation targetrot, rotation ourrot )
 event at_target( integer tnum, vector targetpos, vector ourpos )
 event attach( key id )