Browse Source

Fixed issue with filterscan not loading for some European setups.

master
atom0s 7 years ago
parent
commit
38cd96b9ad
  1. 10
      filterscan.lua

10
filterscan.lua

@ -25,17 +25,23 @@
_addon.author = 'atom0s'; _addon.author = 'atom0s';
_addon.name = 'filterscan'; _addon.name = 'filterscan';
_addon.version = '3.0.0'; _addon.version = '3.0.1';
require 'common' require 'common'
require 'mobparse' require 'mobparse'
-- Get the proper install folder..
local polVersion = AshitaCore:GetConfigurationManager():get_uint32("boot_config", "pol_version", 2);
if (polVersion == 4) then
polVersion = 3;
end
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
-- Variables -- Variables
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
local FilterScan = local FilterScan =
{ {
FFXiPath = ashita.file.get_install_dir(0, 1) .. '\\', FFXiPath = ashita.file.get_install_dir(polVersion, 1) .. '\\',
MobList = { }, MobList = { },
ZoneDatList = require('zonemoblist'), ZoneDatList = require('zonemoblist'),
Filter = '' Filter = ''

Loading…
Cancel
Save