Jump to content

"Extracting and alerting"


SG1

Recommended Posts

I'm pretty new in php and I need some help from you pro's out there :-)

 

To give you a good picture of what i want to do i will try to explain what it is for too.

 

I am playing a game where there are some mobs spawning every now and then. These are displayed by js on all the pages in the game in their "toolbar" where you also get all other info relevant to your character, by mouseover... i figure you have already guessed this a password protected site.

 

So i now want to make a script that logs on from another domain get the mobs and if there are changes a pop up notifies you there is a new mob spawned.

 

 

So here is what I THINK I need to do

 

1. Access the site

2. Search the site through the page home.php for the names of these mobs. ( guess a new search about every 30 sec)

3. If there are anyone that has spawned since the last search make an alert.

 

Problem is i have no idea of how to do this and i figure it all won't be done with php alone... don't expect you guys to make a script for me, but to show me the ropes so i can find out how to do this. :-) Thanks alot everyone

 

 

Link to comment
Share on other sites

if all the searching about the mobs is being done "Client Side", ie the page has already loaded on the clients computer, then PHP will be no use to you, unless you send the page away every 30 seconds and bring it back for PHP to check for you, because PHP is parsed and executed before it is sent to the clients computer.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.