fixed
Please help making MegaGlest rock-stable by testing the pre-release snapshots.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
QuoteThe heartfelt tune it plays is CC licensed, and you can get it from my seed on JoinDiaspora.com whenever that project gets going.
cd
mkdir SCM
cd SCM
git clone https://github.com/basxto/megaglest-source.git megaglest-source_basxto
cd megaglest-source_basxto
# If you also want the default MegaGlest assets:
#git submodule update --init --recursive
git checkout qt4
cd mk/linux
sudo ./setupBuildDeps.sh
./build-mg.sh
{ "formatVersion":1.0,
"title":"a map",
"author":"somebody",
"description":"just a simple map for demonstration",
"maxFactions":2,
"altitudeFactor":1,
"waterLevel":4,
"cliffLevel":4,
"cameraHeight":42,
"altitudeMap":[
[10,10],
[10, 3]
],
"surfaceMap":[
[ 1, 3],
[ 4, 5]
],
"objectMap":[
[ 0, 3],
[ 0, 0]
],
"resourceMap":[
[ 1, 0],
[ 0, 0]
],
"playerPositions":[
[0,0],
[1,1]
]
}
"lua":{
"global":["scripts/global.lua"],
"startup":["scripts/startup.lua","scripts/locicallySeperatedStartup.lua"]
}
"lua":{
"global":["global"],
"startup":["startup","locicallySeperatedStartup"]
}
Quote from: -Archmage- on 20 March 2014, 05:30:31
That's because open source engines can't compete, their open source code just gives away anything that could possibly make them competitive.
<?xml version="1.0" standalone="yes" ?>
<map version="1.0" maxfactions="8" width="2" height="2" altitudefactor="1" waterlevel="4" clifflevel="4" cameraheight="42">
<head>
<title>a map</title>
<author>somebody</author>
<decscription>just a simple map for demonstration</description>
</head>
<row><cell altitude="10" surface="1" resource="1"><cell altitude="10" surface="3" object="3"></row>
<row><cell altitude="10" surface="4"><cell altitude="3" surface="5"></row>
</map>
<row><cell altitude="10" surface="gras" resource="gold"><cell altitude="10" surface="road" object="stone"></row>cd mk/linux/
ln -s $(which megaglest) megaglest
mkdir SCM
cd SCM
git clone https://github.com/dabascht/megaglest-source.git megaglest-source_dabascht
cd megaglest-source_dabascht
git checkout qt4
cd mk/linux
sed -i 's/^EXTRA_CMAKE_OPTIONS=$/EXTRA_CMAKE_OPTIONS="-DBUILD_MEGAGLEST=Off -DBUILD_MEGAGLEST_MAP_EDITOR=On -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=Off -DBUILD_MEGAGLEST_MODEL_VIEWER=Off -DUSE_QT5=Off"/' build-mg.sh
./build-mg.sh
Quote from: filux on 23 August 2013, 18:35:51I totally agree with that, but
wrong thinking
everything in console, inside a files, etc. is default in english and should be always in english
--load-scenario= only works with the translated names ... and that's the problem
Quote from: Ingvarr23 on 22 August 2013, 19:35:40
where can I find a tutorial to host my MegaGlest game then?
megaglest --load-scenario=egypt_mayhem works, that's right, this scenario name does not seem being translated. And just few scenario names are translated, at least in the German version.megaglest --load-scenario=amazones instead I have to use megaglest --load-scenario=amazonen
megaglest --list-scenarios and megaglest --load-scenario= are not compatible.megaglest --list-scenarios lists the folder names of all scenariosmegaglest --load-scenario= expects the scenario name how it is defined in the .lng-file
wavemultiplyer = 0.3;<LuaScript variable="wavemultiplyer" value="0.3" value_type="3"/>[2013-08-17 21:34:15] *ERROR* In [/build/megaglest/src/megaglest-3.8.0-beta1/source/glest_game/game/script_manager.cpp::init 468]
error [Error converting from string to int, found: [0.3]
Stack Trace:
megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xa71cd8] line: 0
megaglest:Shared::Util::strToInt(std::string const&)address [0xa480a1] line: 0
megaglest:Shared::Lua::LuaScript::loadGame(Shared::Xml::XmlNode const*)address [0xa02452] line: 0
megaglest:Glest::Game::ScriptManager::loadGame(Shared::Xml::XmlNode const*)address [0x5412ee] line: 0
megaglest:Glest::Game::ScriptManager::init(Glest::Game::World*, Glest::Game::GameCamera*, Shared::Xml::XmlNode const*)address [0x5442fa] line: 0
megaglest:Glest::Game::Game::init(bool)address [0x585096] line: 0
megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool)address [0x652e68] line: 0
megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x580812] line: 0
megaglest:Glest::Game::MenuStateLoadGame::mouseClick(int, int, Shared::Platform::MouseButton)address [0x780cf8] line: 0
megaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton)address [0x681d50] line: 0
megaglest:Shared::Platform::Window::handleMouseDown(SDL_Event)address [0xa7892a] line: 0
megaglest:Shared::Platform::Window::handleEvent()address [0xa794ea] line: 0
megaglest:Glest::Game::glestMain(int, char**)address [0x68e51e] line: 0
megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6939d1] line: 0
/usr/lib/libc.so.6:__libc_start_main()address [0x7ff0b5025a15] line: 0
megaglest() [0x4c6d99]address [0x4c6d99] line: 0
]
[2013-08-17 21:34:15] *ERROR* In [/build/megaglest/src/megaglest-3.8.0-beta1/source/glest_game/global/lang.cpp::getScenarioString Line: 488] Error [Value not found in propertyMap: In [/build/megaglest/src/megaglest-3.8.0-beta1/source/glest_game/game/script_manager.cpp::init 468]
error [Error converting from string to int, found: [0.3]
Stack Trace:
megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xa71cd8] line: 0
megaglest:Shared::Util::strToInt(std::string const&)address [0xa480a1] line: 0
megaglest:Shared::Lua::LuaScript::loadGame(Shared::Xml::XmlNode const*)address [0xa02452] line: 0
megaglest:Glest::Game::ScriptManager::loadGame(Shared::Xml::XmlNode const*)address [0x5412ee] line: 0
megaglest:Glest::Game::ScriptManager::init(Glest::Game::World*, Glest::Game::GameCamera*, Shared::Xml::XmlNode const*)address [0x5442fa] line: 0
megaglest:Glest::Game::Game::init(bool)address [0x585096] line: 0
megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool)address [0x652e68] line: 0
megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x580812] line: 0
megaglest:Glest::Game::MenuStateLoadGame::mouseClick(int, int, Shared::Platform::MouseButton)address [0x780cf8] line: 0
megaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton)address [0x681d50] line: 0
megaglest:Shared::Platform::Window::handleMouseDown(SDL_Event)address [0xa7892a] line: 0
megaglest:Shared::Platform::Window::handleEvent()address [0xa794ea] line: 0
megaglest:Glest::Game::glestMain(int, char**)address [0x68e51e] line: 0
megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6939d1] line: 0
/usr/lib/libc.so.6:__libc_start_main()address [0x7ff0b5025a15] line: 0
megaglest() [0x4c6d99]address [0x4c6d99] line: 0
]
Page created in 0.026 seconds with 17 queries.