update rules
This commit is contained in:
parent
1b5909ca0a
commit
6f44d45ca6
2
def.go
2
def.go
@ -524,6 +524,8 @@ const (
|
|||||||
objSubTypeMessageStaminaRestored = 395 // Stamina Restored
|
objSubTypeMessageStaminaRestored = 395 // Stamina Restored
|
||||||
objSubTypeMessageTopReq = 396
|
objSubTypeMessageTopReq = 396
|
||||||
objSubTypeMessageQuestResultAmbush = 397 // result from going to quest with ambush (not done)
|
objSubTypeMessageQuestResultAmbush = 397 // result from going to quest with ambush (not done)
|
||||||
|
objSubTypeMessageHealUpFirst = 398 // you should heal up first (done)
|
||||||
|
objSubTypeMessageArenaFightAck = 399 // thirsty for blood ... (done)
|
||||||
objSubTypeJobPillage = 601
|
objSubTypeJobPillage = 601
|
||||||
objSubTypeJobTribute = 602
|
objSubTypeJobTribute = 602
|
||||||
objSubTypeJobStatus = 603
|
objSubTypeJobStatus = 603
|
||||||
|
2
rules.go
2
rules.go
@ -373,6 +373,8 @@ func resetMsgParsingRules() {
|
|||||||
`(?P<Monsters>(((([0-9] x ){0,1}[a-zA-Z ]* lvl\\.[0-9]*)|( ╰ [a-z ]*))\\n{0,1})+)\\n` +
|
`(?P<Monsters>(((([0-9] x ){0,1}[a-zA-Z ]* lvl\\.[0-9]*)|( ╰ [a-z ]*))\\n{0,1})+)\\n` +
|
||||||
`((It's an ambush)|(It is ambush))!\\n\\n` +
|
`((It's an ambush)|(It is ambush))!\\n\\n` +
|
||||||
`(?P<Link>\\/fight_[a-zA-Z0-9]+)$")
|
`(?P<Link>\\/fight_[a-zA-Z0-9]+)$")
|
||||||
|
,(5000, ` + strconv.Itoa(objSubTypeMessageHealUpFirst) + `, "Heal Up Message", "^You should heal up a bit first\\.$")
|
||||||
|
,(5000, ` + strconv.Itoa(objSubTypeMessageArenaFightAck) + `, "Arena Fight Ack", "^Thirsty for blood, you went to the Arena. You'll be back soon\\.$")
|
||||||
|
|
||||||
;`)
|
;`)
|
||||||
failOnError(err, "resetMsgParsingRules : populate table msg_rules")
|
failOnError(err, "resetMsgParsingRules : populate table msg_rules")
|
||||||
|
2
sql.go
2
sql.go
@ -551,6 +551,8 @@ func initDB() {
|
|||||||
,(` + strconv.Itoa(objSubTypeMessageOrderCancelReq) + `, "order_cancel_req", "Order Cancel Req", ` + strconv.Itoa(objTypeMessage) + `)
|
,(` + strconv.Itoa(objSubTypeMessageOrderCancelReq) + `, "order_cancel_req", "Order Cancel Req", ` + strconv.Itoa(objTypeMessage) + `)
|
||||||
,(` + strconv.Itoa(objSubTypeMessageOrderCancelAck) + `, "order_cancel_ack", "Order Cancel Ack", ` + strconv.Itoa(objTypeMessage) + `)
|
,(` + strconv.Itoa(objSubTypeMessageOrderCancelAck) + `, "order_cancel_ack", "Order Cancel Ack", ` + strconv.Itoa(objTypeMessage) + `)
|
||||||
,(` + strconv.Itoa(objSubTypeMessageStaminaRestored) + `, "stamina_restored", "Stamina Restored", ` + strconv.Itoa(objTypeMessage) + `)
|
,(` + strconv.Itoa(objSubTypeMessageStaminaRestored) + `, "stamina_restored", "Stamina Restored", ` + 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(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) + `)
|
||||||
|
Loading…
Reference in New Issue
Block a user