XaiL System - Journal Error

Hello,


I have a problem with XaiL System - Journal, which only occurs after loading the game. Starting a new game, no problem the journal menu works fine. But after loading the game, the menu opens but if I try to change pages, one of these errors show up:


c83de7d9ed.png
a239611057.png



Script lines between 413 and 433:

Spoiler
  def next_journal
    # // Method to determine next journal.
    unless @journal_pos == @journals.size - 1
      @journal_pos += 1 # // error on line 416 here
    else
      @journal_pos = 0
    end
    @journal_command_window.activate
    set_journal(@journal_pos)
  end
  
  def prev_journal
    # // Method to determine previous journal.
    unless @journal_pos == 0
      @journal_pos -= 1
    else
      @journal_pos = @journals.size - 1 # // error on line 429 here
    end
    @journal_command_window.activate
    set_journal(@journal_pos)
  end



Whole script:

Spoiler
#==============================================================================
#   XaiL System - Journal
#   Author: Nicke
#   Created: 05/01/2013
#   Edited: 30/01/2013
#   Version: 1.0a
#==============================================================================
# Instructions
# -----------------------------------------------------------------------------
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ? Materials but above ? Main. Remember to save.
#
# A journal system which can be as an actual journal or setup as an 
# quest system.
#
# There are 3 predefined journals (categories) which will act as the following:
# 
# Unfinished. Each entry added will automatically be added to this category.
# Completed. When a journal is completed or done it should be moved to this.
# Failed. Same as completed but the entry will be marked as failed instead.
#
# Use the following script to call the scene in an event:
# SceneManager.call(Scene_Journal)
# Scene_Journal is the name to add for any custom menu script.
# 
# To setup a journal entry do one of the following script call:
# journal(symbol)
#
# Examples:
# journal🙂investigation)                 # Add investigation to the journal.
# set_journal🙂investigation, :completed) # Set investigation entry to completed.
# set_journal🙂investigation, :failed)    # Set investigation entry to failed.
#
# You can use the journal as you want and if you decide to use it as a quest
# system you can enable certain rewards. Those rewards won't be added
# automatically and it is only there to show the player what type of rewards
# that would be given if a quest is completed.
#
# See more below how you can customize that and how you add more journal
# entries.
#
# *** Only for RPG Maker VX Ace. ***
#==============================================================================
($imported ||= {})["XAIL-JOURNAL-SYSTEM"] = true


module XAIL
  module JOURNAL
  #--------------------------------------------------------------------------#
  # * Settings
  #--------------------------------------------------------------------------#
    # FONT = [name, size, color, bold, shadow ]
    FONT = [["Calibri", "Verdana"], 20, Color.new(255,255,255), true, true]
  
    # LIST:
    # LIST = { 
      # :journal_name => [icon_index, "entry 1", "entry 2"... etc,
      # item_id = The id you want as the item, set it to nil when using 
      # the :exp/:gold types. 
      # type = :exp, :gold, :items, :weapons, :armors or :fame.
      # The type fame should only be used if XS - Fame System is installed.
      # [[item_id (set to nil if gold or exp), item_amount, type]]
    # } 
    LIST = {
    
    :find_your_keys => 
      [240, "Find your keys so you can go home. \n Where might they be?"],
       
    :go_home => 
      [12, "The day is over and it's time to go home."],
      
    :collect_your_stuff => 
      [5, "Woke up in a hospital... You don't remember how\nyou got here... You need to get your clothes, keys\nand phone so that you can go home."],
    
    :what_was_that? =>
      [121, "Better go check out what you saw..."],
      
    :leave_the_hospital => 
      [4, "You got your stuff and it's time to go home."],  
      
    :check_your_injuries => 
      [122, "You should check your injuries in front of a mirror."],  
      
    :take_a_shower => 
      [2, "You smell like . Take a shower."],        


    :find_the_painkillers => 
      [219, "You need painkillers to sleep with that headache.\nThere should be some in the kitchen."],        
      
    :go_to_sleep => 
      [6, "Now it's time to sleep..."], 
    
    :make_some_coffee => 
      [287, "The day cannot start without a cup of coffee!"],
      
    :take_a_dump => 
      [1, "You heard me."],
      
    😛ut_some_clothes_on => 
      [433, "I know you want to go running around naked but \nthat's not gonna happen."],
      
    :go_to_work =>
      [234, "Another day at the rat race..."],
      
    :ruby_madness => 
      [358, "1. Get the Ruby.\n2. Return the Ruby.", 
      [[1, 5, :items],
      [2, 1, :weapons],
      [1, 1, :armors],
      [nil, 5000, :exp],
      [nil, 2500, :gold],
      [nil, 500,  :fame]
      ]],
        
    :fetching_of_doom => 
      [350, "1. Gather 1000 rocks. \n2. Return the rocks to Mr Negaul in the town Brafoul.\n3. Profit!!!"],
    
    :investigation =>
      [3, "I need to investigate the the murder in town.\nSome clues ought to be laying around. Hopefully!\n\n I probably need to use some stealth so the guards\n won't notice me. That should be a piece of cake.",
      [[nil, 25000, :exp],
      [nil, 25000, :gold],
      [nil, 50000, :fame]
      ]],
      
    } # Don't remove this line!
    
    # Default reward icons for gold and experience.
    # Not in used unless there is a reward.
    # Fame is only used if XS - Fame System is installed.
    # REWARD_ICONS = [gold, exp, fame]
    REWARD_ICONS = [262, 121, 125]
    
    # The windowskin to use for the windows.
    # nil to disable.
    # SKIN = string
    SKIN = nil
    
  end
end
# *** Don't edit below unless you know what you are doing. ***
#==============================================================================#
# ** Error Handler
#==============================================================================#
  unless $imported["XAIL-XS-CORE"]
    # // Error handler when XS - Core is not installed.
    msg = "The script %s requires the latest version of XS - Core in order to function properly."
    name = "XS - Journal"
    msgbox(sprintf(msg, name))
    exit
  end
#==============================================================================#
# ** Game_System
#==============================================================================#
class Game_System
  
  attr_accessor :journal_unfinished, :journal_completed, :journal_failed
  
  alias xail_journal_sys_gm_sys_initialize initialize
  def initialize(*args, &block)
    # // Method to initialize game system.
    xail_journal_sys_gm_sys_initialize(*args, &block)
    @journal_unfinished = {}
    @journal_completed = {}
    @journal_failed = {}
  end
  
  def get_journal(journal)
    # // Method to get journal.
    case journal
    when :unfinished  ; return $game_system.journal_unfinished
    when :completed   ; return $game_system.journal_completed   
    when :failed      ; return $game_system.journal_failed     
    end
  end
  
end
#==============================================================================#
# ** Game_Interpreter
#==============================================================================#
class Game_Interpreter
  
  def journal(key, type = :add)  
    # // Method to add/remove a menu item to the list.
    journal = $game_system.get_journal🙂unfinished)
    case type
       # // Add menu id.
      when :add
      unless journal.include?(XAIL::JOURNAL::LIST[key])
        journal[key] = XAIL::JOURNAL::LIST[key]           
      end unless XAIL::JOURNAL::LIST[key].nil?
      # // Remove menu id.
      when :del 
      unless XAIL::JOURNAL::LIST[key].nil?
        journal.delete(key)
      end
    end
  end
  
  def set_journal(key, type)
    # // Method to set journal to unfinished, completed etc.
    journals = [:unfinished, :completed, :failed]
    journals.each {|i|
      next if $game_system.get_journal(i)[key].nil?
      $game_system.get_journal(type)[key] = $game_system.get_journal(i)[key]
      $game_system.get_journal(i).delete(key) unless i == type
    }
  end
  
end
#==============================================================================
# ** Window_JournalCommand
#==============================================================================
class Window_JournalCommand < Window_Command
  
  attr_accessor :journal
  
  def initialize(x, y)
    # // Method to initialize.
    @journal = :unfinished
    super(x, y)
  end
  
  def window_width
    # // Method to return the width.
    return 180
  end
  
  def window_height
    # // Method to return the height.
    return Graphics.height - 48
  end
  
  def draw_item(index)
    # // Method to draw the command item.
    rect = item_rect_for_text(index)
    # // Line.
    draw_line_ex(rect.x + 20, rect.y + 8, Color.new(255,255,255,128), Color.new(0,0,0,64))
    # // Item.
    draw_font_text(command_name(index), rect.x + 22, rect.y, contents_width, alignment, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
    # // Setup icons.
    icons = []
    $game_system.get_journal(@journal).each_value {|i| icons << i[0] unless icons.include?(i[0]) }
    # // Cancel icon.
    icons << 184 unless icons.include?(184)
    # // Draw icon(s).
    icon = icons[index].nil? ? nil : icons[index]
    draw_icon(icon, rect.x - 4, rect.y) unless icon.nil?
  end
  
  def make_command_list
    # // Method to add the commands.
    $game_system.get_journal(@journal).each {|i| add_command(i[0].to_s.slice_char("_").cap_words, i[0]) }
  end


end
#==============================================================================#
# ** Window_JournalHelp
#==============================================================================#
class Window_JournalHelp < Window_Help
  
  def refresh
    # // Refresh help contents.
    contents.clear
    draw_journal_help
  end
  
  def draw_journal_help
    # // Method to draw the help text.
    # // Line.
    draw_line_ex(0, 6, Color.new(255,255,255,128), Color.new(0,0,0,64))
    # // Current journal.
    draw_font_text(@text, 0, 0, contents_width, 2, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
    # // Category details.
    text = "Change journal with Left/Right buttons."
    draw_font_text(text, 0, 0, contents_width, 0, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
  end
  
end
#==============================================================================#
# ** Window_JournalDetails
#==============================================================================#
class Window_JournalDetails < Window_Base


  attr_accessor :journal
  attr_accessor :key
  
  def initialize(x, y, width, height)
    # // Method to initialize.
    super(x, y, width, height)
    @journal = :unfinished
    @key = :none
  end
  
  def refresh
    # // Method to refresh window.
    contents.clear
    return if $game_system.get_journal(@journal)[@key].nil?
    draw_details
  end
  
  def draw_details
    # // Method to draw details.
    h = 18
    # // Icon.
    icon_id = $game_system.get_journal(@journal)[@key][0]
    draw_icon(icon_id, 0, 0)
    # // Name.
    name = @key.to_s.slice_char("_").cap_words
    draw_font_text(name, 0, 0, contents_width, 1, XAIL::JOURNAL::FONT[0], 30, XAIL::JOURNAL::FONT[2])
    # // Line.
    draw_line_ex(0, 18, Color.new(255,255,255,128), Color.new(0,0,0,64))
    # // Journal text.
    journal = $game_system.get_journal(@journal)[@key][1]
    draw_font_text_ex(journal, 4, 40, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
    # // Reward Title.
    unless $game_system.get_journal(@journal)[@key][2].nil? 
    reward_title = "Rewards"
    draw_font_text(reward_title, 0, contents_height - h * 5, contents_width, 1, XAIL::JOURNAL::FONT[0], 30, XAIL::JOURNAL::FONT[2])
    # // Line.
    draw_line_ex(0, contents_height - h * 4, Color.new(255,255,255,128), Color.new(0,0,0,64))
    # // Rewards.
      items_x = 0
      $game_system.get_journal(@journal)[@key][2].each {|i|
        # // Reward icon.
        reward = $game_party.check_item?(i[0], i[2])
        amount = i[0].nil? ? "#{i[1]}"  : "#{i[1]}x"
        case i[2]
        when :gold
          h = 14
          draw_icon(XAIL::JOURNAL::REWARD_ICONS[0], contents_width - 24, contents_height - h * 2)
          draw_font_text(amount + Vocab::currency_unit, -26, (contents_height - h * 2) + 4, contents_width, 2, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
        when :exp
          h = 14
          draw_icon(XAIL::JOURNAL::REWARD_ICONS[1], 0, contents_height - h * 2)
          draw_font_text(amount + "XP", 26, (contents_height - h * 2) + 4, contents_width, 0, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
        when :fame
          h = 14
          draw_icon(XAIL::JOURNAL::REWARD_ICONS[2], (contents_width / 2) - (amount.length + 22), contents_height - h * 2)
          draw_font_text(amount + "Fame", 26, (contents_height - h * 2) + 4, contents_width, 1, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
        else 
          reward_icon = reward.icon_index
          draw_icon(reward_icon, items_x, contents_height - h * 3)
          # // Reward item amount.
          draw_font_text(amount, items_x + 6, (contents_height - h * 3) + 10, contents_width, 0, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
          items_x += line_height
        end
      }
    end
  end
  
end
#==============================================================================#
# ** Scene_Journal
#==============================================================================#
class Scene_Journal < Scene_Base
  
  def start
    # // Method to start the scene.
    super
    # // Define journals.
    @journals = [:unfinished, :completed, :failed]
    @journal_pos = 0
    # // Create windows.
    create_background
    create_journal_command
    create_journal_help
    create_journal_details
    # // Set default journal/details.
    set_journal(0)
    set_details(@journal_command_window.current_symbol)
  end
  
  def create_background
    # // Method to create a background.
    @background_sprite = Sprite.new
    @background_sprite.bitmap = SceneManager.background_bitmap
    @background_sprite.color.set(16, 16, 16, 128)
  end
  
  def create_journal_command
    # // Method to create journal command window.
    @journal_command_window = Window_JournalCommand.new(0, 0)
    @journal_command_window.windowskin = Cache.system(XAIL::JOURNAL::SKIN) unless XAIL::JOURNAL::SKIN.nil? 
    @journal_command_window.set_handler🙂pageright, method🙂next_journal))
    @journal_command_window.set_handler🙂pageleft,  method🙂prev_journal))
    @journal_command_window.set_handler🙂cancel,    method🙂return_scene))
    @journal_command_window.help_window = @journal_help_window
  end
  
  def create_journal_help
    # // Method to create journal help window.
    @journal_help_window = Window_JournalHelp.new(1)
    @journal_help_window.y = Graphics.height - @journal_help_window.height
    @journal_help_window.windowskin = Cache.system(XAIL::JOURNAL::SKIN) unless XAIL::JOURNAL::SKIN.nil?
  end
  
  def create_journal_details
    # // Method to create journal details window.
    x = @journal_command_window.width
    y = 0
    width = Graphics.width - @journal_command_window.width
    height = Graphics.height - @journal_help_window.height
    @journal_details_window = Window_JournalDetails.new(x, y, width, height)
  end
  
  alias xail_journal_sys_upd update
  def update(*args, &block)
    # // Method for updating the scene.
    old_symbol = @journal_command_window.current_symbol
    xail_journal_sys_upd(*args, &block)
    set_details(@journal_command_window.current_symbol) if old_symbol != @journal_command_window.current_symbol
  end
  
  def next_journal
    # // Method to determine next journal.
    unless @journal_pos == @journals.size - 1
      @journal_pos += 1 # // error here
    else
      @journal_pos = 0
    end
    @journal_command_window.activate
    set_journal(@journal_pos)
  end
  
  def prev_journal
    # // Method to determine previous journal.
    unless @journal_pos == 0
      @journal_pos -= 1
    else
      @journal_pos = @journals.size - 1 # // error here
    end
    @journal_command_window.activate
    set_journal(@journal_pos)
  end
  
  def set_journal(pos)
    # // Method to set journal based on position.
    j = @journals[pos].to_s.capitalize
    @journal_help_window.set_text("Current journal: " + j)
    @journal_command_window.journal = @journals[pos]
    @journal_command_window.refresh
    @journal_command_window.select(0)
  end
  
  def set_details(key)
    # // Method to set details based on key.
    @journal_details_window.journal = @journals[@journal_pos]
    @journal_details_window.key = key
    @journal_details_window.refresh
  end


end # END OF FILE


#=*==========================================================================*=#
# ** END OF FILE
#=*==========================================================================*=#





I have these scripts: 
b226c7d68d.png
we need to see the full error message - that is why you installed the backtracer script that redirects the message to the console after all.


Please show us a screenshot of the console output, then we can help.


Additionally, please do not reposts scripts - I removed that script from your post.


Please post links to the script's original website, because that is where its instruction and bugfixes etc are posted.
we need to see the full error message - that is why you installed the backtracer script that redirects the message to the console after all.


Please show us a screenshot of the console output, then we can help.


Additionally, please do not reposts scripts - I removed that script from your post.


Please post links to the script's original website, because that is where its instruction and bugfixes etc are posted.



I couldn't find the original script's website.


Console shows this:

Spoiler
3a4e81417e.png
@Skyforger It seems that Nicke is indeed no longer active and has taken his website down, removing the XailL-Scripts.


So this is an exception, you can re-edit the OP to include the script.


However, that error message indicates that this is not a direct script error. It sounds like an access level error, and that can only be caused by either script modifications or by another incompatible script.


Can you try to get that operational in a new project with only the journal and the core script, nothing else (especially not that second journal script, whatever that is)?


If that doesn't work, you might have found a defective version of the script - in that case someone has to compare it with their local copies (if they have one)
@Andar I replaced all the original scripts and now it gives me this message. Console says nothing. Same happens in new project.


e6d4332ba4.png
The console shows nothing because now you don't have the backtracer script installed, that is how the regular error messages look like.


Unfortunately that most likely means that your copy of the script has been damaged - most likely a missing or added } or something like that.


You need to replace it with a working copy, there is no way you can find the place where code was added or is missing by just reading through it.


And since the original website no longer exists, you need to get that from someone who used the Xail System in his games and still has a copy to compare with.
Something that I don't understand is that it works fine when started a new game, the error only appears after a load game
One question:


is that load game from before you started a new game with the journal, or does the error happens if you start a new game, save that and then load the newly saved game?


Adding a script will make older savefiles incompatible in 90% of all cases (depending on what the script needs to load and save).


If it works with a game that was saved with the script included, then you should have mentioned that fact earlier.


If it does not work with a new save after a new game, then that prooves that the script is defective - and in this case most likely you got the wrong version and need a bugfix from Nicke himself.
I did mention that it happens only after loading a game in the OP. I guess I'll just have to find another Journal script
I did mention that it happens only after loading a game in the OP. I guess I'll just have to find another Journal script

That is not what I asked about.


You always have to start a new game after installing a new journal script - that will not change, no matter which script you're using - because a journal needs new data in the saved files.


So now with a bit more detail the question again:


If you start a new game, save that new game, and then load that specific saved file (none of the older ones, those are guaranteed to have the error) - does the error happen on that specific savefile?


If yes, the script is defective - if not, then it is working correctly and you simply need to erase your older savefiles.
Yes it happens every time. Any help from @Nicke ?
So sorry but I moved to RPG Maker MV so I've forgotten how I scripted that. Can't really help you with that one.
That's okay, I'm able to modify the script so that changing page is not possible and have different means of showing the quest is complete. Have a nice day.
Xail core:

Spoiler
Code:
#==============================================================================
#   XaiL System - Core
#   Author: Nicke
#   Created: 07/01/2012
#   Edited: 08/10/2013
#   Version: 2.1f
#==============================================================================
# Instructions
# -----------------------------------------------------------------------------
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ? Materials but above ? Main. Remember to save.
#
# Core script for XaiL System.
# Caution! This needs to be located before any other XS scripts.
#
# *** Only for RPG Maker VX Ace. ***
#==============================================================================
($imported ||= {})["XAIL-XS-CORE"] = true

module Colors
  #--------------------------------------------------------------------------#
  # * Colors
  #--------------------------------------------------------------------------#
  White = Color.new(255,255,255)
  LightRed = Color.new(255,150,150)
  LightGreen = Color.new(150,255,150)
  LightBlue = Color.new(150,150,255)
  DarkYellow = Color.new(225,225,20)
  Alpha = Color.new(0,0,0,128)
  AlphaMenu = 100
end
module XAIL
  module CORE
  #--------------------------------------------------------------------------#
  # * Settings
  #--------------------------------------------------------------------------#
  # Graphics.resize_screen(width, height ) 
  Graphics.resize_screen(544,416) 
  
  # FONT DEFAULTS:
  Font.default_name = ["VL Gothic"]
  Font.default_size = 20
  Font.default_bold = false
  Font.default_italic = false
  Font.default_shadow = true
  Font.default_outline = true
  Font.default_color = Colors::White
  Font.default_out_color = Colors::Alpha
  
  # USE_TONE = true/false:
  # Window tone for all windows ingame. Default: true.
  USE_TONE = false
  
  # SAVE
  SAVE_MAX = 20       # Default 16.
  SAVE_FILE_VIS = 4   # Default 4.
  
  # JAPANESE = true/false
  JAPANESE = false
  
  end
end
# *** Don't edit below unless you know what you are doing. ***
#==============================================================================#
# ** Game_System
#==============================================================================#
class Game_System
  
  # // Method to determine japanese game.
  def japanese? ; return XAIL::CORE::JAPANESE ; end
  
end
#==============================================================================#
# ** String
#==============================================================================#
class String
  
  def to_class(parent = Kernel)
    # // Method to convert string to class.
    chain = self.split "::"
    klass = parent.const_get chain.shift
    return chain.size < 1 ? (klass.is_a?(Class) ? klass : nil) : chain.join("::").to_class(klass)
    rescue
    nil
  end
  
  def cap_words
    # // Method to capitalize every word.
    self.split(' ').map {|w| w.capitalize }.join(' ')
  end
  
  def slice_char(char)
    # // Method to slice char.
    self.split(char).map {|w| w.sub(char, " ") }.join(" ")
  end

end
#==============================================================================#
# ** Vocab
#==============================================================================#
class << Vocab
  
  def xparam(id)
    # // Method to return xparam name.
    case id
    when 0 ; "Hit Chance"
    when 1 ; "Evasion"
    when 2 ; "Critical Chance"
    when 3 ; "Critical Evasion"
    when 4 ; "Magic Evasion"
    when 5 ; "Magic Reflection"
    when 6 ; "Counter Attack"
    when 7 ; "HP Regeneration"
    when 8 ; "MP Regeneration"
    when 9 ; "TP Regeneration"
    end
  end
  
end
#==============================================================================
# ** Sound
#==============================================================================
class << Sound
  
  def play(name, volume, pitch, type = :se)
    # // Method to play a sound. If specified name isn't valid throw an error.
    case type
    when :se   ; RPG::SE.new(name, volume, pitch).play rescue valid?(name)
    when :me   ; RPG::ME.new(name, volume, pitch).play rescue valid?(name)
    when :bgm  ; RPG::BGM.new(name, volume, pitch).play rescue valid?(name)
    when :bgs  ; RPG::BGS.new(name, volume, pitch).play rescue valid?(name)
    end
  end
  
  def valid?(name)
    # // Method to raise error if specified sound name is invalid.
    msgbox("Error. Unable to find sound file: " + name)
    exit 
  end
  
end
#==============================================================================
# ** DataManager
#==============================================================================
class << DataManager

  def savefile_max
    # // Method override, save file max.
    return XAIL::CORE::SAVE_MAX
  end
  
end
#==============================================================================
# ** SceneManager
#==============================================================================
class << SceneManager
  
  def call_ext(scene_class, args = nil)
    # // Method to call a scene with arguments.
    @stack.push(@scene)
    @scene = scene_class.new(args)
  end
  
end
#==============================================================================
# ** Scene_File
#==============================================================================
class Scene_File < Scene_MenuBase
  
  def visible_max
    # // Method override, visible_max for save files.
    return XAIL::CORE::SAVE_FILE_VIS
  end
  
end
#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# Importing font fix that will remove weird characters.
# Adding new methods such as new gauge, actor param, font text, icon drawing,
# big icon drawing and a line with a shadow.
#==============================================================================
class Window_Base < Window
  
  # // Importing Custom font fix. (Credit Lone Wolf).
  alias :process_normal_character_vxa :process_normal_character
  def process_normal_character(c, pos)
    return unless c >= ' '
    process_normal_character_vxa(c, pos)
  end unless method_defined? :process_normal_character
  
  def draw_text_ex_no_reset(x, y, text)
    # // Method to draw ex text without resetting the font.
    text = convert_escape_characters(text)
    pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
    process_character(text.slice!(0, 1), text, pos) until text.empty?
  end 
  
  alias xail_core_winbase_upt_tone update_tone
  def update_tone(*args, &block)
    # // Method to change tone of the window.
    return unless XAIL::CORE::USE_TONE
    xail_core_winbase_upt_tone(*args, &block)
  end
  
  def draw_gauge_ex(x, y, width, height, rate, color1, color2)
    # // Method to draw a gauge.
    fill_w = (width * rate).to_i
    gauge_y = y + line_height - 8
    contents.fill_rect(x, gauge_y, width + 1, height + 1, Color.new(255,255,255,64))
    contents.fill_rect(x, gauge_y, width, height, Color.new(0,0,0,100))
    contents.gradient_fill_rect(x, gauge_y, fill_w, height, color1, color2)
  end
  
  def draw_actor_param_gauge(actor, x, y, width, param_id, font, size, bar_color1, bar_color2, txt_color1, txt_color2)
    # // Method to draw actor parameters with a gauge.
    case param_id
    when 2 ; param_rate = actor.param(2) / actor.param_max(2).to_f
    when 3 ; param_rate = actor.param(3) / actor.param_max(3).to_f
    when 4 ; param_rate = actor.param(4) / actor.param_max(4).to_f
    when 5 ; param_rate = actor.param(5) / actor.param_max(5).to_f
    when 6 ; param_rate = actor.param(6) / actor.param_max(6).to_f
    when 7 ; param_rate = actor.param(7) / actor.param_max(7).to_f
    end
    contents.font.name = font
    contents.font.size = size
    contents.font.bold = true
    contents.font.shadow = false
    draw_gauge_ex(x, y - 14, width, 20, param_rate, bar_color1, bar_color2)
    contents.font.color = txt_color1
    draw_text(x + 10, y, 120, line_height, Vocab::param(param_id))
    contents.font.color = txt_color2
    draw_text(x + width - 38, y, 36, line_height, actor.param(param_id), 2)
    reset_font_settings
  end
  
  def draw_actor_xparam_gauge(actor, x, y, width, xparam_id, font, size, bar_color1, bar_color2, txt_color1, txt_color2)
    # // Method to draw actor xparameters with a gauge.
    case xparam_id
    when 0
      xparam_rate = actor.xparam(0) / 100.to_f
      xparam_name = Vocab.xparam(0)
    when 1
      xparam_rate = actor.xparam(1) / 100.to_f
      xparam_name = Vocab.xparam(1)
    when 2
      xparam_rate = actor.xparam(2) / 100.to_f
      xparam_name = Vocab.xparam(2)
    when 3
      xparam_rate = actor.xparam(3) / 100.to_f
      xparam_name = Vocab.xparam(3)
    when 4
      xparam_rate = actor.xparam(4) / 100.to_f
      xparam_name = Vocab.xparam(4)
    when 5
      xparam_rate = actor.xparam(5) / 100.to_f
      xparam_name = Vocab.xparam(5)
    when 6
      xparam_rate = actor.xparam(6) / 100.to_f
      xparam_name = Vocab.xparam(6)
    when 7
      xparam_rate = actor.xparam(7) / 100.to_f
      xparam_name = Vocab.xparam(7)
    when 8
      xparam_rate = actor.xparam(8) / 100.to_f
      xparam_name = Vocab.xparam(8)
    when 9
      xparam_rate = actor.xparam(9) / 100.to_f
      xparam_name = Vocab.xparam(9)
    end
    contents.font.name = font
    contents.font.size = size
    contents.font.bold = true
    contents.font.shadow = false
    draw_gauge_ex(x, y - 14, width, 20, xparam_rate, bar_color1, bar_color2)
    contents.font.color = txt_color1
    draw_text(x + 10, y, 120, line_height, xparam_name)
    contents.font.color = txt_color2
    draw_text(x + width - 38, y, 36, line_height, "#{actor.xparam(xparam_id)}%", 2)
    reset_font_settings 
  end
  
  def draw_line_ex(x, y, color, shadow)
    # // Method to draw a horizontal line with a shadow.
    line_y = y + line_height / 2 - 1
    contents.fill_rect(x, line_y, contents_width, 2, color)
    line_y += 1
    contents.fill_rect(x, line_y, contents_width, 2, shadow)
  end
  
  def draw_box(x, y, width, height, color, shadow)
    # // Method to draw a box with shadow.
    contents.fill_rect(x, y, width, height, color)
    x += 1
    y += 1
    contents.fill_rect(x, y, width, height, shadow)
  end
  
  def draw_vertical_line_ex(x, y, color, shadow)
    # // Method to draw a vertical line with a shadow.
    line_x = x + line_height / 2 - 1
    contents.fill_rect(line_x, y, 2, contents_height, color)
    line_x += 1
    contents.fill_rect(line_x, y, 2, contents_height, shadow)
  end
  
  def draw_icons(icons, alignment, x = 0, y = 0, offset_icon = [])
    # // Method to draw icons in a horizonal or vertical alignment.
    icons.each {|icon| 
      next if icon.nil?
      # // If included in offset do extra spacing.
      offset_icon.each {|offset|
        if icon == offset
          y += line_height * 1 if alignment == :vertical
          x += line_height * 1 if alignment == :horizontal
        end
      }
      draw_icon(icon.nil? ? nil : icon, x.nil? ? 0 : x, y.nil? ? 0 : y) rescue nil
      y += line_height if alignment == :vertical
      x += line_height if alignment == :horizontal
    }
  end
  
  def draw_big_icon(icon, x, y, width, height, opacity = 255)
    # // Method to draw a big icon.
    bitmap = Cache.system("Iconset")
    rect = Rect.new(icon % 16 * 24, icon / 16 * 24, 24, 24)
    rect2 = Rect.new(x, y, width, height)
    contents.stretch_blt(rect2, bitmap, rect, opacity)
  end
  
  def draw_font_text(text, x, y, width, alignment, font, size, color, bold = true, shadow = true)
    # // Method to draw font text.
    contents.font.name = font
    contents.font.size = size
    contents.font.color = color
    contents.font.bold = bold
    contents.font.shadow = shadow
    contents.font.out_color = Color.new(0,0,0,255)
    draw_text(x, y, width, calc_line_height(text), text, alignment)
    reset_font_settings
  end
  
  def draw_font_text_ex(text, x, y, font, size, color, bold = true, shadow = true)
    # // Method to draw font text ex.
    contents.font.name = font
    contents.font.size = size
    contents.font.color = color
    contents.font.bold = bold
    contents.font.shadow = shadow
    contents.font.out_color = Color.new(0,0,0,255)
    text = convert_escape_characters(text)
    pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
    process_character(text.slice!(0, 1), text, pos) until text.empty?
    reset_font_settings
  end
  
end
#==============================================================================#
# ** Window_Selectable
#------------------------------------------------------------------------------
#  Adding support for pageleft and pageright for window selectable.
#==============================================================================#
class Window_Selectable < Window_Base
  
  def cursor_pageright ; end
  def cursor_pageleft ; end

  alias xail_core_winselect_process_cursor_move process_cursor_move
  def process_cursor_move(*args, &block)
    # // Method to process cursor movement.
    xail_core_winselect_process_cursor_move(*args, &block)
    cursor_pageright if !handle?(:pageright) && Input.trigger?(:RIGHT)
    cursor_pageright if !handle?(:pageleft) && Input.trigger?(:LEFT)
  end
  
  alias xail_core_winselect_process_handling process_handling
  def process_handling(*args, &block)
    # // Method to process handling.
    xail_core_winselect_process_handling(*args, &block)
    return process_pageright if handle?(:pageright) && Input.trigger?(:RIGHT)
    return process_pageleft if handle?(:pageleft) && Input.trigger?(:LEFT)
  end
    
  def process_pageright
    # // Method to process page right.
    Sound.play_cursor
    Input.update
    deactivate
    call_handler(:pageright)
  end
  
  def process_pageleft
    # // Method to process page left.
    Sound.play_cursor
    Input.update
    deactivate
    call_handler(:pageleft)
  end
  
end
#==============================================================================#
# ** Window_Icon
#------------------------------------------------------------------------------
#  New Window :: Window_Icon - A window for drawing icon(s).
#==============================================================================#
class Window_Icon < Window_Base
  
  attr_accessor :enabled
  attr_accessor :alignment
  
  def initialize(x, y, window_width, hsize)
    # // Method to initialize the icon window.
    super(0, 0, window_width, window_height(hsize))
    @icons = []
    @index = 0
    @enabled = true
    @alignment = 0
    refresh
  end
  
  def window_height(hsize)
    # // Method to return the height.
    fitting_height(hsize)
  end
  
  def refresh
    # // Method to refresh the icon window.
    contents.clear
  end
  
  def draw_cmd_icons(icons, index)
    # // Draw all of the icons.
    return if !@enabled
    count = 0
    for i in icons
      align = 0
      x = 110
      next if i[index].nil?
      case @alignment
      when 1, 2 ; align = -110
      end
      draw_icon(i[index], x + align, 24 * count)
      count += 1
      break if (24 * count > height - 24)
    end
  end
  
end
#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
# Adding check item method to return a item based on the type.
#==============================================================================
class Game_Party < Game_Unit
  
  def check_item?(item, type)
    # // Method to return a item based on the type.
    case type
    when :items    ; $data_items[item]
    when :weapons  ; $data_weapons[item]
    when :armors   ; $data_armors[item]
    when :gold     ; item
    when :exp      ; item
    end
  end

end 
#==============================================================================
# ** Game_Event
#------------------------------------------------------------------------------
# Adding methods to check for comments on events.
#==============================================================================
class Game_Event < Game_Character
  
  def comment?(comment)
    # // Method to check if comment is included in event.
    unless empty? or @list.nil?
      for evt in @list
        if evt.code == 108 or evt.code == 408
          if evt.parameters[0].include?(comment)
            return true
          end
        end
      end
    end
    return false
  end
  
  def comment_int?(comment)
    # // Method to check for a integer in event.
    unless empty? or @list.nil?
      for evt in @list
        if evt.code == 108 or evt.code == 408
          if evt.parameters[0] =~ /<#{comment}:[ ]?(\d*)>?/
            return ($1.to_i > 0 ? $1.to_i : 0)
          end
        end
      end
    end
  end
  
  def comment_string?(comment)
    # // Method to check for a string in event.
    unless empty? or @list.nil?
      for evt in @list
        if evt.code == 108 or evt.code == 408
          if evt.parameters[0] =~ /<#{comment}:[ ]?(\w*)>?/
            return $1.to_s
          end
        end
      end
    end
  end


end # END OF FILE

#=*==========================================================================*=#
# ** END OF FILE
#=*==========================================================================*=#



Xail System Journal:

Spoiler
#==============================================================================
# XaiL System - Journal
# Author: Nicke
# Created: 05/01/2013
# Edited: 30/01/2013
# Version: 1.0a
#==============================================================================
# Instructions
# -----------------------------------------------------------------------------
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ? Materials but above ? Main. Remember to save.
#
# A journal system which can be as an actual journal or setup as an
# quest system.
#
# There are 3 predefined journals (categories) which will act as the following:
#
# Unfinished. Each entry added will automatically be added to this category.
# Completed. When a journal is completed or done it should be moved to this.
# Failed. Same as completed but the entry will be marked as failed instead.
#
# Use the following script to call the scene in an event:
# SceneManager.call(Scene_Journal)
# Scene_Journal is the name to add for any custom menu script.
#
# To setup a journal entry do one of the following script call:
# journal(symbol)
#
# Examples:
# journal🙂investigation) # Add investigation to the journal.
# set_journal🙂investigation, :completed) # Set investigation entry to completed.
# set_journal🙂investigation, :failed) # Set investigation entry to failed.
#
# You can use the journal as you want and if you decide to use it as a quest
# system you can enable certain rewards. Those rewards won't be added
# automatically and it is only there to show the player what type of rewards
# that would be given if a quest is completed.
#
# See more below how you can customize that and how you add more journal
# entries.
#
# *** Only for RPG Maker VX Ace. ***
#==============================================================================
($imported ||= {})["XAIL-JOURNAL-SYSTEM"] = true

module XAIL
module JOURNAL
#--------------------------------------------------------------------------#
# * Settings
#--------------------------------------------------------------------------#
# FONT = [name, size, color, bold, shadow ]
FONT = [["Calibri", "Verdana"], 20, Color.new(255,255,255), true, true]

# LIST:
# LIST = {
# :journal_name => [icon_index, "entry 1", "entry 2"... etc,
# item_id = The id you want as the item, set it to nil when using
# the :exp/:gold types.
# type = :exp, :gold, :items, :weapons, :armors or :fame.
# The type fame should only be used if XS - Fame System is installed.
# [[item_id (set to nil if gold or exp), item_amount, type]]
# }
LIST = {
:ruby_madness =>
[358, "1. Get the Ruby.\n2. Return the Ruby.",
[[1, 5, :items],
[2, 1, :weapons],
[1, 1, :armors],
[nil, 5000, :exp],
[nil, 2500, :gold],
[nil, 500, :fame]
]],

:fetching_of_doom =>
[350, "1. Gather 1000 rocks. \n2. Return the rocks to Mr Negaul in the town Brafoul.\n3. Profit!!!"],

:investigation =>
[3, "I need to investigate the the murder in town.\nSome clues ought to be laying around. Hopefully!\n\n I probably need to use some stealth so the guards\n won't notice me. That should be a piece of cake.",
[[nil, 25000, :exp],
[nil, 25000, :gold],
[nil, 50000, :fame]
]],

} # Don't remove this line!

# Default reward icons for gold and experience.
# Not in used unless there is a reward.
# Fame is only used if XS - Fame System is installed.
# REWARD_ICONS = [gold, exp, fame]
REWARD_ICONS = [262, 121, 125]

# The windowskin to use for the windows.
# nil to disable.
# SKIN = string
SKIN = nil

end
end
# *** Don't edit below unless you know what you are doing. ***
#==============================================================================#
# ** Error Handler
#==============================================================================#
unless $imported["XAIL-XS-CORE"]
# // Error handler when XS - Core is not installed.
msg = "The script %s requires the latest version of XS - Core in order to function properly."
name = "XS - Journal"
msgbox(sprintf(msg, name))
exit
end
#==============================================================================#
# ** Game_System
#==============================================================================#
class Game_System

attr_accessor :journal_unfinished, :journal_completed, :journal_failed

alias xail_journal_sys_gm_sys_initialize initialize
def initialize(*args, &block)
# // Method to initialize game system.
xail_journal_sys_gm_sys_initialize(*args, &block)
@journal_unfinished = {}
@journal_completed = {}
@journal_failed = {}
end

def get_journal(journal)
# // Method to get journal.
case journal
when :unfinished ; return $game_system.journal_unfinished
when :completed ; return $game_system.journal_completed
when :failed ; return $game_system.journal_failed
end
end

end
#==============================================================================#
# ** Game_Interpreter
#==============================================================================#
class Game_Interpreter

def journal(key, type = :add)
# // Method to add/remove a menu item to the list.
journal = $game_system.get_journal🙂unfinished)
case type
# // Add menu id.
when :add
unless journal.include?(XAIL::JOURNAL::LIST[key])
journal[key] = XAIL::JOURNAL::LIST[key]
end unless XAIL::JOURNAL::LIST[key].nil?
# // Remove menu id.
when :del
unless XAIL::JOURNAL::LIST[key].nil?
journal.delete(key)
end
end
end

