| Mirage Source http://www.miragesource.net/forums/ |
|
| RTE9: subscript out of range http://www.miragesource.net/forums/viewtopic.php?f=201&t=2561 |
Page 1 of 2 |
| Author: | jiros [ Tue Aug 28, 2007 7:14 pm ] |
| Post subject: | RTE9: subscript out of range |
After following the paperdoll tutorial I came across this one: ![]() Does someone know what could have caused this? |
|
| Author: | Rezeyu [ Tue Aug 28, 2007 7:23 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
It means you went out of an expected range... What line did it highlight. |
|
| Author: | jiros [ Tue Aug 28, 2007 8:14 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
It did not highlight anything, I was connecting and before I could choose my character it froze. |
|
| Author: | Rezeyu [ Tue Aug 28, 2007 8:16 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
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. |
|
| Author: | Robin [ Tue Aug 28, 2007 8:31 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
He is, because there isn't a debug button. |
|
| Author: | Robin [ Tue Aug 28, 2007 11:32 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
Is parse(0) actually a number instead of a string? |
|
| Author: | Rezeyu [ Tue Aug 28, 2007 11:38 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
No it's fine, Doesn't it run faster compiled? Or something like that. |
|
| Author: | Lea [ Wed Aug 29, 2007 3:52 am ] |
| Post subject: | Re: RTE9: subscript out of range |
Server side, search "ItemWorn" and tell me the Packet = "" line. kthx |
|
| Author: | jiros [ Wed Aug 29, 2007 12:08 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
Code: Packet = "itemworn" & SEP_CHAR & Index & SEP_CHAR & Armor & SEP_CHAR & Weapon & SEP_CHAR & Helmet & SEP_CHAR & Shield & SEP_CHAR & END_CHAR
|
|
| Author: | William [ Wed Aug 29, 2007 1:06 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
Just move the lcase below the split parse... -_- |
|
| Author: | Lea [ Wed Aug 29, 2007 1:33 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
William wrote: Just move the lcase below the split parse... -_- Brilliant! that Parse = Split line is the magical one, it makes the rest of the system work. Move your packet below that one and it will work I did notice a few other bugs, though, so check it well (its stupid errors) |
|
| Author: | jiros [ Wed Aug 29, 2007 4:39 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
Now I'm getting RTE6: overflow It highlights: Client side, ModClientTCP Code: Start = InStr(PlayerBuffer, END_CHAR)
|
|
| Author: | Lea [ Thu Aug 30, 2007 12:39 am ] |
| Post subject: | Re: RTE9: subscript out of range |
What is 'Start' defined as? |
|
| Author: | jiros [ Thu Aug 30, 2007 11:06 am ] |
| Post subject: | Re: RTE9: subscript out of range |
Client side, ModClientTCP
|
|
| Author: | Matt [ Thu Aug 30, 2007 12:08 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
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 |
|
| Author: | Lea [ Thu Aug 30, 2007 12:32 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
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. |
|
| Author: | jiros [ Thu Aug 30, 2007 1:15 pm ] |
| Post subject: | Re: RTE9: subscript out of range |
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 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 |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|