test
This commit is contained in:
parent
81fd07cb4f
commit
2000c727ba
@ -1,4 +1,5 @@
|
||||
ChirpNestBot
|
||||
- [ ] Eliminate cache map race conditions (all maps with read/write)
|
||||
- [ ] Client de-registration announce
|
||||
- [ ] Items parsing/identification
|
||||
- [ ] Auto identificate weight of items
|
||||
@ -13,4 +14,4 @@ ChirpNestBot
|
||||
- [ ] Experience graphs & forecast
|
||||
- [ ] Impersonate
|
||||
- [x] Foray interception
|
||||
- [x] Eliminate cache map race conditions
|
||||
|
3
msg.go
3
msg.go
@ -32,7 +32,8 @@ func parseSubTypeMessageReportAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWa
|
||||
|
||||
func parseSubTypeMessageGStockAnyAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageStock, error) {
|
||||
cwm := ChatWarsMessageStock{}
|
||||
log.Printf("parseSubTypeMessageReport : GStock Any Ack identified\n")
|
||||
log.Printf("parseSubTypeMessageGStockAnyAck : GStock Any Ack identified\n")
|
||||
log.Printf("parseSubTypeMessageGStockAnyAck : Stock : %s\n", r.ReplaceAllString(m.Text, "${Stock}"))
|
||||
re := regexp.MustCompile(`(\\n[0-9a-z]+ .* x [0-9]+)`)
|
||||
for s := range re.FindAllString(r.ReplaceAllString(m.Text, "${Stock}"), -1) {
|
||||
log.Printf("parseSubTypeMessageGStockAnyAck : %s\n", s)
|
||||
|
Loading…
Reference in New Issue
Block a user