[solved] Lua error messages (trunk)

Found a bug? Report it here.

Moderator: PPS-Leaders

Locked
User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

[solved] Lua error messages (trunk)

Post by 1337 » Sun Apr 19, 2009 8:53 pm

When showing the ingame gui via console command (or key binding for that matter), the following messages are shown:

Code: Select all

CEGUI Error: "Unable to execute Lua script string: 'showCursor()'

[string "showCursor()"]:1: attempt to call global 'showCursor' (a nil value)
" while executing code "showCursor()"
CEGUI Error: "Unable to execute Lua script string: 'hideCursor()'

[string "hideCursor()"]:1: attempt to call global 'hideCursor' (a nil value)
" while executing code "hideCursor()"
Is this a known issue?
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Re: Lua error messages (trunk)

Post by beni » Sun Apr 19, 2009 10:49 pm

Nah, does not happen on my computer. I also updated everything and still no CEGUI Error. How can I reproduce the error? Does the cursor actually show or not? On my system it is shown flawlessly.

EDIT: Just tested it on a fresh installation on Tardis today. Still no problem.
Maybe it is how you use the showingamegui command? In my keybindings.ini I've got:

Code: Select all

KeyRightControl="OnPress showingamegui true | OnRelease showingamegui false"
However just using the console works as well.
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Re: Lua error messages (trunk)

Post by 1337 » Mon Apr 20, 2009 12:03 pm

It actually is reproducible: You just have to revert to an old revision of the media repository ;)
Otherwise it works find, my apologies for the inconveniences.
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Re: Lua error messages (trunk)

Post by beni » Mon Apr 20, 2009 12:52 pm

Oh I see. Well the problem is unfortunately that we're not used to update media as regularly as the code when we develop.
Since all Lua code is in the media repository, errors with the GUI are increasingly located in the media.

Not a bad development, but something we need to get used to first.
"I'm Commander Shepard and this is my favorite forum on the internet."

Locked

Who is online

Users browsing this forum: No registered users and 1 guest