PDA

View Full Version : Reset Timer Tracking Script


Havoc
08-23-2009, 09:25 PM
Does anyone have a copy of the anti-macro and script policy that the GM had brought out some time back?

I'm thinking of writing a greasemonkey script to help keep track of reset timers, and wanted to check if it would be allowed.

EDIT: After the GM's approval, the script is now ready for use.

Installation:
Install Firefox (http://www.getfirefox.com)
Install the Greasemonkey (https://addons.mozilla.org/en-US/firefox/addon/748) addon for Firefox
Install the Reset Time Tracker Script (http://userscripts.org/scripts/show/56422)
Install the Reset Time Display Script (http://userscripts.org/scripts/show/56424)
[MOD EDIT:Scarbrow] Install the new functional version of the Reset Time Display Script (http://userscripts.org/scripts/show/92742)

Use:
The script will pick up the timer for each location once you visit it/run through it. If you swap to a new character, or load a saved game, the timers will continue to show what they were at, till you visit the relevant location again.
To 'watch' a particular location, click on its name. The script will alert you when the timer for that location reaches zero.
Times may be off by up to 1 min.

Disclaimer:
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

I got that off the net :)

Comments and feedback welcome.

smv1973
08-23-2009, 11:34 PM
I am looking for you. I found this so far from a game update from last year.


11/3/08 - A Word about Scripts/Macros
Please note that using scripts/macros or other such automatic devices to play the game is not allowed. Any account found to be using such practices may be removed or penalized.


The use of such programs to automate play violates the spirit of the game and is not fair to vast majority of Sryth's brave adventurers who do not employ such tactics.


** I also just found this from the old forum.


Terms and Conditions

All accounts are required to read and agree to the following terms and conditions. Please read the terms and conditions listed below.

* Scripts/Macros/Automated Play Procedures
The use of scripts/macros or other such automatic devices to play the game is not allowed. Accounts/characters found to be in violation of this policy may be removed.
* Offensive/Obscene Language
Account usernames or character names that are obscene or imply obscenity, or are derogatory or deemed offensive are not allowed and may result in the removal of accounts/characters found to be in violation.
* Abusing Bugs
Knowingly abusing bugs/glitches without reporting them is not allowed. Accounts/characters in violation of this policy may be removed or penalized.

I understand and agree to abide by the terms and conditions set forth above.


http://shadowwolf47.proboards.com/index.cgi?board=talk&action=display&thread=4337&page=2#64150

Havoc
08-24-2009, 05:10 AM
Thanks a lot. Looks like just a set of clocks shold be allowed then. :)

If anyone is interested, I'll post the script once it's ready.

Havoc
08-24-2009, 06:45 PM
Just to be on the safe side, I've sent the GM a mail asking for his permission. Spoilerified to conserve space.

Hi,

I've just made a Greasemonkey script for Sryth to help me keep track of the reset timers on all the different grinding locations.

All this does is keep track of when I visited/completed a location, and then tracks in how much time that location would be ready for play again. I'm attaching a screenshot of what it looks like right now.

I know that you have a policy against bots and macros, but I don't think that this falls into that category.

* Scripts/Macros/Automated Play Procedures
The use of scripts/macros or other such automatic devices to play the game is not allowed. Accounts/characters found to be in violation of this policy may be removed.

Still, I wanted to ask your permission before using this script. Also, would it be ok with you if I allowed other players to use the script?

I can send you the exact code if you're interested. Your suggestions and comments would be welcome.

I understand that I could have just petitioned you to add in these numbers, and it would have probably been a lot easier for you to do so, given server-side access to the numbers, but I didn't want to distract you from all the great work you're doing. :)

Anyway, thanks,

Havoc

The Image in Question:
http://i31.tinypic.com/ven1ag.png

Taleria
08-24-2009, 07:38 PM
Thanks a lot. Looks like just a set of clocks shold be allowed then. :)

If anyone is interested, I'll post the script once it's ready.

I'd be interested. But I wouldn't know the first thing about how to use it. Also, would it be accessible, or is it a graphic?

Havoc
08-24-2009, 07:46 PM
Using it won't be too difficult. You'd have to install the Greasemonkey (https://addons.mozilla.org/en-US/firefox/addon/748) add-on for Firefox (www.getfirefox.com). Installing the script would then be straightforward.

As for accesibility, I currently have the timers showing in the top right corner of the game window, where it normally reads something like

'Earn Adventurer Tokens...
Donate to support Sryth™ and reward yourself.
Earn valuable Adventurer Tokens for your donation!

If your screen reader can read that area, which I assume it can, you ought to have no problems reading the timers either.

smv1973
08-24-2009, 08:39 PM
On your screenshot to the GM where did that big blue blotch come from that is covering all your gold, exp and AT.

Havoc
08-24-2009, 08:40 PM
The 'Airbrush' tool in Paint.

smv1973
08-24-2009, 08:45 PM
I have never used that before.

Oldschool
08-25-2009, 12:45 AM
On your screenshot to the GM where did that big blue blotch come from that is covering all your gold, exp and AT.

Good question SMV. Incidentally, Havoc I thought I might point out ;) that is concealing Magical's general xp - which I just inquired about in the Dr. Magical thread. :cool:

Kidding aside, whether or not it's allowed repped for the effort and willingness to share (if permitted). Noob computer question - how hard would it be for the GM to mod or implement the program for "universal use" on the game?

Havoc
08-25-2009, 06:08 AM
My main purpose in covering that stuff up was twofold.
a) I have very little General xp as compared to certain other forum members.
b) I have an embarassingly large amount of AT unspent, as I simply haven't bothered to go over to Tallys and work out what to buy.

Since the cover-up has clearly backfired, here's a new screenshot, with an updated version of the script, and no editing.

http://i29.tinypic.com/2ztdbp5.png

Oldschool
08-25-2009, 06:14 AM
37+ mil gold and 367 ATs...... :eek: Once you cipher out a "Tallys configuration" there goes the MR/SP/Items curve. Impressive indeed.

Taleria
08-25-2009, 02:22 PM
As for accesibility, I currently have the timers showing in the top right corner of the game window, where it normally reads something like

'Earn Adventurer Tokens...
Donate to support Sryth™ and reward yourself.
Earn valuable Adventurer Tokens for your donation!

If your screen reader can read that area, which I assume it can, you ought to have no problems reading the timers either.

Ah, thanks. :) Should work fine. *crosses fingers that it's permitted* Like Oldschool, I appreciate your willingness to share the script.

billydakid
08-25-2009, 04:47 PM
37 mil in gold wholly cow. can ya give me some lol. just give me 5 to 10 mil you won't even miss it lol.

Havoc
08-25-2009, 07:08 PM
New feature added!

Now, if you click on a particular location name, the script will 'watch' that timer for you. The moment the timer counts down to zero, an alert pops up, reminding you to get off your behind, and get moving. The 'watched' location name turns orange to help you keep track of what you're doing.

http://i28.tinypic.com/zwxrax.png

Zedalion
08-25-2009, 10:45 PM
I'd be very interested in said script.

Lightwielder
08-26-2009, 01:40 AM
I want to restate Oldschool's question, because I would like to see it answered, and nobody seemed to notice it.

Noob computer question - how hard would it be for the GM to mod or implement the program for "universal use" on the game?

smv1973
08-26-2009, 01:58 AM
Well from what Havoc told me is that he does not know of any program that would run the script in IE8. The script only can be used on Firefox. The GM has to write the program so that it would be able to run on everyones browsers no matter if they use Firefox or IE. It would be a great feature to have in the game.

Havoc
08-26-2009, 05:13 AM
The GM has added it to his list. It would actually be a lot easier for the GM, as he has server side access to the data. It would also work across browsers. The reason my script is limited to just Firefox is because I need to use a particular firefox add-on to inject javascript into the page.

The good news is that the GM has given me the go-ahead. Expect the script to be available some time later today.

Lightwielder
08-26-2009, 05:31 AM
Is there a way to allow it to remind you for the Crimson-Helmed Rider? I can never seem to remember to go to him each day.

If that's a possibility, that would be excellent.

Havoc
08-26-2009, 05:38 AM
That should be possible. I'll just have to figure out how to correct for server time. Are there any other requests?

shadowblack
08-26-2009, 08:38 AM
The explorable areas? For people who have not finished exploring a particular area it would be useful to know when the reset will be. But with so many explorable areas...

Havoc
08-26-2009, 10:19 AM
It would be an insane amount of work to add in all the explorable areas. Besides, it would clutter up the display a lot.

As for the CHR thing, it will need some time. Once the Archery tournament is over, I'll replace it with the CHR.

Anyway, the script is now ready. I've updated the first port with details on how to install it.

psychoadept
08-26-2009, 12:38 PM
I'm glad to see you've found some way to only apply it to your first character. I thought for a minute it would just respond to whichever character did each area most recently. I don't suppose there's some way to make it look at whichever character you're currently playing?

Joddelle
08-26-2009, 01:01 PM
I'm glad to see you've found some way to only apply it to your first character. I thought for a minute it would just respond to whichever character did each area most recently. I don't suppose there's some way to make it look at whichever character you're currently playing?
That shouldn't be hard at all - you could store the data in a javascript object (which is the closest thing javascript has to an associative array), and know which set of data to display by reading the character name at the top of the right-hand info window.

Havoc
08-26-2009, 01:09 PM
Actually, the way it currently is, it does actually record the last visit to that location, irrespective of character. Jodelle's suggestion would work for multiple characters, except that I'd need to code the data into the cookies I use for persistent storage.

I'm not sure if and when I'll actually implement that though. How often would you need to grind multiple characters simultaneously?

Joddelle
08-26-2009, 02:44 PM
all the time.

Say you have a 4 hour intensive play window - you run your main though the grind, then do the same for your secondaries and then go back to the main to see if anything has reset yet - I do that a lot.

