Jump to content

Photo

FSH Update 1491


  • Please log in to reply
9 replies to this topic

#1 Yuuzhan

Yuuzhan

    Member

  • Members
  • PipPip
  • 355 posts
  • Badge
  • Canada

Posted 09 January 2015 - 01:27

Anonther one from PointyHair, with a few small modifications myself!
 
Automatic update is disabled, so you will have to manually update your clients.
 
==Revision 1491 (yuuzhan)==
  # (minor) FS: Fixed bio compressor
  # (minor) FS: Shrunk Edit Bio box
  # (minor) FS: Mouseover on Settings Page, as well as a few other tweaks
  # (minor) FS: Inventory forge icon has been fixed on the Bio page
  # (minor) FS: Removed a few more broken functions


#2 gomezkilla

gomezkilla

    Veteran

  • Members
  • PipPipPip
  • 1,303 posts

Posted 09 January 2015 - 01:40

Nice work to both PointyHair and yourself! Keep those updates coming!



#3 kenwyl

kenwyl

    New Member

  • Members
  • Pip
  • 6 posts

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:&nbsp;</font>'){
				var attackLocation = anItem.nextSibling;
				Helper.relicGroupAttackValue = attackLocation.textContent.replace(/,/g,"")*1;
			}
			if (anItem.innerHTML == '<font color="#333333">Defense:&nbsp;</font>'){
				var defenseLocation = anItem.nextSibling;
				Helper.relicGroupDefenseValue = defenseLocation.textContent.replace(/,/g,"")*1;
			}
			if (anItem.innerHTML == '<font color="#333333">Armor:&nbsp;</font>'){
				var armorLocation = anItem.nextSibling;
				Helper.relicGroupArmorValue = armorLocation.textContent.replace(/,/g,"")*1;
			}
			if (anItem.innerHTML == '<font color="#333333">Damage:&nbsp;</font>'){
				var damageLocation = anItem.nextSibling;
				Helper.relicGroupDamageValue = damageLocation.textContent.replace(/,/g,"")*1;
			}
			if (anItem.innerHTML == '<font color="#333333">HP:&nbsp;</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);


#4 PointyHair

PointyHair

    Member

  • Members
  • PipPip
  • 322 posts

Posted 09 January 2015 - 16:08

Thanks kenwyl I'll get those merged in.

 

I just wanted to point out that automatic update hasn't worked for a very long time. I'm looking into several alternatives so watch this space!



#5 BadPenny

BadPenny

    Veteran

  • Members
  • PipPipPip
  • 5,280 posts
  • United States of America

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

 

 

krQtqDH.jpg

~Love, Penny

 

Have you hugged your Quango lately?


#6 chslayer

chslayer

    Member

  • New Members
  • PipPip
  • 134 posts
  • Australia

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 Pardoux

Pardoux

    Veteran

  • Members
  • PipPipPip
  • 4,130 posts
  • Australia

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.


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 Lellarell

Lellarell

    Member

  • Members
  • PipPip
  • 308 posts

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 chslayer

chslayer

    Member

  • New Members
  • PipPip
  • 134 posts
  • Australia

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



#10 Yuuzhan

Yuuzhan

    Member

  • Members
  • PipPip
  • 355 posts
  • Badge
  • Canada

Posted 12 January 2015 - 23:55

End of this topic see : https://forums.hunte...492-big-update/




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Font:
Arial | Calibri | Lucida Console | Verdana
 
Font Size:
9px | 10px | 11px | 12px | 10pt | 12pt
 
Color: