I need help with a scripting error in quest journal!

I am pretty new at this so....

I am using a script called Quest Journal and I created a quest and I got this:

Error 1.png

from this script:

when 1 # Quest 1 - Find the Hithrow pieces 1/5 q[:name] = "Find the Hithrow pieces 1/5" q[:level] = 1 q[:icon_index] = 3 q[:description] = "The Pieces of this magical crystal called the Hithrow crystal disappeared." q[😮bjectives][0] = "Talk to Archeologist" q[😮bjectives][1] = "Search the Gorna tower for the piece" q[😮bjectives][2] = "Slay the beast who lives in the tower" q[😮bjectives][3] = "Return the stone to the Archeologist" q[😛rime_objectives] = [1] q[:custom_categories] = [] q[:banner] = "" q[:banner_hue] = 0 q[:client] = "Guartan Archeologist" q[:location] = "Gorna tower" q[:common_event_id] = 0 q[:rewards] = [ [:item,1,3], [:gold,200], ] q[:layout] = falsePlease Help!
please give us a link to the script that ur using... putting just that part isn't enough... 🙂
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Here Is The Link to the script:

http://rmrk.net/inde...ic,45127.0.html

Thanks!
Here Is The Link to the script:

http://rmrk.net/inde...ic,45127.0.html

Thanks!
Can it be that you edited that script in its display area?

A simple comparison of your screenshot with the original screenshot of the quest journal lets me assume that you did, because in the original the left bar is about half the wide of the main window, while in your screenshot it's about one third of the main window only.

And the display errors in your screenshot usually doesn't have anything to do with quest content - this can only happen if something mixed up the display coding.

And that can only be happen if either a menu script changed the general screen configuration (unlikely but not impossible) or if someone manually edited the display part of the journal scene (more likely in my opinion).

In that case, we'll either need to know what changes you made to the journal script, or we need to know what other scripts you have in your project.
when 1 # Quest 1 - Find the Hithrow pieces 1/5 q[:name] = "Find the Hithrow pieces 1/5" q[:level] = 1 q[:icon_index] = 3 q[:description] = "The Pieces of this magical crystal called the Hithrow crystal disappeared." q[😮bjectives][0] = "Talk to Archeologist" q[😮bjectives][1] = "Search the Gorna tower for the piece" q[😮bjectives][2] = "Slay the beast who lives in the tower" q[😮bjectives][3] = "Return the stone to the Archeologist" q[😛rime_objectives] = [1] q[:custom_categories] = [] q[:banner] = "" q[:banner_hue] = 0 q[:client] = "Guartan Archeologist" q[:location] = "Gorna tower" q[:common_event_id] = 0 q[:rewards] = [ [:item,1,3], [:gold,200], ] q[:layout] = falseInstead of the original that you see in the example:

q[:name] = "Runaway Bride" q[:level] = 3 q[:icon_index] = 7 q[:description] = "A local woman was abducted by bandits on the night of her wedding." q[😮bjectives][0] = "Talk to Boris" q[😮bjectives][1] = "Search the Haunted Woods for Boris' wife, Ladia" q[😮bjectives][2] = "Slay the Bandits" q[😮bjectives][3] = "Escort Ladia back to Boris" q[😛rime_objectives] = [1, 2] q[:custom_categories] = [] q[:banner] = "" q[:banner_hue] = 0 q[:client] = "Boris" q[:location] = "The Haunted Woods" q[:common_event_id] = 0 q[:rewards] = [ [:item, 1, 3], [:gold, 500], ] q[:layout] = falseAnd instead of :

BASIC_DATA_TYPES = [:client, :location]I have:

Code:
BASIC_DATA_TYPES = [:name, :client, :location, :objectives, :rewards]
If those snippets are all you changed, then you didn't read the instruction for changing BASIC_DATA_TYPES.

Those instructions begin in line 255, and they specifically state that you have to make changes to at least three other places in order for those changes in Basic_data_types to display correctly....

And I still doubt that a change there could cause the sidebar to be of reduced wide, so there have to be additional changes made - either by yourself as testing and then forgotten, or by an incompatibility with a different script.
Err, take :name, 😮bjectives, and :rewards out of the BASIC_DATA_TYPES array.

That array is only for creating new kinds of data that have the same basic format as :client and :location. :name, 😮bjectives, and :rewards have their own customized manner of displaying, and it is different from how :client and :location show up.

If what you are looking to do is change the layout of the script, then you need to edit the DATA_LAYOUT array, which has instructions starting around line 287.
Thanks Andar, Adiktuzmiko, and Modern Algebra! That really helped and now my quest log looks perfectly fine now!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-with-a-scripting-error-in-quest-journal.15845/