And you could easily store the multi-player object in the cookie with JSON.

psychoadept
08-26-2009, 03:01 PM
Actually, the way it currently is, it does actually record the last visit to that location, irrespective of character.


Huh. Then something went wrong, because it triggered for Archery with Xaran, but not for Bone Horde with Vylix.

Zedalion
08-26-2009, 08:35 PM
Script is working perfectly for me, thanks very much for making it available.

thingirl
08-26-2009, 11:30 PM
Dad just downloaded it! The sad fact is that after visiting Zumryn's, The timers are all reading correctly. And they all say "Ready". This is going to work to help me a lot, if only because I dislike seeing the "ready" all the time.

Elrond
08-27-2009, 12:45 AM
I don't need a timer script, I've been looking for a certain heavy but empty pouch for a month! Oh well!

psychoadept
08-27-2009, 03:31 AM
If CHR is going to be on there, why not Moonpath, too? I always forget to do it...

Havoc
08-27-2009, 10:55 AM
I'll look into adding in Moonpath. That ought to be straightforward, as it works in the same way as the other replayables.

Also, I'm beginning to think that creating the script was a bad idea. While it does help with the grinding, it puts an inordinate amount of pressure on you to see those timers blinking 'Ready'. :)

thingirl
08-27-2009, 12:45 PM
It helps you remember to go there. And they don't blink (at least, not for me), there just green. And I can ignore them if I want.

Havoc
08-27-2009, 03:21 PM
They don't actually blink. They just do that in my head. :)

thingirl
08-27-2009, 03:38 PM
When the one you're watching goes to 0, it does give you a pop up.

Taleria
11-12-2009, 10:47 PM
If CHR is going to be on there, why not Moonpath, too? I always forget to do it...

Seconded. Strongly. I never forget to slay the troll; I just get frustrated when I go there and my timer hasn't reset yet.

Also, a request for added functionality. Could you add the Fogbough mushroom patch and pool to the timer list? I tend to visit there only occasionally as it is because I can't be sure the timers have reset.

Lastly, there may not be a need for this, since people may avoid the place after getting all their totems, but a timer for the tower might be useful. Or maybe the Bat Cave could be replaced with this one, given you get more gen exp at the end?

Thanks a lot, Havoc. The script works fabulously for me. Very simple interface, and even the popup dialogs work. Will rep you ASAP.

scout1idf
12-12-2009, 05:49 PM
I finally got around to installing Greasemonkey last night so I could use the scripts.

IT DOESN'T WORK WITH FIREFOX 3.5.5!!

Maybe they will upgrade Greasemonkey soon........

thingirl
12-12-2009, 07:53 PM
I finally got around to installing Greasemonkey last night so I could use the scripts.

IT DOESN'T WORK WITH FIREFOX 3.5.5!!

Maybe they will upgrade Greasemonkey soon........

Huh. I THINK that's what I run (key word, think. Could be an earlier version) and they work fine for me.

shadowblack
12-12-2009, 08:09 PM
I finally got around to installing Greasemonkey last night so I could use the scripts.

IT DOESN'T WORK WITH FIREFOX 3.5.5!!

Maybe they will upgrade Greasemonkey soon........
Which version of greasemonkey do you have? The latest is supposed to work with: Firefox: 1.5 – 3.6.*

Oldschool
12-12-2009, 09:01 PM
I'm running 3.5.5 and have no problem and haven't had any since I first installed it.

I did have a problem with one of the computers I use when I tried to install the scripts themselves. However, it seemed to be a server issue as I later installed them with no problem.

Incidentally I just got a Greasemonkey update within the past day or so. Version is 0.8.20091209.4 which seems also to reference the date of issue/creation.

To TG or anyone else.... To check your version of Firefox click "Help" then "About Mozilla Firefox".

Scout have you double checked that the scripts are under the "included pages" and that Greasemonkey is "enabled".

thingirl
12-12-2009, 09:09 PM
To TG or anyone else.... To check your version of Firefox click "Help" then "About Mozilla Firefox".

Thank you. And I'm using 3.5.5 just like I thought. No problems with the timers.

scout1idf
12-13-2009, 01:40 AM
I just tried again and it installed fine.

My guess is that the link that clicked must have taken me to an older version or maybe there was some other problem...


EDIT:

The timer is up and running fine....
Thanks Havoc.

scout1idf
12-13-2009, 05:42 PM
I was trying to exchange Archery with the Obelisk of Winter on the timer and couldn't make it work.

I'm not sure but I don't think I was picking the proper text for it to detect or text from the wrong screen.

Any Ideas?

Oldschool
12-13-2009, 07:06 PM
Oh yea I've an idea or two........

Ask Joddelle or Havoc or someone else as I haven't the foggiest. :p

Maybe I shoulda posted this under "you may be a jackass if......" ;)

Seriously that's a good question as Havoc once mentioned tweaking the timers once the first Archery contest was done. Although in all honesty since Magical accomplished legendary status across the board I see that as being a moot point.

Although Joddelle and Havoc come quickly to mind I'm sure there are others aboard that can probably offer some actual help as well - unlike moi.

scout1idf
12-13-2009, 07:52 PM
Oh yea I've an idea or two........

Ask Joddelle or Havoc or someone else as I haven't the foggiest. :p

Maybe I shoulda posted this under "you may be a jackass if......" ;)

Seriously that's a good question as Havoc once mentioned tweaking the timers once the first Archery contest was done. Although in all honesty since Magical accomplished legendary status across the board I see that as being a moot point.

Although Joddelle and Havoc come quickly to mind I'm sure there are others aboard that can probably offer some actual help as well - unlike moi.

After looking at the whole script to figure out what needed changed, the only thing I can figure out why it didn't work is which text needs to be "read" to start the timer.

I did make a small change in mine. The text is now red and green for Christmas. Not a big deal but I think it looks nice.......

Young Ned
12-14-2009, 11:07 AM
I finally got around to installing Greasemonkey last night so I could use the scripts.

IT DOESN'T WORK WITH FIREFOX 3.5.5!!

Maybe they will upgrade Greasemonkey soon........

I was going to beg to differ, because Greasemonkey is running fine for me, but I just realized I'm only on Firefox 3.5.2. Glad I'm not running the bleeding-edge version like you. :)

scout1idf
12-14-2009, 06:35 PM
I was going to beg to differ, because Greasemonkey is running fine for me, but I just realized I'm only on Firefox 3.5.2. Glad I'm not running the bleeding-edge version like you. :)

After restarting my computer and re-installing Greasemonkey it worked fine. I think the problem was my computer.

Young Ned
12-15-2009, 01:16 AM
Ahhhh... Glad you got it working!

Oldschool
12-14-2010, 03:55 AM
Are anyone else's timers not working? Actually mine aren't even showing so I reinstalled both Greasemonkey and the scripts themselves.

Also since I recently update FF to 3.6.13 I thought it might be it so I checked on another computer with 3.6.12 and still they're not displaying.

I also disabled then uninstalled Adblock Plus and the Element Hiding Helper companion since you can block individual frames with them and I just updated Adblock although I doubted it was the culprit. It wasn't btw as I just reinstalled them. I also disabled any extensions that have updated recently just in case - same result no difference.

I'm thinking it could be related to the placement of the donation box since it might be overlapping where the timers should be but I doubt it because; 1) no one else has mentioned having their timers disappear, 2) I think the timers still have room and 3) it doesn't seem that would matter but I am completely clueless when it comes to these things and that's the reason I mention it.

Any ideas/help appreciated.

Edit: Another reason I don't think it's the donation box is because they used to show before I logged on and now they don't and the donation box doesn't show up till after you log on.

kaffe
12-14-2010, 04:05 AM
My timers are gone also.

Oldschool
12-14-2010, 04:18 AM
Thanks Kaffe. It could be the donation box then. Although we should get some more feedback.

Just curious Kaffe what version of Firefox are you running or what browser as since they might work with Chrome since many extensions "cross over".

For anyone else replying whether they're working/displaying or not including your browser/version could be helpful. To check your FF version click 'Help' then 'About Mozilla Firefox'.

Thanks in advance.

kaffe
12-14-2010, 04:27 AM
I am using FF 3.6.13. I can not be 100% sure but I thought it was working after upgrading and the donation box.

Oldschool
12-14-2010, 04:53 AM
Well I'd been playing daily because of the Mad but not much else so I may have overlooked it until today when I started to do a grinding circuit that I've still yet to start besides the Pool of Muck and Tarn.

Interested to see what others will have to say.

scout1idf
12-14-2010, 06:50 AM
Mine hasn't worked for a while and I did the uninstall/reinstall of the scripts.

My guess is that the GM made some changes to the game page so the script doesn't have the correct information to display anything. Again, just a guess.

(FF version 3.6.13)

Oldschool
12-14-2010, 05:48 PM
Thanks Scout.

What about anyone else that uses them?

Zedalion
12-14-2010, 05:58 PM
Broken for me too.

Scarbrow
12-14-2010, 07:20 PM
Have you contacted Havoc? My grasp of Greasemonkey is very tenuous yet, but what I know is that script "pushes away" the donation box to the left to occupy its place. If the GM has made changes to the code, the script won't recognize the box, and if Havoc has been minimally careful, the timers won't show for fear of appearing where they shouldn't. The fix should be as simple as teaching the script how to locate the donation box again.

EDIT1: I was right. See:
cells[i].parentNode.replaceChild(schedule,cells[i])
That line replaces the donation box with the timers and another donation box. It's not finding the box, thus, not substituting.

EDIT2: Ohhh, this is simpler than I expected. Lacking an API, he resorted to code parsing, like I usually do. Maybe I'll be able to fix it.

EDIT3: Done. It needs a trivial change, and maybe a small update. The code for the donation box has changed slightly and now is:

