Added Bulletins
This commit is contained in:
20
ansis/bulletin0.ans
Normal file
20
ansis/bulletin0.ans
Normal file
@@ -0,0 +1,20 @@
|
||||
[?7h[255D[40m
|
||||
[0;1m[21C[31m<31><6D> <20> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||
[33m<33> <20> <20> <20> <20> <20> [31m<31><6D> <20> <20> <20><> <20> <20><> <20> <20><> <20> <20><> <20><> <20> <20><> <20><> [33m<33> <20> <20> <20> <20> <20> <20>
|
||||
<20> <20> <20> <20> <20> <20> <20> [31m<31><6D> <20> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20> <20><> <20><> <20> <20><> <20><> <20><> [33m<33> <20> <20> <20> <20> <20>
|
||||
<EFBFBD> <20> <20> <20> <20> <20> <20> [41m [31;40m<30> <20> [41m<31>[1C [40m<30> <20> [41m<31>[40m<30> <20> [41m<31>[40m<30> <20> [41m<31>[40m<30> [41m<31>[40m<30> <20> [41m<31><6D>[1C[40m<30>[41m<31>[1C[40m<30><6D> [33m<33> <20> <20> <20> <20> <20>
|
||||
[21C[0;31m<31><6D><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><> <20> <20><> <20> <20><> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||
[1;33m<33><6D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
[16C[37mThis is an [31mexperimental [37mversion of Magicka BBS.
|
||||
|
||||
Things are likely to break. Mail may go missing, the system may crash
|
||||
causing you to no longer be able to log in.
|
||||
|
||||
Please be patient while I work out the kinks, and if you find a bug,
|
||||
please let me know! You can file an issue on github at:
|
||||
|
||||
[16C[36mhttp://github.com/apamment/MagickaBBS/
|
||||
|
||||
[37mThankyou for your patience :)
|
||||
[33m<33><6D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
[0m[255D
|
14
bbs.c
14
bbs.c
@@ -320,7 +320,7 @@ void runbbs(int socket, char *config_path) {
|
||||
|
||||
|
||||
|
||||
sprintf(buffer, "Magicka BBS v%d.%d (%s) Loading...\r\n", VERSION_MAJOR, VERSION_MINOR, VERSION_STR);
|
||||
sprintf(buffer, "Magicka BBS v%d.%d (%s), Loading...\r\n", VERSION_MAJOR, VERSION_MINOR, VERSION_STR);
|
||||
s_putstring(socket, buffer);
|
||||
|
||||
conf.mail_conference_count = 0;
|
||||
@@ -446,6 +446,18 @@ void runbbs(int socket, char *config_path) {
|
||||
gUser = user;
|
||||
|
||||
// bulletins
|
||||
i = 0;
|
||||
sprintf(buffer, "%s/bulletin%d.ans", conf.ansi_path, i);
|
||||
|
||||
while (stat(buffer, &s) == 0) {
|
||||
sprintf(buffer, "bulletin%d", i);
|
||||
s_displayansi(socket, buffer);
|
||||
sprintf(buffer, "Press any key to continue...\r\n");
|
||||
s_putstring(socket, buffer);
|
||||
s_getc(socket);
|
||||
i++;
|
||||
sprintf(buffer, "%s/bulletin%d.ans", conf.ansi_path, i);
|
||||
}
|
||||
|
||||
// external login cmd
|
||||
|
||||
|
Reference in New Issue
Block a user