Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

GMCP issue

BannBann Member Posts: 268 ✭✭✭ - Distinguished
I'm getting this kind of error:
[ERROR:] object:<GMCP Shows Vessel> function:<trigger2694condition0>
         <[string "function trigger2694condition0()..."]:2: attempt to index field 'Room' (a nil value)>
[ERROR:] object:<Prompt Map> function:<Trigger2698>
         <[string "..."]:3: attempt to index field 'Room' (a nil value)>

But...

my gmcp.Room populates fine, and so does all of the stuff that Shows Vessel uses. My Keneanung basher also errors out in the same way. They still work, just....it puts this large black box at the bottom of my main display window which disappears after a moment, but it's kind've annoying as piss.





Comments

  • ZahanZahan Member Posts: 158 ✭✭✭ - Distinguished
    GMCP itself appears to be working just fine.

    What you have is an issue with scripts that, for whatever reason, call on a variable without checking if it's defined first or making damn sure it exists beforehand.

    You might be able to just add a simple conditional return before the variable inside the broken scripts.  Something like "if not actual_variable then return end" should do the trick for stopping the errors.  That doesn't really address the underlying problem (whoever coded those obviously means for them to work right) though.
    Click here for Nexus packages
    Currently available: Mapmod, Keepalive
    In development: sPrompt, Huntsman
  • KeneanungKeneanung Member Posts: 496 ✭✭✭✭ - Eminent
    Is the error reoccuring during playing or does it only happen immediately after startup and then stop erroring?
  • BannBann Member Posts: 268 ✭✭✭ - Distinguished
    @Keneanung - Recurring.

Sign In to Comment.