Error (line 81)

Started by barefoot, Thu 03/02/2011 17:24:55

Previous topic - Next topic

barefoot

Hi

i've suddenly had this come up..


Failed to save room room13.crm; details below
_AutoGenerated.ash(81): Error (line 81): Variable ';' is already defined

I tried changing main music..

can you elaborate and help

barefoot
I May Not Be Perfect but I Have A Big Heart ..

ddq

What's on line 81 and surrounding lines in your script? This looks like just some kind of syntax error.

barefoot

No line 81 in room script and just normal ) in asc line 81
I May Not Be Perfect but I Have A Big Heart ..

Calin Leafshade

#3
It from the AutoGenerated script. Can't you read ddq?

I suggest trying Rebuild All from the build menu.

EDIT: Also check the global variables pane and make sure none of your variables have no name. (the editor probably wouldnt even allow this though)

barefoot

did rebuilt all.. still the same.. what can you suggest?

cheers
I May Not Be Perfect but I Have A Big Heart ..

monkey0506

_AutoGenerated.ash is an automatically generated, built-in script header file, so he wouldn't be able to tell us what the line actually says.

Check all of your Character, Hotspot, Object, Region, GUI, GUIControl, Dialog, AudioClip, etc. names in their respective panes in the editor. It sounds like at some point you put a semi-colon in one of these boxes and the editor isn't catching the error before it tries to compile it.

barefoot

#6
Hi

I actually did this.. i downloaded music file.. renamed it to an exsisting one and reloaded it.. then i got the error...  whicg now states room 1 as the same

I hope my backup copy puts it back as it should be,...

cheers

barefoot
I May Not Be Perfect but I Have A Big Heart ..

monkey0506

What is the full filename of the music file? Do you have more than one file with the same name but different file extensions?

barefoot

Hi Monkey

i had a backup copy so ok.. I'de obviously bal**ed it up changing the music files..

I will have to be more aware next time..

thank you

barefoot
I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk