diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-01 20:56:48 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-01 20:56:48 +0000 |
commit | ca65fdd9ac2fc07823856844a2d030d732e84718 (patch) | |
tree | a368a43f420766b1aa5806055a4bd66e085453ad /src/char | |
parent | bf07760665f25b3a80af93c7bc68427c1f77349c (diff) | |
download | hercules-ca65fdd9ac2fc07823856844a2d030d732e84718.tar.gz hercules-ca65fdd9ac2fc07823856844a2d030d732e84718.tar.bz2 hercules-ca65fdd9ac2fc07823856844a2d030d732e84718.tar.xz hercules-ca65fdd9ac2fc07823856844a2d030d732e84718.zip |
- Map and char server now will complain if they are run using the default user/password set.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5158 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c index ef77102b9..df5e0812b 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -4084,6 +4084,12 @@ int do_init(int argc, char **argv) { char_config_read((argc < 2) ? CHAR_CONF_NAME : argv[1]);
lan_config_read((argc > 1) ? argv[1] : LOGIN_LAN_CONF_NAME);
+ if (strcmp(userid, "s1")==0 && strcmp(passwd, "p1")==0) {
+ ShowError("Using the default user/password s1/p1 is NOT RECOMMENDED.\n");
+ ShowNotice("Please edit your save/account.txt file to create a proper inter-server user/password (gender 'S')\n");
+ ShowNotice("And then change the user/password to use in conf/char_athena.conf (or conf/import/char_conf.txt)\n");
+ }
+
// a newline in the log...
char_log("");
// moved behind char_config_read in case we changed the filename [celest]
|