[help please] Scripting errors

Joined
Feb 18, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I'm still new to the RPG maker VX Ace and I'm having a lot of trouble with scripting (especially since I've never done it before) and I keep get the error:

Script 'game_interpreter' line 1411: SyntaxError occurred.

unexpected keyword_in, expecting $end

What do I do to fix this? Thank you for reading and attempting to help me, I appreciate the time spent.
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
Please link us to the script that is causing the problem and let us know what other scripts you're using. 

Or did you script it yourself?
 

Mike

Veteran
Veteran
Joined
Aug 28, 2013
Messages
316
Reaction score
36
First Language
English
Primarily Uses
Based on the interpreter error. It has something to do with the script call that you make. The statement that you declared requires closing statement 'end', and you didn't add it.

http://hhh.gavilan.edu/dvantassel/history/stop-end.html

Code:
if @asd  "do something"end #closing statementdef asd; "do something" end(0...5).each do |i| p i end
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
Sorry, I don't know much about scripting other than what I've learned from using/getting my own to work. Did you just add this script and then get the error?
 

Mike

Veteran
Veteran
Joined
Aug 28, 2013
Messages
316
Reaction score
36
First Language
English
Primarily Uses
May we see the 'event' page?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
"scripting" in RM is basically a form of programming, and the Quest journal from Modern Algebra is one of the few scripts where you have to know something about scripting in order to be able to use this.


Especially you need to change the script you're using in order to create the quests, and for that reason it's useless to link us to the original script, we need to know how you changed that script to create your own quests.


You cannot simply place your own quest into events or into script commands in events, they have to go into the script editor, into the section of the quest journal where they are supposed to be.


So please copy your modified script from the script editor and paste it here (with code- and spoiler-tags to keep it readable, or attach it as a txt-file), so that we can tell you where you wrote the wrong commands
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


I don't have Ace in front of me now, but line 1411 of Game_Interpreter sounds familiar. Isn't it the Call Script command? If it is, it means you've got an event somewhere that does a Script call, and it's not right.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
yeah, 1411 is eval(script)...


Please specify when the error happens, if it happens when you trigger an event, please show us the event pages
 
Joined
Feb 18, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
sorry guys, my computer was hacked and All my memory on it was wiped, I have nothing, I was just now able to download everything. 

And I apologize for not putting this in the correct thread, I will pay more attention next time.

Where should I look to learn how to script thing better?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Where should I look to learn how to script thing better?
You don't need to write your own scripts to make a game, and from your original post I think you should either start to learn how to use existing scripts (which is not the same as scripting/writing scripts yourself) or to do things by eventing before trying to write scripts.
If you still have the data from the original problem, best way would be to start looking for that error by answering the questions we posted above.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top