Greasy Fork is available in English.

Neverwinter gateway - Profession Automation

Automatically selects professions for empty slots

< Valutazione su Neverwinter gateway - Profession Automation

Domanda/commento

Rotten_mindAutore
§
Pubblicato: 04/07/2015

Some "cosmetics" mods to look(pic + code)

These can be added to script some day, but now they are here for test(not added)

Replace line 2197 with below,

 // Set printopanle show extra info
    $("#prinfopane").empty().append("<h3 class='promo-image copy-top prh3'>Account [ " + accountName + " ]<br /> " + (settings["nw_username"]) +" <br />Diamonds: " + curdiamonds.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + "<br />Next task for " + settings["nw_charname" + charcurrent] + "<br /><span data-timer='" + chardate + "' data-timer-length='2'></span><br />#SCA[" + GM_getValue("dailyswordcoast", 0) + "]times." + "</h3>");

, adds extra info in "Panel".

Add code block after line 79,

//Get accountname and AD count
function accountTitle() {

var accountName;
try {
    accountName = unsafeWindow.client.dataModel.model.loginInfo.publicaccountname;
}
catch (e) {
    accountName = "Not Logged in";
}
//return accountName;
//}
var K_AD = (curdiamonds / 1000).toFixed(0);
document.title = "[" + accountName + "] AD: " + K_AD.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " K"; // New title :)  + curdiamonds.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
}

and add code below before line 142 (information is refreshed with 1000ms intervall then)

    // Set TAB title ot Account&AD´s
    accountTitle();

Pubblica risposta

Accedi per pubblicare una risposta.