Page 1 of 1

database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 5:43 am
by ginokid
Version: 394
Woke up and the bot was stopped. I attempted to restart it and got this error.
I reinstalled SVN update and reupdated ROM, didnt help.

Code: Select all

Fri Nov 06 05:40:23 2009 : ...ngs/gino/Desktop/micromacro/scripts/rom/database.lua:121: attempt to call global 'cprintf_ex' (a nil value)
Fri Nov 06 05:40:23 2009 : Execution error: Runtime error
Is there a fix for this?

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 5:51 am
by d003232
ginokid wrote:Version: 394
Woke up and the bot was stopped. I attempted to restart it and got this error.
I reinstalled SVN update and reupdated ROM, didnt help.

Code: Select all

Fri Nov 06 05:40:23 2009 : ...ngs/gino/Desktop/micromacro/scripts/rom/database.lua:121: attempt to call global 'cprintf_ex' (a nil value)
Fri Nov 06 05:40:23 2009 : Execution error: Runtime error
Is there a fix for this?
I suppose you have an older MM version? Try to install the newest MM.

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 5:54 am
by ginokid
I'm using 32 Bit TortoiseSVN-1.6.6.17493-win32-svn-1.6.6.msi

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 5:57 am
by d003232
ginokid wrote:It was the MM I always had.

I just reinstalled the newest and still the same error.
Does this happen to you?
No it didn't. I have MM Version 1.0 Beta 7 from here.

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 6:04 am
by ginokid
It works now TYVM. :)

I had no idea you guys updated it. Maybe make an announcement?

Thank you :)

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 7:33 pm
by bussdee
how did you fix it? Got the same ERROR at newest revision! :cry:

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 8:13 pm
by Administrator
Either change that line (database.lua, line 121) to use cprintf() instead of cprintf_ex(), or upgrade to MicroMacro beta 7.

Re: database.lua:121: attempt to call global 'cprintf_ex' (a nil

Posted: Fri Nov 06, 2009 10:08 pm
by bussdee
thx a lot, works perfect!
Time to get some sleep now!