Figured I'd start a general bugs and errors thread so things are a bit more organized than being tossed willy-nilly into the beta release thread. I encountered this error today when working on a Questnet Multiplayer game with 4.0, though I'm pretty sure it still happens with older versions of Quest as well.
When using a library to contain procedures used in the
Description section of the game definition, I recieve a "Run-Time Error 9: Subscript out of range" error.
I've thoroughly checked my code, and while adding the libraries procedures to the main ASL file seems to remedy the problem, it still seems like a bug/error.
Here's some simplified code to prove and reproduce the problem.
ASL Code
!include <display.lib>
!include <net.lib>
define game <Arena>
asl-version <390>
gametype multiplayer
start <arena>
game version <1.00>
game author <Alex Warren>
description {
do <display.msg>
}
end define
Library Code
!addto game
define procedure <display.msg>
msg <testing.|n>
end define