def set_journal(key, type)
# // Method to set journal to unfinished, completed etc.
journals = [:unfinished, :completed, :failed]
journals.each {|i|
next if $game_system.get_journal(i)[key].nil?
$game_system.get_journal(type)[key] = $game_system.get_journal(i)[key]
$game_system.get_journal(i).delete(key) unless i == type
}
end

end
#==============================================================================
# ** Window_JournalCommand
#==============================================================================
class Window_JournalCommand < Window_Command

attr_accessor :journal

def initialize(x, y)
# // Method to initialize.
@journal = :unfinished
super(x, y)
end

def window_width
# // Method to return the width.
return 180
end

def window_height
# // Method to return the height.
return Graphics.height - 48
end

def draw_item(index)
# // Method to draw the command item.
rect = item_rect_for_text(index)
# // Line.
draw_line_ex(rect.x + 20, rect.y + 8, Color.new(255,255,255,128), Color.new(0,0,0,64))
# // Item.
draw_font_text(command_name(index), rect.x + 22, rect.y, contents_width, alignment, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
# // Setup icons.
icons = []
$game_system.get_journal(@journal).each_value {|i| icons << i[0] unless icons.include?(i[0]) }
# // Cancel icon.
icons << 184 unless icons.include?(184)
# // Draw icon(s).
icon = icons[index].nil? ? nil : icons[index]
draw_icon(icon, rect.x - 4, rect.y) unless icon.nil?
end

def make_command_list
# // Method to add the commands.
$game_system.get_journal(@journal).each {|i| add_command(i[0].to_s.slice_char("_").cap_words, i[0]) }
end

end
#==============================================================================#
# ** Window_JournalHelp
#==============================================================================#
class Window_JournalHelp < Window_Help

def refresh
# // Refresh help contents.
contents.clear
draw_journal_help
end

def draw_journal_help
# // Method to draw the help text.
# // Line.
draw_line_ex(0, 6, Color.new(255,255,255,128), Color.new(0,0,0,64))
# // Current journal.
draw_font_text(@text, 0, 0, contents_width, 2, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
# // Category details.
text = "Change journal with Left/Right buttons."
draw_font_text(text, 0, 0, contents_width, 0, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
end

end
#==============================================================================#
# ** Window_JournalDetails
#==============================================================================#
class Window_JournalDetails < Window_Base

attr_accessor :journal
attr_accessor :key

def initialize(x, y, width, height)
# // Method to initialize.
super(x, y, width, height)
@journal = :unfinished
@key = :none
end

def refresh
# // Method to refresh window.
contents.clear
return if $game_system.get_journal(@journal)[@key].nil?
draw_details
end

def draw_details
# // Method to draw details.
h = 18
# // Icon.
icon_id = $game_system.get_journal(@journal)[@key][0]
draw_icon(icon_id, 0, 0)
# // Name.
name = @key.to_s.slice_char("_").cap_words
draw_font_text(name, 0, 0, contents_width, 1, XAIL::JOURNAL::FONT[0], 30, XAIL::JOURNAL::FONT[2])
# // Line.
draw_line_ex(0, 18, Color.new(255,255,255,128), Color.new(0,0,0,64))
# // Journal text.
journal = $game_system.get_journal(@journal)[@key][1]
draw_font_text_ex(journal, 4, 40, XAIL::JOURNAL::FONT[0], 18, XAIL::JOURNAL::FONT[2])
# // Reward Title.
unless $game_system.get_journal(@journal)[@key][2].nil?
reward_title = "Rewards"
draw_font_text(reward_title, 0, contents_height - h * 5, contents_width, 1, XAIL::JOURNAL::FONT[0], 30, XAIL::JOURNAL::FONT[2])
# // Line.
draw_line_ex(0, contents_height - h * 4, Color.new(255,255,255,128), Color.new(0,0,0,64))
# // Rewards.
items_x = 0
$game_system.get_journal(@journal)[@key][2].each {|i|
# // Reward icon.
reward = $game_party.check_item?(i[0], i[2])
amount = i[0].nil? ? "#{i[1]}" : "#{i[1]}x"
case i[2]
when :gold
h = 14
draw_icon(XAIL::JOURNAL::REWARD_ICONS[0], contents_width - 24, contents_height - h * 2)
draw_font_text(amount + Vocab::currency_unit, -26, (contents_height - h * 2) + 4, contents_width, 2, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
when :exp
h = 14
draw_icon(XAIL::JOURNAL::REWARD_ICONS[1], 0, contents_height - h * 2)
draw_font_text(amount + "XP", 26, (contents_height - h * 2) + 4, contents_width, 0, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
when :fame
h = 14
draw_icon(XAIL::JOURNAL::REWARD_ICONS[2], (contents_width / 2) - (amount.length + 22), contents_height - h * 2)
draw_font_text(amount + "Fame", 26, (contents_height - h * 2) + 4, contents_width, 1, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
else
reward_icon = reward.icon_index
draw_icon(reward_icon, items_x, contents_height - h * 3)
# // Reward item amount.
draw_font_text(amount, items_x + 6, (contents_height - h * 3) + 10, contents_width, 0, XAIL::JOURNAL::FONT[0], 16, XAIL::JOURNAL::FONT[2])
items_x += line_height
end
}
end
end

end
#==============================================================================#
# ** Scene_Journal
#==============================================================================#
class Scene_Journal < Scene_Base

def start
# // Method to start the scene.
super
# // Define journals.
@journals = [:unfinished, :completed, :failed]
@journal_pos = 0
# // Create windows.
create_background
create_journal_command
create_journal_help
create_journal_details
# // Set default journal/details.
set_journal(0)
set_details(@journal_command_window.current_symbol)
end

def create_background
# // Method to create a background.
@background_sprite = Sprite.new
@background_sprite.bitmap = SceneManager.background_bitmap
@background_sprite.color.set(16, 16, 16, 128)
end

def create_journal_command
# // Method to create journal command window.
@journal_command_window = Window_JournalCommand.new(0, 0)
@journal_command_window.windowskin = Cache.system(XAIL::JOURNAL::SKIN) unless XAIL::JOURNAL::SKIN.nil?
@journal_command_window.set_handler🙂pageright, method🙂next_journal))
@journal_command_window.set_handler🙂pageleft, method🙂prev_journal))
@journal_command_window.set_handler🙂cancel, method🙂return_scene))
@journal_command_window.help_window = @journal_help_window
end

