|
Tex Beginner
Joined: 16 Nov 2006 Posts: 21
|
Posted: Sat Feb 03, 2007 8:41 am
%ctime is always 0 |
Have a couple triggersfrom zmud that use %ctime
%ctime the number of seconds you have been connected to the MUD
if i do a #say %ctime i always get 0
ideas? |
|
|
|
BlackSmith Apprentice
Joined: 08 Dec 2002 Posts: 152
|
Posted: Sat Feb 03, 2007 10:25 am |
..and you ARE connected to some mud?
|
|
_________________ BatMUD Best MMORPG around since 1990 telnet://bat.org:23
~ Magic & Mind beats Chrome & Meat anytime ~
Pattern(s) in PERL. Using Cmud 1.34/2.09 & BatClient. |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Sat Feb 03, 2007 2:38 pm |
If you want a timestamp and you're testing offline, you can try using %time instead. I use %time("ss.zzz") for timing things that take less than a minute. Just be aware that you'll have to account for wraparound (timer starting at 59 seconds and ending at 2 seconds, for example) because it's your actual system clock time.
|
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Sat Feb 03, 2007 5:32 pm |
Quote: |
if i do a #say %ctime i always get 0 |
Tex, I had noticed this also, several weeks ago, and had sent Zugg a bug report on it. I never heard back on it, though... |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Feb 03, 2007 6:16 pm |
It's working fine for me. I just connected to one of the sponsored sessions that're there when cmud's installed and tried it. You must be offline when you're doing it.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Feb 03, 2007 6:28 pm |
%ctime does not increment at all when offline. It remains at 0 before your first connection attempt since opening the program, and between your first logoff/disconnect and subsequent login it will remain at whatever value it was when you went offline. When you connect again, it gets reset to 0.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Tex Beginner
Joined: 16 Nov 2006 Posts: 21
|
Posted: Sun Feb 04, 2007 4:59 am |
umm yes i am connected to a mud, i dont test try or change any scripts when offline. whats a Sponsored session? one of the 6 or so muds that are default connections?
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Feb 04, 2007 5:14 am |
Yeah, the ones that pay to be on the front page. It was Achaea if I remember right, just connected and typed "#say %ctime" and it worked right off.
|
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Sun Feb 04, 2007 1:04 pm |
This might be a factor, or might not...
I play Simutronics' Modus Operandi. It has a dual login system...one must log into a server to obtain account info, and then log into the actual game server. Could that have something to do with my problem? |
|
|
|
Tex Beginner
Joined: 16 Nov 2006 Posts: 21
|
Posted: Mon Feb 05, 2007 1:28 am |
I play aardwolf and the conection timer on my status bar works
any other ideas?
maybe ill try a new session with no tirggers or aliases added |
|
|
|
Tex Beginner
Joined: 16 Nov 2006 Posts: 21
|
Posted: Mon Feb 05, 2007 6:18 am |
If i connect with a new session %ctime works.
The session i been using imported my zmud file when i installed the fresh copy of 1.24
Ideas why %ctime wont work with session i been using? |
|
|
|
Tex Beginner
Joined: 16 Nov 2006 Posts: 21
|
Posted: Sat Feb 17, 2007 12:29 am |
if anyone cares %ctime works on all my different sessions without captures or with captures disabled
so maybe a #capture bug
sorry to bring up an old one but someone might wana know
Tex |
|
|
|
Aleron Wanderer
Joined: 01 Aug 2005 Posts: 76
|
Posted: Thu Mar 15, 2007 3:45 am |
I'm experiencing this as well. I'm connected to a MUD (please, don't ask me if I'm sure I'm connected), actively playing, and any attempt to print out (or store in a variable) the value of %ctime results in '0'. I think this session was also the result of a .MUD file import.
|
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Fri Apr 20, 2007 2:01 am [1.28] Still an issue |
%ctime also continues to stay at 0 for me.
|
|
|
|
|
|