<td align=left valign=top background="/images/background_bricksd4.gif">
<a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffffff;font-size:13px;"><b>Earn Adventurer Tokens...</b></a>
<font style="font-size:12px;color:#ffffff;">
<br/><a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffef5f;font-size:12px;">Donate</a> to support Sryth&trade; and be rewarded.
<br/>Earn valuable <a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffef5f;font-size:12px;">Adventurer Tokens</a> for your donation!
</font>
</td>


but this is optional, since Havoc's box has the right links. Now, the important part is that the token recognition (at the end) should be changed from "&& cells[i].align=='right')" to "&& cells[i].align=='middle')". As simple as that.

Scarbrow
12-14-2010, 08:57 PM
Since Havoc doesn't have much time (and I don't think he'll mind) I've gone and corrected it. I've had to upload a new script to my userspace at userscripts.org, but I've tested and it works.

So just uninstall the Reset Time Display Script 1.0, and install my Reset Time Display Script v1.1 (http://userscripts.org/scripts/show/92742). The Time Tracker script should work OK.

@Havoc:
If you see this and update your script, drop me a PM and I'll remove mine. You are the original author and attribution should fully go to you.

@Everyone:
If you find any other problem, post it here and I'll see what I can do.

Oldschool
12-15-2010, 12:09 AM
cells[i].parentNode.replaceChild(schedule,cells[i])<td align=left valign=top background="/images/background_bricksd4.gif">
<a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffffff;font-size:13px;"><b>Earn Adventurer Tokens...</b></a>
<font style="font-size:12px;color:#ffffff;">
<br/><a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffef5f;font-size:12px;">Donate</a> to support Sryth&trade; and be rewarded.
<br/>Earn valuable <a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffef5f;font-size:12px;">Adventurer Tokens</a> for your donation!
</font>
</td>


Ummmm......... ok, if you say so Scarbrow.

For the other members like me who are completely clueless about the above.

Translation = Thanks to Hav:)c and Scarbr:)w who rock! :D

scout1idf
12-15-2010, 06:10 AM
Thanks Scarbrow for the fix.

I just edited the script instead of down loading the new version.

Now I need to change the colors back to what I had before I uninstalled the other day and uploaded again. I forgot what the original color were since I changed them a few times.....

Young Ned
12-15-2010, 08:40 AM
Great job, Scarbrow -- thanks!

Ummmm......... ok, if you say so Scarbrow.

:) I've fooled around with Greasemonkey scripts a bit -- started out tweaking other people's scripts, and then eventually wrote a short one of my own, with a lot of help from a good Javascript book. So I followed Scarbrow's explanation somewhat, at least the general description of the problem and how he fixed it, if not the nitty-gritty details of the code. (I'd need to see the original section of code that needed changing and look up many of the details in my Javascript book to follow that part.)

scout1idf
12-15-2010, 03:58 PM
.....:) I've fooled around with Greasemonkey scripts a bit -- started out tweaking other people's scripts, and then eventually wrote a short one of my own, with a lot of help from a good Javascript book. So I followed Scarbrow's explanation somewhat, at least the general description of the problem and how he fixed it, if not the nitty-gritty details of the code. (I'd need to see the original section of code that needed changing and look up many of the details in my Javascript book to follow that part.)
I don't know why, but I can't seem to wrap my head around JavaScript.

PHP seems so much easier to figure out for me.

scout1idf
12-15-2010, 06:57 PM
.....Now I need to change the colors back to what I had before.....
Now that looks better.....

(I upped the font size from 75% to 95% for easier viewing :()

Oldschool
03-27-2011, 05:35 PM
Downside of the new Firefox 4 update is the timer scripts don't work.

Actually it seems to possibly be a Greasemonkey compatibility problem. And I checked and it seems the donation box location in the most current version 3 and FF 4 is the same.

Some googling revealed that there may be problems with some scripts. Some are related to certain personas with ver. 4 but I'm using the default and haven't even installed the appropriate add ons for personas.

Also I've reloaded both Greasemonkey and the scripts multiple times, disabled ALL my addons except for Greasemonkey and tried some tweaks courtesy of Scout - thanks buddy.

Still the timers didn't work so I'm guessing it's related to Greasemonkey and not the scripts themselves.

If anyone has any ideas/suggestions feel free to post. In the meantime I'm considering rolling back but the speed of version 4 is noticeable even with my system/isp. I'm still on the fence so for now I'll give it a bit of time to see if there's a new version of FF or GM that'll deal with it.

Blackcrowe
04-03-2011, 11:22 AM
Downside of the new Firefox 4 update is the timer scripts don't work..

Not sure if this helps you but my timers are running fine and I'm using Chrome instead of Firefox.:)

Oldschool
04-03-2011, 12:58 PM
Thanks Blackcrowe, it does help.

Chrome users did you "hear" that? Maybe you all already knew but they wouldn't work when I last used Chrome. In fact I had to reinstall Chrome as I never installed it on this computer.

Actually it took a while and some Googling to realize that you only have to install the scripts with Chrome and they'll work automatically - no GreaseMonkey or equivalent needed.

I'll probably only use it when I think or know I'll get enough time to do multiple runs in one sitting since my FF settings clear the cookies on exit they'd always reset anyways.

Also I edited the sticky'd Timer Thread with a mention re: installing them in Chrome to enable them.

kaffe
05-21-2011, 05:51 PM
Is anyone using Firefox 4? Have the issues mentioned above with Greasemonkey been resolved?

scout1idf
05-21-2011, 05:58 PM
Is anyone using Firefox 4? Have the issues mentioned above with Greasemonkey been resolved?

I was wondering that as well. I've been holding off updating to FF4 till I knew.

Any luck Oldschool?

Oldschool
05-21-2011, 08:52 PM
No and there has been at least one update to FF and one to Grease Monkey. However I'm on the other laptop which runs FF 3 as mine is on the way back from HP from warranty service (powering on issue). :) So it's possible somethings changed in the last week (went out Monday should be back tomorrow) or so but I doubt it as I've been on the desktop a time or two since then and it should be running the same as my laptop.

I'll confirm it later and edit accordingly.

Scarbrow
05-24-2011, 08:46 AM
The script is fixed. Tested with latest version of Firefox 4 and Greasemonkey

The GM has changed again the design of the donation box, that broke the script. Again, it was just a matter to substitute "right" for "middle". Sorry I took so long to check it.

The script will bring back the old donation box, sorry but I don't have the time to design right now. Anyway, people using the script already know where to donate and what you can get.

Installation instructions
Reinstall (http://userscripts.org/scripts/show/92742), reload page (F5), and you're done.

Oldschool
05-24-2011, 12:25 PM
Reps coming Scarbrow - thanks.

http://www.freesmileys.org/smileys/smiley-happy110.gif (http://www.freesmileys.org/smileys.php)

Easy fix folks just add the new Reset Time Display script v1.2 (the page lists it as v1.1 but it installs as v1.2) and you're ready to go. I removed the old Reset Time Display script v1.1 although I'm not sure if you have to or not.

Edit: Just installed this new version on the computer that is running Firefox 3's latest version and it works on it as well.

Edit2: And if you don't have the timers you need GreaseMonkey and the other script or just the latest scripts for Chrome users (no need for Greasemonkey). There are links to them which are located in the first post of the GM approved scripts thread here, http://www.srythforum.com/showthread.php?t=446

Just note the UPDATE sections which I may be condensing later once I confer with Scarbrow about the particulars regarding the fixes.

Scarbrow
05-24-2011, 04:10 PM
A few clarifications:


The name of the script was originally "(Sryth) Reset Time Display v1.1", to distinguish it from the "(Sryth) Reset Time Display v1.0" which is the one that Havoc wrote. However, there are two "names": The name you see on the page and the "hidden" version number in the source code. I updated earlier the source code, but not the page's metadata, hence the different version numbers. I've removed the version number from the metadata to avoid this source of confusion. Now the script (with the same URL as before) is named just Sryth Reset Time Display (http://userscripts.org/scripts/show/92742)
The timers should work now for all browsers and platforms. If it isn't so, please let me know by PM so I can fix it ASAP.
From time to time the game screen may vary as the GM redesigns Sryth. Since the script depends on some very minute details of the screen to show, these changes may make the script stop working. If that happens, please let me know
I have plans to update the script, maybe remove the obsolete Archery reference, and of course updating the look of the donation box. There is no timeline for this.
When you install a script, Greasemonkey copies the source to a folder of its own. Subsequent changes to the source you installed it from won't affect you unless you install it again.
For all intents and purposes, scripts with different names are different scripts, because Greasemonkey only looks at the name of the script to identify it. If you install different conflicting scripts, the first one installed is the one who will prevail. You will have to manually disable the one you don't want (usually, the oldest one). However, if you install a script with the same name than one you previously had, it will be cleanly and silently overwritten.
Usually, when you install a script you only need to refresh the appropriate page for it to start working, but sometimes you may need to close your browser and open it again.


Because of all of this, I've decided to remove the version number from the name of the script too. Now the version number will be on the Description field, where it won't confuse users or Greasemonkey :D From now on, new versions will quietly overwrite old ones. If you've already installed this one, remember to uninstall the v1.1 from the "Manage User Scripts" section of Tools -> Greasemonkey

I'll post again when changes are ready

Oldschool
05-24-2011, 04:44 PM
Thanks for the reply Scarbrow. The latest change works on Chrome and FF3 as I've tested them - at least on the most current versions.

While I thought that once you install the scripts they are safe from changes unless you reinstall, delete, etc.... I wasn't sure. What threw me off was that the timers just recently stopped working on Chrome and FF3 while the FF4 issue has been ongoing since it (FF4) went live.

Again thanks for the fix and the info above. I'll do some editing to the sticky'd script thread in help in light of the above.

And a reminder to folks. Unless something's changed the timers only work on Firefox and Chrome. However, I'm not overly familiar with other browsers add on/extensions.

EDIT: Updated the GM approved scripts thread, http://www.srythforum.com/showthread.php?p=9794#post9794

scout1idf
05-24-2011, 04:57 PM
Personally, I just copy & paste the source code and don't bother to down load the new version.

I've already personalize part of the display which makes the text for the donation info black and narrower so it's hardly noticeable. As Scarbrow mentioned before, I know how to donate so I don't need to see it.....

If anyone wants the display version like mine PM me and I'll send you the source code with my changes....

http://www.srythforum.com/picture.php?albumid=11&pictureid=370

Or I could just post it here.

EDIT:
I decided to go ahead and post my changes.

@Scarbrow===> if you would rather I didn't, go ahead and remove it from here.
(heading to work soon so I won't be around for a while to do it myself)
// ==UserScript==
// @name (Sryth) Reset Time Display v1.2
// @namespace none
// @include http://www.sryth.com/game/ci.php?f_c=border_top.inc
// @description Displays reset timers for the game www.sryth.com
// ==/UserScript==

// This is an updated (corrected) copy of the 1.0 version which is here: http://userscripts.org/scripts/show/56424. I just modified the minimum to make it work again.

// 2011-05-24 v1.2 Updated the design of the donation box.

function getCookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else {
begin += 2;
}
var end = document.cookie.indexOf(";", begin);
if (end == -1) {
end = dc.length;
}
return unescape(dc.substring(begin + prefix.length, end));
}

function getMinutes(name){
var now = new Date();
var minutes = Math.round((getCookie(name) - now.getTime())/60000);
if (minutes > 0 )
return minutes+" minute(s)"
else
return '<font color="lawngreen">Ready</font>'
}

function constructRow(location){
var textColour='#ffffff';
var row;
if (getCookie('watch')==location){
textColour='gold';
if (getMinutes(location).match('Ready')){
alert ("Time to go to "+location)
document.cookie = 'watch=null';
}
}
row='<tr><td style="color:'+textColour+';font-size:70%"><b>'+location+'</b>:</td>'+
'<td style="color:'+textColour+';font-size:70%">'+ getMinutes(location)+'</td></tr>'
return row
}

function showSchedule(){
var schedule=document.createElement("td");
schedule.innerHTML='<td><table width=0% height=0% align="right">'+
'<tr><td><table>'+
constructRow('Archery')+
constructRow('BoneHorde')+
constructRow('Ogredom')+
constructRow('Tarn')+
'</table></td><td><table>'+
constructRow('Axepath')+
constructRow('BatCave')+
constructRow('Jadefang')+
constructRow('YirTanon')+
'</table></td></tr>'+
'</table><font color="#000000">' +
'<br/><a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#000000;">Donate</a> to support Sryth&trade;'+'<br/> and reward yourself.'+
'<br/>Earn valuable <a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#000000;">Adventurer Tokens</a>'+'<br /> for your donation!'+
'</font></td>';

cells[i].parentNode.replaceChild(schedule,cells[i])

var bolds=document.getElementsByTagName('b')
for(var j=0;j<bolds.length;j++){
bolds[j].addEventListener('click',clickScript,true);
}

window.setTimeout(showSchedule,5000);
}

function clickScript(event){
if (getCookie('watch')==event.target.innerHTML)
document.cookie = 'watch=null';
else
document.cookie = 'watch='+event.target.innerHTML;
showSchedule();
}

var cells=document.getElementsByTagName('td')

for(var i=0;i<cells.length;i++){
if (cells[i].width=='100%' && cells[i].align=='right')
break;
}

showSchedule();

Oldschool
05-24-2011, 05:20 PM
Guess you took down your Christmas "lights". ;)

Forgot how handy those are - at least when I'm not alternating characters. Then it gets confusing. What I thought it was ready. :rolleyes:

And I forgot about how effective the visual and audio reminder is when you select one of the timers. Of course since I was on here I wasn't expecting it and it was more noticeable. Almost to the point of :eek:

This may be putting the cart before the horse since Scarbrow hasn't issued a timeline on other changes still consider it food for thought.

To all.....

If Archery is removed any ideas of a replacement to keep things symmetrical?

CHR is on the server reset and while Moonpath comes to mind since it's 24 hours and you'd lose it on log off it wouldn't be as "productive". Like to see it for the Pool of Muck but since there's no actual timer on it that one is out I would think.

Looks like Moonpath might get it by default or if? it could be set to coincide with a server reset (midnight server/US east coast time) it'd be a nice reminder re: CHR and residential improvement runs for folks. Plus it might help with other game stuff like the q'bonus and updates since many kick off around midnight like "The Mad".

Especially for those in a different time zone than the server. More so for folks outside the US I would think.

Although I'm on server time I'd say the latter (if possible) though I don't have the perspective. So what say the folks in other time zones?

Silk
05-31-2011, 10:02 PM
When I click install I'm just getting a page of source code. Can somebody walk me through the new install?

Was a long weekend filled with plenty of adult beverages, so I'm a little slow today...

Tetracapillactomist
05-31-2011, 10:38 PM
No, you're not slow. That's how the link reacts in FF4 as of late. Chrome had no problem with the link, nor FF4, prior to this. (Although Chrome does warn me that the script has access to all information stored on all web pages visited, which I found moderately... amusing).

So my first advice would be to download and install Chrome - then turn off all add-ons within it you don't need, install the script as an extension (no need for Greasemonkey either, incidentally, and obviously), and use your new browser to play Sryth alone (it is noticeably faster in my case, by the way).

Oldschool
06-01-2011, 03:09 AM
Hmmm. I'm running FF4 and haven't had a problem with it and just installed it again to confirm - again no problems.

And when Scarbrow first posted the fix I was on the other laptop which is running the (then) latest/most current version of FF 3.

Maybe make sure you're running the latest versions of whichever version. Also make sure that you're running the latest version of Greasemonkey as well.

Silk which version of FF are you running because the add ons and scripts are set up a little different between FF3 and FF4.

Silk
06-01-2011, 02:05 PM
i think it was FF4, but switching to Chrome solved the issue.

Tetracapillactomist
06-01-2011, 05:39 PM
Hmmm. I'm running FF4 and haven't had a problem with it and just installed it again to confirm - again no problems.

And when Scarbrow first posted the fix I was on the other laptop which is running the (then) latest/most current version of FF 3.

Maybe make sure you're running the latest versions of whichever version. Also make sure that you're running the latest version of Greasemonkey as well.

Silk which version of FF are you running because the add ons and scripts are set up a little different between FF3 and FF4.

(What am I, invisible...)

Like my previous post says: the link does not do what it should do. It did before, it worked, Grease was installed, so were the scripts, loaded (tested). Greasemonkey already up to date, when link still reacted as it should, still up to date. Then, for testing, scripts were dumped, Grease disabled, browser restarted, then Grease re-enabled, browser restarted. Gone to script page, click on "Install" link... resulted in the page displaying the source code instead. Here:
// ==UserScript==
// @name (Sryth) Reset Time Display v1.2
// @namespace none
// @include http://www.sryth.com/game/ci.php?f_c=border_top.inc
// @description Displays reset timers for the game www.sryth.com
// ==/UserScript==

// This is an updated (corrected) copy of the 1.0 version which is here: http://userscripts.org/scripts/show/56424. I just modified the minimum to make it work again.

// 2011-05-24 v1.2 Updated the design of the donation box.

function getCookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else {
begin += 2;
}
var end = document.cookie.indexOf(";", begin);
if (end == -1) {
end = dc.length;
}
return unescape(dc.substring(begin + prefix.length, end));
}

function getMinutes(name){
var now = new Date();
var minutes = Math.round((getCookie(name) - now.getTime())/60000);
if (minutes > 0 )
return minutes+" minute(s)"
else
return '<font color="lawngreen">Ready</font>'
}

function constructRow(location){
var textColour='white';
var row;
if (getCookie('watch')==location){
textColour='gold';
if (getMinutes(location).match('Ready')){
alert ("Time to go to "+location)
document.cookie = 'watch=null';
}
}
row='<tr><td style="color:'+textColour+';font-size:75%"><b>'+location+'</b>:</td>'+
'<td style="color:'+textColour+';font-size:75%">'+ getMinutes(location)+'</td></tr>'
return row
}

function showSchedule(){
var schedule=document.createElement("td");
schedule.innerHTML='<td><table width=0% height=0% align="right">'+
'<tr><td><table>'+
constructRow('Archery')+
constructRow('BoneHorde')+
constructRow('Ogredom')+
constructRow('Tarn')+
'</table></td><td><table>'+
constructRow('Axepath')+
constructRow('BatCave')+
constructRow('Jadefang')+
constructRow('YirTanon')+
'</table></td></tr>'+
'</table><font color="white">' +
'<br/><a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffffff;">Donate</a> to support Sryth&trade; and reward yourself.'+
'<br/>Earn valuable <a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffffff;">Adventurer Tokens</a> for your donation!'+
'</font></td>';

cells.parentNode.replaceChild(schedule,cells[i])

var bolds=document.getElementsByTagName('b')
for(var j=0;j<bolds.length;j++){
bolds[j].addEventListener('click',clickScript,true);
}

window.setTimeout(showSchedule,5000);
}

function clickScript(event){
if (getCookie('watch')==event.target.innerHTML)
document.cookie = 'watch=null';
else
document.cookie = 'watch='+event.target.innerHTML;
showSchedule();
}

var cells=document.getElementsByTagName('td')

for(var i=0;i<cells.length;i++){
if (cells[i].width=='100%' && cells[i].align=='right')
break;
}

showSchedule();
That, between spoilers... I hope it's clearer now.

Greasemonkey was enabled, browser restarted (that's required)... &c., &c., &c.

I haven't given it much thought, because I already determined Chrome was reacting faster, it requires no Grease, aaand (because of that) timer scripts can be enabled & disabled [I]without having to restart the browser!
So, overall, just a simpler, faster, more elegant solution and experience - not being a fanatic adherent or partisan to FF, I chose Chrome for this purpose, and for all those reasons. (Still prefer FF for most other things...)

You're welcome, Silk.

scout1idf
06-01-2011, 05:47 PM
I make it a little easier (for me)....

I'll go and copy the source code (on the greasemonkey site) then paste it into the existing file on my computer (making personal changes to color and size).

Refresh the page (not restart the browser) and I'm ready to go...

Oldschool
06-01-2011, 06:01 PM
(What am I, invisible...)


No it's just hard to see with my head up my keister. :rolleyes::o

Maybe it has something to do with Scarbrow's modification where he removed the version number. I'll send him a PM.

In the meantime you're right Chrome may be the easiest solution or for those really fond of Firefox then do as Scout suggests.

I make it a little easier (for me)....

I'll go and copy the source code (on the greasemonkey site) then paste it into the existing file on my computer (making personal changes to color and size).

Refresh the page (not restart the browser) and I'm ready to go...

Tetracapillactomist
06-01-2011, 06:37 PM
I thought of that, Scout, and meant to mention your solution to Silk - forgot to do it :rolleyes: - but... I still don't get this: why bother, when Chrome handles it so much more elegantly, and scripts have native support? :confused:
(Oh, and it seems somewhat faster, both with the forum and the game, it can give you an analysis of delays caused by various add-on components, allowing you to optimise on the fly, disabling/enabling them as you see fit, without having to restart repeatedly after making certain changes, blah-blah-blah, point being: it has merits.)

Be that as it may, it's not the scripts (these or any other) that require restarting the browser, but Greasemonkey itself, which isn't needed for Chrome.

Still, I'm no unquestioning fan of any browser (including Chrome), so to each their own - no skin off my nose, as they say.

I just offered the simplest solution I knew.

Sure, making changes to the scripts is cool, loading them manually is... well, "greasemonkey-cool," ;) (like working on your classic car for some, or modifying your weapon for others),

...but if all Silk wants to do is install and run it?...

(Like I said, I still use FF for other things - and Safari, IE9 as well - or anything else, for that matter, if and when those browsers suit a particular purpose. No one person is perfect, and the same is true of browsers. Why force the issue and struggle on account of something as insignificant as this? Unless it's a passion, of course - and I won't argue or debate passions at this time. :))

