cRPG

Strategus => Strategus Issues => Topic started by: Zildjan on March 04, 2014, 10:23:41 pm

Title: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Zildjan on March 04, 2014, 10:23:41 pm
Last strat someone, I forget who, told me to download Strategus Sorted Inventory 4.1 to help manage gear in Strat but I didn't get a chance to until this strat.  I installed it in chrome but it's fucked up.  If you click on a fief you now have an option to "follow" or "enter" it but no option to attack.  If you hit "follow" you attack instead.  This happened to me and cost me a bunch of troops and goods when my unarmed trader accidentally attacked a fief over night I was trying to just move near by "following" it. 

I'm not on the forums much, for all I know this issue has already been noticed and fixed but I figured I'd send out a heads up to watch out if you're using it.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: MURDERTRON on March 05, 2014, 03:54:59 pm
Typical Fallen conspiracy cover up attempt.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Aye_Chingao on March 07, 2014, 03:27:00 am
Remove the following lines from the script:

Code: [Select]
css += "#player_info li.sendaction:nth-of-type(8) { width: 92px; margin-left: 5px; background: url(http://img13.imageshack.us/img13/430/attackplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(8):after { content: 'Attack'; }";

css += "#player_info li.sendaction:nth-of-type(9) { width: 180px; margin-left: -9px; background: url(http://i.imgur.com/hBUwq.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(9):after { content: 'Enter fief' }";

css += "#player_info li.sendaction:nth-of-type(9):not(:last-child) { width: 90px; margin-left: -9px; background: url(http://img542.imageshack.us/img542/9219/tradeplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(9):not(:last-child):after { content: 'Follow'; }";

Looks like the image link that's hosted on imgur isn't working, and the imageshack ones are.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: GOBBLINKINGREATLEADER on March 07, 2014, 03:42:47 am
See I have that script and it messed up so that my attack button is removed so that now any time I need to attack someone I have to pull out my phone and use my phones internet browser.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Butan on March 07, 2014, 04:06:17 am
Remove the following lines from the script:

Code: [Select]
css += "#player_info li.sendaction:nth-of-type(8) { width: 92px; margin-left: 5px; background: url(http://img13.imageshack.us/img13/430/attackplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(8):after { content: 'Attack'; }";

css += "#player_info li.sendaction:nth-of-type(9) { width: 180px; margin-left: -9px; background: url(http://i.imgur.com/hBUwq.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(9):after { content: 'Enter fief' }";

css += "#player_info li.sendaction:nth-of-type(9):not(:last-child) { width: 90px; margin-left: -9px; background: url(http://img542.imageshack.us/img542/9219/tradeplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(9):not(:last-child):after { content: 'Follow'; }";

Looks like the image link that's hosted on imgur isn't working, and the imageshack ones are.


If you know what you're doing, can you upload a fixed script on the strategus sorted inventory topic? It will help many.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Aye_Chingao on March 07, 2014, 06:58:02 am
ok actually I lied, I removed this whole section:

Code: [Select]
// Buttons Player-Info
css += "#player_info { overflow: hidden; } ";
css += "#player_info li.sendaction { float: left; font-size: 0; overflow: hidden; vertical-align: middle; text-align: center; color: black; opacity: 0.8; margin-top: 5px; }";
css += "#player_info li.sendaction:after { font-size: 12px; font-weight: bold; line-height: 22px; }";
css += "#player_info li.sendaction:hover { color: white; opacity: 1.0; }";

css += "#player_info li.sendaction:nth-of-type(8) { width: 92px; margin-left: 5px; background: url(http://img13.imageshack.us/img13/430/attackplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(8):after { content: 'Attack'; }";

css += "#player_info li.sendaction:nth-of-type(9) { width: 180px; margin-left: -9px; background: url(http://i.imgur.com/hBUwq.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(9):after { content: 'Enter fief' }";

css += "#player_info li.sendaction:nth-of-type(9):not(:last-child) { width: 90px; margin-left: -9px; background: url(http://img542.imageshack.us/img542/9219/tradeplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(9):not(:last-child):after { content: 'Follow'; }";

css += "#player_info li.sendaction:nth-of-type(10) { width: 97px; margin-left: -5px; background: url(http://img547.imageshack.us/img547/6402/followplayerbutton.png) transparent no-repeat; }";
css += "#player_info li.sendaction:nth-of-type(10):after { content: 'Trade'; clear: both; }";

As far as
Quote
If you know what you're doing, can you upload a fixed script on the strategus sorted inventory topic? It will help many.
that sure as hell isn't me.

I'm using greasemonkey in firefox.  I clicked the dropdown by the monkey, then manage user scripts.  Right click on strategus sorted inventory 4.1, then edit.  Find the section above and remove it.  I don't have time to figure out how to upload a script to a site like the original creator used, so good luck!  I think if you could get ahold of the original author and have them fix that one imgur image link, it would all work, but I don't really like the buttons it added on the map page anyway.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Lt_Anders on March 08, 2014, 03:39:07 am
See I have that script and it messed up so that my attack button is removed so that now any time I need to attack someone I have to pull out my phone and use my phones internet browser.

Just disable it for that. Jeez, sperging so hard he grabs his PHONE to do strat. Autism...
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Zildjan on March 10, 2014, 10:08:10 pm
You don't even need to disable it, just know that there is no "follow" option for a fief so if you want to attack a fief just click on the fief and hit follow, and you will attack it.  I think everything else still works as labeled
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Aye_Chingao on April 11, 2014, 03:20:47 am
Here's a fixed version for Greasemonkey.

http://userscripts.org/scripts/show/459969 (http://userscripts.org/scripts/show/459969)

I also updated the item lists to current so the counts should be accurate.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Rhalzo on April 11, 2014, 03:27:46 am
Here's a fixed version for Greasemonkey.

http://userscripts.org/scripts/show/459969 (http://userscripts.org/scripts/show/459969)

I also updated the item lists to current so the counts should be accurate.

Thank you! I was going to try to find the code myself to fix the items, but then I got too lazy.
Title: Re: Attacking Fief Glitch with 'Strategus Sorted Inventory 4.1'
Post by: Haze_The_Hobo on April 11, 2014, 10:10:50 am
Here's a fixed version for Greasemonkey.

http://userscripts.org/scripts/show/459969 (http://userscripts.org/scripts/show/459969)

I also updated the item lists to current so the counts should be accurate.

Thanks dude!