TimeDisplay-Mod

Place to get help with not working mods / modding interface.
Post Reply
User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

TimeDisplay-Mod

Post 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

ratchetfreak
Filter Inserter
Filter Inserter
Posts: 952
Joined: Sat May 23, 2015 12:10 pm
Contact:

Re: TimeDisplay-Mod

Post 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

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: TimeDisplay-Mod

Post 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!

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: TimeDisplay-Mod

Post 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:

Post Reply

Return to “Modding help”