pagesource based turn notifier

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderators: Beta Team, Tech Team, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

pagesource based turn notifier

Postby a.sub on Mon Jun 22, 2009 9:49 pm

so the turn notifiers that i have tried (which i will admit are few) are based off the RSS feed which can be off to up to 5 minutes from what ive seen
not helpful if you are waiting for a speeder to fill up
so i figured why not make one based on the page source
if you view the page source of the my games page you can see when your turn is ready
<li class="status_green">

<b> <a class="rank p r8" title="Sergeant 1st Class a.sub's Profile" href="forum/memberlist.php?mode=viewprofile&amp;u=103879">a.sub</a>
<a class="rating" title="Sergeant 1st Class a.sub's Ratings" href="player.php?mode=ratings1&amp;username=a.sub">4.9</a>
</b> </li>

idk if this is possible or how to write scripts but if one was written that looks for
<li class="status_green">

<b> <a class="XXX" title="XXX" href="XXX">USERNAME</a>
<a class="rating" title="XXX" href="XXX">XXX</a>
</b> </li>

where all the XXX can be anything but the username in RED is what the user typed in, it could act as real time turn notifier.

is this possible?
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am
Medals: 26
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (2) Fog of War Achievement (1) Speed Achievement (2)
Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (1) Tournament Contribution (6)

Re: pagesource based turn notifier

Postby chipv on Tue Jun 23, 2009 12:22 am

Turn Watch does this on every page load.
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: pagesource based turn notifier

Postby a.sub on Tue Jun 23, 2009 12:29 am

chipv wrote:Turn Watch does this on every page load.

oh i didnt know that
thanks :)
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am
Medals: 26
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (2) Fog of War Achievement (1) Speed Achievement (2)
Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (1) Tournament Contribution (6)


Return to Tool Archives

Who is online

Users browsing this forum: No registered users

Login