LUA console access error

Moderator: Moderator

Post Reply
Message
Author
spiralrazor
Thalore
Posts: 151
Joined: Mon Oct 24, 2011 8:05 pm

LUA console access error

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

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: LUA console access error

#2 Post 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...
<DarkGod> lets say it's intended

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: LUA console access error

#3 Post 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.

Post Reply