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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Timers not loading from world file

Timers not loading from world file

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Rynne   France  (5 posts)  [Biography] bio
Date Sat 19 Jan 2008 06:02 PM (UTC)
Message
When making a timer, it works fine, until I quit and reload.

This is what I get :

Line  572: Invalid character ',' in numeric attribute named 'second' (timer not loaded)



and this is the world file :

<timers
   muclient_version="4.19"
   world_file_version="15"
   date_saved="2008-01-19 19:51:37"
  >
  <timer enabled="y" second="1,00"    send_to="12"
>
  <send>Note("Test")</send>

  </timer>
</timers>


I suppose that comma should be a dot, but why does it saves it with a comma to begin with ?
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] bio
Date Reply #1 on Sat 19 Jan 2008 07:02 PM (UTC)
Message
Hehe. That's the same bug I already had Nick fix for the plugin required-version numbers.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Sat 19 Jan 2008 09:00 PM (UTC)
Message
Quote:

I suppose that comma should be a dot, but why does it saves it with a comma to begin with ?


I save floating point numbers supposedly with a dot, but the C libraries try to be smart and say "that is currency", and if you are in France or Holland or such like, it changes the dot to a comma.

Upgrade to version 4.20 or higher, that changes the comma back to a dot:

http://www.gammon.com.au/forum/?id=8401

For now manually edit the world file with a text editor and fix any such places.

- Nick Gammon

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

Posted by Rynne   France  (5 posts)  [Biography] bio
Date Reply #3 on Sun 20 Jan 2008 01:02 AM (UTC)
Message
Doh, silly me, should have checked for newer versions beforehand.

Keep up the good work, Nick, MushCLIENT is awesome.
[Go to top] top

Posted by Libori   Germany  (3 posts)  [Biography] bio
Date Reply #4 on Wed 01 Oct 2008 09:03 AM (UTC)
Message
I've just upgraded from version 4.07 to 4.37.
Every thing looks great, but for german users there is still a timer-problem with commas and dots :\

If I enter "0,6" in the field "second", the timer works fine. When I save it, it looks like this (dots instead of commas):

<timers>
<timer enabled="y" second="0.60" offset_second="0.00" send_to="10"
group="kampf" >
<send>KICK</send>

</timer>
</timers>

But when I load the timer, I get this message:

Line 2: Timer for 'every' time cannot have zero interval (timer not loaded)

Changing the seconds to "1,2", the timer is saved correctly (second="1.2") but loaded as "1" second (no decimals)

Any suggestions?
Or will I have to stay with Version 4.07?

Libori

[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Wed 01 Oct 2008 10:03 AM (UTC)
Message
In confirm that if I switch my regional settings to German I can reproduce that problem. Why, I am not sure, because I don't have access to the source code just now.

I'll look into that in a couple of days, sounds like a bug.

- Nick Gammon

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

Posted by Alca   (20 posts)  [Biography] bio
Date Reply #6 on Sun 31 Jan 2010 08:39 PM (UTC)
Message
Having the same problem. Fixed yet? Haven't been able to find anything on the forum.

I'll try to work around using a timer in my world file, but I'd rather keep all of my stuff in plugins.

Sorry for reviving this thread, but I prefer it to creating a new one ^^
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Sun 31 Jan 2010 10:27 PM (UTC)
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.


This appeared to be fixed in version 4.41.

http://www.gammon.com.au/scripts/showrelnote.php?version=4.41&productid=0

See point 12.

- Nick Gammon

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

Posted by Alca   (20 posts)  [Biography] bio
Date Reply #8 on Mon 01 Feb 2010 10:46 PM (UTC)
Message
My bad, still on 4.40
[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.


22,233 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]