| Mirage Source http://web.miragesource.net/forums/ |
|
| Subscript out of range? http://web.miragesource.net/forums/viewtopic.php?f=201&t=5019 |
Page 1 of 2 |
| Author: | timster0 [ Sun Jan 25, 2009 7:21 pm ] |
| Post subject: | Subscript out of range? |
I get RTE 9 and it highlights this line in Sub SendChars: Code: Packet = Packet & SEP_CHAR & Trim$(Player(index).Char(i).Name) & SEP_CHAR & Trim$(Class(Player(index).Char(i).Class).Name) & SEP_CHAR & Player(index).Char(i).Level & SEP_CHAR & Trim$(Player(index).Char(i).Guild) & SEP_CHAR & Player(index).Char(i).Guildaccess
|
|
| Author: | Matt [ Sun Jan 25, 2009 7:34 pm ] |
| Post subject: | Re: Subscript out of range? |
Delete your accounts, start fresh. |
|
| Author: | timster0 [ Mon Jan 26, 2009 2:17 am ] |
| Post subject: | Re: Subscript out of range? |
OK, tried it and now I get "type mismatch" It highlights: Code: Level = CLng(Parse(n + 2)) in the Handleallchars sub client-side. |
|
| Author: | Tony [ Mon Jan 26, 2009 9:05 am ] |
| Post subject: | Re: Subscript out of range? |
Level = CLng(Parse(n + 2)) make it n + 3 and then next line do the same ( n + 4) etc. |
|
| Author: | timster0 [ Mon Jan 26, 2009 11:35 pm ] |
| Post subject: | Re: Subscript out of range? |
Actually, I forgot an & END_CHAR server side, but now it highlights the Code: Level = CLng(Parse(n + 2)) and I get RTE 9 again. I deleted all the accounts as well. I get this when I try to login. |
|
| Author: | timster0 [ Tue Jan 27, 2009 12:43 am ] |
| Post subject: | Re: Subscript out of range? |
I've tried everything I can think of, any help? |
|
| Author: | Lea [ Tue Jan 27, 2009 3:59 am ] |
| Post subject: | Re: Subscript out of range? |
redim parse(n+2) |
|
| Author: | timster0 [ Tue Jan 27, 2009 4:14 am ] |
| Post subject: | Re: Subscript out of range? |
n00b question but... How would you do that XD. |
|
| Author: | Lea [ Tue Jan 27, 2009 4:19 am ] |
| Post subject: | Re: Subscript out of range? |
copy paste is a good option |
|
| Author: | timster0 [ Tue Jan 27, 2009 4:26 am ] |
| Post subject: | Re: Subscript out of range? |
Juct Checking but, you said on the other topic that this will let it compile, but It wont work right. |
|
| Author: | Lea [ Tue Jan 27, 2009 4:30 am ] |
| Post subject: | Re: Subscript out of range? |
oh... I thought you wanted it to compile ;-; |
|
| Author: | timster0 [ Tue Jan 27, 2009 4:52 am ] |
| Post subject: | Re: Subscript out of range? |
Lol, I want it to work AND compile. |
|
| Author: | Tony [ Tue Jan 27, 2009 7:25 am ] |
| Post subject: | Re: Subscript out of range? |
Way to ignore my post and try it. Jesus. |
|
| Author: | timster0 [ Wed Jan 28, 2009 12:16 am ] |
| Post subject: | Re: Subscript out of range? |
Lol, sorry. It didn't work. EDIT:Found the Problem, it was in the SendChars sub. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|