Page 1 of 1

LUA console access error

Posted: Wed Nov 30, 2011 9:09 pm
by spiralrazor
cheat.cfg is enabled and i can port via cntrl+ click.

Howevew when i try and bring up the console via F12(bind) i get the following error:


LuaError:/ engine/ dialog/LUA:172:Bad Argument

so umm..what does this mean?

This is the only code that comes up Yufra!

Re: LUA console access error

Posted: Wed Nov 30, 2011 10:25 pm
by yufra
I am assuming that you are using b35, and if so line 172 of engine/dialog.lua is:

Code: Select all

function _M:resize(w, h, x, y, alpha)
...
        self.display_x = math.floor(x or (game.w - self.w) / 2)
There really isn't a further traceback, though? I won't have an opportunity to test this myself for a little while...

Re: LUA console access error

Posted: Thu Dec 01, 2011 2:41 am
by tiger_eye
Do you get this while in fullscreen mode? If so, then try bringing up the lua console while running in a window, not fullscreen.