1
This commit is contained in:
parent
547a4bfb16
commit
0849fdba14
@ -43,7 +43,7 @@ void GameLog::Login(Player* hum)
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
@ -71,7 +71,7 @@ void GameLog::Logout(Player* hum)
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
@ -99,7 +99,7 @@ void GameLog::FriendApply(Player* hum, const std::string& account_id)
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
@ -128,7 +128,7 @@ void GameLog::FriendRefuse(Player* hum, long long db_idx, const std::string& acc
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
@ -158,7 +158,7 @@ void GameLog::FriendAgree(Player* hum, long long db_idx, const std::string& acco
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
@ -188,7 +188,7 @@ void GameLog::FriendDelete(Player* hum, const std::string& account_id)
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
@ -217,7 +217,7 @@ void GameLog::GuildCreate(Player* hum, long long guild_id, const std::string& gu
|
||||
|
||||
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
|
||||
prop->SetVal("channel", channel);
|
||||
prop->SetVal("ad_channel", TEXT("you_permission_denied", "没有权限"));
|
||||
prop->SetVal("ad_channel", "");
|
||||
prop->SetVal("gameid", game_id);
|
||||
prop->SetVal("account_id", hum->AccountId());
|
||||
prop->SetVal("account_register_utctime", hum->account_registertime);
|
||||
|
@ -21,7 +21,7 @@
|
||||
static void _GMOpsSelfChecking(f8::JsonHttpRequest* request)
|
||||
{
|
||||
request->resp_xobj->SetVal("errcode", 0);
|
||||
request->resp_xobj->SetVal("errmsg", TEXT("you_permission_denied", "没有权限"));
|
||||
request->resp_xobj->SetVal("errmsg", "");
|
||||
request->resp_xobj->SetVal("healthy", 1);
|
||||
request->resp_xobj->SetVal("max_rundelay", 10);
|
||||
}
|
||||
@ -153,7 +153,7 @@ void HandlerMgr::ProcGMMsg(unsigned long saddr, int sockhandle,
|
||||
const std::string& url, const std::string& querystr)
|
||||
{
|
||||
if (url != "/webapp/index.php") {
|
||||
WSListener::Instance()->SendText(sockhandle, a8::HttpResponse(404, TEXT("you_permission_denied", "没有权限")));
|
||||
WSListener::Instance()->SendText(sockhandle, a8::HttpResponse(404, ""));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -236,7 +236,7 @@ void Player::_CMFriendApply(f8::MsgHdr& hdr, const cs::CMFriendApply& msg)
|
||||
cs::SMFriendApply respmsg;
|
||||
if (GetBlackListById(msg.friend_id())) {
|
||||
respmsg.set_errcode(0);
|
||||
respmsg.set_errmsg(TEXT("you_permission_denied", "没有权限"));
|
||||
respmsg.set_errmsg("");
|
||||
SendMsg(respmsg);
|
||||
return;
|
||||
}
|
||||
@ -377,7 +377,7 @@ void Player::_CMFriendAgree(f8::MsgHdr& hdr, const cs::CMFriendAgree& msg)
|
||||
cs::SMFriendAgree respmsg;
|
||||
if (GetFriendById(msg.apply().base_data().account_id())) {
|
||||
respmsg.set_errcode(0);
|
||||
respmsg.set_errmsg(TEXT("you_permission_denied", "没有权限"));
|
||||
respmsg.set_errmsg("");
|
||||
SendMsg(respmsg);
|
||||
DBHelper::Instance()->SetFriendApplyStatus(
|
||||
myself.crc32_code,
|
||||
@ -647,7 +647,7 @@ void Player::_CMSetCurrPrivateChatTarget(f8::MsgHdr& hdr, const cs::CMSetCurrPri
|
||||
void Player::_CMCloseChatNotify(f8::MsgHdr& hdr, const cs::CMCloseChatNotify& msg)
|
||||
{
|
||||
chat_channel = -1;
|
||||
private_target = TEXT("you_permission_denied", "没有权限");
|
||||
private_target = "";
|
||||
}
|
||||
|
||||
void Player::_CMSendCustomMsg(f8::MsgHdr& hdr, const cs::CMSendCustomMsg& msg)
|
||||
|
@ -458,7 +458,7 @@ void PlayerMgr::AsyncLogin1(const cs::CMLogin& msg)
|
||||
msg->account_id(),
|
||||
1,
|
||||
1,
|
||||
TEXT("you_permission_denied", "没有权限")
|
||||
""
|
||||
);
|
||||
delete msg;
|
||||
};
|
||||
@ -511,7 +511,7 @@ void PlayerMgr::AsyncLogin2(const cs::CMLogin& msg)
|
||||
msg->account_id(),
|
||||
2,
|
||||
1,
|
||||
TEXT("you_permission_denied", "没有权限")
|
||||
""
|
||||
);
|
||||
} else {
|
||||
PlayerMgr::Instance()->AsyncLoginOnOk
|
||||
@ -543,7 +543,7 @@ void PlayerMgr::AsyncLogin2(const cs::CMLogin& msg)
|
||||
msg->account_id(),
|
||||
2,
|
||||
1,
|
||||
TEXT("you_permission_denied", "没有权限")
|
||||
""
|
||||
);
|
||||
delete msg;
|
||||
};
|
||||
|
@ -376,7 +376,7 @@ void SyncHelper::SS_GS_ApplyChangeRequest_TimeOut(ss::SS_GS_ApplyChangeRequest*
|
||||
a8::XValue(msg->guild_id()).GetString(),
|
||||
msg->account_id(),
|
||||
EVENT_GUILD_REFUSE,
|
||||
TEXT("you_permission_denied", "没有权限"),
|
||||
"",
|
||||
a8::XValue(msg->guild_id()).GetString()
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user