A script that works fine in 102 gives the following error:
Did not find any crashed game clients.
7:27pm - [string "..."]:64: attempt to call field 'mod' (a nil value)
Any suggestions on what causes this?
MM 103 issue?
Forum rules
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
Re: MM 103 issue?
change it to .fmod
lua 5.2 doesn't support .mod but you can use .fmod instead which basically does the same thing.
I am guessing you mean cot_tele
change
to
lua 5.2 doesn't support .mod but you can use .fmod instead which basically does the same thing.
I am guessing you mean cot_tele
change
Code: Select all
local ss = string.format("%02s", math.floor(math.mod(secondsleft, 60)))
Code: Select all
local ss = string.format("%02s", math.floor(math.fmod(secondsleft, 60)))
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: No registered users and 0 guests