Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

RTE 9 - Client


troglodite
 Share

Recommended Posts

Hello ppl!

In some maps, my client crashes, sending that: _Run Time Error 9 - subscript out of range_

Debugged line:

```

Resource_sprite = Resource(Resource_master).ResourceImage
```
Any ideas??

EDIT: I resolved it, erasing the resource in the map (X,Y localization)
Link to comment
Share on other sites

As far as I know this is a fairly common issue I've never been able to fully trace down (although I believe it involved placing down resource #0, which doesn't exist). The only way to fix it is to delete the involved maps or remove all resources from them with an external program you'd need to write up yourself.
Link to comment
Share on other sites

Well I only deleted one resource inside the map, that was involved in that problem, and the map is fixed ^^

If you hover this line, in debug:

```

Resource_master = Map.Tile(MapResource(Resource_num).x, MapResource(Resource_num).y).Data1
```
It will send you the coordinates of the "bugged" resource, so you can save the entire map
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...