Skill:<\/b><\/td> (.*)<\/td><\/tr>/i);
const theImage = document.querySelector("body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav > li:nth-child(4)");
theImage.innerHTML = ``
}
} );
function insertAfter2(newNode, existingNode) {
existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling);
}
let menu = document.querySelector("body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav");
let li = document.createElement('li');
li.textContent = '';
insertAfter2(li, menu.children[2]);
// moxximod page
if ( document.URL.indexOf("crew_apply") != -1 ) {
var theImage11;
theImage11 = document.querySelector("#content")
theImage11.innerHTML =
'' +
'
' +
'
' +
'MoxxiMod is a userscript written to improve the gaming user interface and player experience
' +
'The code is a combination of CSS (cascading style sheets) and JS (javascript)
' +
'MoxxiMod is 100% free
' +
'If you want to support, please send points to Moxxi
' +
'For help with setup or to report a bug, join our Discord server
' +
'Click Here for the latest scripts
' +
'' +
'
BIG THANK YOU FOR THE TECHNICAL DEV SUPPORT
Beast666007, Bello, CarminT' +
'
AND THANK YOU TO THE BETA TESTERS
Rhino, Andreas, Brillo, Dkgoon StarFox, Kevin, Kriminal, Shawn Tyler, Xafloc, Jalek, Rodeo StarPower, TeddyPain, TheStud'+
'
'
}
// extra
if (document.URL.indexOf("726169") != -1 ) {
GM_addStyle ( `
#divProfile > div:nth-child(2) > div > div > div.col-xl-4.col-md-5 > div > div:nth-child(2) > div > div > div:nth-child(2) > img{content: url("https://studiomoxxi.com/ow_themes/custom_jobs/classic_01/disa_head.png") !important;}` );
};
// server switch link
var server = window.location.href;
var server2 = server.replace(/\.outwar\.com.*/, '');
var server3 = server2.replace(/http.*:\/\//, '');
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://torax.outwar.com/myaccount.php?ac_serverid=2',
onload: function (responseDetails) {
const toraxGet = /https:\/\/torax\.outwar\.com\/world\?suid=[0-9]+&serverid=2/i;
const toraxGetPrint = toraxGet.exec(responseDetails.responseText);
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://torax.outwar.com/myaccount.php?ac_serverid=1',
onload: function (responseDetails) {
const sigilGet = /https:\/\/sigil\.outwar\.com\/world\?suid=[0-9]+&serverid=1/i;
const sigilGetPrint = sigilGet.exec(responseDetails.responseText);
var torax = "torax";
var sigil = "sigil";
var servSwitch = '';
if (server3 != torax)
servSwitch += toraxGetPrint+"#";
if (server3 != sigil)
servSwitch += sigilGetPrint+"#";
let serverGo1 = servSwitch.replace("null", "");
let serverGo2 = serverGo1.replace("world", "home");
var otherServ = '';
if (server3 != torax)
otherServ = torax;
if (server3 != sigil)
otherServ = sigil;
// toolbar skills
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://torax.outwar.com/profile',
onload: function (responseDetails) {
const skill0 = / [\n\r](.*)%<\/td>/i;
const suppliesPrint = supplies.exec(responseDetails.responseText);
let result;
if (suppliesPrint[1] < 100) {
result = 'positive';
} else {
result = null;
}
var suppliesPOP = '';
if (result != null)
suppliesPOP += ` `;
// toolbar strength notification
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://outwar.com/profile',
onload: function (responseDetails) {
const strength = /event,'Strength: ([0-9]+)'/i;
const strengthPrint = strength.exec(responseDetails.responseText);
let resultStr;
if (strengthPrint[1] < 100) {
resultStr = 'positive';
} else {
resultStr = null;
}
var strengthtb = '';
if (resultStr != null)
strengthtb += ` `;
// toolbar gladiator notification
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://outwar.com/gladiator?mobid=4391',
onload: function (responseDetails) {
const vorkCheck = /Will retreat in/i;
const vorkPrint = vorkCheck.exec(responseDetails.responseText);
var vork = '';
if (vorkPrint != null)
vork += ` `;
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://outwar.com/gladiator?mobid=3991',
onload: function (responseDetails) {
const zerxCheck = /Will retreat in/i;
const zerxPrint = zerxCheck.exec(responseDetails.responseText);
var zerx = '';
if (zerxPrint != null)
zerx += ` `;
// toolbar boss notification
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://outwar.com/crew_bossspawns',
onload: function (responseDetails) {
const boss01 = /images\/CosmosGreatAllBeing\.jpg/i;
const cosmos = boss01.exec(responseDetails.responseText);
const boss02 = /images\/DeathReaperOfSouls\.jpg/i;
const death = boss02.exec(responseDetails.responseText);
const boss03 = /images\/MaekrixDreadedStriker\.jpg/i;
const maekrix = boss03.exec(responseDetails.responseText);
const boss04 = /images\/BlackhandReborn\.png/i;
const blackhand = boss04.exec(responseDetails.responseText);
const boss05 = /images\/velserverboss\.jpg/i;
const zyrak = boss05.exec(responseDetails.responseText);
const boss01h = /Cosmos, Great All Being.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i;
const cosmosh = boss01h.exec(responseDetails.responseText);
const boss02h = /Death, Reaper of Souls.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i;
const deathh = boss02h.exec(responseDetails.responseText);
const boss03h = /Maekrix, Dreaded Striker.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i;
const maekrixh = boss03h.exec(responseDetails.responseText);
const boss04h = /Blackhand Reborn.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i;
const blackhandh = boss04h.exec(responseDetails.responseText);
const boss05h = /Zyrak, Vision of Madness.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*p class="card-user_occupation"> (.*)/i;
const zyrakh = boss05h.exec(responseDetails.responseText);
const boss01s = /Cosmos, Great All Being.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*()\(stats\)<\/a>/i;
const cosmoss = boss01s.exec(responseDetails.responseText);
const boss02s = /Death, Reaper of Souls.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*( )\(stats\)<\/a>/i;
const deaths = boss02s.exec(responseDetails.responseText);
const boss03s = /Maekrix, Dreaded Striker.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*( )\(stats\)<\/a>/i;
const maekrixs = boss03s.exec(responseDetails.responseText);
const boss04s = /Blackhand Reborn.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*( )\(stats\)<\/a>/i;
const blackhands = boss04s.exec(responseDetails.responseText);
const boss05s = /Zyrak, Vision of Madness.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*( )\(stats\)<\/a>/i;
const zyraks = boss05s.exec(responseDetails.responseText);
var boss = '';
if (cosmos != null)
boss += cosmoss[1]+` `;
if (death != null)
boss += deaths[1]+` `;
if (maekrix != null)
boss += maekrixs[1]+` `;
if (blackhand != null)
boss += blackhands[1]+` `;
if (zyrak != null)
boss += zyraks[1]+` `;
// toolbar god notification
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://outwar.com/raidtools',
onload: function (responseDetails) {
const god1img = /onclick="sendTeleportRequest.*(images.*)" border.*/i;
const god1imgPRINT = god1img.exec(responseDetails.responseText);
const god1txt = /onclick="sendTeleportRequest.*[\n\r].*Teleport to (.*)<\/font>/i;
const god1txtPRINT = god1txt.exec(responseDetails.responseText);
const god2img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god2imgPRINT = god2img.exec(responseDetails.responseText);
const god2txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god2txtPRINT = god2txt.exec(responseDetails.responseText);
const god3img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god3imgPRINT = god3img.exec(responseDetails.responseText);
const god3txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god3txtPRINT = god3txt.exec(responseDetails.responseText);
const god4img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god4imgPRINT = god4img.exec(responseDetails.responseText);
const god4txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god4txtPRINT = god4txt.exec(responseDetails.responseText);
const god5img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god5imgPRINT = god5img.exec(responseDetails.responseText);
const god5txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god5txtPRINT = god5txt.exec(responseDetails.responseText);
const god6img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god6imgPRINT = god6img.exec(responseDetails.responseText);
const god6txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god6txtPRINT = god6txt.exec(responseDetails.responseText);
const god7img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god7imgPRINT = god7img.exec(responseDetails.responseText);
const god7txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god7txtPRINT = god7txt.exec(responseDetails.responseText);
const god8img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god8imgPRINT = god8img.exec(responseDetails.responseText);
const god8txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god8txtPRINT = god8txt.exec(responseDetails.responseText);
const god9img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god9imgPRINT = god9img.exec(responseDetails.responseText);
const god9txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god9txtPRINT = god9txt.exec(responseDetails.responseText);
const god10img = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*(images.*)" border.*/i;
const god10imgPRINT = god10img.exec(responseDetails.responseText);
const god10txt = /onclick="sendTeleportRequest.*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*[\n\r].*Teleport to (.*)<\/font>/i;
const god10txtPRINT = god10txt.exec(responseDetails.responseText);
var gods = '';
if (god1imgPRINT != null)
gods += ` `;
if (god2imgPRINT != null)
gods += ` `;
if (god3imgPRINT != null)
gods += ` `;
if (god4imgPRINT != null)
gods += ` `;
if (god5imgPRINT != null)
gods += ` `;
if (god6imgPRINT != null)
gods += ` `;
if (god7imgPRINT != null)
gods += ` `;
if (god8imgPRINT != null)
gods += ` `;
if (god9imgPRINT != null)
gods += ` `;
if (god10imgPRINT != null)
gods += ` `;
// all toolbar
document.querySelector("body > center > div.sub-header-container > header > ul.navbar-nav.flex-row.mr-auto.toolbar-nav > li.nav-item.more-dropdown.little-space.hide-on-mob.progress-top").innerHTML =
''+
'toolbar1
'+
'toolbar2
'+
'toolbar3
'+
'
'
document.querySelector("#toolbar1").innerHTML =
'' +
`` +
' '+
' '+
'' +
'
FAST TRAVEL ' +
'
' +
'
' +
'
'
document.querySelector("#toolbar2").innerHTML =
''+
'
NOTIFICATIONS '+
gods+boss+zerx+vork+suppliesPOP+strengthtb+
' '
document.querySelector("#toolbar3").innerHTML =
''+
'
SKILLS '+
skills+
' '
}})}})}})}})}})}})}})}})}});
// homepage rankings
if ( document.URL.indexOf("outwar.com/home") != -1 ) {
function insertBefore(newNode, existingNode) {
let sp2 = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(2) > div > div:nth-child(1)");
existingNode.parentNode.insertBefore(newNode, sp2);
}
let menu = document.querySelector("#content-header-row > div.bio.col-lg-8.col-md-8.col-sm-12.col-12.layout-spacing.layout-spacing > div.widget-content.widget-content-area.text-left > div > div > div:nth-child(2) > div")
var homepageEQ =
'' +
'CHAR: POWER
' +
'CHAR: ELE DMG
' +
'CHAR: CHAOS DMG
'+
'CHAR: GROWTH
' +
'
' +
'CREW: POWER
' +
'CREW: ELE DMG
' +
'CREW: CHAOS DMG
' +
'CREW: BOSS DMG
'
let div = document.createElement('div');
div.innerHTML += homepageEQ;
insertBefore(div, menu.children[0]);
}
GM_xmlhttpRequest ( {
method: 'GET',
url: 'https://torax.outwar.com/ajax/rankings?type=crew_power',
onload: function (responseDetails) {
const EQ = /\{.*/i;
const EQprint = EQ.exec(responseDetails.responseText);
var isLoading = false;
function selectCategory(category, title, isCrew) {
if(isLoading)
return;
$('#rank-title').html(title);
$('#ranks').hide();
$('#ranks').html('');
$('#last-updated').html('');
isLoading = true;
$.getJSON('/ajax/rankings.php?type=' + category, function(data) {
var isOdd = true;
$.each(data.results, function(key, value) {
if(isCrew) {
var imgurl = data.baseimageurl + "/" + value.pic;
var profileUrl = 'crew_profile?id=' + value.id;
}
else {
var imgurl = data.baseimageurl + "/uploaded/" + value.pic;
var profileUrl = 'characters/' + value.id;
}
if(value.pic == '' || value.pic == null)
imgurl = '/images/gangster1.jpg';
var rowClass = isOdd ? 'rank-row-odd' : 'rank-row-even';
var stat = '0';
if(value.stat ) {
stat = value.stat.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
}
var html = ''
+ '