• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Highscores lookup?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I was hoping to find out if there it's possible to do the following somehow.

I'm no pro, I just want advice on how/what i need to do.


In the game i play (eldevin.com) you can have multiple characters and on the highscores you can lookup who the main account linked to an individual character name through the highscores.

If you type the character name from this list https://www.eldevin.com/top?list=char_xp

into this page https://www.eldevin.com/top?list=account_xp

for example "Velda" it would return a result of LegendVonAnger (Velda) on the account page.

So i was hoping someone could tell me how I could query every name on the character list to tell me who everyone is instead of typing each one individually.

Would appreciate any knowledge or advice thanks.
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

Careful not to use Character as the name of a class; there already is a Character class. Not read the links, but your question doesn't sound difficult to solve. Go to the Java® Tutorials and find how you can use a for statement to iterate a List. You may find the counter example under Maps useful too.
 
John Mc Grath
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Campbell, that gives me something to work with.

That's understandable not wanting to click on them .
 
Campbell Ritchie
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic