This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<Vendors> | |
<NPCInfos> | |
<DisplayName>Merchant</DisplayName> | |
<Position> | |
<X>3565.81982</X> | |
<Y>-620.8921</Y> | |
<Z>20.4936523</Z> | |
</Position> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Mod6 sample 6.3.2015 | |
* Tasklist can be modified to configure the training you want to perform. | |
* The configurable options window sets how many profession slots you want to use for each profession. | |
* The level array below for each professions specifies the tasks you want to learn at each crafting level. | |
* Each craft slot will pick the first task that meets requirements. | |
* See http://pastebin.com/VaGntEha for Task Name Map. | |
* Some names above do not match, use below code to check: | |
* var tasks = client.dataModel.model.craftinglist['craft_' + profname].entries.filter(function(entry) { return entry.def && entry.def.displayname == taskname; }); tasks[0].def.name; | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _pbags_crafting = client.dataModel.model.ent.main.inventory.tradebag; //tradebag | |
$.each(_pbags_crafting, function (bi, bag) { | |
_pbags_crafting.forEach(function (slot) { | |
//console.log("item names", slot.name); | |
// Match unused slots | |
if (slot === null || !slot || slot === undefined) { | |
_bagUnused++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...so deleting unwanted Charsettings can be done, but filter and remove | |
// If character numbers have changed reload page | |
if (charcount != settings["charcount"]) { | |
console.log("Reloading gateway to update character count"); | |
var keys = GM_listValues(); | |
var charSetting_list = GM_getValues(charSettings); | |
console.log("keys inside", keys,charSetting_list); | |
//var whats =(charSettings.length / settings["charcount"]); | |
//console.log("wht is this", whats); |