Buffer exceeded in dialog scripting error!

Started by Drrqrq, Thu 22/02/2018 09:13:27

Previous topic - Next topic

Drrqrq

I have been making a game, and Ive came across an error than I am unable to fix.
And if you are asking "Did you search on the forums? :grin::grin:" Yes In fact I did search on the forums but I didnt find ANYTHING that would help me.

The error goes like this: "Dialog 2(1): Error (line 56): buffer exceeded: you probably have a missing closing bracket on a previous line"

BTW: I checked EVERYthing in my dialog, and I have not found a single error, so...would you help me with it?
-----------------------
Dialog script:

Code: ags

@S  // Dialog startup entry point
 cFallow.SayAt(155,35,350,"How may I help you gentlemen?");
return
@1
 cFallow.SayAt(155,35,350,"Well, my name is Peter Fallow and I am a owner of the house");
Dete:And, I guess you rent some of your rooms for money?
 cFallow.SayAt(155,35,350,"Yes, That is right.");
 cFallow.SayAt(155,35,350,"I suppose you are investigating the murder of Mister John, correct?");
 cPolice.SayAt(25,376,350,"Yes, we are");
option-off 1 
option-on 2
option-on 3
option-on 4
return
@2
 cFallow.SayAt(155,35,350,"Well, kind of, not really.");
Dete:Kind of?
 cFallow.SayAt(155,35,350,"I-I did talk to him sometimes, but he never really wanted, we had little in common.");
Dete:So..you had no relationship with the victim?
 cFallow.SayAt(155,35,350,"No, nothing.");
option-off 2
return
@3
 cFallow.SayAt(155,35,350,"Well..Mr. Richard has been lately very nervous and he is the one that taked care of him.");
 cFallow.SayAt(155,35,350,"..since you know..he is or was on a wheelchair.");
option-off 3
option-on 5
option-on 6
return
@4
 cFallow.SayAt(155,35,350,"Yes! Yes of course!");
 cFallow.SayAt(155,35,350,"In 4-5pm I was with Mr.John im my apartment and we were playing chess.");
 cFallow.SayAt(155,35,350,"Then, at around 5..5:15pm he left and did go to the bathroom.");
 cFallow.SayAt(155,35,350,"He THEN returned to his aparment and that is the last time I saw him..alive.");
Dete:Did you saw anyone going to his aparment?
 cFallow.SayAt(155,35,350,"I think at aroud 7pm Mr.Richard entered his aparment, I think he was bringing him a glass of water or some food.");
 cFallow.SayAt(155,35,350,"I didnt saw anyone else enter Mr.Johns room."); 
option-off 4
return
@5
 cFallow.SayAt(155,35,350,"He was friend of Mr.John");
 cFallow.SayAt(155,35,350,"I didnt really knew him or anything so I cant help you in that manner.");
option-off 5
return
@6
 cFallow.SayAt(155,35,350,"Hey! You cant take other peoples stuff!);
Police: Actually we can, law enables it.
 cFallow.SayAt(155,35,350,"Well, okay now, Mr.John was just-he..he didnt pay his rent on time!");
 cFallow.SayAt(155,35,350,"Just..For the last 3 months he didnt pay his rent, and I just wasnt here at the time, so I wrote him a letter.");
 cFallow.SayAt(155,35,350, "Complaining about this!");
Dete:Thats all?
 cFallow.SayAt(155,35,350,"Yes, it is");
option-off 6
return
@7 //  ((This is where the error happens))
Dete:Thanks for the information, goodbye for now.
stop

Snarky

#1
Line 46: You're missing the closing "

(Notice that the colors go all wonky after that line, with all the code that ought to be black in dark red and all the strings that should be dark red in black and occasionally other highlights.)

Drrqrq

Quote from: Snarky on Thu 22/02/2018 09:31:18
Line 46: You're missing the closing "

Thanks so much! I was pretty tired after making that dialog so I didnt notice,it.

SMF spam blocked by CleanTalk