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:
------------------------
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