Hi there
I tried to compile Orxonox with Visual Studio.
So far, everything worked ok, but each time i try to start the single-player mode, my windows command line prints the following error message:
---------------------------------------------------------------------
Error (internal): [lua] Lua runtime error: SingleplayerMenu.lua:53: attempt to c
all method 'createImagesetFromImageFile' (a nil value)
Error (internal): [lua]
stack traceback:
○LuaStateInit.lua:118: in function 'createImagesetFromIm
ageFile'
○SingleplayerMenu.lua:53: in function 'createLevelList'
○SingleplayerMenu.lua:10: in function 'onLoad'
○GUISheet.lua:75: in function 'load'
○MenuSheet.lua:31: in function 'load'
○SheetManager.lua:37: in function 'loadSheet'
○SheetManager.lua:56: in function 'showMenuSheet'
○MainMenu.lua:46: in function <MainMenu.lua:45>
Error (internal): [cegui] CEGUI::ScriptException in file ..\..\..\..\cegui\src\S
criptingModules\LuaScriptModule\CEGUILuaFunctor.cpp(182) : Unable to call Lua ev
ent handler:
SingleplayerMenu.lua:53: attempt to call method 'creat
eImagesetFromImageFile' (a nil value)
Error (internal): Unable to call Lua event handler:
SingleplayerMenu.lua:53: attempt to call method 'createImagese
tFromImageFile' (a nil value)
orxonox # CEGUI::ScriptException in file ..\..\..\..\cegui\src\ScriptingModules\
50.02 fps, 0.72 ms tick time
---------------------------------------------------------------------
This happens, after the game was loaded succesfully (i could select the ogre setting usw).
Can anyone help me with this error message?
Do i need to download something from the lua page?
Greetz
Fabian "KnallKopf" Müller (PPS-Student)
Problems running singleplayer
Moderator: PPS-Leaders
Re: Problems running singleplayer
I can confirm this error. Also, the game crashes if i click on "Quickstart"
Fabian 'x3n' Landau, Orxonox developer
Re: Problems running singleplayer
Somebody forgot to upload some images?
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.
A webcomic of romance, sarcasm, math, and language.
Re: Problems running singleplayer
I think it's a problem with cegui 0.6 vs. 0.7. the function createImagesetFromImageFile has been renamed to createFromImageFile in 0.7.
It should be fixed in the most recent trunk, but I have cegui 0.6 so I can't test it right now.
However I don't like the way it is handled. Isn't there a way that we could overload these functions? I think we've done that before, but I don't seem to find it anywhere.
It should be fixed in the most recent trunk, but I have cegui 0.6 so I can't test it right now.
However I don't like the way it is handled. Isn't there a way that we could overload these functions? I think we've done that before, but I don't seem to find it anywhere.
Re: Problems running singleplayer
I think I've done it somewhere by executing some simple Lua code that creates an alias.
Might actually be in the init script, written in Lua.
Might actually be in the init script, written in Lua.
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.
A webcomic of romance, sarcasm, math, and language.
Re: Problems running singleplayer
Found it. It is done in the orxonox.GUIManager.
I would be grateful if someone could test it with cegui 0.7.
I would be grateful if someone could test it with cegui 0.7.
Re: Problems running singleplayer
Thanks for your effort!
Unfortunately it crashes at a different place now... and I don't have time to look into it at the moment
callstack according to visual studio:
callstack according to orxonox::SignalHandler (unreliable):
Unfortunately it crashes at a different place now... and I don't have time to look into it at the moment
callstack according to visual studio:
Code: Select all
CEGUIBase_d.dll!59d66788()
[Frames below may be incorrect and/or missing, no symbols loaded for CEGUIBase_d.dll]
CEGUIBase_d.dll!59d621fa()
CEGUIBase_d.dll!59d61152()
CEGUILuaScriptModule_d.dll!5970e9b0()
lua_d.dll!5cc9ca1d()
lua_d.dll!5ccb3eca()
lua_d.dll!5cc9d0a1()
lua_d.dll!5cc92ff7()
lua_d.dll!5cc9c299()
lua_d.dll!5cc9d423()
lua_d.dll!5cc92f68()
CEGUILuaScriptModule_d.dll!596b5058()
CEGUILuaScriptModule_d.dll!596b484d()
CEGUIBase_d.dll!59d67876()
CEGUIBase_d.dll!59edf559()
CEGUIBase_d.dll!59ee2195()
CEGUIBase_d.dll!59ee1f62()
CEGUIBase_d.dll!59e05398()
CEGUIBase_d.dll!59e04ec7()
CEGUIBase_d.dll!59e03fe5()
CEGUIBase_d.dll!59e04389()
CEGUIBase_d.dll!59e052d6()
CEGUIBase_d.dll!59f48d86()
CEGUIBase_d.dll!59f48d07()
CEGUILuaScriptModule_d.dll!596ff9b1()
CEGUILuaScriptModule_d.dll!596ffb75()
lua_d.dll!5cc9ca1d()
lua_d.dll!5ccb3eca()
lua_d.dll!5cc9d0a1()
lua_d.dll!5cc92ff7()
lua_d.dll!5cc9c299()
lua_d.dll!5cc9d423()
lua_d.dll!5cc92f68()
CEGUILuaScriptModule_d.dll!596b5058()
CEGUILuaScriptModule_d.dll!596b484d()
CEGUIBase_d.dll!59d67876()
CEGUIBase_d.dll!59edf559()
CEGUIBase_d.dll!59ee2195()
CEGUIBase_d.dll!59ee1f62()
CEGUIBase_d.dll!59df2180()
CEGUIBase_d.dll!59df2267()
CEGUIBase_d.dll!59f354c7()
> libcore.dll!boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton>::operator()(CEGUI::System * p, CEGUI::MouseButton a1) Line 165 + 0x18 bytes C++
libcore.dll!boost::_bi::list2<boost::arg<1>,boost::_bi::value<enum CEGUI::MouseButton> >::operator()<bool,boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton>,boost::_bi::list1<CEGUI::System * &> >(boost::_bi::type<bool> __formal, boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton> & f, boost::_bi::list1<CEGUI::System * &> & a, boost::_bi::type<bool> __formal) Line 304 C++
libcore.dll!boost::_bi::bind_t<bool,boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton>,boost::_bi::list2<boost::arg<1>,boost::_bi::value<enum CEGUI::MouseButton> > >::operator()<CEGUI::System *>(CEGUI::System * & a1) Line 33 C++
libcore.dll!orxonox::GUIManager::protectedCall<boost::_bi::bind_t<bool,boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton>,boost::_bi::list2<boost::arg<1>,boost::_bi::value<enum CEGUI::MouseButton> > > >(boost::_bi::bind_t<bool,boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton>,boost::_bi::list2<boost::arg<1>,boost::_bi::value<enum CEGUI::MouseButton> > > function) Line 686 + 0xf bytes C++
libcore.dll!orxonox::GUIManager::buttonReleased(orxonox::MouseButtonCode::ByEnum id) Line 612 C++
libcore.dll!orxonox::InputHandler::buttonEvent<enum orxonox::MouseButtonCode::ByEnum>(unsigned int device, orxonox::MouseButtonCode::ByEnum button, orxonox::ButtonEvent::EnumToType<1> __formal) Line 126 + 0x22 bytes C++
libcore.dll!boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,enum orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> >::operator()(orxonox::InputHandler * p, unsigned int a1, orxonox::MouseButtonCode::ByEnum a2, orxonox::ButtonEvent::EnumToType<1> a3) Line 393 + 0x19 bytes C++
libcore.dll!boost::_bi::list4<boost::_bi::value<orxonox::InputHandler *>,boost::_bi::value<unsigned int>,boost::_bi::value<enum orxonox::MouseButtonCode::ByEnum>,boost::_bi::value<orxonox::ButtonEvent::EnumToType<1> > >::operator()<boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,enum orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> >,boost::_bi::list0>(boost::_bi::type<void> __formal, boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,enum orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> > & f, boost::_bi::list0 & a, boost::_bi::type<void> __formal) Line 458 C++
libcore.dll!boost::_bi::bind_t<void,boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,enum orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> >,boost::_bi::list4<boost::_bi::value<orxonox::InputHandler *>,boost::_bi::value<unsigned int>,boost::_bi::value<enum orxonox::MouseButtonCode::ByEnum>,boost::_bi::value<orxonox::ButtonEvent::EnumToType<1> > > >::operator()() Line 21 C++
libcore.dll!boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,enum orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> >,boost::_bi::list4<boost::_bi::value<orxonox::InputHandler *>,boost::_bi::value<unsigned int>,boost::_bi::value<enum orxonox::MouseButtonCode::ByEnum>,boost::_bi::value<orxonox::ButtonEvent::EnumToType<1> > > >,void>::invoke(boost::detail::function::function_buffer & function_obj_ptr) Line 154 C++
libcore.dll!boost::function0<void>::operator()() Line 1013 + 0x16 bytes C++
libcore.dll!orxonox::InputManager::preUpdate(const orxonox::Clock & time) Line 403 + 0x19 bytes C++
libcore.dll!orxonox::Core::preUpdate(const orxonox::Clock & time) Line 474 C++
libcore.dll!orxonox::Game::run() Line 203 + 0x19 bytes C++
liborxonox.dll!orxonox::main(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & strCmdLine) Line 108 + 0xb bytes C++
orxonox.exe!main(int argc, char * * argv) Line 85 + 0xc bytes C++
orxonox.exe!__tmainCRTStartup() Line 555 + 0x19 bytes C
orxonox.exe!mainCRTStartup() Line 371 C
kernel32.dll!7746f13c()
ntdll.dll!77ded819()
ntdll.dll!77deda2b()
Code: Select all
Info: Opening log file C:\Users\Fabian\AppData\Local\Temp/orxonox.log
Status: Welcome to Orxonox (v0.0.5 Arcturus)
Status: Finished initialization
Status: Loading graphics
Info: Loading Ogre plugins...
Info: Creating render window...
Info: Ogre config file has changed, but no level was started since then. Display
ing config dialogue again to verify the changes.
Info: Initializing all resource groups...
Info: Loading user interface...
Status: Loading sound
Status: Loading main menu
Info: Loading ambient sound ambient/default/mainmenu.ogg...
Status: Game loaded
Error:
Error: Caught an unhandled exception
Error: Try to write backtrace to orxonox_crash.log...
Error:
Error: orxonox.exe caused an Access Violation at location 599A6788 in module CEG
UIBase_d.dll reading from location 0x00000000
Error:
Error: Call stack:
Error: 0: 0x599a6788 CEGUI::String::utf_length +0x28
1: 0x599a21fa CEGUI::String::assign +0x1a
2: 0x599a1152 CEGUI::String::String +0x22
3: 0x5b8ee9b0 CEGUI::LuaScriptModule::destroy +0x5a620
4: 0x5df1ca1d lua_getinfo +0x20dd
5: 0x5df33eca luaopen_table +0x344a
6: 0x5df1d0a1 lua_getinfo +0x2761
7: 0x5df12ff7 lua_pcall +0x117
8: 0x5df1c299 lua_getinfo +0x1959
9: 0x5df1d423 lua_yield +0xb3
10: 0x5df12f68 lua_pcall +0x88
11: 0x5b895058 CEGUI::LuaScriptModule::destroy +0xcc8
12: 0x5b89484d CEGUI::LuaScriptModule::destroy +0x4bd
13: 0x599a7876 CEGUI::SubscriberSlot::operator() +0x26
14: 0x59b1f559 CEGUI::Event::operator() +0xb9
15: 0x59b22195 CEGUI::EventSet::fireEvent_impl +0x45
16: 0x59b21f62 CEGUI::EventSet::fireEvent +0x52
17: 0x59a45398 CEGUI::TabControl::onSelectionChanged +0x38
18: 0x59a44ec7 CEGUI::TabControl::selectTab_impl +0x147
19: 0x59a43fe5 CEGUI::TabControl::setSelectedTab +0x35
20: 0x59a44389 CEGUI::TabControl::addTab +0x159
21: 0x59a452d6 CEGUI::TabControl::addChild_impl +0x46
22: 0x59b88d86 CEGUI::Window::addChildWindow +0x66
23: 0x59b88d07 CEGUI::Window::addChildWindow +0x27
24: 0x5b8df9b1 CEGUI::LuaScriptModule::destroy +0x4b621
25: 0x5b8dfb75 CEGUI::LuaScriptModule::destroy +0x4b7e5
26: 0x5df1ca1d lua_getinfo +0x20dd
27: 0x5df33eca luaopen_table +0x344a
28: 0x5df1d0a1 lua_getinfo +0x2761
29: 0x5df12ff7 lua_pcall +0x117
30: 0x5df1c299 lua_getinfo +0x1959
31: 0x5df1d423 lua_yield +0xb3
32: 0x5df12f68 lua_pcall +0x88
33: 0x5b895058 CEGUI::LuaScriptModule::destroy +0xcc8
34: 0x5b89484d CEGUI::LuaScriptModule::destroy +0x4bd
35: 0x599a7876 CEGUI::SubscriberSlot::operator() +0x26
36: 0x59b1f559 CEGUI::Event::operator() +0xb9
37: 0x59b22195 CEGUI::EventSet::fireEvent_impl +0x45
38: 0x59b21f62 CEGUI::EventSet::fireEvent +0x52
39: 0x59a32180 CEGUI::PushButton::onClicked +0x30
40: 0x59a32267 CEGUI::PushButton::onMouseButtonUp +0xc7
41: 0x59b754c7 CEGUI::System::injectMouseButtonUp +0x147
42: 0x596375d7 boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButto
n>::operator() +0x27
43: 0x596342b2 boost::_bi::list2<boost::arg<1>,boost::_bi::value<enum CEG
UI::MouseButton> >::operator()<bool,boost::_mfi::mf1<bool,CEGUI::System,enum CEG
UI::MouseButton>,boost::_bi::list1<CEGUI::System * &> > +0x42
44: 0x5962eaf8 boost::_bi::bind_t<bool,boost::_mfi::mf1<bool,CEGUI::Syste
m,enum CEGUI::MouseButton>,boost::_bi::list2<boost::arg<1>,boost::_bi::value<enu
m CEGUI::MouseButton> > >::operator()<CEGUI::System *> +0x48
45: 0x59628439 orxonox::GUIManager::protectedCall<boost::_bi::bind_t<bool
,boost::_mfi::mf1<bool,CEGUI::System,enum CEGUI::MouseButton>,boost::_bi::list2<
boost::arg<1>,boost::_bi::value<enum CEGUI::MouseButton> > > > +0x59
46: 0x596156ae orxonox::GUIManager::buttonReleased +0x7e
47: 0x59700922 orxonox::InputHandler::buttonEvent<enum orxonox::MouseButt
onCode::ByEnum> +0x22
48: 0x5970b9d8 boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,e
num orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> >::oper
ator() +0x28
49: 0x5970b609 boost::_bi::list4<boost::_bi::value<orxonox::InputHandler
*>,boost::_bi::value<unsigned int>,boost::_bi::value<enum orxonox::MouseButtonCo
de::ByEnum>,boost::_bi::value<orxonox::ButtonEvent::EnumToType<1> > >::operator(
)<boost::_mfi::mf3<void,orxonox::Inpu +0x69
50: 0x59709674 boost::_bi::bind_t<void,boost::_mfi::mf3<void,orxonox::Inp
utHandler,unsigned int,enum orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEven
t::EnumToType<1> >,boost::_bi::list4<boost::_bi::value<orxonox::InputHandler *>,
boost::_bi::value<unsigned int>,boost +0x44
51: 0x5970907c boost::detail::function::void_function_obj_invoker0<boost:
:_bi::bind_t<void,boost::_mfi::mf3<void,orxonox::InputHandler,unsigned int,enum
orxonox::MouseButtonCode::ByEnum,orxonox::ButtonEvent::EnumToType<1> >,boost::_b
i::list4<boost::_bi::value<orxonox::I +0x2c
52: 0x596f6fe5 boost::function0<void>::operator() +0x95
53: 0x596dfd58 orxonox::InputManager::preUpdate +0x8f8
54: 0x595ea004 orxonox::Core::preUpdate +0x34
55: 0x59508c6d orxonox::Game::run +0x1ed
56: 0x5adbf9c5 orxonox::main +0x805
57: 0x01183506 main +0x256
58: 0x011881bf __tmainCRTStartup +0x1bf
59: 0x01187fef mainCRTStartup +0xf
60: 0x7746f13c BaseThreadInitThunk +0xe
61: 0x77ded819 RtlCreateUserProcess +0x8c
62: 0x77deda2b RtlCreateProcessParameters +0x4e
Fabian 'x3n' Landau, Orxonox developer
Who is online
Users browsing this forum: No registered users and 1 guest