Mirage Source
rte 9? wth? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: rte 9? wth? (/showthread.php?tid=224)



rte 9? wth? - Gilgamesch - 06-08-2006

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)=

i dunno why :/, please help me guys!


thanks!


- Spodi - 06-08-2006

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. :wink:


- Kenko - 06-08-2006

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. :wink:

Coordinates: 0, 0 exist. The RealX and RealY have to be lower than 0, or greater than your max mapX and max mapY.


- Gilgamesch - 06-08-2006

but thats not the case :/, if i go with the mosue over realx or realy is says:


Realx = 11
RealY = 0



thanks!


- Kenko - 06-08-2006

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.


- Dr. Spoon - 07-08-2006

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)


- Misunderstood - 07-08-2006

Did you make the tile array dynamic?


- Gilgamesch - 07-08-2006

Verrigan helped me to fix this problem Smile


(it had something todo with a packet data that was sendet wrong)

anyway, thankyou very much for trying to help me guys Smile