EDIT: darn it! :D Ninja'd... sorry OS - I was pottering with my post so long (went back to test again, look at loading scripts from files, see other download and install options in kind of a hurry), I half-expected that to happen... :) Oh, well... now my OCD got me hooked on it, and I just need to see what's going on, what am I missing... I know I'm missing something, and even though I'm using Chrome, now it just bugs me: why did it work before, what's up with the Grease-timer scripts-FF combo that results in that behaviour Silk mentioned, and I was able to reproduce so well, that now I'm stuck in it?... There is something obvious I'm missing, I'm sure - there must be - and I'm just waiting for the moment when I can slap my forehead and roll my eyes upon realising "the obvious." For the moment it just plain bugs me that I can't see that "obvious" thing - for me, right now: not so obvious, obviously... :D

Scarbrow
06-01-2011, 07:50 PM
I haven't modified the script since the last posted fix. It's working as expected for me. I'm running Firefox latest version 4.0.1 .

Sorry, I can't help more if I can't reproduce the error. However, while TC's solution works, good for everybody.

Tetracapillactomist
06-01-2011, 08:30 PM
Now I've done it manually - still no go... This is driving me nuts! There must be a reason I was able to reproduce it, and there's a reason I can't get out of the loop, I can't get it to work any more... but still can't find that (those) reason(s)...

Boy, this is annoying...

So: I'll have to go step by step, browser restarts, reboots, ingame visits to trigger areas, and all... bloody FF and Grease... Start from the beginning - except I don't want to go through uninstalling FF, cleaning off its traces, re-installing, resetting prefs, and all that... But ultimately, that might be the simplest way to work around this issue for those experiencing this hiccup...

Torn between not wanting to do it, and 'needing' to find out... I think I'll take a step back and think about it - until then: Chrome it is (at least for Sryth and these scripts).

Tetracapillactomist
06-01-2011, 11:27 PM
I KNEW IT!!! I knew it was something idiotically simple! Son of a ... !

(Sorry, I just can't easily stomach the fact that it took me hours to figure it out... hmph!...)

I jumped through all the hoops, switched to the main admin account (where FF was fresh, therefore never set up), installed Grease, then the scripts, started Sryth - it worked instantly, timers in their place...

So I switched back to my usual account, dumped Grease and the scripts, reset FF options to defaults, restarted the whole thing. Same result.

Grease installed and - within the Firefox menu -> "Add-ons" (or, if you have "Menu bar" enabled: "Tools" -> "Add-ons") Greasemonkey appears as "Enabled."

So, you go to the scripts page, click "Install" ... and instead an alternative version of the source code page loads...

(Here comes the idiotically simple reason... :( :o)

After installing Greasemonkey and restarting Firefox, it's not enough that Firefox's "Add-ons" page reports it "Enabled!"

Go to the little Greasemonkey options button in the upper right corner of your browser window, click on its little downward arrow to display an options menu, and click on "Enabled," which puts a check mark in front of that option - that's it! (I did warn it was idiotic...)

Now, instead of getting source code when clicking on a script's "Install" button, it will actually give you the installation confirmation and delay dialogue.

When I uninstalled, then re-installed for testing purposes, I forgot about that wanking little detail - although it's reported "Enabled," Grease in fact isn't fully, until you place that sh... little check mark against a wrongly named option ("Enabled" instead of "Enable" - more ranting about that below... Go f... yourself, little check mark, 'Greaseball' and your half-literate nomenclature ;))... Now you see why I thought Chrome to be more "elegant," not to mention simpler?...

If you don't have the little Greasemonkey options button in the upper right corner of your browser window (you should, but... I'll not assume anything at this point), then go to the opposite, left corner (still upper), and if you haven't yet, click on the "Firefox" button, hover over "Options," and in the submenu that appears, click on "Menu Bar," (it reduces the size of your viewable browser area by a small amount, but you can revert by unchecking this option once you're done).

In the newly displayed Menu Bar, click on "Tools," and you should see the "Greasemonkey" entry in the drop-down menu - hover over that, and again, the first option in its submenu is "Enabled." (Well, it's a misnomer, I suppose: it should in fact read "Enable" - without a "-d" at the end...:rolleyes:).

Click on that option as in the previous case, making sure a check mark is placed ahead of the word, and you're done. Revert to a slightly larger viewable area by clicking on "View," then hovering over the first option ("Toolbars"), and unchecking "Menu Bar." That's it, you're back where you started, except Grease and the script installation option should be working now...

And if you want to do it Scout's way, copying and pasting fresh code, or modifying an existing one, the installation path for Windows 7 is:
C:\Users\your user/account name here\AppData\Roaming\Mozilla\Firefox\Profiles\fhzv 8nt2.default\gm_scripts

For XP, I assume it would be (haven't tested):
C:\Documents and Settings\your user/account name here\AppData\Roaming\Mozilla\Firefox\Profiles\fhzv 8nt2.default\gm_scripts, but I'm not sure... Scout? (I'll correct it after you weigh in, if necessary...)

Oldschool
06-02-2011, 02:43 AM
If you don't have the little Greasemonkey options button in the upper right corner of your browser window (you should, but... I'll not assume anything at this point), then go to the opposite, left corner (still upper), and if you haven't yet, click on the "Firefox" button, hover over "Options," and in the submenu that appears, click on "Menu Bar," (it reduces the size of your viewable browser area by a small amount, but you can revert by unchecking this option once you're done).


I don't but it could be because my browser is set up different. For one thing I have the menu bar enabled which doesn't give me the Firefox dropdown menu on the left side. However even with the menu bar disabled (even on browser close and reload) I still don't get a Greasemonkey button even with the add on bar which I normally run.

Still glad you figured it out TC and nice post. I'll mention this issue in the sticky'd script thread with a link to your explanation - nicely done.

