I need help with a scripting error in quest journal!

Status
Not open for further replies.

GoldMedalGames

Villager
Member
Joined
Jul 24, 2013
Messages
6
Reaction score
0
First Language
English
Primarily Uses
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[:objectives][0] = "Talk to Archeologist" q[:objectives][1] = "Search the Gorna tower for the piece" q[:objectives][2] = "Slay the beast who lives in the tower" q[:objectives][3] = "Return the stone to the Archeologist" q[:prime_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!
 

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
please give us a link to the script that ur using... putting just that part isn't enough... :)
 
Last edited by a moderator:

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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

GoldMedalGames

Villager
Member
Joined
Jul 24, 2013
Messages
6
Reaction score
0
First Language
English
Primarily Uses
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[:objectives][0] = "Talk to Archeologist" q[:objectives][1] = "Search the Gorna tower for the piece" q[:objectives][2] = "Slay the beast who lives in the tower" q[:objectives][3] = "Return the stone to the Archeologist" q[:prime_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[:objectives][0] = "Talk to Boris" q[:objectives][1] = "Search the Haunted Woods for Boris' wife, Ladia" q[:objectives][2] = "Slay the Bandits" q[:objectives][3] = "Escort Ladia back to Boris" q[:prime_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]
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
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.
 

modern algebra

Veteran
Veteran
Joined
Sep 28, 2012
Messages
59
Reaction score
49
First Language
English
Primarily Uses
Err, take :name, :objectives, 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, :objectives, 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.
 

GoldMedalGames

Villager
Member
Joined
Jul 24, 2013
Messages
6
Reaction score
0
First Language
English
Primarily Uses
Thanks Andar, Adiktuzmiko, and Modern Algebra! That really helped and now my quest log looks perfectly fine now!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top