yeah, I'm had a feeling i was way off haha, that's why I wanted to post before i got any further into it, my logic behind instance_id was that i would take the map's ID as long as it was inside the instance map array, and well the math inside is to make sure every instance is assigned based upon a players user_id, but I don't know how to bring that map into the game, as that actual map is nil. I'm glad I posted before I continued going on that route though, I have a feeling this is gonna be a bit more complicated than I had planned, lol but I'll still give it a try. Since I'm pretty much way off right now, May I ask you to point me in the right direction, How do I go about creating server side instance id's.
edit: okay, so lets say the map limit is 1000 since rmxp map's only go to 999 so 1000 will be the start of instance maps correct? and then every instance created after that will be + 1, but I'd need to do it so the server is assigning these maps, which would mean I'd need to create an extension for RMX-OS? and then assign each instance to each player that enters the map, then when they player is transfered to an instance map, I'd tell it to load the ID of (in example) 2(this last part is the part I don't quite grasp exactly, or maybe i got all of this wrong? xD hopefully not ><)