upd
This commit is contained in:
parent
f22c79bcd4
commit
c799e68150
2
sql.go
2
sql.go
@ -609,7 +609,7 @@ func initDB() {
|
||||
,obj_msg obm
|
||||
,obj oi
|
||||
,obj_msg_item omi
|
||||
WHERE om.obj_type_id = ` + strconv.Itoa(cacheObjType[`msg`]) + `
|
||||
WHERE om.obj_type_id = ` + strconv.FormatInt(cacheObjType[`msg`], 10) + `
|
||||
AND om.obj_sub_type_id in (` + strconv.FormatInt(cacheObjSubType[`msg_withdraw_rcv`], 10) + `, ` + strconv.FormatInt(cacheObjSubType[`msg_g_deposit_ack`], 10) + `)
|
||||
AND obm.obj_id = om.id
|
||||
AND omi.obj_id = om.id
|
||||
|
@ -438,7 +438,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
err = setObjSubTypeId(objId, cacheObjSubType[`msg`])
|
||||
} else {
|
||||
clientMsgGoQuestAck(cwm)
|
||||
_, err = addObjQuest(uid, cwm.QuestTypeID, cwm.Duration, m.Date.UTC())
|
||||
_, err = addObjQuest(uid, cwm.QuestTypeID64, cwm.Duration, m.Date.UTC())
|
||||
}
|
||||
case cacheObjSubType[`msg_duel_fight`]:
|
||||
cwm, err := parseSubTypeMessageDuelFight(m, rule.re)
|
||||
|
Loading…
Reference in New Issue
Block a user