Where do i start

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
SidewinderX
Forum Contributor
Posts: 407
Joined: Fri Jul 16, 2004 9:04 pm
Location: NY

Where do i start

Post by SidewinderX »

ive been pondering for days on how to start my next project, but i have no clue!

The task is to create a search engine which searches for a players PCID. (For a little back ground, when you register for this game your account is assigned a PCID number, and each account is allowed to have 5 players)
To see a players PCID number you need to know their player name and then search for their player name here http://nw4.novaworld.net/NWStats.dll?su ... n=charlist
, click on their player name, and it will tell you their PCID

esentially i want to reverse the process. instead of searching for a players name to find his PCID number, i want to search his PCID number to find 1 to 5 of his player names.

oh and i cant connect to the data base and the only website that displays the PCID numbers is the link above, it has been done before but the person who created it wont help me at all

Like i said, i have no clue where to begin, so even the least bit of information is helpfull
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

looks like you need to create a page parser that can read each player page creating a working list of PCID to player information. After each page is processed hit the next page and start over until you find all the players attached to a PCID. So a lot of regular expressions are in your future.
SidewinderX
Forum Contributor
Posts: 407
Joined: Fri Jul 16, 2004 9:04 pm
Location: NY

Post by SidewinderX »

would it be reasonable to search over 200 000 players this way?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

generally no.. but that depends on how fast both servers are.. to help, you can build a cache of the data on your server in a database that uses linking data to ease the hit..
Post Reply