| Mirage Source http://miragesource.net/forums/ |
|
| rte 9? wth? http://miragesource.net/forums/viewtopic.php?f=201&t=356 |
Page 1 of 1 |
| Author: | Gilgamesch [ Sun Aug 06, 2006 8:16 pm ] |
| Post subject: | rte 9? wth? |
hey, so..i added binary arrays and i have seamless maps...so, when i join the server i get this error in blttile: With Map.Tile(RealX, RealY) RTE 9 with mousehover it says: With Map.Tile(RealX, RealY)=<Subscrit out of range> i dunno why :/, please help me guys! thanks! |
|
| Author: | Spodi [ Sun Aug 06, 2006 8:48 pm ] |
| Post subject: | |
Hover over RealX and RealY - they are more then likely out of the array's bounds (ie = 0). In other words, you are not getting the right values. Just a guess - never used Mirage myself, but know plenty about debugging. |
|
| Author: | Kenko [ Sun Aug 06, 2006 9:40 pm ] |
| Post subject: | |
Spodi wrote: Hover over RealX and RealY - they are more then likely out of the array's bounds (ie = 0).
In other words, you are not getting the right values. Just a guess - never used Mirage myself, but know plenty about debugging. Coordinates: 0, 0 exist. The RealX and RealY have to be lower than 0, or greater than your max mapX and max mapY. |
|
| Author: | Gilgamesch [ Sun Aug 06, 2006 10:26 pm ] |
| Post subject: | |
but thats not the case :/, if i go with the mosue over realx or realy is says: Realx = 11 RealY = 0 thanks! |
|
| Author: | Kenko [ Sun Aug 06, 2006 11:50 pm ] |
| Post subject: | |
If maps are an array on the client-side now, you'll need to state which map you're blting. Map(MAPNUMBER).Tile(X,Y) etc. |
|
| Author: | Dr. Spoon [ Mon Aug 07, 2006 12:16 am ] |
| Post subject: | |
I know for a fact Map client side is not an array but sMaps is an array Map = the map you are on sMaps = the surounding maps I have gotten the same error but with sMaps not realy sure how to fix this error though (been kind of busy not much time to program) |
|
| Author: | Misunderstood [ Mon Aug 07, 2006 2:13 am ] |
| Post subject: | |
Did you make the tile array dynamic? |
|
| Author: | Gilgamesch [ Mon Aug 07, 2006 10:34 am ] |
| Post subject: | |
Verrigan helped me to fix this problem (it had something todo with a packet data that was sendet wrong) anyway, thankyou very much for trying to help me guys |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|