02-04-2009, 12:01 PM
Hi, I've recently used the "kingdoms" tutorial in the old tutorials section of the forum. I've made a couple of alterations to get the code to actually work, however, I've now run into a problem. Whenever anyone logs out the game, everyone else left on gets a "RTE 9: subscript out of range" error.
I've ran it through the debug and it highlights this line:
Call SetPlayerkingdom(i, Val(Parse(10)))
which is under "Player data packet", I've checked the packet the server sends and found that it does send the players kingdom information. So now I'm confused as hell, I know the answer to this is going to be simple as hell, but well atm I'm confused.
Thanks in advance for any help
I've ran it through the debug and it highlights this line:
Call SetPlayerkingdom(i, Val(Parse(10)))
which is under "Player data packet", I've checked the packet the server sends and found that it does send the players kingdom information. So now I'm confused as hell, I know the answer to this is going to be simple as hell, but well atm I'm confused.
Thanks in advance for any help
