Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTE9: subscript out of range
#1
After following the paperdoll tutorial I came across this one:
[Image: 2005589736129524913_th.jpg]

Does someone know what could have caused this?
Reply
#2
It means you went out of an expected range... What line did it highlight.
Reply
#3
It did not highlight anything, I was connecting and before I could choose my character it froze.
Reply
#4
When the Vb 6 IDE hits an error, it highlights the line of code that causes it.
Unless you were running it compiled for whatever reason.
Reply
#5
He is, because there isn't a debug button.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#6
Quote:When the Vb 6 IDE hits an error, it highlights the line of code that causes it.
Unless you were running it compiled for whatever reason.
I used to run it compiled, I assumed that was okay, but it isn't, sorry

I ran it in vb6 and the following line was highlighted:
Client side
[Image: 2006361030515826336_th.jpg]
Reply
#7
Is parse(0) actually a number instead of a string?
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#8
No it's fine, Doesn't it run faster compiled?

Or something like that.
Reply
#9
Code:
Packet = "itemworn" & SEP_CHAR & Index & SEP_CHAR & Armor & SEP_CHAR & Weapon & SEP_CHAR & Helmet & SEP_CHAR & Shield & SEP_CHAR & END_CHAR
Reply
#10
Just move the lcase below the split parse... -_-
Reply
#11
Now I'm getting RTE6: overflow

It highlights:

Client side, ModClientTCP
Code:
Start = InStr(PlayerBuffer, END_CHAR)
Reply
#12
Client side, ModClientTCP
[Image: 2001973608497759121_th.jpg]
Reply
#13
It's okay to post the fullsize screenshots. I'm tired of looking on that.

I can't for the life of me (Just woke up) remember how to fix RTE6. I know I hate it though, it's annoying.

If I can remember, I'll post again. I just wanted to tell you to stop using thumbnails. =P
Reply
#14
Dave Wrote:I'd say just go back to your backup (you DID make a backup, didn't you?) and retry it. It's a tutorial that a lot of people have followed without problems, you shouldn't have had so many.

Of course I have backups :wink: , thanks for the help and effort.

EDIT:
copy/pasted it again, problem solved, it works perfect, thanks for the patience gracious lads that replied to my question.
I wish thou peace in thou lives and chocolate cream donuts as 4:00 AM breakfast
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)