|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Mon Dec 24, 2007 9:22 am
[2.18] %format bug? |
Came across this interesting bug. Probably has been reported already, but yeah...
Code: |
avgdmg=%format(2, %eval( %float( @damage)/%float( @count))) |
works fine - it outputs everything correctly. However, if I reformat the script using Ctrl+M (or Editor->Reformat), it changes it to:
Code: |
avgdmg=%format( 2, %eval( %float( @damage)/%float( @count))) |
Note the space between the %format( and the 2. I'm guessing that's screwing something up because instead of:
it continually outputs:
no matter what the values are for @damage and @count.
Charneus |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Wed Dec 26, 2007 6:38 pm |
Bah. Never mind. Apparently, it was still 2.16. Doesn't seem to be a problem in 2.18. I had clicked upgrade, and thought it had completed the upgrade process. :\
Charneus |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|