This commit is contained in:
shoopea 2019-05-13 09:56:15 +08:00
parent 4e5a02a1cb
commit 037e57c1dd

View File

@ -169,7 +169,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
}
cwm.Report[r.ReplaceAllString(m.Text, "${Loot7}")] = rep
//b, err := json.Marshal(cwm)
if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11 {
if (len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11) ||
(len(r.ReplaceAllString(m.Text, "${Loot2}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot2}")) > 11) {
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\n%s\n", m.Text)
} /*else {
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar\n%s\n", string(b))