variable and fix them (result of getContent() must be stored in
content_t, which is 16-bit)
+NOTE: Seeds in 1260:6c77e7dbfd29:
+5721858502589302589:
+ Spawns you on a small sand island with a surface dungeon
+2983455799928051958:
+ Enormous jungle + a surface dungeon at ~(250,0,0)
+
Old, wild and random suggestions that probably won't be done:
-------------------------------------------------------------
TODO: Move content_features to mapnode_content_features.{h,cpp} or so
+TODO: Fix item use() stuff; dropping a stack of cooked rats and eating
+ it gives 3 hearts and consumes all the rats.
+
Making it more portable:
------------------------
// Create user data directory
fs::CreateDir(porting::path_userdata);
+#ifdef USE_GETTEXT
setlocale(LC_MESSAGES, "");
bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
textdomain("minetest");
+#endif
// Initialize debug streams
#ifdef RUN_IN_PLACE
g_timegetter = new SimpleTimeGetter();
// Create server
- Server server(map_dir.c_str());
+ Server server(map_dir.c_str(), configpath);
server.start(port);
// Run server
password = translatePassword(playername, menudata.password);
+ //dstream<<"Main: password hash: '"<<password<<"'"<<std::endl;
+
address = wide_to_narrow(menudata.address);
int newport = stoi(wide_to_narrow(menudata.port));
if(newport != 0)
password,
address,
port,
- error_message
+ error_message,
+ configpath
);
} //try