Help With Modern Algebra Journal

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I am having a problem with the Modern Algebra Journal Script. I have the quest system set up and everything works fine. I have my reward set to give XP and I have set an icon for the give XP reward as shown in the instructions. However when I go into my game to test it. The quest reward in the menu shows as a bag as the icon and the text Hand Axe next to it. I have not set these in any of the settings so I cant figure out why they are showing as rewards?


This is my Quest Line


    when 0
      q[:name]              = "Old Sailor's Beer."
      q[:icon_index]        = 725
      q[:level]             = 1
      q[:description]       = "An Old Sailor has asked you to buy him a drink."
      q[:objectives][0]     = "Buy a Beer."
      q[:objectives][1]     = "Give the Old Sailor his Beer."
      q[:prime_objectives]  = [1,]
      q[:custom_categories] = []
      q[:banner]            = ""
      q[:banner_hue]        = 0
      q[:client]            = "Sea Captain"
      q[:location]          = "Westray Pub"
      q[:rewards]           = [:exp, 15,]
      q[:common_event_id]   = 0


I have included a screenshot of the reward the quest shows,

journal bug screenshot.jpg
 

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
    #   q[:rewards]           = []
    #    [] - In this array, you can identify particular rewards that will 
    #       show up. Each reward should be in its own array and can be any of
    #       the following:
    #          [:item, ID, n],
    #          [:weapon, ID, n],
    #          [:armor, ID, n],
    #          [:gold, n],
    #          [:exp, n],



This part, you need to tell which kind of reward it is.


Edit: Which you have, this is actually a bit weird. Let me have another look at the script.


The only thing I can find about that is on line 358:


    # reward_exp: Text to identify exp rewards
    reward_exp:       "",


Is this set to Hand axe perhaps?
 
Last edited by a moderator:

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
thank you for a speedy reply dude.


although it is blank on the lines you suggested.


    # reward_exp: Text to identify exp rewards
    reward_exp:       "",


Edit: Maybe if i actually input some text into that line the hand axe and icon will go away. I will try that.


Edit 2: the hand axe and sack icon still show.
 
Last edited by a moderator:

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
Might be a problem with another script then. I tested it out in my project and it shows as a blue text if you add reward text for Exp.


Test it out in a new project and see if it works there, if you get the same you know that It's something with the quest script (which is highly doubtful, since :Exp, amount of exp should only show Icon and the amount).
 

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I have multiple yanflyt scripts and also some crafting scripts. its possible its on of those. thanks for your help :D.
 

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I copied the script over and it still shows the hand axe but it displays an actual axe icon as its using the default iconset.
 

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
I copied the script over and it still shows the hand axe but it displays an actual axe icon as its using the default iconset.


Then we have established that It's something wrong in the actual Quest journal script. You tested it in a completely new project right?


Not sure what else could be wrong, do you have multiple inputs of same quest and trigger the wrong one when revealing it?


Not sure how I could help without actually seeing the whole script and the inputs you have done to it. Are you able to send a project with the script setup?
 

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I can created another instance of the map and quest for you to try. Or if you would like you could test my demo for me and give me some feedback on it?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
You have to start a new game. If that quest had a default set up to hand axe and you saved with that set up, it will be hand axe until you start a new game, as you cannot change quest setups mid-way in a game. Start a new game and see what happens.
 

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I start a new game eveytime i test something new dude.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
@TartanTerror, your line for the rewards is wrong, it's missing the external array.


See the original example:


q[:rewards] = [
[:item, 1, 3],
[:gold, 500],
]


Even if you have only one data line, you still need the external [ ]

Code:
correct:    q[:rewards]           = [[:exp, 15],]
your version:    q[:rewards]           = [:exp, 15,]
 

TartanTerror

Villager
Member
Joined
May 15, 2016
Messages
9
Reaction score
0
First Language
English
Primarily Uses
awesome!!! thank you Andar. I have not done any progress on my game for hours becuase this has been bugging me. I can get back to work now!! Thanks again.


Edit: Where can I post a demo for feedback?  A larger demo than what I posted for my script fix.
 
Last edited by a moderator:

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
Haha well that was an easy fix! Great going Andar, finding the small things that we miss! ;)  
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top