Page 1 of 1

Where is it getting the information from? *Advanced Help*

Posted: Thu Oct 30, 2008 12:29 pm
by oscardog
Well, i play an MMO named DOFUS. And there is an online ladder, showing all the players and there XP and rank/level/sex etc.

Now, i have been fishing around there website and found what i wanted, sort of. Im looking to use the information on my website, but cant find where the information is being held!

So far i have found this, this is the actual 'ladder' page:

http://ladder.dofus.com/en/ranking

And it will load the top 50 or so players on the game, if it redirects you just clikc the 'ladder' link on the left navbar.

Now i looked at the source of the page, and by god there is alot of it. But i managed to find that when you define your search using the form, it calls a function named 'GetRating()' which obviously means that its used to get the information, i think.

There are alot of .JS files located on the source, but the one that i found that had the 'GetRating()' function in was this one:

http://static.dofus.com/javascript/ladder/rating.js

Just open it in wordpad and your away, if only i could understand JavaScript... But i had a look at its quite complex. After looking through i found the function that effectively generates the table of information, and the variables such as 'sNameRank' which is defined above in an IF statement, but i cannot quite work out where it draws the information from, the code is(one of the lines):

Code: Select all

var sNameRank = "";
  if(document.getElementById('sr').value != 0 && document.getElementById('br').value != 0)
    sNameRank = Lang.Global.Rank_breed_server;
Now, it dont know much JS but i worked out that it defines the variable, does a condition check and then if its true it sets sNameRank but from WHERE normally you'd expect something like it draws from a .csv/.txt/.lst file or from a database of some sort...

So can anyone point me in the right direction as to where it gets the information from, and dont worry im not trying to hack into there database Haha i just want to use the information :)

Thanks!

After Edit: I been looking through the JS file somemore and have now decided it definately gets the information from that 'Lang.Global'Rank' call thing, but have no idea how to access it/if it can be accessed.

MORE EDIT: Found that looking through other JS there are arrays made in this file:

http://static.dofus.com/javascript/ladder/lang_en.js

But still, i dont know where it gets the information from, here are the other JS files:

http://static.dofus.com/javascript/yahoo/connection.js
http://static.dofus.com/javascript/ladd ... ncludes.js

Thanks again...
(Sorry if this is in the wrong section)

Re: Where is it getting the information from? *Advanced Help*

Posted: Fri Oct 31, 2008 6:26 am
by oscardog
Anyone?

Re: Where is it getting the information from? *Advanced Help*

Posted: Thu Nov 06, 2008 3:10 pm
by kaszu
viewtopic.php?f=6&t=30037
9. Warez, copyright violation, or promotion of any other illegal activity may NOT be linked or expressed or posted in any form.
I believe they own all rights on the content and data
Information, products and services presented on the Website, as well as this text, are protected by copyright and intellectual property laws and they belong to their respective authors