Btw I'm nearly positive I checked to make sure my Greasemonkey was the latest version earlier when I replied to Silk's post but I just tested it on the laptop running FF3 to see if the enable option is different (it's not) and got an update announcement re: Greasemonkey. Which reminds me to check to see if FF4 has a compatible version of the auto add on updater that FF3 has since that's how I discovered it.

Anyhoo current latest version is 9.05 which I'll finish updating to after I post this. After which I'll check to see if the new version behaves different. I'm guessing it doesn't and TC was probably running that version anyway. Still if there's a difference I'll edit this post.

Again nice investigating TC.

Edit: No change with the latest Greasemonkey version and just edited the opening post in the GM approved scripts thread re: the above issue with a link to TC's post.

scout1idf
06-02-2011, 05:13 AM
All I do is click on Manage User Scripts...

http://www.srythforum.com/picture.php?albumid=53&pictureid=375

Then on the add-on screen, click the edit button...

http://www.srythforum.com/picture.php?albumid=53&pictureid=376

Which brings up "Note Pad" (my default editor) and I make the changes I need.
When I'm finished I just save it, refresh my browser screen to see what I did, and if I like it just [X] out of Note Pad and close the add-on page.

Simple.

I never thought of finding the path to the file. I just use Manage through the little monkey in the corner, top or bottom, I have 2 links.

Tetracapillactomist
06-02-2011, 05:36 AM
I don't but it could be because my browser is set up different. For one thing I have the menu bar enabled which doesn't give me the Firefox dropdown menu on the left side. However even with the menu bar disabled (even on browser close and reload) I still don't get a Greasemonkey button even with the add on bar which I normally run.

That's not an issue (though the Greasemonkey button should be in the upper right corner of your screen, opposite the Menu Bar's options, which are in the upper left corner of your screen) - in that case you aim directly for "Tools" in the Menu Bar (I only mentioned the "Firefox" button in the upper left corner, because you need to get rid of it at least temporarily, and switch to the full Menu Bar, since the "Greasemonkey" entry is only visible in the drop-down menu of the "Tools" tab; if you alredy have the Menu Bar enabled, you're ready to go), and the rest is the same: click "Tools" -> click "Add-ons" -> go to Add-ons page (window or tab, depending on the FF options you set), newly opened, make sure Greasemonkey is listed in the "Extensions" group, and is showing as "Enabled" (if not, enable it, then restart Firefox - add-ons page itself offers that option once you enable Greasemonkey) -> now go back to menu bar's "Tools" tab, click on it and Greasemonkey should be listed in the drop-down menu -> hover over the "Greasemonkey" entry till its submenu opens -> click on "Enabled" (topmost option), and hover over the "Greasemonkey" entry again, making sure there is a check mark next to "Enabled."

That's it. It's simple, seems unnecessary (since the add-ons page already shows Greasemonkey is enabled), but it is in fact a necessary step. No check mark, no script functionality. (Just one of 'those things.')

As for version numbers: I started by testing with v.0.9.3, then switched to v.0.9.5 - as far as these steps are concerned, no difference.

(And OS: thank you. Much appreciated.)

EDIT: true, Scout - I thought of that because the scripts just wouldn't install initially, due to the issue brought up by Silk. All hinging on a stupid little redundant check mark, with no indication within Firefox that Greasemonkey was in fact not yet enabled... That's what threw me for a loop, knowing there must be some simple silly thing that I must have missed.

You're right though: once you do get the scripts installed you don't need the path (and for this purpose do use Notepad, because WordPad and 'higher' may not allow you to re-save the edited file as .js, forcing a text/doc format instead, whereas Notepad allows saving in the original format, by choosing the Save as... -> all files (*.*) option). Keep in mind I wasn't editing existing files, I initially had to put the scripts (the .js files) in place manually, so I needed the path. So that's a bit of "extra" info, in case anyone needs the path (at least under Win 7 - still unsure about XP).

scout1idf
06-02-2011, 06:30 AM
I guess I misunderstood the part about not having the script's installed and you were installing them not editing.

As for word pad and higher, all reading I've done basically says not to use them because of the 'hidden' code that they add that can mess up your html, css and scripts of varying kinds (javaScript, PHP and others).

I hadn't realized that you may not be able to save them in a certain format since I haven't used them.
Good information to know (just in case I got a case of http://www.freesmileys.org/smileys/smiley-shocked031.gif (http://www.freesmileys.org/smileys.php) ).

Tetracapillactomist
06-02-2011, 08:05 AM
And you gave me the idea to do what I should have done in the first place: provide some images. (Unfortunately, that's the best resolution I was allowed to upload - maybe I should have dug deeper in the options, but I'm spent...)

1) FF4's add-ons page with Greasemonkey "enabled" in the "Extensions" group - but not yet, despite what it says...
The three barely visible buttons towards the right of the "Greasemonkey" extension (bottom right-hand corner of the image) are, from left to right: "Options," "Disable," and "Remove."

http://www.srythforum.com/picture.php?albumid=54&pictureid=377


2) The "Firefox" all-in-one button, and the process of switching to the "Menu Bar."

http://www.srythforum.com/picture.php?albumid=54&pictureid=378

2a) Detail of the above...

http://www.srythforum.com/picture.php?albumid=54&pictureid=390


3) The "Greasemonkey" button in the upper right corner, and the "Menu Bar" with its "Tools" tab...

http://www.srythforum.com/picture.php?albumid=54&pictureid=379


4) The "Greasemonkey" button and its "Enabled" option, with the check mark already placed...

http://www.srythforum.com/picture.php?albumid=54&pictureid=380

3a) Detail of the above...

http://www.srythforum.com/picture.php?albumid=54&pictureid=388


5) And the "Menu Bar" -> "Tools" -> "Greasemonkey" -> "Enabled" steps, with the check mark...

http://www.srythforum.com/picture.php?albumid=54&pictureid=381

5a) Detail of the above...

http://www.srythforum.com/picture.php?albumid=54&pictureid=391

Only apply the check mark one way or the other: doing it both ways will negate the effect of placing the check mark, so even though the marks will still show, Greasemonkey will, in effect, be disabled.

Easily rectified though, if it does happen: make sure both check marks are removed, then re-apply it by only one of the two methods.

No browser restart is needed after "enabling" Greasemonkey in this second, redundant step - restart is only required after enabling or disabling within Firefox's "Add-ons" page (image 1).

6) Finally, if all went according to plans, the scripts loaded, installed, enabled in the "User Scripts" group - ready to go...

http://www.srythforum.com/picture.php?albumid=54&pictureid=392

6a) A close-up of that:

http://www.srythforum.com/picture.php?albumid=54&pictureid=383

Tetracapillactomist
06-03-2011, 05:26 AM
I guess I misunderstood the part about not having the script's installed and you were installing them not editing.

As for word pad and higher, all reading I've done basically says not to use them because of the 'hidden' code that they add that can mess up your html, css and scripts of varying kinds (javaScript, PHP and others).

I hadn't realized that you may not be able to save them in a certain format since I haven't used them.
Good information to know (just in case I got a case of http://www.freesmileys.org/smileys/smiley-shocked031.gif (http://www.freesmileys.org/smileys.php) ).

Speaking of which: if anyone is unhappy with the default font and font size, font style, and is frustrated (I know "Calibri" frustrated me, because it's a limited spectrum font, and I constantly had to switch manually to a font with a wider range of characters) not being able to change it in Windows 7 (or Vista, I suppose - never used that one, looked to me like a reincarnation of that awful Windows ME), there's an easy workaround (doesn't involve editing the registry, since I haven't found the hook, and no one has yet, as far as I know).
Not going to post it if it's not needed, and not here, since this thread is about Sryth-related scripts, but if you want it, drop a PM in my mailbox (or reply to this right here) and tell me where it should be posted.

scout1idf
06-19-2011, 12:43 AM
Rereading your post about the font got me thinking "how to change it in the script?", so I was playing around and this is what I came up with....

// ==UserScript==
// @name (Sryth) Reset Time Display v1.2
// @namespace none
// @include http://www.sryth.com/game/ci.php?f_c=border_top.inc
// @description Displays reset timers for the game www.sryth.com
// ==/UserScript==

// This is an updated (corrected) copy of the 1.0 version which is here: http://userscripts.org/scripts/show/56424. I just modified the minimum to make it work again.

// 2011-05-24 v1.2 Updated the design of the donation box.

function getCookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else {
begin += 2;
}
var end = document.cookie.indexOf(";", begin);
if (end == -1) {
end = dc.length;
}
return unescape(dc.substring(begin + prefix.length, end));
}

function getMinutes(name){
var now = new Date();
var minutes = Math.round((getCookie(name) - now.getTime())/60000);
if (minutes > 0 )
return minutes+" minute(s)"
else
return '<font color="lawngreen">Ready</font>'
}

function constructRow(location){
var textColour='#ffffff';
var row;
if (getCookie('watch')==location){
textColour='gold';
if (getMinutes(location).match('Ready')){
alert ("Time to go to "+location)
document.cookie = 'watch=null';
}
}
row='<tr><td style="color:'+textColour+';font-size:70%;font-family:YOUR CHOICE OF FONT FAMILY;"><b>'+location+'</b>:</td>'+
'<td style="color:'+textColour+';font-size:70%;font-family:YOUR CHOICE OF FONT FAMILY;">'+ getMinutes(location)+'</td></tr>'
return row
}

function showSchedule(){
var schedule=document.createElement("td");
schedule.innerHTML='<td><table width=0% height=0% align="right">'+
'<tr><td><table>'+
constructRow('Archery')+
constructRow('BoneHorde')+
constructRow('Ogredom')+
constructRow('Tarn')+
'</table></td><td><table>'+
constructRow('Axepath')+
constructRow('BatCave')+
constructRow('Jadefang')+
constructRow('YirTanon')+
'</table></td></tr>'+
'</table><font color="#000000">' +
'<br/><a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#000000;">Donate</a> to support Sryth&trade;'+'<br/> and reward yourself.'+
'<br/>Earn valuable <a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#000000;">Adventurer Tokens</a>'+'<br /> for your donation!'+
'</font></td>';

cells[i].parentNode.replaceChild(schedule,cells[i])

var bolds=document.getElementsByTagName('b')
for(var j=0;j<bolds.length;j++){
bolds[j].addEventListener('click',clickScript,true);
}

window.setTimeout(showSchedule,5000);
}

function clickScript(event){
if (getCookie('watch')==event.target.innerHTML)
document.cookie = 'watch=null';
else
document.cookie = 'watch='+event.target.innerHTML;
showSchedule();
}

var cells=document.getElementsByTagName('td')

for(var i=0;i<cells.length;i++){
if (cells[i].width=='100%' && cells[i].align=='right')
break;
}

showSchedule();
Just add what is in red and then replace YOUR CHOICE OF FONT FAMILY with.... well... your choice of font.

If you want to change the font size, change the % in blue. The first one is for the names (archery, etc....) and the second is for the time/ready.

I hope this helps.....

Tetracapillactomist
06-20-2011, 01:43 AM
Your post is great, thanks Scout - was useful in more ways tan one, as it triggered that question, dormant ever since I started using the scripts a few weeks back: why's there an Archery timer, when there's no such event?! :) (Though I'd like it if there were...)

So a replica, but it might be worth it though, for people to take advantage of the limited time event with its pill-popping schedule of "one every six hours" :rolleyes: :)

Follows the original post, in the spirit of "the more the merrier." ;)

I haven't got round hurling much, and that 6-hour timer I cannot track, so I thought I'd change the script to include a tracker for the Stone Hurl Challenge instead of that long-defunct Archery event.

Unfortunately I'm not a userscripts.org 'homey,' and even though I just signedup so I could upload the modded scripts - Havoc's tracker and the Scarbrow-modded display ones - I can't upload them for the moment.

Tested with Mozi FF and Google Chrome, both.

But if you're using Mozilla FF, it's very easy to load the script.

1) - pull up the "Add-ons" page (from "Tools" -> "Add-ons" - it should open in a new tab or window, depending on your personal settings for Firefox)

2) - on the "Add-ons" page, click on "User Scripts"

3) - "Copy" the appropriate code from here (first is the one for the display script, then, below I'll post the timer tracker itself); we'll go with the "(Sryth Reset Time Display v1.2" script first

4) - in the "Add-ons" -> "User Scripts" page, right-click on "(Sryth) Reset Time Display v1.2 -> click on "Edit" - the script should open in Notepad

5) - click on Notepad's Edit button -> "Select all..." -> "Paste"

6) - click Notepad's "File" button -> click "Save" -> close Notepad

"Add-ons" page still being open, now do the same as above for the time tracker script, starting with step 3) :

3) - "Copy" the code for "(Sryth) Reset Time Tracker v1.0"

4) - in the "Add-ons" -> "User Scripts" page, right-click on "(Sryth) Reset Time Tracker v1.0" -> hit "Edit" - the script should again open in Notepad

5) - click on Notepad's Edit button -> "Select all..." -> "Paste"

6) - click Notepad's "File" button -> click "Save" -> close Notepad

Sript code.

#1 - (Sryth) Reset Time Display v1.2 - copy (do not include [ code ] tags, if you're copying via the "Quote" window!):


// ==UserScript==
// @name (Sryth) Reset Time Display v1.2
// @namespace none
// @include http://www.sryth.com/game/ci.php?f_c=border_top.inc
// @description Displays reset timers for the game www.sryth.com
// ==/UserScript==

// This is an updated (corrected) copy of the 1.0 version which is here: // http://userscripts.org/scripts/show/56424. I just modified the minimum to make it work again.

// 2011-05-24 v1.2 Updated the design of the donation box.

// Stone Hurl Challenge modification - June 19, 2011 (TC).

function getCookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else {
begin += 2;
}
var end = document.cookie.indexOf(";", begin);
if (end == -1) {
end = dc.length;
}
return unescape(dc.substring(begin + prefix.length, end));
}

function getMinutes(name){
var now = new Date();
var minutes = Math.round((getCookie(name) - now.getTime())/60000);
if (minutes > 0 )
return minutes+" minute(s)"
else
return '<font color="lawngreen">Ready</font>'
}

function constructRow(location){
var textColour='white';
var row;
if (getCookie('watch')==location){
textColour='gold';
if (getMinutes(location).match('Ready')){
alert ("Time to go to "+location)
document.cookie = 'watch=null';
}
}
row='<tr><td style="color:'+textColour+';font-size:75%"><b>'+location+'</b>:</td>'+
'<td style="color:'+textColour+';font-size:75%">'+ getMinutes(location)+'</td></tr>'
return row
}

function showSchedule(){
var schedule=document.createElement("td");
schedule.innerHTML='<td><table width=0% height=0% align="right">'+
'<tr><td><table>'+
constructRow('StoneHurl')+
constructRow('BoneHorde')+
constructRow('Ogredom')+
constructRow('Tarn')+
'</table></td><td><table>'+
constructRow('Axepath')+
constructRow('BatCave')+
constructRow('Jadefang')+
constructRow('YirTanon')+
'</table></td></tr>'+
'</table><font color="white">' +
'<br/><a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffffff;">Donate</a> to support Sryth&trade; and reward yourself.'+
'<br/>Earn valuable <a href="/game/ci.php?f_c=donate.inc" target="fmain" style="color:#ffffff;">Adventurer Tokens</a> for your donation!'+
'</font></td>';

cells[i].parentNode.replaceChild(schedule,cells[i])

var bolds=document.getElementsByTagName('b')
for(var j=0;j<bolds.length;j++){
bolds[j].addEventListener('click',clickScript,true);
}

window.setTimeout(showSchedule,5000);
}

function clickScript(event){
if (getCookie('watch')==event.target.innerHTML)
document.cookie = 'watch=null';
else
document.cookie = 'watch='+event.target.innerHTML;
showSchedule();
}

var cells=document.getElementsByTagName('td')

for(var i=0;i<cells.length;i++){
if (cells[i].width=='100%' && cells[i].align=='right')
break;
}

showSchedule();


#2 - (Sryth) Reset Time Tracker v1.0 - copy (again, do not include [ code ] tags, if you're copying via the "Quote" window!):


// ==UserScript==
// @name (Sryth) Reset Time Tracker v1.0
// @namespace none
// @include http://www.sryth.com/game/ci.php?f_c=parser2.inc
// @include http://www.sryth.com/game/ci.php?f_c=parser2.inc&
// @description Script to track reset timers for the game www.sryth.com
// ==/UserScript==

// Stone Hurl Challenge update of Havoc's script - June 19, 2011 (TC).
// Archery event replaced by StoneHurl. If script lags and doesn't hook into timer instantly,
// wait a few seconds inside the Stone Hurl Challenge screen, till the tracker cathes on.

var now = new Date();
var minutes=parseInt( document.body.innerHTML.match(/\d+(?= minute)/g) )
var hours=parseInt( document.body.innerHTML.match(/\d+(?= hour)/g) )


//Tarn
if (document.body.innerHTML.match("Move away from the ruins of Tarn")){
if (minutes)
document.cookie = 'Tarn=' + escape(now.getTime()+minutes*60*1000)
}
else if (document.body.innerHTML.match("You hear something rattling about")){
minutes=180;
document.cookie = 'Tarn=' + escape(now.getTime()+minutes*60*1000)
}
//Jadefang
else if (document.body.innerHTML.match("Move away from the jadefang lair...")){
if (minutes)
document.cookie = 'Jadefang=' + escape(now.getTime()+minutes*60*1000)
}
else if (document.body.innerHTML.match("hive ravaged and their queen slain")){
minutes=90;
document.cookie = 'Jadefang=' + escape(now.getTime()+minutes*60*1000)
}
//Axepath
else if (document.body.innerHTML.match("Move away from the graveyard")){
if (minutes)
document.cookie = 'Axepath=' + escape(now.getTime()+minutes*60*1000)
}
else if (document.body.innerHTML.match("Without turning around again, you set off on your way.")){
minutes=60;
document.cookie = 'Axepath=' + escape(now.getTime()+minutes*60*1000)
}
//YirTanon
else if (document.body.innerHTML.match("Move away from the ruined temple")){
if (minutes)
document.cookie = 'YirTanon=' + escape(now.getTime()+minutes*60*1000)
}
else if (document.body.innerHTML.match("without looking back again, you turn and promptly set off on your way.")){
minutes=60;
document.cookie = 'YirTanon=' + escape(now.getTime()+minutes*60*1000)
}
//Bat cave
else if (document.body.innerHTML.match("in front of the cave stand two large rocks")){
if (minutes)
document.cookie = 'BatCave=' + escape(now.getTime()+minutes*60*1000)
}
else if (document.body.innerHTML.match("left the eerie confines of the shadowy lair.")){
minutes=60;
document.cookie = 'BatCave=' + escape(now.getTime()+minutes*60*1000)
}
//Stone Hurl
else if(document.body.innerHTML.match("Go back...")){
if (minutes)
document.cookie = 'StoneHurl=' + escape(now.getTime()+ (hours*60 + minutes)*60*1000)
}
else if (document.body.innerHTML.match("Proceed to the challenge...")){
minutes=360;
document.cookie = 'StoneHurl=' + escape(now.getTime()+ (hours*60 + minutes)*60*1000)
}
//Bone Horde
else if (document.body.innerHTML.match("The Bone Horde Challenge - Level 1<")){
minutes=180;
document.cookie = 'BoneHorde=' + escape(now.getTime()+minutes*60*1000)
}
//Ogredom
else if (document.body.innerHTML.match("The Lords of Ogredom - Level 1<")){
minutes=180;
document.cookie = 'Ogredom=' + escape(now.getTime()+minutes*60*1000)
}
//BHC and LoO
else if (document.body.innerHTML.match("Listed below are the various challenges available")){
var set=document.getElementsByTagName('ul');
for (var i=0;i<set.length;i++){
minutes=parseInt( set[i].innerHTML.match(/\d+(?= minute)/g) )
hours=parseInt( set[i].innerHTML.match(/\d+(?= hour)/g) )
if (set[i].innerHTML.match("Bone Horde")){
document.cookie = 'BoneHorde=' + escape(now.getTime()+ (hours*60 + minutes)*60*1000)
}
else if (set[i].innerHTML.match("Ogredom")){
document.cookie = 'Ogredom=' + escape(now.getTime()+ (hours*60 + minutes)*60*1000)
}
}
}

Tetracapillactomist
06-20-2011, 01:54 AM
... to make the coated coded pill easier to swallow...

http://www.srythforum.com/picture.php?albumid=45&pictureid=424

http://www.srythforum.com/picture.php?albumid=45&pictureid=423

http://www.srythforum.com/picture.php?albumid=45&pictureid=420

http://www.srythforum.com/picture.php?albumid=45&pictureid=422

http://www.srythforum.com/picture.php?albumid=45&pictureid=421

This is only to give an idea of what the above script mods are about.

