Lineage 2 Tower Forum

Full Version: 1.4.1.90 new bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello!

thank you very much for very quick update Smile

i've found a bug in script, that was not in 1.4.1.89.
there is a part of script:
    LUA Programming
function round(num, idp)
 local mult = 10^(idp or 0)
 return math.floor(num * mult + 0.5) / mult
end


when i run this script, l2tower says an error on 3rd line:
malformed number near '0.5'

i don't know why it is and how to fix it, but in 1.4.1.89 all was fine Smile
thanks again!
our changes don't impact this... that depend on operating system settings. you can always put 1/2
that's strange, it's same pc, same windows installation..
ok, nevermind, i put 1/2 instead of 0.5 and all works fine now.
thanks Smile
ty i had similar problem with another script
where i can search this in all scripts?

(10-24-2012 22:16 PM)ClockMan Wrote: [ -> ]our changes don't impact this... that depend on operating system settings. you can always put 1/2
i put 1/2 but not working for me tell me same problem
modify all the parts of the script with 0.2 to 1/5
(10-25-2012 01:34 AM)arturok_320 Wrote: [ -> ]modify all the parts of the script with 0.2 to 1/5
working thnx man <3
Reference URL's