Page 1 of 2
Unexpected symbol error
Posted: Fri Oct 24, 2014 11:25 am
by DrKojak
So this happened, i cannot load the dungeon now.
Is there a way to fix this? im afraid i don't have a backup and have gone quite far into the dungeon.
It's possible for me to upload it somewhere if there is a way to recover it.
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:31 am
by NutJob
It's literally telling what line is having the problem. Go to C:\Users\YOURNAME\Documents\Almost Human\Legend of Grimrock 2\Dungeons\YOURMODULE\mod_assets\scripts and open dungeon.lua and fix what's wrong on line 3408
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:38 am
by dancodan
A friend told me that if you get a problem on a line, it could actualy be the line above it that has the root cause. The line pointed out in the error message is just the symptom.
I don't know, just my two cents..
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:40 am
by NutJob
Perhaps a concatenation with an ellipsis?
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:46 am
by DrKojak
NutJob wrote:It's literally telling what line is having the problem. Go to C:\Users\YOURNAME\Documents\Almost Human\Legend of Grimrock 2\Dungeons\YOURMODULE\mod_assets\scripts and open dungeon.lua and fix what's wrong on line 3408
The thing is this all seems to be correct, removing any of the symbols near the "." doesn't work
I will however try to delete the alcove and letter entirely and see if it corrects itself regardless and let you know.
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:49 am
by cromcrom
I wouldn't start an item ref with a . in the first place....
Or maybe you forgot the "letter" before .item ?
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:50 am
by NutJob
You're missing the object reference.
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:52 am
by Doridion
Already answered there =>
viewtopic.php?f=22&t=7703
Thanks to search before asking
And for your problem, try to write in 3407 and 3408 lines : XXXX.item, and not just ".item" ^^
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:52 am
by DrKojak
NutJob wrote:You're missing the object reference
cromcrom wrote:I wouldn't start an item ref with a . in the first place....
Or maybe you forgot the "letter" before .item ?
im a dumbass, that's what's missing!
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 11:55 am
by NutJob
DrKojak wrote:NutJob wrote:You're missing the object reference
cromcrom wrote:I wouldn't start an item ref with a . in the first place....
Or maybe you forgot the "letter" before .item ?
im a dumbass, that's what's missing!
~shrugs~
Anyone can do this, no worries. Get them pellets where they need to be! Oh, may want to give it a better unique ID than just "". ~laughs~
Yeah, because "lol, cause im a very good scripter, i have" is so descriptive.
Doridion wrote:And for your problem, try to write in 3407 and 3408 lines : XXXX.item, and not just ".item" ^^
And 3406.