update g deposit all
This commit is contained in:
parent
9d9b697ae7
commit
c94024038a
1
bot.go
1
bot.go
@ -639,7 +639,6 @@ func botGDepositAll(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`01`, `Thread`))
|
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`01`, `Thread`))
|
||||||
/*
|
|
||||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`02`, `Stick`))
|
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`02`, `Stick`))
|
||||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`03`, `Pelt`))
|
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`03`, `Pelt`))
|
||||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`04`, `Bone`))
|
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`04`, `Bone`))
|
||||||
|
1
job.go
1
job.go
@ -852,7 +852,6 @@ func jobGDeposit(j Job) {
|
|||||||
if cwm.Stock[stockIdx].ItemID64 == p.ResObjID64[resIdx] {
|
if cwm.Stock[stockIdx].ItemID64 == p.ResObjID64[resIdx] {
|
||||||
//log.Printf("jobGDeposit : objSubTypeMessageStockAck : Matching ItemID %d (%d).\n", p.ResObjID64[resIdx], cwm.Stock[stockIdx].Quantity)
|
//log.Printf("jobGDeposit : objSubTypeMessageStockAck : Matching ItemID %d (%d).\n", p.ResObjID64[resIdx], cwm.Stock[stockIdx].Quantity)
|
||||||
item, _ := getObjItem(p.ResObjID64[resIdx])
|
item, _ := getObjItem(p.ResObjID64[resIdx])
|
||||||
cwm.Stock[stockIdx].Quantity = 1 // FIXME REMOVE ONCE DEBUG IS OK
|
|
||||||
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s %d", item.Code, cwm.Stock[stockIdx].Quantity))
|
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s %d", item.Code, cwm.Stock[stockIdx].Quantity))
|
||||||
p2 := JobPayloadGDepositForward{
|
p2 := JobPayloadGDepositForward{
|
||||||
ItemID64: p.ResObjID64[resIdx],
|
ItemID64: p.ResObjID64[resIdx],
|
||||||
|
Loading…
Reference in New Issue
Block a user