(I won't be held responsible if the dingos carry off the family pet, blah-blah-blah, et cetera, et cetera, of course, but if you get stuck, report its original thread (http://www.srythforum.com/showthread.php?p=56242#post56242)... or this one...


And some info for Google Chrome users...

So, it's easy to open the script files in Firefox, but easy with Chrome as well, just find the location of the script files on your computer

- for Win 7, it's:

C:\->Users->YOUR USER/ACCT NAME->AppData->Local->Google->Chrome->User Data->Default->Extensions->fbchmanbdinpkmknmckiepfpoghbebab->1.0_0->script.js for the time tracker, and

C:\->Users->YOUR USER/ACCT NAME->AppData->Local->Google->Chrome->User Data->Default->Extensions->icdccanhhbkobimldcoenfifblhdjpkn->1.0_0->script.js for the timer display script;

the bold portion will (in the case of your account name) and may (in case of the folders containing the .js script files) be different from PC to PC, obviously, but that's easy to get around: open those .js files with Notepad, and see if they're the Sryth Time Tracker, or the Display file (just check whether the first lines match with the code above).

Tetracapillactomist
06-21-2011, 01:08 PM
Has anyone tried this and had problems of any sort?

Interested in anything, really, but here are some possible ones for feedback:

1) - timer for "StoneHurl" not working

2) - timer for "StoneHurl" working, but one or more of the others isn't

3) - any of the timers losing focus / stopping countdown / showing false "Ready" status / showing incorrect number of minutes (greater than 1 min, as that much is acceptable)

4) - any of the timers showing the same amount of time remaining as another event's timer, but not matching with the game's own countdown for that particular event

I can't think of any other possible glitches at the moment, but you get the idea. I'd like to know if any big grinders out there have noticed anything, assuming anyone is using the SHC-modded script.

I have three timers running, all tracking correctly their own events, logged in and out repeatedly, did what I could, but I don't have large enough blocks of uninterrupted time to run around all eight events, so:

ideally, I'd like to know if all eight timers displayed are running correctly, tracking as they should, what they should.

Thank you in advance for any feedback.

Oldschool
06-22-2011, 12:13 AM
Haven't had all eight current timers but I've had all but the BHC and LoO running correctly including the SHC. And I'm usually bouncing between windows and I've not had any problems with the option allowing you to select a timer to alert you when it's ready either. Which is VERY handy for folks that multi task like myself.

One reminder for folks like me that have multiple characters. Unless you completely close out the browser the timers stay "set". And my browser is set to clean on exit so there may be a way to close it out that allow the timers to stay set but I don't think so......

Anyhoo.... back to my original point. If you have multiple characters and a timer is already tripped, set, active, etc... it will stay set between characters until you take the newly logged on character to that timer's location and "reset" it.

Also on some locations the timer starts itself when you finish the grind and some require you to go back to the start and "retrieve" the info for the timer.

And neither of the mentions above are complaints or fix requests cause I'm extremely happy and familiar with the current scheme. Didn't realize how much I missed those timers till I "lost" em with FF4 then got 'em back.

Again TC - no problems with any of the timers that I've noticed at any time past or present.

Tetracapillactomist
06-22-2011, 10:29 AM
Well that's good news!

Meanwhile, me - with all the testing, running two browsers, sometimes simultaneously logging in with the same character, I've run into problems, but had so many things up, logged in and running, that shutting off is out of the question, and even browser restart would be inconvenient, so I ran into trouble... But I should really shut down and restart it all after a week (more?) of this poor tech-beast of a laptop running all things continuously, whether I'm home or not, awake or asleep... Things need to be cleared fom memory, at the very least... In fact the most I've done for weeks now (and not often), is send this thing into hibernation mode without a single reboot. (I wonder how much of this abuse it can take, and not keen on finding out... :))

Thank you - I'm glad to hear it's working.

Tetracapillactomist
06-23-2011, 03:42 PM
OK. It seems that when I keep switching from FF to Chrome, then back, I can run into trouble (may be solved by clearing various caches - cookies and all), but I can't always afford to do that for reasons unrelated to Sryth.

But even in my own particular case, as long as I register at least one other event timer by the script (other then the Stone Hurl Challenge, that is - or any of Zumryn's battleground challenges, to be cautious) - as long as Axepath, Jadefang, any one of the others, outside Z's BG, is hooked into, and visibly (as shown normally by the display script, within the game) tracking that timer, the rest all follow suit, fall into place, and track correctly and accurately, without losing focus or switching them. Obviously, I shouldn't jump in and out with different browsers, and shouldn't be logged in with both at the same time (not to mention, that browsers and computers should normally be given the benefit of a restart and a round of junk-clearing once in a while), and I wouldn't be, under normal circumstances, but: I prefer using Chrome hands down for Sryth, whereas most people use FF, so I had to test for both.

In any case, the event will be closed tomorrow - and then another attempt will begin: deciding which other repeatable task should replace the defunct Archery event, ant the soon-to-end Stone Hurl Challenge... and then hooking the tracker into that new candidate's timer successfully.

(FC ;))

Oldschool
06-24-2011, 12:17 AM
TC while a Moonpath timer would be nice the 24 hour aspect of it and the fact the timers reset on browser close (but that may be setting dependent?) makes it lower on the priority list than the others - at least for me. And when I grind I almost always run it with the main and if I do a grinding circuit with the alts it's also almost always included because of it's usually high rewards, extra xp for power use and its' short run time. Plus the gold payout is usually real good from a quality vs. quantity view.

Sidetracking aside....

Would it be possible to put a 24 hour game clock in that location tied to server time? And IF so would that be something folks would want? I'm in the server's time zone so that's a non issue for me. However, I think it'd be nice for folks outside the server time zone but maybe not. That would also serve as a CHR timer since it's on a server reset.

I'm guessing a Dark Pool of Muck timer wouldn't be possible since there's no timer status displayed by the game to retrieve the data from for the timers.

Aside from special contests/events the above are the only ones I can really think of aside from the replayable content on Sword Island which has the same "issue" as the PoM/DPoM in that no timer status is given by the game.

Anyhoo just some thoughts.

Young Ned
06-24-2011, 12:33 AM
In any case, the event will be closed tomorrow - and then another attempt will begin: deciding which other repeatable task should replace the defunct Archery event, ant the soon-to-end Stone Hurl Challenge... and then hooking the tracker into that new candidate's timer successfully.

For me, I'd like to have Varkyn's Tower tracked. You can go back to it every two hours, but I usually forget to go back for weeks at a time, so I still haven't gotten my Varkyn's Rings up to full power. Most of the folks here probably have, though, so that wouldn't help them out much. One of these days I may tweak my own copy of the timer scripts to do that.

Tetracapillactomist
06-24-2011, 04:09 PM
Well I'll try anything, given time, straightening things out at my end, and some luck - which brings me to your point about hidden timers, OS: that's a good question. Can they be hooked into?... I have no idea - can I even find them? Off the cuff, I'd say no, but I'll rummage, if I have time - I'm a dabbler in this, like many things, nowhere a pro, figuring things out as I go, trying to discern the logic, which is which is why I need time and some luck, I think.

I think browser restart necessarily resets things, as once the browser is shot down, there is no longer anything to do the tracking, the connection to the game's own script is lost, and more importantly: the browser itself stops running, so how could the script built for, and on top of it, continue to run, unless timers be built right into the script... all timers, each one of them running separately - but each would be a full script on its own, and that would only work if the timer scripts were live as well, as for a website, running uninterruptedly on a server - in other words: on the game server... In other-other words, the GM could do this... in other-other-other words, only the GM could implement permanently running timers and trackers for everyone, because - barring mishaps - the game servers are running round the clock...

Moonpath however, should - in (my) theory at least - work, because yes, server time resets at the end of the day, but not Moonpath's timer. Otherwise, at server reset you'd be able to access the cave - in other words, that would turn Moonpath over to the same timing system as that of CHR.
So, as with the other grinding spots on whose timers the tracking script loses focus when the browser's shut down, you'd have to revisit the quest location after restart, allowing the tracking script to pick up the trail.

Clock would be easy, I think, and there must be hundreds of scripts for it already, or thousands rather... but again, if the browser's shut down, it's 'gone.' But the way would be to link it to, and just fetch the time off the web (or even "Windows Time, and then set to Central US).
Again, easy to do by GM (I shouldn't say that, I feel, but...), if people wanted it... It could look like
"Server Time - 00:00 (CHR)"
for example.

Ned, for... FINISH UP THAT RING ALREADY! :D;) Really. :) It doesn't require that many visits - or shouldn't unless you're really-really unlucky with it. :)

(Well, most of this was written half-asleep again, and I gotta be everywhere a bit, end of month and all, so I have to post it without reviewing - hope it's readable.... I mean "coherent." :D)

(edit) Tsk... glaring omission: of course, after bringing up luck, I forgot to wish it...

Good luck, Young Ned!
(I hope 'better late than never' is still acceptable...)

Oldschool
06-24-2011, 10:43 PM
.....................(Well, most of this was written half-asleep again, and I gotta be everywhere a bit, end of month and all, so I have to post it without reviewing - hope it's readable.... I mean "coherent." :D)

Read that (and given similar comments) and thought of this line out of the "America" track "Sandman" in my current sig,

I understand you've been running from the man
That goes by the name of the Sandman ;)

Btw, very coherent post.

Tetracapillactomist
06-24-2011, 10:59 PM
Cool! The title is familiar - Ill tune in. :)

And thank you! :) And got it: Eastern Standard - sorry, was thinking of something else. :) Important precision though, as a whole hour's worth of difference can lead to some serious frustration and disappointment!
In any case, changing the time zone would be an easy fix - adapting a script ought be a greater one... We'll see. :)

Tetracapillactomist
07-01-2011, 08:05 AM
The script mod was created its own thread (as others of this nature are planned to have it created as they come along), but I could post it here too, if required.

For now, here's the link to the thread:

FOGBOUGH - "A Windowless Tower" Timer Tracking script (http://www.srythforum.com/showthread.php?p=56885#post56885)

Tetracapillactomist
07-16-2011, 02:28 AM
Multi-redundancy message:

timer tracking will now be built into the game, soon to be implemented.

It will be a customisable and run independently of your browser, so it will not reset upon shutdown.

More details here.

http://www.srythforum.com/showthread.php?p=57612#post57612 (http://www.srythforum.com/showthread.php?p=57612#post57612)