Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

ZTBS Problem (Something about the Interpreter 2 script)

Status
Not open for further replies.

Hero

Member

http://img340.imageshack.us/img340/47/errorsr0.th.png[/IMG]

I keep getting that error everytime the victory common event ends. The code on the line that the error mentions is here (Bolded line is the error)

def command_end
# Clear list of event commands
@list = nil
# If main map event and event ID are valid
if @main and @event_id > 0
# Unlock event
$game_map.events[@event_id].unlock
end
end

Does anyone know what the problem is? It used to work, like awhile ago but all of a sudden, it stopped working. At first, I thought it was because I changed the battle animation part in the Actors Actions script for the ZTBS since it was the last thing I changed before the script messed up but even returning it to normal didn't help.
 

Hero

Member

Well, what scripts do you know that might be incompatible? I've tried contacting Mac but he hasn't responded yet. Also, I've checked that topic already and can't seem to find a similar problem either.
 

Anonymous

Guest

If you haven't found it in the topic and it used to work fine then I would guess a script clash again, but not knowing what scripts you have I wouldn't know.

so I suggest 2 things.

1. create a new blank project and paste the script there and test it, if it works fine then a script or script change most probably is the problem. then you will have to copy other scripts one at a time until/when/if you get the error message.

2. double check your event and make sure nothing extra or less is there (which im sure won't be the problem due to you using the script before)

other than that I wouldn't know sorry, I have downloaded the demo and tried it and have copied the script into one of my testing projects and haven't found that error.

If you get the error in the blank project, you can PM me the script and tell me how you set the common event and I can test/fix it, but hopefully #1 or #2 can help you.

A quote by by Soulcube
the only bad thing about scripts is sometimes they require more resources and not compatible with some scripts...so careful with adding scripts
 

Hero

Member

Thanks for the help. I don't remember commenting out that line so it works though but anyway, problem resolved. I'll let you know if another problem comes up.
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top