[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Tick Timer Trouble

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Tick Timer Trouble
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Fri 03 Feb 2012 05:34 AM (UTC)  quote  ]
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Thu 02 Feb 2012 11:32 AM (UTC)  quote  ]
Message
When I do the debug, I get:

Object doesn't support this property or method: 'Debug'
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Thu 02 Feb 2012 05:33 AM (UTC)  quote  ]
Message
What? Recent versions of MUSHclient ship with the plugin, just use File -> Plugins to install it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Thu 02 Feb 2012 03:42 AM (UTC)  quote  ]
Message
[string "Immediate"]:1: unexpected symbol near '<'
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Thu 02 Feb 2012 02:29 AM (UTC)  quote  ]
Message
Template:bug

Please provide a summary of your world configuration:

  • Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")

    or

  • Install the Summary plugin (see "Summary" feature) and type "summary"

Then copy the resulting information from the output window, and paste into a Forum message.

You need version 4.55 onwards of MUSHclient to do this.



- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Wed 01 Feb 2012 09:34 PM (UTC)  quote  ]

Amended on Thu 02 Feb 2012 02:23 AM (UTC) by Nick Gammon

Message
I copied the edited trigger, and pasted it. Still not working and I'm almost wondering what I'm doing wrong.

Here's the exact copy from my client, but I didn't make any changes to the one you gave me:



<triggers>
  <trigger
   enabled="y"
   keep_evaluating="y"
   match="^\&lt;(?&lt;hp&gt;\d+)\/\d+ (?&lt;mana&gt;\d+)\/\d+ (?&lt;moves&gt;\d+)\/\d+ \d+ \d+ \d+\&gt; \[(?&lt;room&gt;[^\]]+)\] \[(?&lt;stance&gt;[^\]]+)\] +(?&lt;flying&gt;\(Flying\))? ?(?&lt;hour&gt;\d+)\:(?&lt;minute&gt;\d+)(am|pm)"
   regexp="y"
   send_to="12"
   sequence="100"
   variable="health"
  >
  <send>if %&lt;hour&gt; ~= old_hour or
%&lt;minute&gt; ~= old_minute then
  old_hour = %&lt;hour&gt;
  old_minute = %&lt;minute&gt;
  DoAfterNote (34, "TICK IN 7 SECONDS!") -- 7 seconds warning
end -- if</send>
  </trigger>
</triggers>


[Moderator edit] Added [code] tags, escaped backslashes.
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Wed 01 Feb 2012 09:05 PM (UTC)  quote  ]
Message
I added code tags to preserve the spacing. Testing against both prompts they both fire for me.

Can you show what you are actually using?

Template:copying For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Wed 01 Feb 2012 01:52 PM (UTC)  quote  ]

Amended on Wed 01 Feb 2012 01:59 PM (UTC) by SchnitzlePuss

Message
SchnitzlePuss said:

<1808/1808 1301/1306 406/406 412 571 12> [Chamber of Rest|Exits: SWD] [Offensive] 4:30pm


<1808/1808 1301/1306 406/406 412 571 12> [Chamber of Rest|Exits: SWD] [Offensive] (Flying) 4:30pm



I don't know if I'm incorrect (and it didn't display properly on my last post), but it looks like there are two spaces after [offensive] in the first and only one on either side of {Flying).





Okay, when I post it, it doesn't look like what I'm seeing in my prompt.

Here's an image:

http://img860.imageshack.us/img860/7893/prompt.jpg
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Wed 01 Feb 2012 01:48 PM (UTC)  quote  ]

Amended on Wed 01 Feb 2012 09:03 PM (UTC) by Nick Gammon

Message

<1808/1808 1301/1306 406/406 412 571 12> [Chamber of Rest|Exits: SWD] [Offensive]  4:30pm 


<1808/1808 1301/1306 406/406 412 571 12> [Chamber of Rest|Exits: SWD] [Offensive] (Flying) 4:30pm 



I don't know if I'm incorrect (and it didn't display properly on my last post), but it looks like there are two spaces after [offensive] in the first and only one on either side of {Flying).

[Moderator edit] Added [code] tags.
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Wed 01 Feb 2012 08:53 AM (UTC)  quote  ]
Message
How many spaces are after (Flying)? Can you copy and paste an exact prompt with it in it?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Wed 01 Feb 2012 04:22 AM (UTC)  quote  ]
Message
It seems there's a noticable gap when I'm not flying that's not there when I am.

So:

[Offensive] 5:30pm

vs

Offensive] (Flying) 1:00am



I don't know if that figures into it, but I imagine it must.
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Wed 01 Feb 2012 03:58 AM (UTC)  quote  ]
Message
Edit the trigger and make it colour the line when it fires (that's how I tested it). Then you can see immediately if it is working. Perhaps there's a space there that I didn't allow for, but I tested on what you posted.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Wed 01 Feb 2012 02:21 AM (UTC)  quote  ]
Message
Okay. it's not working. By that I mean it's been 10 minutes and I see no sign of a 7 second tick warning. :D
[Go to top] top

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Wed 01 Feb 2012 02:02 AM (UTC)  quote  ]
Message
No, cookies are enabled. I have no issues staying logged into any other site, for some reason it's just like I log in and then I got to submit my post and it says I'm not logged in.

And I COULD check my affects every 10 seconds, but in PK that's not reasonable. I can't keep track of it like that, I need some thing that will let me know before it's going to fall.

It lasts for 20 ticks, so I was hoping the timer could be used to track it.

I'm going to test what you've given me, now. Thanks for it, in advance.
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Wed 01 Feb 2012 01:29 AM (UTC)  quote  ]
Message
SchnitzlePuss said:

As far as the prayer thing, I have no idea how to even start figuring that part out.


Check your affects every 10 or so seconds, and see if you have the spell on still?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,781 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]