Zeta Matt
2014-02-07 22:27:18
"Exception in Script: Runtime error: "You passed a wrong ye to a finder function: 1040. The client has a height of 1018, thus the ye is out of bounds." at line 208, column 28"
This is what I've been getting after I converted a script of mine from SRL5 to SRL6. This happens because I set the script to look for SkyBoxes on the coordinates (DivinationWispX-10, DivinationWispY, DivinationWispX+300, DivinationWispY+300) and sometimes these coordinates go out of bounds. On SRL5, the coordinates would be rounded down so as to fit in the client, which made my script perfect, since the skyboxes also have its coordinates rounded down. How can I make SRL6 do it, also, instead of adding a bunch of conditions like 'if DivinationWispY+300 > BoundY then CoordinateToFindSkyBox = BoundY'?
This is what I've been getting after I converted a script of mine from SRL5 to SRL6. This happens because I set the script to look for SkyBoxes on the coordinates (DivinationWispX-10, DivinationWispY, DivinationWispX+300, DivinationWispY+300) and sometimes these coordinates go out of bounds. On SRL5, the coordinates would be rounded down so as to fit in the client, which made my script perfect, since the skyboxes also have its coordinates rounded down. How can I make SRL6 do it, also, instead of adding a bunch of conditions like 'if DivinationWispY+300 > BoundY then CoordinateToFindSkyBox = BoundY'?