Page 1 of 1

TimeDisplay-Mod

Posted: Thu Aug 20, 2015 5:33 am
by fishycat
Hey guys, I started a new game with factorio 0.12.4 and wanted to use time display mod. It´s version 1.0.1 so i guess latest update. But when i push play error box came up with :

__TimeDisplay__/control.lua:135: LUAGameScript doesn´t contain key onevent

Hopefully one of you knows how to fix it and can help me please.

Thanks in advance,

fishy

Re: TimeDisplay-Mod

Posted: Thu Aug 20, 2015 7:53 am
by ratchetfreak
fishycat wrote:Hey guys, I started a new game with factorio 0.12.4 and wanted to use time display mod. It´s version 1.0.1 so i guess latest update. But when i push play error box came up with :

__TimeDisplay__/control.lua:135: LUAGameScript doesn´t contain key onevent

Hopefully one of you knows how to fix it and can help me please.

Thanks in advance,

fishy
try on_event in 0.12 most functions got renamed to use _ as word separators

Re: TimeDisplay-Mod

Posted: Thu Aug 20, 2015 9:29 am
by fishycat
first, thanks for help! I changed it to on_event but another error came up then: __TimeDisplay__/control.lua:135: First argument must be a number or a table

Hmm, it´s not flipping tables, right!? :lol:
Do you maybe have an idea how to solve that problem? would be great!

Re: TimeDisplay-Mod

Posted: Fri Aug 28, 2015 10:50 am
by fishycat
I switched over to EvoGUI, nice little mod, that shows also time and other nice-to-know stuff. So I guess we can close here.

P.S. R.I.P TimeDisplay-Mod :cry: