update msg rules

This commit is contained in:
shoopea 2019-12-16 11:10:43 +08:00
parent 756c9a4bca
commit eae29320ed
3 changed files with 3 additions and 0 deletions

1
def.go
View File

@ -527,6 +527,7 @@ const (
objSubTypeMessageHealUpFirst = 398 // you should heal up first (done) objSubTypeMessageHealUpFirst = 398 // you should heal up first (done)
objSubTypeMessageArenaFightAck = 399 // thirsty for blood ... (done) objSubTypeMessageArenaFightAck = 399 // thirsty for blood ... (done)
objSubTypeMessageGoArenaAck = 400 // Welcome to Arena! (done) objSubTypeMessageGoArenaAck = 400 // Welcome to Arena! (done)
objSubTypeMessageWithdrawNAck = 401 // not enought items (done)
objSubTypeJobPillage = 601 objSubTypeJobPillage = 601
objSubTypeJobTribute = 602 objSubTypeJobTribute = 602
objSubTypeJobStatus = 603 objSubTypeJobStatus = 603

View File

@ -382,6 +382,7 @@ func resetMsgParsingRules() {
`Combat Ranking: /top5\\n` + `Combat Ranking: /top5\\n` +
`Fastest-growing: /top6\\n\\n` + `Fastest-growing: /top6\\n\\n` +
`Entrance fee: 5💰$") `Entrance fee: 5💰$")
,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawNAck) + `, "Withdraw NAck", "^Not enough items on guild stock$")
;`) ;`)
failOnError(err, "resetMsgParsingRules : populate table msg_rules") failOnError(err, "resetMsgParsingRules : populate table msg_rules")

1
sql.go
View File

@ -554,6 +554,7 @@ func initDB() {
,(` + strconv.Itoa(objSubTypeMessageHealUpFirst) + `, "heal_up", "Heal Up", ` + strconv.Itoa(objTypeMessage) + `) ,(` + strconv.Itoa(objSubTypeMessageHealUpFirst) + `, "heal_up", "Heal Up", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageArenaFightAck) + `, "arena_fight_ack", "Arena Fight Ack", ` + strconv.Itoa(objTypeMessage) + `) ,(` + strconv.Itoa(objSubTypeMessageArenaFightAck) + `, "arena_fight_ack", "Arena Fight Ack", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageGoArenaAck) + `, "go_arena_ack", "Go Arena Ack", ` + strconv.Itoa(objTypeMessage) + `) ,(` + strconv.Itoa(objSubTypeMessageGoArenaAck) + `, "go_arena_ack", "Go Arena Ack", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageWithdrawNAck) + `, "withdraw_nack", "Withdraw NAck", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeJobPillage) + `, "job_pillage", "Pillage job", ` + strconv.Itoa(objTypeJob) + `) ,(` + strconv.Itoa(objSubTypeJobPillage) + `, "job_pillage", "Pillage job", ` + strconv.Itoa(objTypeJob) + `)
,(` + strconv.Itoa(objSubTypeJobTribute) + `, "job_tribute", "Tribute job", ` + strconv.Itoa(objTypeJob) + `) ,(` + strconv.Itoa(objSubTypeJobTribute) + `, "job_tribute", "Tribute job", ` + strconv.Itoa(objTypeJob) + `)
,(` + strconv.Itoa(objSubTypeJobGWithdraw) + `, "job_gwithdraw", "GWithdrawal job", ` + strconv.Itoa(objTypeJob) + `) ,(` + strconv.Itoa(objSubTypeJobGWithdraw) + `, "job_gwithdraw", "GWithdrawal job", ` + strconv.Itoa(objTypeJob) + `)