This commit is contained in:
shoopea 2019-05-13 09:53:58 +08:00
parent ce52662b99
commit d1e1a0b4dd

View File

@ -169,7 +169,7 @@ 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}")) < 3 {
if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 8 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 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))