Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ 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 page
Posted by
| Rynne
France (5 posts) 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 ? | Top |
|
Posted by
| Worstje
Netherlands (899 posts) 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. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) 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 | Top |
|
Posted by
| Rynne
France (5 posts) 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. | Top |
|
Posted by
| Libori
Germany (3 posts) 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
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) 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 | Top |
|
Posted by
| Alca
(20 posts) 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 ^^ | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #7 on Sun 31 Jan 2010 10:27 PM (UTC) |
Message
| |
Posted by
| Alca
(20 posts) Bio
|
Date
| Reply #8 on Mon 01 Feb 2010 10:46 PM (UTC) |
Message
| |
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.
25,656 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top