Unqou

Veteran
Veteran
Joined
Mar 28, 2016
Messages
40
Reaction score
5
First Language
Italian
Primarily Uses
RMMV
Perhaps I am a bit stupid, and I missed something but:

Every time I try to use this plugin the "Unexpected identifier error" happens.

This is the complete error message, obtained pressing F8:
SyntaxError: Unexpected identifier
at Game_Interpreter.command355 (rpg_objects.js:10492)
at Game_Interpreter.executeCommand (rpg_objects.js:8930)
at Game_Interpreter.update (rpg_objects.js:8838)
at Game_Map.updateInterpreter (rpg_objects.js:6115)
at Game_Map.update (rpg_objects.js:6022)
at Scene_Map.updateMain (rpg_scenes.js:608)
at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
at Scene_Map.update (rpg_scenes.js:589)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
at Function.SceneManager.updateMain (rpg_managers.js:1983)

What I did:
I added an event (fixed event) wich contains only a script command with those parameters:
EnemyBook open
(I also provided a screenshot for this: see the attachment at the end of this post)

When I start a new game, and I try to activate that event, the error occurs.
I also tryed to add notetags to enemy (I am using the initial database, where only 4 enemies are added: bat, ogre, etc) like this one (example: bat)
<desc1:this enemy flies>
<desc2:and bites>
<book:yes>
But the problem still unsolved.

Additional informations:
1) I am using RpgMaker MV from steam (Linux version)
2) EnemyBook.js plugin is the one you will have in a new game, and NOT the one you can find in <Steam_RpgMaker_MV_DLC_directory>/KadokawaPlugins
3) Game project is a "blank" new one, with the standard database setups, with a single blank map (no buildings, no trees, only grass) and only 3 events in total (including the one I am asking about). No common events.
4) On play test, I run a new game. The other 2 events (not involving the plugin) runs fine. the JavaScript error trigger immediately after I try to activate the event wich tryes to make the "EnemyBook open" script call.
 

Attachments

  • EnemyBook_open.png
    EnemyBook_open.png
    185.6 KB · Views: 2
Last edited:

Unqou

Veteran
Veteran
Joined
Mar 28, 2016
Messages
40
Reaction score
5
First Language
Italian
Primarily Uses
RMMV
I tried the plugin you linked, but I had exactly the same problem.
I changed the event command to --> BeastBook open
I changed the notetags accordingly --> (here the example for Bat enemy)
<desc1:The mighty BAT>
<desc2:This is Line 2>
<desc3:Some Info here?>
<desc4:Even more Info!>

But... again the unexpected identifier.
It is a problem that I cannot figure how to solve myself, also becouse the F8 message does not point to any part directly related to the plugin involved in the problem, but points directly to core script lines, as you can see in my previous message
(As I said the problem is EXACTLY the same as before)

------------------

EDIT: SOLVED.
I didn't notice that, in the section "Advanced" there is another button "Plugin Command".
Changed the event command from "script call" to "plugin command" and I solved the issue. I feel a bit stupid.
However, out of curiosity: did you have also a suggestion for the Item Book script? (the Bestiary one you pointed seemed good)
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Screenshot-2021-05-02-at-15-07-54.png


Tivadar will help you travel to distant places in Eniko: Ghosts Of Grace

Finally done with the school project, here's the raw video of it. o_O :smile:
Can February March? No, but April May.

Forum statistics

Threads
111,173
Messages
1,058,959
Members
144,419
Latest member
harry30705
Top