2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-03-03 17:15:26 +03:00

Updated info

This commit is contained in:
asmodai 2017-01-17 01:43:56 +03:00
parent f392c42e7e
commit 53a92c353b
2 changed files with 19 additions and 19 deletions

View File

@ -120,9 +120,9 @@ void cmd_meta_version()
return;
}
META_CONS("Metamod v%s, API (%s)", APP_VERSION_STRD, META_INTERFACE_VERSION);
META_CONS("Metamod build: " __TIME__ " " __DATE__ " (" APP_VERSION_STRD ")");
META_CONS("Metamod from: " APP_COMMITS_URL APP_COMMIT_ID " " APP_COMMIT_AUTHOR "");
META_CONS("ReMetamod v%s, API (%s)", APP_VERSION_STRD, META_INTERFACE_VERSION);
META_CONS("ReMetamod build: " __TIME__ " " __DATE__ " (" APP_VERSION_STRD ")");
META_CONS("ReMetamod from: " APP_COMMITS_URL APP_COMMIT_ID " " APP_COMMIT_AUTHOR "");
}
// "meta version" client command.
@ -134,30 +134,30 @@ void client_meta_version(edict_t *pEntity)
return;
}
META_CONS("Metamod v%s, API (%s)", APP_VERSION_STRD, META_INTERFACE_VERSION);
META_CONS("Metamod build: " __TIME__ " " __DATE__ " (" APP_VERSION_STRD ")");
META_CONS("Metamod from: " APP_COMMITS_URL APP_COMMIT_ID " " APP_COMMIT_AUTHOR "");
META_CONS("ReMetamod v%s, API (%s)", APP_VERSION_STRD, META_INTERFACE_VERSION);
META_CONS("ReMetamod build: " __TIME__ " " __DATE__ " (" APP_VERSION_STRD ")");
META_CONS("ReMetamod from: " APP_COMMITS_URL APP_COMMIT_ID " " APP_COMMIT_AUTHOR "");
}
// "meta gpl" console command.
void cmd_meta_gpl()
{
META_CONS("Metamod version " __TIME__ " " __DATE__);
META_CONS("Copyright (c) 2001-2016 Will Day (modification ReHLDS Team)");
META_CONS("ReMetamod version " __TIME__ " " __DATE__);
META_CONS("Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)");
META_CONS("");
META_CONS(" Metamod is free software; you can redistribute it and/or");
META_CONS(" ReMetamod is free software; you can redistribute it and/or");
META_CONS(" modify it under the terms of the GNU General Public License");
META_CONS(" as published by the Free Software Foundation; either");
META_CONS(" version 2 of the License, or (at your option) any later");
META_CONS(" version.");
META_CONS(" ");
META_CONS(" Metamod is distributed in the hope that it will be useful,");
META_CONS(" ReMetamod is distributed in the hope that it will be useful,");
META_CONS(" but WITHOUT ANY WARRANTY; without even the implied warranty");
META_CONS(" of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.");
META_CONS(" See the GNU General Public License for more details.");
META_CONS(" ");
META_CONS(" You should have received a copy of the GNU General Public");
META_CONS(" License along with Metamod; if not, write to the Free");
META_CONS(" License along with ReMetamod; if not, write to the Free");
META_CONS(" Software Foundation, Inc., 59 Temple Place, Suite 330,");
META_CONS(" Boston, MA 02111-1307 USA");
META_CONS(" ");
@ -416,7 +416,7 @@ void cmd_doplug(PLUG_CMD pcmd)
findp->m_action = PA_RELOAD;
if (findp->reload(PT_ANYTIME, PNL_COMMAND))
META_CONS("Reloaded plugin '%s'", findp->m_desc);
else if (0/*meta_errno == ME_DELAYED*/)
else if (0/*meta_errno == ME_DELAYED*/) // TODO
META_CONS("Reload delayed for plugin '%s'", findp->m_desc);
else if (0/*meta_errno == ME_NOTALLOWED*/)
META_CONS("Reload not allowed for plugin '%s' now, only allowed %s", findp->m_desc, findp->str_loadable(SL_ALLOWED));

View File

@ -35,20 +35,20 @@ int g_requestid_counter = 0;
// Do startup operations...
void metamod_startup()
{
const char *mmfile = NULL;
const char *cfile = NULL;
const char *mmfile = nullptr;
const char *cfile = nullptr;
const char *cp;
META_CONS(" ");
META_CONS(" Metamod version %s Copyright (c) 2001-2016 Will Day (modification by ReHLDS Team)", APP_VERSION_STRD);
META_CONS(" Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.");
META_CONS(" ReMetamod version %s Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)", APP_VERSION_STRD);
META_CONS(" ReMetamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.");
META_CONS(" This is free software, and you are welcome to redistribute it");
META_CONS(" under certain conditions; type `meta gpl' for details.");
META_CONS(" ");
META_CONS("Metamod v%s, API (%s)", APP_VERSION_STRD, META_INTERFACE_VERSION);
META_CONS("Metamod build: " __TIME__ " " __DATE__ " (" APP_VERSION_STRD ")");
META_CONS("Metamod from: " APP_COMMITS_URL APP_COMMIT_ID " " APP_COMMIT_AUTHOR "");
META_CONS("ReMetamod v%s, API (%s)", APP_VERSION_STRD, META_INTERFACE_VERSION);
META_CONS("ReMetamod build: " __TIME__ " " __DATE__ " (" APP_VERSION_STRD ")");
META_CONS("ReMetamod from: " APP_COMMITS_URL APP_COMMIT_ID " " APP_COMMIT_AUTHOR "");
// Get gamedir, very early on, because it seems we need it all over the
// place here at the start.