Mirage Source
Rusty Programmer needs help - 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: Rusty Programmer needs help (/showthread.php?tid=1520)



Rusty Programmer needs help - Wit119o - 20-01-2008

Well, knowing that i am soon going to be adding a lot to the map editor I went to try and make map.tile(0 to Max_MAPX, 0 to MAX_MAPY) As TileRec and change it to map.tile() as tilerec. Then i began to redim it where need be. However, it does not seem to be working is this even the right redim code for the client side?(testing client side first because I can have visual results).

Code:
ReDim Map.Tile(0 To MAX_MAPX, 0 To MAX_MAPY)

Got client to work... time for server now... any hints would be helpful

Actually, got it to work on my own... just took a little thinking


Re: Rusty Programmer needs help - Dragoons Master - 20-01-2008

That is correct, but you need to use that on the correct place, InitServer should be a great place, before any map instance is used.


Re: Rusty Programmer needs help - Wit119o - 20-01-2008

Yea, a little after I posted the initial question i fugured it out, all is working now.. might make a begginer tut for others once i make sure it's bug free and i didn't screw something up.