test
This commit is contained in:
parent
ee14e94e84
commit
29062d5e83
30
workers.go
30
workers.go
@ -168,48 +168,34 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
Stock: int32(s),
|
||||
}
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Loot7}")] = &rep
|
||||
/*
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score1}")]
|
||||
|
||||
p, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Points1}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points1 : "+r.ReplaceAllString(m.Text, "$(Points1)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score1}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score1}")].Points = int32(p)
|
||||
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score2}")]
|
||||
p, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Points2}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points2 : "+r.ReplaceAllString(m.Text, "$(Points2)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score2}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score2}")].Points = int32(p)
|
||||
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score3}")]
|
||||
p, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Points3}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points3 : "+r.ReplaceAllString(m.Text, "$(Points3)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score3}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score3}")].Points = int32(p)
|
||||
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score4}")]
|
||||
p, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Points4}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points4 : "+r.ReplaceAllString(m.Text, "$(Points4)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score4}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score4}")].Points = int32(p)
|
||||
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score5}")]
|
||||
p, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Points5}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points5 : "+r.ReplaceAllString(m.Text, "$(Points5)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score5}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score5}")].Points = int32(p)
|
||||
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score6}")]
|
||||
p, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Points6}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points6 : "+r.ReplaceAllString(m.Text, "$(Points6)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score6}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score6}")].Points = int32(p)
|
||||
|
||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "${Score7}")]
|
||||
p, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Points7}"))
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : convert Points7 : "+r.ReplaceAllString(m.Text, "$(Points7)"))
|
||||
rep.Points = int32(p)
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score7}")] = rep
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Score7}")].Points = int32(p)
|
||||
*/
|
||||
//b, err := json.Marshal(cwm)
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user