runtime error 9 problem

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

DimitrisPowerSeven
Volcano Lotus
Volcano Lotus
Posts: 519
Joined: Sun Apr 06, 2014 8:56 am

runtime error 9 problem

Postby DimitrisPowerSeven » Sun Jul 20, 2014 9:53 am

I make a level when i test it came out runtime error 9 what is it? and how can i fix it?

HeroLinik
Larry Koopa
Larry Koopa
Posts: 3464
Joined: Fri Dec 20, 2013 1:28 pm
Contact:

Re: runtime error 9 problem

Postby HeroLinik » Sun Jul 20, 2014 12:52 pm

What is happening in the level? How many warps, water boxes, and other sprites have you used? Check over the level, and try and find something that looks out of the ordinary. Try lowering the amount of blocks/NPCs/BGOs/warps as well, as a counter-measure.

DimitrisPowerSeven
Volcano Lotus
Volcano Lotus
Posts: 519
Joined: Sun Apr 06, 2014 8:56 am

Re: runtime error 9 problem

Postby DimitrisPowerSeven » Sun Jul 20, 2014 1:05 pm

i use 4 warps 74 npc 2983 blocks 423 background and no water

bossedit8
Banned
Posts: 6838
Joined: Fri Dec 20, 2013 12:35 pm
Contact:

Re: runtime error 9 problem

Postby bossedit8 » Sun Jul 20, 2014 2:23 pm

Please give us the Level per Download Link so we can find the solution to this Problem. I often get a "Subscript out of Range" when a Script gets too much for a Program to handle and that is in SMBX itself, nothing on your PC.

Example: If any type of Power Up (Poison Mushroom counts too even know it is tecnically not a Power Up) falls into a Lava Tile while your Level has so much going on (length of the Level; a lot of Events, Blocks, background objects, NPC, etc...) an Error pops up and says "Subscript out of Range". There are more but that happens pretty often on a strong Level.

DimitrisPowerSeven
Volcano Lotus
Volcano Lotus
Posts: 519
Joined: Sun Apr 06, 2014 8:56 am

Re: runtime error 9 problem

Postby DimitrisPowerSeven » Sun Jul 20, 2014 2:41 pm


Mineblock5000
Goomba
Goomba
Posts: 1
Joined: Thu Nov 03, 2016 3:33 pm

Re: runtime error 9 problem

Postby Mineblock5000 » Thu Nov 03, 2016 3:36 pm

I also get the error when I try to use a key on a locked warp.

bossedit8
Banned
Posts: 6838
Joined: Fri Dec 20, 2013 12:35 pm
Contact:

Re: runtime error 9 problem

Postby bossedit8 » Thu Nov 03, 2016 10:10 pm

Mineblock5000 wrote:I also get the error when I try to use a key on a locked warp.
How even is that possible to happen? It usually doesn't happen like anyone else here. Are you sure it's only the key and the locked warp that causes that error to appear?

lordsmiley
Goomba
Goomba
Posts: 3
Joined: Tue Jul 18, 2017 2:46 pm

Re: runtime error 9 problem

Postby lordsmiley » Wed Jul 19, 2017 2:34 pm

Something in the script is probably in another folder, or contradicting itself. Did you add any things in?

MinecraftFan355
Shy Guy
Shy Guy
Posts: 5
Joined: Sun Sep 03, 2017 10:55 am
Contact:

Re: runtime error 9 problem

Postby MinecraftFan355 » Sun Sep 03, 2017 11:31 am

I was testing 2 player mode on one of my levels. when the lives went to 0 and i died again, a popup box appeared and it said: "Runtime error '9': Subscript out of range" WHAT IS THIS??? :shock: Please help me why it appears and how to fix it. it would help me alot :) :) :)

Hoeloe
Phanto
Phanto
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: runtime error 9 problem

Postby Hoeloe » Sun Sep 03, 2017 12:49 pm

We need to kmow which version of the game you're playing. SMBX 38A is known to have a few bugs in it that causes this error. SMBX 1.3 does too, but those are mostly fixed in SMBX2.

Also, that error isn't specific. It can occur for a number of different reasons. The only information it really gives is "something went wrong". That's why everyone is asking you questions. It would help you if you would answer them.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 5 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari