summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c3
-rw-r--r--pttbbs/mbbsd/gamble.c20
-rw-r--r--pttbbs/mbbsd/menu.c2
-rw-r--r--pttbbs/util/openticket.c2
4 files changed, 14 insertions, 13 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index faf6d580..1fae443e 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -266,7 +266,8 @@ save_violatelaw(void)
day = cuser.vl_count*3 - (now - cuser.timeviolatelaw)/DAY_SECONDS;
if (day > 0) {
- vmsgf("依照違規次數, 你還需要反省 %d 天才能繳罰單", day);
+ vmsgf("依照違規次數(%d), 你還需要反省 %d 天才能繳罰單",
+ cuser.vl_count, day);
return 0;
}
reload_money();
diff --git a/pttbbs/mbbsd/gamble.c b/pttbbs/mbbsd/gamble.c
index c0c1a5ab..d837ff48 100644
--- a/pttbbs/mbbsd/gamble.c
+++ b/pttbbs/mbbsd/gamble.c
@@ -48,7 +48,7 @@ show_ticket_data(char betname[MAX_ITEM][MAX_ITEM_LEN],
} else
showtitle(genbuf, BBSNAME);
} else
- showtitle(BBSMNAME "賭盤", BBSNAME);
+ showtitle(BBSMNAME "彩券", BBSNAME);
move(2, 0);
snprintf(genbuf, sizeof(genbuf), "%s/" FN_TICKET_ITEMS, direct);
if (!(fp = fopen(genbuf, "r"))) {
@@ -69,7 +69,7 @@ show_ticket_data(char betname[MAX_ITEM][MAX_ITEM_LEN],
" 1.可購買以下不同類型的彩票。每張要花 " ANSI_COLOR(32) "%d"
ANSI_RESET " " MONEYNAME "。\n"
" 2.%s\n"
-" 3.開獎時只有一種彩票中獎, 有購買該彩票者, 則可依購買的張數均分總賭金。\n"
+" 3.開獎時只有一種彩票中獎, 有購買該彩票者, 則可依購買的張數均分總彩金。\n"
" 4.每筆獎金由系統抽取 5%% 之稅金%s。\n"
" 5." ANSI_COLOR(1;31) "如遇系統故障造成帳號回溯等各種問題,"
"原則上不予以賠償,風險自擔。" ANSI_RESET "\n"
@@ -113,7 +113,7 @@ show_ticket_data(char betname[MAX_ITEM][MAX_ITEM_LEN],
prints(ANSI_RESET "\n已下注總額: "
ANSI_COLOR(1;33) "%lld" ANSI_RESET, total * (*price));
if (end) {
- outs(",賭盤已經停止下注\n");
+ outs(",已經停止下注\n");
return -count;
}
return count;
@@ -258,7 +258,7 @@ doesnt_catch_up:
if (price > 0) {
pay_as_uid(currutmp->uid, -price, "下注失敗退費");
}
- vmsg("板主已經停止下注了 不能賭嚕");
+ vmsg("板主已經停止下注了");
unlockutmpmode();
return -1;
}
@@ -357,9 +357,9 @@ openticket(int bid)
forBM = money * 0.0005;
if(forBM > 500) forBM = 500;
- pay(-forBM, "%s 賭場抽頭", bh->brdname);
+ pay(-forBM, "%s 彩金抽成", bh->brdname);
- mail_redenvelop("[賭場抽頭]", cuser.userid, forBM, NULL);
+ mail_redenvelop("[彩金抽成]", cuser.userid, forBM, NULL);
money = ticket[bet] ? money * 0.95 / ticket[bet] : 9999999;
} else {
pay(price * 10, "賭盤退費手續費");
@@ -442,9 +442,9 @@ openticket(int bid)
}
if ((uid = searchuser(userid, userid)) == 0)
continue;
- pay_as_uid(uid, -(money * i), BBSMNAME "賭場 - 彩票[%s]",
+ pay_as_uid(uid, -(money * i), BBSMNAME "彩券 - [%s]",
betname[mybet]);
- mail_id(userid, buf, "etc/ticket.win", BBSMNAME "賭場");
+ mail_id(userid, buf, "etc/ticket.win", BBSMNAME "彩券");
}
fclose(fp1);
}
@@ -458,7 +458,7 @@ openticket(int bid)
snprintf(buf, sizeof(buf), TN_ANNOUNCE " %s 賭盤開獎", bh->brdname);
else
snprintf(buf, sizeof(buf), TN_ANNOUNCE " %s 賭盤取消", bh->brdname);
- post_file(bh->brdname, buf, outcome, "[賭神]");
+ post_file(bh->brdname, buf, outcome, "[彩券]");
post_file("Record", buf + 7, outcome, "[馬路探子]");
post_file(BN_SECURITY, buf + 7, outcome, "[馬路探子]");
@@ -503,7 +503,7 @@ join_gamble(int eng GCC_UNUSED, const fileheader_t * fhdr GCC_UNUSED,
if (!HasBasicUserPerm(PERM_LOGINOK))
return DONOTHING;
if (stop_gamble()) {
- vmsg("目前未舉辦賭盤或賭盤已開獎");
+ vmsg("目前未舉辦或賭盤已開獎");
return DONOTHING;
}
assert(0<=currbid-1 && currbid-1<MAX_BOARD);
diff --git a/pttbbs/mbbsd/menu.c b/pttbbs/mbbsd/menu.c
index 85f140e8..bccc1446 100644
--- a/pttbbs/mbbsd/menu.c
+++ b/pttbbs/mbbsd/menu.c
@@ -986,7 +986,7 @@ static const commands_t playlist[] = {
{chicken_main, PERM_LOGINOK,
"Chicken 【 " BBSMNAME2 "養雞場 】"},
{ticket_main, PERM_LOGINOK,
- "Gamble 【 " BBSMNAME2 "賭場 】"},
+ "Gamble 【 " BBSMNAME2 "彩券 】"},
{chessroom, PERM_LOGINOK,"BChess 【 " BBSMNAME2 "棋院 】"},
{NULL, 0, NULL}
};
diff --git a/pttbbs/util/openticket.c b/pttbbs/util/openticket.c
index 10325fef..b8284f64 100644
--- a/pttbbs/util/openticket.c
+++ b/pttbbs/util/openticket.c
@@ -244,7 +244,7 @@ int main()
newm = moneyof(uid);
{
char reason[256];
- sprintf(reason, "賭盤中獎 (%s x %d)", betname[mybet], num);
+ sprintf(reason, "彩券中獎 (%s x %d)", betname[mybet], num);
sethomefile(genbuf, userid, FN_RECENTPAY);
log_payment(genbuf, -money * num, oldm, newm, reason, now);
}