Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Lords of Legend - Sort Potential Opponents By Wealth

Orders your potential opponents by wealth on the "attack" page.

Changlog

  • 07/23/08 - Added for counter-defense against the stupidest anti-script feature possible.
  • 07/21/08 - Altered to order by wealth, not to just highlight the largest value
  • 07/21/08 - First uploaded, forum request from http://userscripts.org/users/59869






1 point
login to vote
b|shop user
Posted Sep 18, 2008

can make an other script that will display only warlods with more than 350.000 gold on attack list?

1 point
login to vote
shenun99 user
Posted Jul 24, 2008

you are wanted now!
alot of ways to ignore that number -> slice(0) , substring , lastchild , [-1..1]
now, it's their turn to counter

1 point
login to vote
RunningBlind script's author
Posted Jul 24, 2008

this made me laugh...

I'm thinking... if one can write a script to read, sort, and display the forum gold... that same person (or persons) should probably be able to parse the leading digit from said gold. I don't know if it is being done... but it would have to be a random occurance.

no problem, man.

i feel like they're gonna catch me now. lol.

1 point
login to vote
b|shop user
Posted Jul 24, 2008

thanks!

1 point
login to vote
RunningBlind script's author
Posted Jul 24, 2008

that was easy...

lol.

1 point
login to vote
RunningBlind script's author
Posted Jul 24, 2008

that's pretty funny.

i'll check it out and find a fix.

1 point
login to vote
b|shop user
Posted Jul 24, 2008

now in the game there is a number that is ahead of amount of gold! the number is random generated and it is put there to be against this script! look at this link! there is much better explained:
http://vb.lordsoflegend.com/showthread.php?t=14408

1 point
login to vote
RunningBlind script's author
Posted Jul 24, 2008

uhm, i'm not too sure what you mean.

could you give a screenshot or something?

1 point
login to vote
b|shop user
Posted Jul 23, 2008

dude try to modify your script and remove the first number (that golden one) of the gold amount!

1 point
login to vote
RunningBlind script's author
Posted Jul 22, 2008

no problem.

1 point
login to vote
shenun99 user
Posted Jul 21, 2008

works great now, thanks, I just tested it in several pages.
I'm thinking about what features you can add to this.
thanks again.

1 point
login to vote
RunningBlind script's author
Posted Jul 21, 2008

this should be fixed in the ordering version, which i just put up.

i think its more efficient for it to order them.

let me know what you think.

and i also added the correct includes.

1 point
login to vote
RunningBlind script's author
Posted Jul 21, 2008

yeah was getting that a few times earlier. i think the problem has to do with the page's complex nested table structure and severe lack of id's for elements. i had to use xpath to access the table, but i suck at xpath, so i just copied the xpath firebug generated, which is really long. the script takes a while to find the table, but starts the script whether or not its actually identified.

1 point
login to vote
shenun99 user
Posted Jul 21, 2008

thanks, I'm going to test it ... ;)

edit:
hm, you should add these urls to
"http://lordsoflegend.com/user_attack.php*"
"http://www.lordsoflegend.com/user_attack.php*"
or
"http://*lordsoflegend.com/user_attack.php*"

and you know in some pages it doesn't show highest, nothing in the page ... I'm trying to know why ...

well I got this error:
Error: theTable is undefined
Source File: */gm_scripts/lords_of_legend_-_wealth/lords_of_legend_-_wealth.user.js
Line: 20

You could comment on this script if you were logged in.