Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21254

Run-Time Error '9'

$
0
0
I recently downloaded an MMORPG engine. When I started and created an account, it worked, and I signed on. Then, when you go to choose your class, for the three different pictures is a big purple box. When you choose to select one of them, it says:

Code:

Run-Time Error '9'
Sub-script out of range

The exact line of code is
Code:

RenderTexture Tex_Char(sprite), x + 235, y + 123, 32, 0, 32, 32, 32, 32
These are the two times where the above line is referenced
Code:

RenderTexture Tex_Char(sprite), ConvertMapX(x), ConvertMapY(y), rec.left, rec.top, rec.Width, rec.height, rec.Width, rec.height
and
Code:

RenderTexture Tex_Char(sprite), 0, 0, 0, 0, Width, height, Width, height
The rest is calculations, and sprite is referenced for a greater/less than calculation.

Viewing all articles
Browse latest Browse all 21254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>