This commit is contained in:
shoopea 2019-05-13 09:58:55 +08:00
parent 037e57c1dd
commit a94d006381

View File

@ -171,7 +171,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
//b, err := json.Marshal(cwm)
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)
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\nLoot1: %s\nLoot2: %s\n%s\n", r.ReplaceAllString(m.Text, "${Loot1}"), r.ReplaceAllString(m.Text, "${Loot2}")m.Text)
} /*else {
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar\n%s\n", string(b))
}