def create_journal_help
# // Method to create journal help window.
@journal_help_window = Window_JournalHelp.new(1)
@journal_help_window.y = Graphics.height - @journal_help_window.height
@journal_help_window.windowskin = Cache.system(XAIL::JOURNAL::SKIN) unless XAIL::JOURNAL::SKIN.nil?
end

def create_journal_details
# // Method to create journal details window.
x = @journal_command_window.width
y = 0
width = Graphics.width - @journal_command_window.width
height = Graphics.height - @journal_help_window.height
@journal_details_window = Window_JournalDetails.new(x, y, width, height)
end

alias xail_journal_sys_upd update
def update(*args, &block)
# // Method for updating the scene.
old_symbol = @journal_command_window.current_symbol
xail_journal_sys_upd(*args, &block)
set_details(@journal_command_window.current_symbol) if old_symbol != @journal_command_window.current_symbol
end

def next_journal
# // Method to determine next journal.
unless @journal_pos == @journals.size - 1
@journal_pos += 1
else
@journal_pos = 0
end
@journal_command_window.activate
set_journal(@journal_pos)
end

def prev_journal
# // Method to determine previous journal.
unless @journal_pos == 0
@journal_pos -= 1
else
@journal_pos = @journals.size - 1
end
@journal_command_window.activate
set_journal(@journal_pos)
end

def set_journal(pos)
# // Method to set journal based on position.
j = @journals[pos].to_s.capitalize
@journal_help_window.set_text("Current journal: " + j)
@journal_command_window.journal = @journals[pos]
@journal_command_window.refresh
@journal_command_window.select(0)
end

def set_details(key)
# // Method to set details based on key.
@journal_details_window.journal = @journals[@journal_pos]
@journal_details_window.key = key
@journal_details_window.refresh
end

end # END OF FILE

#=*==========================================================================*=#
# ** END OF FILE
#=*==========================================================================*=#



https://web.archive.org/web/*/http://niclas-thornqvist.se/rpg/scripts/ace/xs-core.txt


https://web.archive.org/web/*/http://niclas-thornqvist.se/rpg/scripts/ace/xs-journal.txt


Five seconds of Googling found the original scripts. And an online archive of the side.


Y'all just lazy with your google-fu
@ZServ The site is offline
@Skyforger don't matter, boo


https://web.archive.org/web/20151012185354/http://niclas-thornqvist.se/rpg/scripts/ace/
 


BAM his scripts, all of em
@ZServ the script is still broken so this doesn't help me, thank you anyway 🙂

Original thread: https://forums.rpgmakerweb.com/threads/xail-system-journal-error.74257/