Archived Comments (locked)

in
Subscribe to Archived Comments 15 posts, 4 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
b|shop User

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

 
shenun99 User

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

 
RunningBlind Script's Author

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.

 
b|shop User

thanks!

 
RunningBlind Script's Author

that was easy...

lol.

 
RunningBlind Script's Author

that's pretty funny.

i'll check it out and find a fix.

 
b|shop User

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

 
RunningBlind Script's Author

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

could you give a screenshot or something?

 
b|shop User

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

 
RunningBlind Script's Author

no problem.

 
shenun99 User

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

 
RunningBlind Script's Author

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.

 
RunningBlind Script's Author

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.

 
shenun99 User

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

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel