Urgent help with Modern Algebra's Quest Journal needed

Status
Not open for further replies.

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
This is the second project that I have used  Modern Algebra's Quest Journal (found here) and up until now it's been without a problem.  Now I've hit a major problem.  I have tried to get a response from Modern Algebra over on rmrk.net, but he is not responding.  The problem is most easily explained by a screen shot.



As you can see, the last objective is being obscured by the line which separates objectives from the rewards section.  It's as if I have run out of space and I still have 3 more objectives to go before quest complete.  I cannot scroll down any further to see the rewards, 

Can anyone suggest a way of curing this?  Is it just that there's some length for this part coded in which can be increased?

I have a second problem which it would be very nice to cure, if at all possible.

Up until now I have had 2 totally separate parties, using Tsukihime's Party Manager script (found here ).  They have had their own inventories and gold, and - without me having to do anything - their own separate list of quests.  This was fine, because all side quests could only be discovered and completed by a specific party, they were not shared in any way.

I have just merged the two parties, and their inventories and gold have combined without a hitch.  However, the quests of the second party (which has been merged into the first party), did not add themselves to the quest list.  In one sense this is not the end of the world, because if they haven't completed them I can put blocks on so that they can't go back and finish them as a joint team.  However, it would be nice if they did show up.  Is this possible?
 

btw, I have no idea what that line of question marks is all about.  They just showed up.

Thank you.
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,337
Reaction score
2,511
First Language
French
Primarily Uses
RMVXA
About your quest journal bug, does swapping to another quest and then go back to this one change anything?

I've had a similar problem, maybe it's related.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
No it doesn't change anything.  Nor does it make a difference whether I view it in the All Quests list (as shown in the screen shot) or in the Uncompleted Quests list.

EDIT

This is the only quest I have which is so long.  The others, being side quests, typically have only 3 or so objectives.
 
Last edited by a moderator:

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,855
Reaction score
1,212
First Language
English
Primarily Uses
RMMV
If this quest present in the project you sent me to fix before? If not, can you send it to me again and I'll take a look?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
Yes it is in that project.  That's a very kind offer on your part.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,855
Reaction score
1,212
First Language
English
Primarily Uses
RMMV
How do I get to that quest to check it?
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,337
Reaction score
2,511
First Language
French
Primarily Uses
RMVXA
It looks like the @draw_y variable is not set to a correct value in this case. Probably something to do in the def data_height section.

Unfortunately, I tweaked this script too much for multilanguage support and I deactivated the Rewards parts so I won't be able to test here.

For testing, you can try adding objectives one by one to see when it starts to happen.

And then, try adding other (dummy?) objectives. Since some of them hold on 1 line and others do not, maybe the script has a bug in calculating the total height.

With these tests, you should be able to tell if it's related to the number of objectives or their lines' content.

Not enough to fix, but that'd give a good clue.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,855
Reaction score
1,212
First Language
English
Primarily Uses
RMMV
Or instructions on what I need to do to have that quest in the log. Either or.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
I think the only way is with a save file.  I'll pm you the dropbox link in just a minute when I've put it there.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,855
Reaction score
1,212
First Language
English
Primarily Uses
RMMV
Got it. The script's code for drawing the horizontal line is pretty much always assuming you'll be displaying rewards at the end and not text. Replace the draw_line method with this and it should work:

def draw_line

    if @quest.rewards.size == 0 && @draw_y > 0

      draw_horizontal_line(@draw_y + line_height, 2)

    else

      draw_horizontal_line(@draw_y + (line_height / 2) - 1, 2)

    end

  end
 
Last edited by a moderator:
  • Like
Reactions: Kes

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
It works splendidly!!  thank you.

While you're in awesome mode, you wouldn't have any thoughts about my second problem would you?  I could send you the save file for after the parties have merged so you can see what it's like.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,855
Reaction score
1,212
First Language
English
Primarily Uses
RMMV

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
Thanks.  I've pm'd you with another save file.
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
862
First Language
German
Primarily Uses
You would need to extend Game_Party.merge. Each party has its own journal variable in @quests. An easy solution would be something like this (untested):

class Game_Party    alias :quest_merge :merge    def merge(party2)      quest_merge(party2)      merge_quests(party2)   end    def merge_quests(party2)      party2.quests.list.each{|quest| @quests[quest.id] = quest}   end end
Note, that this will simply add all quests of party 2 to the journal of party 1, overriding any previous progress. An additional algorithm would be needed to merge the quest objects.

Sadly, i currently don't really have the time to figure that out as well.
 
  • Like
Reactions: Kes

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,337
Reaction score
2,511
First Language
French
Primarily Uses
RMVXA
Good to know that it got fixed, although I don't understand why it didn't happen before.

Or maybe it's the only quest with a different reward section? You didn't mention that part, though.

I hope there won't be any side effects.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
@Iavra

Thanks for that.

@cabfe

I didn't mention it because, to be honest, I'd forgotten.  Yeah, pathetic, I know.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,855
Reaction score
1,212
First Language
English
Primarily Uses
RMMV
I don't think anyone's thought to use it for a "main quest" with no rewards in it yet. :p
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,009
Reaction score
11,341
First Language
English
Primarily Uses
RMVXA
That's because there is no 'reward' in the traditional sense - and also because when the main quest is finally completed, the game ends, so you'd never get a reward anyway.
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,337
Reaction score
2,511
First Language
French
Primarily Uses
RMVXA
Some games split the main quest into several "steps" with a reward for each, but of course the ultimate reward is beating the game and getting a satisfying end. B)
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Yay! Got 3 new frying pans, its weird, but I'm so happy about it.
Yelp. I've discovered that I am one of those people who should not be drinking coffee. Took me a week detoxing off of coffee and switching to tea to realize how badly it was affecting me- and I've been drinking the stuff for years. Yikes!
I bought a gaiter with Meijer printed on it.

I'm still a Walmart worker, and I wore it today for work.
Trying out new carpet autotiles and I can't decide if it's working or not. Pixeling soft carpets is hard
It seems like this is going to be another remote semester. RIP.

Forum statistics

Threads
99,515
Messages
966,334
Members
131,146
Latest member
jakobhenerey309
Top