Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subscript out of range?
#1
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
Reply
#2
Delete your accounts, start fresh.
Reply
#3
OK, tried it and now I get "type mismatch"

It highlights:
Code:
Level = CLng(Parse(n + 2))
in the Handleallchars sub client-side.
Reply
#4
Level = CLng(Parse(n + 2))

make it n + 3 and then next line do the same ( n + 4) etc.
Reply
#5
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.
Reply
#6
I've tried everything I can think of, any help?
Reply
#7
n00b question but... How would you do that XD.
Reply
#8
Juct Checking but, you said on the other topic that this will let it compile, but It wont work right.
Reply
#9
Lol, I want it to work AND compile.
Reply
#10
Way to ignore my post and try it. Jesus.
Reply
#11
Lol, sorry. It didn't work.

EDIT:Found the Problem, it was in the SendChars sub.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)