Eleyox

Villager
Member
Joined
Jun 2, 2015
Messages
8
Reaction score
5
First Language
French
Primarily Uses
Hello everyone !

Hoping this is the right section to ask this.

I'm trying to use YEP Map Quest Windows alongside FOSSIL, however my quest list does not seem to be shown
Err1.png

On the console's side it seems right
Err2.png

I am using default's Game Font, the same as with my YEP Quest Journal, so it shouldn't be a font error ?
I'm using the default's options. Tried changing font size & windows size, nothing.

Thanks for the help, I seriously have no clues.

I'll put some more infos to try helping :

- New game doesn't seems to fix (Not save-linked)
- No error show up in log
- As tried with console log, the plugin successfully call drawQuestDataObjectives & drawQuestTextEx
- Console logging the text meant to be drawned seems to work

EDIT : Fixed, in case of (should be rare, but...) some people have the same problem : The plugin that was incompatible was... PKD Simple Fishing. Yeah. Don't ask me why. I have DMed him about this issue !

EDIT 2 : Temp fix :
JavaScript:
Window_MapActiveQuest.prototype.drawQuestDataName = function() {
  var text = "<center>" + this.activeQuest().name + "</center>";
  this.drawTextEx(text, 0, 0);
};

This is what I used to remplace the "drawQuestDataName" function. (The <center> is a Visustella Message Core's functionality. This is the best workaround for centering. You can try (windows width + message size) / 2 if you don't use it)

In case you also have this problem of the objectives not showing (not linked to PKD Simple Fishing) here is my fix :

JavaScript:
Window_MapActiveQuest.prototype.drawQuestTextEx = function(text, x, y) {
  if (text) {
    var textState = { index: 0, x: x, y: y, left: x };
    textState.text = this.convertEscapeCharacters(text);
    textState.height = this.calcTextHeight(textState, false);
    this.resetFontSettings();
    while (textState.index < textState.text.length) {
      this.processCharacter(textState);
    }
    this._allTextHeight = textState.y - y + this.lineHeight();
    this.drawTextEx(text, 0, this.lineHeight());
    return textState.x - x;
  } else {
    return 0;
  }
};

Replace drawQuestTextEx with this. Note that this is my temp fix, likely to have some bugs.
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,230
Reaction score
2,857
First Language
Dutch
Primarily Uses
RMMV
still I want to ask, was PDK below or above quest journal and did you try to
swap it above or below it?

as it could make a different if you didn't test it out yet.
 

Eleyox

Villager
Member
Joined
Jun 2, 2015
Messages
8
Reaction score
5
First Language
French
Primarily Uses
Tried with both, no results sadly

EDIT : Did a quick fix, this is likely not a good solution but will do for now. Check edited version
 
Last edited:

Latest Threads

Latest Profile Posts

If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.
ChillingAtTavern.png

After 'multiple breakdowns', it's finally over. 10/10 will do this again.
Ever notice that villains can reform and become better people, but heroes can only ever die... or live long enough to see themselves become villains?

Isn't that interesting?
xabileug wrote on Kaelan's profile.
Will you be back?


got inspired by Tekken 5's character select screen and made some new music today for my character select screen.

Forum statistics

Threads
129,842
Messages
1,205,649
Members
170,995
Latest member
RamiroWhitehead
Top