<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>@J.M.
To get the timer to work I basically cheated: in the timer function that the entire script uses (look for &lt;code&gt;Timer.start = function...&lt;/code&gt; when the timer is up it checks if the action is an object, if so it 'clicks' it: &lt;code&gt;next_page.click();&lt;/code&gt;. That is where the problem was occurring with the Ajax implementations (since the page would no longer refresh), so I added this line: &lt;code&gt;setTimeout(Timer.start, 5000, window.location.href, message, timer);&lt;/code&gt; to manually refresh the page after 5 seconds in case it hasn't already happened.

@SoulKeeper
The search script I wrote on page 3 (http://userscripts.org/topics/18417?page=3#posts-95759) looks like it still works just fine for me, but just in case I will increase the time between searches from 0 - 60 seconds to 30 - 90 seconds to see if that has better success. Let me know if this works or if a bigger range is needed.

I haven't gotten around to fixing the quick heal yet, but you're right it is broken. I'm sure it is just some xpaths that are messed up from the changes, it's just a difficult mod to fix since it is all done via ajax.

As another note of good news, the original author of the script has sent me message as a request for me to simply send him the updates to the script and he will update the core. So I will start doing that once I stop being lazy and get around to fixing the city auto buy and the quick heal.</body>
  <body-html>&lt;p&gt;@J.M.
&lt;br /&gt;To get the timer to work I basically cheated: in the timer function that the entire script uses (look for &lt;code&gt;Timer.start = function...&lt;/code&gt; when the timer is up it checks if the action is an object, if so it 'clicks' it: &lt;code&gt;next_page.click();&lt;/code&gt;. That is where the problem was occurring with the Ajax implementations (since the page would no longer refresh), so I added this line: &lt;code&gt;setTimeout(Timer.start, 5000, window.location.href, message, timer);&lt;/code&gt; to manually refresh the page after 5 seconds in case it hasn't already happened.&lt;/p&gt;

&lt;p&gt;@SoulKeeper
&lt;br /&gt;The search script I wrote on page 3 (&lt;a href=&quot;http://userscripts.org/topics/18417?page=3#posts-95759&quot;&gt;http://userscripts.org/topics/18417?page=3#post...&lt;/a&gt;) looks like it still works just fine for me, but just in case I will increase the time between searches from 0 - 60 seconds to 30 - 90 seconds to see if that has better success. Let me know if this works or if a bigger range is needed.&lt;/p&gt;

&lt;p&gt;I haven't gotten around to fixing the quick heal yet, but you're right it is broken. I'm sure it is just some xpaths that are messed up from the changes, it's just a difficult mod to fix since it is all done via ajax.&lt;/p&gt;

&lt;p&gt;As another note of good news, the original author of the script has sent me message as a request for me to simply send him the updates to the script and he will update the core. So I will start doing that once I stop being lazy and get around to fixing the city auto buy and the quick heal.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-05-30T18:18:30Z</created-at>
  <forumable-id type="integer">29870</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">127367</id>
  <topic-id type="integer">18417</topic-id>
  <updated-at type="datetime">2009-05-30T18:23:30Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">70381</user-id>
</post>
