FSH Update 1491
#1
Posted 09 January 2015 - 01:27
#2
Posted 09 January 2015 - 01:40
Nice work to both PointyHair and yourself! Keep those updates coming!
#3
Posted 09 January 2015 - 06:32
Some fixes from myself
//fix offline member check //$(doc).find("h2:contains('Last Activity:')"); TO $(doc).find("p:contains('Last Activity:')"); var lastActivity = $(doc).find("p:contains('Last Activity:')");
//Problem, cannot fetch player his own stat due to null value of attackText.parentNode.nextSibling.firstChild.firstChild if (anItem.innerHTML == "Attack: "){ var attackText = anItem; var playerName = ""; playerName = $(doc).find('h1').text(); if (attackText.parentNode.nextSibling.firstChild.firstChild == null){ var attackLocation = attackText.parentNode.nextSibling.firstChild; playerAttackValue = attackLocation.textContent; } else{ var attackLocation = attackText.parentNode.nextSibling.firstChild.firstChild.firstChild.firstChild; playerAttackValue = attackLocation.textContent; } if (attackText.parentNode.nextSibling.firstChild.firstChild == null){ var defenseText = attackText.parentNode.nextSibling.nextSibling.nextSibling.firstChild; var defenseLocation = defenseText.parentNode.nextSibling.firstChild; playerDefenseValue = defenseLocation.textContent; } else{ var defenseText = attackText.parentNode.nextSibling.nextSibling.nextSibling.firstChild; var defenseLocation = defenseText.parentNode.nextSibling.firstChild.firstChild.firstChild.firstChild; playerDefenseValue = defenseLocation.textContent; } if (attackText.parentNode.nextSibling.firstChild.firstChild == null){ var armorText = defenseText.parentNode.parentNode.nextSibling.nextSibling.firstChild.nextSibling.firstChild; var armorLocation = armorText.parentNode.nextSibling.firstChild; playerArmorValue = armorLocation.textContent; } else{ var armorText = defenseText.parentNode.parentNode.nextSibling.nextSibling.firstChild.nextSibling.firstChild; var armorLocation = armorText.parentNode.nextSibling.firstChild.firstChild.firstChild.firstChild; playerArmorValue = armorLocation.textContent; } if (attackText.parentNode.nextSibling.firstChild.firstChild == null){ var damageText = armorText.parentNode.nextSibling.nextSibling.nextSibling.firstChild; var damageLocation = damageText.parentNode.nextSibling.firstChild; playerDamageValue = damageLocation.textContent; } else{ var damageText = armorText.parentNode.nextSibling.nextSibling.nextSibling.firstChild; var damageLocation = damageText.parentNode.nextSibling.firstChild.firstChild.firstChild.firstChild; playerDamageValue = damageLocation.textContent; } if (attackText.parentNode.nextSibling.firstChild.firstChild == null){ var hpText = damageText.parentNode.parentNode.nextSibling.nextSibling.firstChild.nextSibling.firstChild; var hpLocation = hpText.parentNode.nextSibling.firstChild; playerHPValue = hpLocation.textContent; } else{ var hpText = damageText.parentNode.parentNode.nextSibling.nextSibling.firstChild.nextSibling.firstChild; var hpLocation = hpText.parentNode.nextSibling.firstChild.firstChild.firstChild.firstChild; playerHPValue = hpLocation.textContent; } //
//fix buff 16 in group page for (var k = 0; k < listOfDefenders.length; k++) { shortList.push(listOfDefenders[k]); if (((k + 1) % 16 === 0 && k !== 0) || (k == listOfDefenders.length - 1)) { modifierWord = Helper.getGroupBuffModifierWord(k); theItem.innerHTML += "<br><nobr><a href='#' id='buffAll" + aMember.id + modifierWord + "'><span style='color:blue; font-size:x-small;' title='Quick buff functionality from HCS only does 16'>"+ "Buff " + modifierWord + " 16</span></a></nobr>"; var buffAllLink = System.findNode("//a[@id='buffAll" + aMember.id + modifierWord + "']"); buffAllLink.setAttribute("href","javascript:openWindow('index.php?cmd=quickbuff&t=" + shortList + "', 'fsQuickBuff', 618, 1000, ',scrollbars')"); shortList = new Array(); //
helpLink: function(title, text) { //popup description fix return ' [ ' + '<span style="text-decoration:underline;cursor:pointer;" class="tip-static" data-tipped="' + '<span style=\\\'font-weight:bold; color:#FFF380;\\\'>' + title + '</span><br /><br />' + text + '\');">?</span>' + ' ]'; },
//fix fetch the group stat from group page by the button "Fetch Group Stat" getRelicGroupData: function(responseText) { var processingStatus = $('td[title="ProcessingStatus"]'); processingStatus.html('Parsing attacking group stats ... '); var doc=System.createDocument(responseText); var allItems = doc.getElementsByTagName("TD"); for (var i=0;i<allItems.length;i++) { var anItem=allItems[i]; if (anItem.innerHTML == '<font color="#333333">Attack: </font>'){ var attackLocation = anItem.nextSibling; Helper.relicGroupAttackValue = attackLocation.textContent.replace(/,/g,"")*1; } if (anItem.innerHTML == '<font color="#333333">Defense: </font>'){ var defenseLocation = anItem.nextSibling; Helper.relicGroupDefenseValue = defenseLocation.textContent.replace(/,/g,"")*1; } if (anItem.innerHTML == '<font color="#333333">Armor: </font>'){ var armorLocation = anItem.nextSibling; Helper.relicGroupArmorValue = armorLocation.textContent.replace(/,/g,"")*1; } if (anItem.innerHTML == '<font color="#333333">Damage: </font>'){ var damageLocation = anItem.nextSibling; Helper.relicGroupDamageValue = damageLocation.textContent.replace(/,/g,"")*1; } if (anItem.innerHTML == '<font color="#333333">HP: </font>'){ var hpLocation = anItem.nextSibling; Helper.relicGroupHPValue = hpLocation.textContent.replace(/,/g,"")*1; } } System.xmlhttp("index.php?cmd=guild&subcmd=mercs", Helper.parseRelicMercStats); }, //
//Fix the null value of Def and Armor evulation in Creature info popup //var playerHPValue = parseInt($(doc).find('td:contains("HP:"):first').next().clone().children().remove().end().text().trim(),10); var playerHPValue = parseInt($(doc).find('td:contains("Health:"):first').next().clone().children().remove().end().text().trim(),10);
#5
Posted 09 January 2015 - 17:31
OK, in chrome, w/o Tampermonkey, the update doesn't work for GvG highlighting and there is no attack link in the logs. I don't use FSH to hunt, haven't really checked that. Also, it has always bothered me that PvP/GvG targets on the find player page are picked by actual level instead of virtual. It's an extra step when I'm down levels, it would be nice if I didn't have to change this....
Just one old lady's opinion
~Love, Penny
Have you hugged your Quango lately?
#6
Posted 09 January 2015 - 17:44
Just a heads up
Every time i log in, I have to retick in preferences> fsh settings > Move Online Allies List, Move FS box and Hide Helper Menu. When I log out, its like its not saved, or only saves changes for the current session.
Manage backpack still wont move items folder to folder either
Thanks for the work with it all
#7
Posted 09 January 2015 - 21:21
Just a heads up
Every time i log in, I have to retick in preferences> fsh settings > Move Online Allies List, Move FS box and Hide Helper Menu. When I log out, its like its not saved, or only saves changes for the current session.
Manage backpack still wont move items folder to folder either
Thanks for the work with it all
Yeah, it doesn't save any preferences for me either - 'tis fine for the session (however long that lasts) but then it's gone and has to be reinput.
- Lellarell likes this
Homer : Marge, don't discourage the boy. Weaseling out of things is important to learn. It's what separates us from the animals .. except the weasel.
Eddie Izzard : The National Rifle Association say that guns don't kill people, people do. But I think the gun helps, you know ? I think it helps. I think just standing there going "BANG" - that's not going to kill too many people, is it ?
I don't mean to sound pessimistic, but it seems that everything I eat lately turns to poo ...
#8
Posted 12 January 2015 - 18:33
Just a heads up
Every time i log in, I have to retick in preferences> fsh settings > Move Online Allies List, Move FS box and Hide Helper Menu. When I log out, its like its not saved, or only saves changes for the current session.
Manage backpack still wont move items folder to folder either
Thanks for the work with it all
Yeah, it doesn't save any preferences for me either - 'tis fine for the session (however long that lasts) but then it's gone and has to be reinput.
I'm having the same issue since December.
Thanks guys for update it.
Could you fix it please?
#9
Posted 12 January 2015 - 21:19
Another issue popped up this morning.. group members arent displayed, only the commas between. Tested this with turning gm on and off. Names are displayed fine without helper.
Also it didnt join me to group using the " join all groups' button
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users