Hello,
I'm wanting to know if it was possible to make a script which would log the top 100 peoples EXP on the highscores and then check it again after 15 minuntes and output the data to a notepad file saying the difference in experience.
Thanks
Zezenia highscores
- Almost_there
- Posts: 404
- Joined: 30 Sep 2014, 10:32
Re: Zezenia highscores
It would depend if the text is within a control that can be accessed by Autohotkey. Just use Windows Spy and see if it works.
Re: Zezenia highscores
Here is what it says.Almost_there wrote:It would depend if the text is within a control that can be accessed by Autohotkey. Just use Windows Spy and see if it works.
- Almost_there
- Posts: 404
- Joined: 30 Sep 2014, 10:32
Re: Zezenia highscores
Ok, you'll probably need some library that can use COM (IE only) to control and read web elements I guess.
- FanaticGuru
- Posts: 1906
- Joined: 30 Sep 2013, 22:25
Re: Zezenia highscores
Yes. It will require some skill and work. Getting the information from the website is the hard part.Demonkil wrote:Hello,
I'm wanting to know if it was possible to make a script which would log the top 100 peoples EXP on the highscores and then check it again after 15 minuntes and output the data to a notepad file saying the difference in experience.
Thanks
I would down load the entire HTML code for both URL:
https://www.zezeniaonline.com/community ... evel/page1
https://www.zezeniaonline.com/community ... evel/page2
Then I would parse that text using either RegEx or DOM to put all the information I want into an array for storage.
The comparing, outputting to Notepad, repeating, is all fairly trivial.
With AHK experience it is a short but moderate difficulty project.
FG
Hotkey Help - Help Dialog for Currently Running AHK Scripts
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
- FanaticGuru
- Posts: 1906
- Joined: 30 Sep 2013, 22:25
Re: Zezenia highscores
Here is a start to download the first page of HTML.
The MsgBox is too small to display all the text but gets the concept across.
FG
Code: Select all
MsgBox % Get_URL_Html("www.zezeniaonline.com/community/highscores/All/level/page1")
Get_URL_Html(URL)
{
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
whr.Open("GET", "http://" URL, true)
whr.Send()
whr.WaitForResponse()
return whr.ResponseText
}
FG
Hotkey Help - Help Dialog for Currently Running AHK Scripts
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
Who is online
Users browsing this forum: Descolada, Google [Bot], hiahkforum, jchestnut, mcd, Sem552, ShatterCoder and 104 guests