Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: ProcioneSx on Wed 20/10/2021 22:59:50

Title: Errors when trying to edit a room created from a template
Post by: ProcioneSx on Wed 20/10/2021 22:59:50
Hello ags users,

whenever I create a new room from a custom room template and try to edit it, AGS shows these three error messages in sequence (the first two images refer to the same popup):

(https://i.ibb.co/HPgmP1R/Immagine-2021-10-20-235347.png) (https://ibb.co/HPgmP1R) (https://i.ibb.co/VDTR5mK/Immagine-2021-10-20-234209.png) (https://ibb.co/VDTR5mK) (https://i.ibb.co/3FD4C6y/Immagine-2021-10-20-234219.png) (https://ibb.co/3FD4C6y) (https://i.ibb.co/0DzSnLY/Immagine-2021-10-20-234226.png) (https://ibb.co/0DzSnLY)

I read a similar topic but the errors didn't seem the same as mine and I was suggested to open a new one, since its last reply was dated 2014.

Thanks to everyone who will help me  :smiley:

Title: Re: Errors when trying to edit a room created from a template
Post by: Crimson Wizard on Wed 20/10/2021 23:53:51
It looks like either room template is corrupted, or was made in a old version of AGS, and not supported by the new editor.

If it's necessary, I might probably be able to tell more if you send me this room template.
Title: Re: Errors when trying to edit a room created from a template
Post by: ProcioneSx on Thu 21/10/2021 21:53:33
Thanks for your help.

The template has been createad in the same instance of AGS where I want to use it, and its version is 3.5.0.

The room the template has been created out of has no background and has a bunch of event handler in the script file.
A strange thing I noticed is that the code in the script file of the new room (created using the template) is cut in the middle of a function.

(https://i.ibb.co/Cv1vF3H/Immagine-2021-10-21-223813.png) (https://ibb.co/Cv1vF3H)

Here's the template file, in case you need it:
https://drive.google.com/file/d/1bH1W1IY1o5LsjHRIP7upN2PBI5NBUu1A/view?usp=sharing

Thank you for your time.