Richy420Rich Posted March 31, 2008 Author Share Posted March 31, 2008 Hi, I have recieved some RTE 9 reports when entering an area ran by these scripted tiles. I'm just wondering if it has something to do with the script or if there's a deeper reason as to why they recieve this error.This is what I have under Scripted Tiles.```Case 16If GetPlayerMap(index) = 372 And GetPlayerArmorSlot(index) = 0 And GetPlayerLegsSlot(index) = 0 And GetPlayerShieldSlot(index) = 0 And GetPlayerHelmetSlot(index) = 0 And GetPlayerNecklaceSlot(index) = 0 And GetPlayerRingSlot(index) = 0 And GetPlayerAccess(index) <= 1 ThenCall PlayerWarp(index, 141, 8, 14)Call lockitems(index, 1)Call PlayerMsg(index, "Upon entering, a magic seal has been placed on your items, making the rest impossible for you to use. This seal will break when you leave this area.", 14)ElseIf GetPlayerMap(index) = 110 And GetPlayerArmorSlot(index) = 0 And GetPlayerLegsSlot(index) = 0 And GetPlayerShieldSlot(index) = 0 And GetPlayerHelmetSlot(index) = 0 And GetPlayerNecklaceSlot(index) = 0 And GetPlayerRingSlot(index) = 0 ThenCall PlayerWarp(index, 142, 10, 3)Call lockitems(index, 1)Call PlayerMsg(index, "Upon entering, a magic seal has been placed on your items, making the rest impossible for you to use. This seal will break when you leave this area.", 14)ElseIf GetPlayerMap(index) = 178 And GetPlayerArmorSlot(index) = 0 And GetPlayerLegsSlot(index) = 0 And GetPlayerShieldSlot(index) = 0 And GetPlayerHelmetSlot(index) = 0 And GetPlayerNecklaceSlot(index) = 0 And GetPlayerRingSlot(index) = 0 ThenCall PlayerWarp(index, 143, 9, 14)Call lockitems(index, 1)Call PlayerMsg(index, "Upon entering, a magic seal has been placed on your items, making the rest impossible for you to use. This seal will break when you leave this area.", 14)ElseCall PlayerMsg(index, "Arena Guard: You are only allowed to have a weapon in this Arena and/or you are higher then the restricted access level, you have been moved to the Garden, next time, make sure you follow the instructions.", 0)Call PlayerWarp(index, 25, 9, 6)End IfExit SubCase 17If GetPlayerMap(index) = 36 And GetPlayerArmorSlot(index) = 0 And GetPlayerLegsSlot(index) = 0 And GetPlayerShieldSlot(index) = 0 And GetPlayerHelmetSlot(index) = 0 And GetPlayerNecklaceSlot(index) = 0 And GetPlayerRingSlot(index) = 0 And GetPlayerAccess(index) <= 1 ThenIf GetPlayerLevel(index) <= 25 ThenCall PlayerWarp(index, 113, 5, 14)Call lockitems(index, 1)Call PlayerMsg(index, "Upon entering, a magic seal has been placed on your items, making the rest impossible for you to use. This seal will break when you leave this area.", 14)ElseCall NextArena(index)End IfElseCall PlayerMsg(index, "Arena Guard: You are only allowed to have a weapon in this Arena and/or you are higher then the restricted access level, you have been moved to the Garden, next time, make sure you follow the instructions.", 0)Call PlayerWarp(index, 25, 9, 6)End IfExit SubEnd SelectEnd Sub```And this is the Sub I have for NextArena(index)```Sub NextArena(index)Dim optOpt=Rand(3,1)Select Case OptCase 0Case 1Call PlayerMsg(index, "Arena Guard: You will be warped to a random Arena!", 0)Call lockitems(index, 1)Call PlayerWarp(index, 141, 8, 14)Exit SubCase 2Call PlayerMsg(index, "Arena Guard: You will be warped to a random Arena!", 0)Call lockitems(index, 1)Call PlayerWarp(index, 142, 10, 3)Exit SubCase 3Call PlayerMsg(index, "Arena Guard: You will be warped to a random Arena!", 0)Call lockitems(index, 1)Call PlayerWarp(index, 143, 9, 14)Exit SubCase ElseExit SubEnd SelectEnd Sub```Any information regarding this would be appreciated. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now