quest req/add

This commit is contained in:
shoopea 2019-10-03 18:11:24 +08:00
parent 309454e67a
commit 49e5450839
4 changed files with 115 additions and 94 deletions

3
def.go
View File

@ -481,6 +481,9 @@ const (
objSubTypeMessageUnequipGearReq = 386 // /off_item (done) objSubTypeMessageUnequipGearReq = 386 // /off_item (done)
objSubTypeMessageUnequipGearAck = 387 // Item unequipped (done) objSubTypeMessageUnequipGearAck = 387 // Item unequipped (done)
objSubTypeMessageNoStamina = 388 // Not enough stamina. (done) objSubTypeMessageNoStamina = 388 // Not enough stamina. (done)
objSubTypeMessageOrderbookSearch = 389 // /t <something>
objSubTypeMessageQuestReq = 390 // quest
objSubTypeMessageQuestAck = 391 // forest/swamp/valley/arena
objSubTypeJobPillage = 601 objSubTypeJobPillage = 601
objSubTypeJobTribute = 602 objSubTypeJobTribute = 602
objSubTypeJobStatus = 603 objSubTypeJobStatus = 603

2
msg.go
View File

@ -57,7 +57,7 @@ func parseSubTypeMessageExchangeAck(m *ChatWarsMessage, r *regexp.Regexp) (*Chat
func parseSubTypeMessageQuestResult(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageQuestResult, error) { func parseSubTypeMessageQuestResult(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageQuestResult, error) {
cwm := ChatWarsMessageQuestResult{} cwm := ChatWarsMessageQuestResult{}
/* look for 351 go_quest_ack, etc .. */
cwm.Msg = m cwm.Msg = m
return &cwm, nil return &cwm, nil
} }

201
rules.go
View File

@ -73,8 +73,9 @@ func resetMsgParsingRules() {
,(5000, ` + strconv.Itoa(objSubTypeMessagePledge) + `, "Pledge", "^/pledge$") ,(5000, ` + strconv.Itoa(objSubTypeMessagePledge) + `, "Pledge", "^/pledge$")
,(5000, ` + strconv.Itoa(objSubTypeMessageBuyReq) + `, "Buy request", "^/wtb_(?P<Item>[0-9]+)(_(?P<Quantity>[0-9]+)){0,1}$") ,(5000, ` + strconv.Itoa(objSubTypeMessageBuyReq) + `, "Buy request", "^/wtb_(?P<Item>[0-9]+)(_(?P<Quantity>[0-9]+)){0,1}$")
,(5000, ` + strconv.Itoa(objSubTypeMessageSellReq) + `, "Sell request", "^/wts_(?P<Item>[0-9]+)(_(?P<Quantity>[0-9]+)(_(?P<Price>[0-9]+)){0,1}){0,1}$") ,(5000, ` + strconv.Itoa(objSubTypeMessageSellReq) + `, "Sell request", "^/wts_(?P<Item>[0-9]+)(_(?P<Quantity>[0-9]+)(_(?P<Price>[0-9]+)){0,1}){0,1}$")
,(5000, ` + strconv.Itoa(objSubTypeMessageOrderbookReq) + `, "Orderbook request", "^/t_(?P<Code>[0-9]+)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageOrderbookSearch) + `, "Orderbook search", "^/t (?P<Item>[a-zA-z0-9 ]+)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageOrderbookAck) + `, "Orderbook request", "^(?P<Name>[a-zA-Z ]+) offers now:\\n` + ,(5000, ` + strconv.Itoa(objSubTypeMessageOrderbookReq) + `, "Orderbook req", "^/t_(?P<Code>[0-9]+)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageOrderbookAck) + `, "Orderbook ack", "^(?P<Name>[a-zA-Z ]+) offers now:\\n` +
`(?P<Qty1>[0-9]+) pcs for (?P<Price1>[0-9]+)💰\\n` + `(?P<Qty1>[0-9]+) pcs for (?P<Price1>[0-9]+)💰\\n` +
`(?P<Qty2>[0-9]+) pcs for (?P<Price2>[0-9]+)💰\\n` + `(?P<Qty2>[0-9]+) pcs for (?P<Price2>[0-9]+)💰\\n` +
`(?P<Qty3>[0-9]+) pcs for (?P<Price3>[0-9]+)💰\\n` + `(?P<Qty3>[0-9]+) pcs for (?P<Price3>[0-9]+)💰\\n` +
@ -231,97 +232,111 @@ func resetMsgParsingRules() {
,(5000, ` + strconv.Itoa(objSubTypeMessageUnequipGearAck) + `, "Unequip Ack", "^Item unequipped: (?P<Item>.+)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageUnequipGearAck) + `, "Unequip Ack", "^Item unequipped: (?P<Item>.+)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageNoStamina) + `, "Unequip Ack", "^Not enough stamina. Come back after you take a rest.\\n\\n` + ,(5000, ` + strconv.Itoa(objSubTypeMessageNoStamina) + `, "Unequip Ack", "^Not enough stamina. Come back after you take a rest.\\n\\n` +
`To get more stamina, invite friends to the game via invite link. Press /promo to get it.$") `To get more stamina, invite friends to the game via invite link. Press /promo to get it.$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #01", "On your way to the swamp, you saw a group of people shouting angrily at their supposed leader\\. The leader was in tears and explained that loyalty can be won again, even if the medals are lost. You left confused. But a few meters away you found a badge with almost unrecognizable letters: tl\\.\\. You sold it to a merchant\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #01", "^On your way to the swamp, you saw a group of people shouting angrily at their supposed leader\\. The leader was in tears and explained that loyalty can be won again, even if the medals are lost. You left confused. But a few meters away you found a badge with almost unrecognizable letters: tl\\.\\. You sold it to a merchant\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #02", "You were taking a walk when you found two burning marks on the ground that disappeared after a few meters\\. Near them there was some kind of almanac with a lot of numbers written in it\\. It was a cold day so you used it to make a campfire to warm yourself and then went back to the castle\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #02", "^You were taking a walk when you found two burning marks on the ground that disappeared after a few meters\\. Near them there was some kind of almanac with a lot of numbers written in it\\. It was a cold day so you used it to make a campfire to warm yourself and then went back to the castle\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #03", "Mrrrrgl mrrrgl mrrrrrrgl mrrrgl. Mrrrrrrrrrrrgl mrrrrgl mrrrrrrrgl mrrrrrrgl mrrrrrrrrl\\. Mrrrrrgl\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #03", "^Mrrrrgl mrrrgl mrrrrrrgl mrrrgl. Mrrrrrrrrrrrgl mrrrrgl mrrrrrrrgl mrrrrrrgl mrrrrrrrrl\\. Mrrrrrgl\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #04", "Suddenly you were surrounded by a huge band of orcs, led by an orc shaman\\. They demanded you give them everything you have\\. You killed every single one of them and collected a lot of loot\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #04", "^Suddenly you were surrounded by a huge band of orcs, led by an orc shaman\\. They demanded you give them everything you have\\. You killed every single one of them and collected a lot of loot\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #05", "In the middle of a swamp you met a huge ogre who was finishing eating a donkey\\. “Get out of my swamp!” He shouted angrily with a Scottish accent\\. Somebody once told you that you should not mess with ogres, so you let it be\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #05", "^In the middle of a swamp you met a huge ogre who was finishing eating a donkey\\. “Get out of my swamp!” He shouted angrily with a Scottish accent\\. Somebody once told you that you should not mess with ogres, so you let it be\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #06", "You entered the swamp in search of knowledge\\. Eventually you found some mushrooms and decided to eat them\\. Apparently they were hallucinogenic, so after a good trip you decided to pick some more to sell them back in town\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #06", "^You entered the swamp in search of knowledge\\. Eventually you found some mushrooms and decided to eat them\\. Apparently they were hallucinogenic, so after a good trip you decided to pick some more to sell them back in town\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #07", "You stumbled upon a man wielding a sword near a campfire\\.\\n-Why are you armed\\?\\n-Mimics\\nYou laughed, he laughed, the campfire laughed\\. You killed the campfire\\. Fun times\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #07", "^You stumbled upon a man wielding a sword near a campfire\\.\\n-Why are you armed\\?\\n-Mimics\\nYou laughed, he laughed, the campfire laughed\\. You killed the campfire\\. Fun times\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #08", "You met a guy who asked you to shoot him in the face\\. You shot him in the face\\. On his cold corpse you found some gold\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #08", "^You met a guy who asked you to shoot him in the face\\. You shot him in the face\\. On his cold corpse you found some gold\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #09", "You found a crypt in an old cemetery where some humans and dwarves were drinking booze\\. They invited you in and offered a sip\\. That was the tastiest mandrake liquor you ever tasted, and the host was kind enough to provide a recipe\\. You sold it to the local pub, but they couldn't replicate it\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #09", "^You found a crypt in an old cemetery where some humans and dwarves were drinking booze\\. They invited you in and offered a sip\\. That was the tastiest mandrake liquor you ever tasted, and the host was kind enough to provide a recipe\\. You sold it to the local pub, but they couldn't replicate it\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #10", "In your journey you have reached a dark cave, where you met the Devil himself\\. You seized the opportunity and sold your soul for a handful of money\\. When you returned home you realized you didn't have a soul to start with\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #10", "^In your journey you have reached a dark cave, where you met the Devil himself\\. You seized the opportunity and sold your soul for a handful of money\\. When you returned home you realized you didn't have a soul to start with\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #11", "You came across an eccentric man who lead you through a magical land of candy and sweets\\. Upon reaching the exit, the man loudly informs that you get nothing\\. You bid him good day and decapitate him for wasting your time\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #11", "^You came across an eccentric man who lead you through a magical land of candy and sweets\\. Upon reaching the exit, the man loudly informs that you get nothing\\. You bid him good day and decapitate him for wasting your time\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #12", "While marching through the swamp you hear someone shouting for a hunter\\. Being quite proficient in hunting yourself you walk towards the voice\\. You find a man running up to you who shakes you wildly while screaming something about a Dark One\\. Seconds later he runs away\\.\\nYou pick up some things he lost in his hysteria\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #12", "^While marching through the swamp you hear someone shouting for a hunter\\. Being quite proficient in hunting yourself you walk towards the voice\\. You find a man running up to you who shakes you wildly while screaming something about a Dark One\\. Seconds later he runs away\\.\\nYou pick up some things he lost in his hysteria\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #13", "In the swamp you found a beautiful mermaid selling some flasks with a magic potion for 30 golden coins\\. However, after you returned home, you realized it's just swamp water\\. What a rip off! You poured it out and sold the flask to your alchemist friend\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #13", "^In the swamp you found a beautiful mermaid selling some flasks with a magic potion for 30 golden coins\\. However, after you returned home, you realized it's just swamp water\\. What a rip off! You poured it out and sold the flask to your alchemist friend\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #14", "You went too far and saw the forbidden castle\\. Its gates were painted with blood and the road was scratched with claws\\. You hid in the bushes and saw the two angels dragging the warrior into the castle\\. The gate closed and a terrible scream came from behind them\\. You picked up a few coins that fell from the pockets of the warrior and ran back home\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #14", "^You went too far and saw the forbidden castle\\. Its gates were painted with blood and the road was scratched with claws\\. You hid in the bushes and saw the two angels dragging the warrior into the castle\\. The gate closed and a terrible scream came from behind them\\. You picked up a few coins that fell from the pockets of the warrior and ran back home\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #15", "“There was a guy\\nWho was in love\\nWith a girl as beautiful as snow\\nBut she chose the one\\nWho was her ex\\nSo you stole her blue dress\\.”(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #15", "^“There was a guy\\nWho was in love\\nWith a girl as beautiful as snow\\nBut she chose the one\\nWho was her ex\\nSo you stole her blue dress\\.”(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #16", "Walking through the swamp you find a bunch of crazy librarians who are trying to catalogue all adventures happening all around the seven kingdoms\\. Naturally they are doomed to fail, so you leave them behind - not without helping yourself to a few gold coins scattered around them(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #16", "^Walking through the swamp you find a bunch of crazy librarians who are trying to catalogue all adventures happening all around the seven kingdoms\\. Naturally they are doomed to fail, so you leave them behind - not without helping yourself to a few gold coins scattered around them(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #17", "On your quest, you found the Deer Legend\\. He didn't talk much\\. But when he was leaving for his own quest, he said something in a foreign language before the urn smashed him\\. So you took a bit of his loot left behind\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #17", "^On your quest, you found the Deer Legend\\. He didn't talk much\\. But when he was leaving for his own quest, he said something in a foreign language before the urn smashed him\\. So you took a bit of his loot left behind\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #18", "Far away in the distance you saw three tiny figures walking through the mire\\. Suddenly, one of them fell into the water\\. You rushed to them, but by the time you got there, figures disappeared\\. Luckily, you found a shiny ring laying on the ground\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #18", "^Far away in the distance you saw three tiny figures walking through the mire\\. Suddenly, one of them fell into the water\\. You rushed to them, but by the time you got there, figures disappeared\\. Luckily, you found a shiny ring laying on the ground\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #19", "Walking through the swamp, you found yourself surrounded by the mist\\. Suddenly you heard a dog howling in the distance\\. You decided to investigate further and found a beast with glowing mouth\\. It was your neighbor's long-lost puppy, so you took it back home for a reward\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #19", "^Walking through the swamp, you found yourself surrounded by the mist\\. Suddenly you heard a dog howling in the distance\\. You decided to investigate further and found a beast with glowing mouth\\. It was your neighbor's long-lost puppy, so you took it back home for a reward\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #20", "In the forest you saw a rabbit wearing clothes and holding a pocketwatch muttering “I'm late! Im late“ It hopped into a bunny hole and disappeared\\. Curiousity got the best of you so you jumped into the hole following it\\. There you got high and had a tea party with a cat, some weird looking twins and a guy with crazy hats\\. As a farewell gift they gave you some gold\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #20", "^In the forest you saw a rabbit wearing clothes and holding a pocketwatch muttering “I'm late! Im late“ It hopped into a bunny hole and disappeared\\. Curiousity got the best of you so you jumped into the hole following it\\. There you got high and had a tea party with a cat, some weird looking twins and a guy with crazy hats\\. As a farewell gift they gave you some gold\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #21", "On the outskirts of the forest, you saw a tree standing alone\\. It was a sad tree, you wanted to make it happy and decided he needs a little friend\\. So you planted another tree\\. While planting the tree, you found a chest full with golden coins\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #21", "^On the outskirts of the forest, you saw a tree standing alone\\. It was a sad tree, you wanted to make it happy and decided he needs a little friend\\. So you planted another tree\\. While planting the tree, you found a chest full with golden coins\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #22", "While wandering through the valley, you found a big metal object with wings\\. Some ghastly looking people with remarkably formed foreheads were discussing loudly next to it\\. One of them saw you and asked: nuqneH\\? You got scared and ran away\\. At least you found some metal parts that you could sell to a local blacksmith\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #22", "^While wandering through the valley, you found a big metal object with wings\\. Some ghastly looking people with remarkably formed foreheads were discussing loudly next to it\\. One of them saw you and asked: nuqneH\\? You got scared and ran away\\. At least you found some metal parts that you could sell to a local blacksmith\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #23", "You passed a hidden fortress in the mountains, where a bunch of people were shouting at some guy in the shining coat\\. Apparently they were unhappy with too much salt in their food\\. You couldn't sneak past the guards, but you managed to find some loot in a nearby cave\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #23", "^You passed a hidden fortress in the mountains, where a bunch of people were shouting at some guy in the shining coat\\. Apparently they were unhappy with too much salt in their food\\. You couldn't sneak past the guards, but you managed to find some loot in a nearby cave\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #24", "As you were hiking through the icy mountains, you found a shirtless man shouting at a dragon\\. After defeating them both, you took some loot of their cold bodies and went home\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #24", "^As you were hiking through the icy mountains, you found a shirtless man shouting at a dragon\\. After defeating them both, you took some loot of their cold bodies and went home\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #25", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a huge battle-axe, with the rarest Whitewood handle\\. A runic inscription is hard to read, you only understood its about some Valhalla\\. You took it home to cut the handle and sell the wood to merchants\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #25", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a huge battle-axe, with the rarest Whitewood handle\\. A runic inscription is hard to read, you only understood its about some Valhalla\\. You took it home to cut the handle and sell the wood to merchants\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #26", "In the forest you found two completely identical man-spiders staring at each other, pointing with their second right leg\\. They were hissing and sputtering about something\\. That is until you sliced their throats and extracted precious web glands\\. Good job!(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #26", "^In the forest you found two completely identical man-spiders staring at each other, pointing with their second right leg\\. They were hissing and sputtering about something\\. That is until you sliced their throats and extracted precious web glands\\. Good job!(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #27", "In the forest you encountered a father and son\\. Father was shouting at his child screaming something about corals\\. We don't even have sea around here, what a strange man\\. You hit him and his son with a baseball bat to clear their heads\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #27", "^In the forest you encountered a father and son\\. Father was shouting at his child screaming something about corals\\. We don't even have sea around here, what a strange man\\. You hit him and his son with a baseball bat to clear their heads\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #28", "You discovered a trail of trunks in the woods\\. You followed it with caution\\. In the center of a clearing you found a black dragon caught in a net\\. It doesn't seem dangerous, so you approached it carefully and freed it\\.\\.\\. from its miserable existence\\. You sold its black scales for a good price to a local blacksmith\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #28", "^You discovered a trail of trunks in the woods\\. You followed it with caution\\. In the center of a clearing you found a black dragon caught in a net\\. It doesn't seem dangerous, so you approached it carefully and freed it\\.\\.\\. from its miserable existence\\. You sold its black scales for a good price to a local blacksmith\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #29", "Snares and traps, placed far away from the road, indicated that hunters earned their living in those places\\. Having spotted a quail in a snare, you reasoned that it wouldn't cost the hunters anything if you set it free, as the bird was so small, you couldnt eat it anyway\\. Besides, there were all sorts of small items near the traps, so it was a win-win situation\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #29", "^Snares and traps, placed far away from the road, indicated that hunters earned their living in those places\\. Having spotted a quail in a snare, you reasoned that it wouldn't cost the hunters anything if you set it free, as the bird was so small, you couldnt eat it anyway\\. Besides, there were all sorts of small items near the traps, so it was a win-win situation\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #30", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. Under a small stone hill you found a blue cloak\\. The fabric was aged but still strong, embroidered with stars and some obscene symbols\\. Perhaps it belonged to some warlord of the past to set fear in his enemies\\. You took the cloak to sell the quality fabric to merchants\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #30", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. Under a small stone hill you found a blue cloak\\. The fabric was aged but still strong, embroidered with stars and some obscene symbols\\. Perhaps it belonged to some warlord of the past to set fear in his enemies\\. You took the cloak to sell the quality fabric to merchants\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #31", "As you were strolling through the forest, you found a drunk scientist and a little kid swearing at each other\\. But before you could approach them, they disappeared into thin air\\. As you came closer to investigate you found a pickle that you sold to Jerry, the local merchant\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #31", "^As you were strolling through the forest, you found a drunk scientist and a little kid swearing at each other\\. But before you could approach them, they disappeared into thin air\\. As you came closer to investigate you found a pickle that you sold to Jerry, the local merchant\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #32", "In the forest you came across five librarians\\. Two of them were writing something down while the other three were just copying\\. You decided that it's unacceptable, so you pulled out your sword and killed them\\. Piracy's a crime, and crime doesn't pay\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #32", "^In the forest you came across five librarians\\. Two of them were writing something down while the other three were just copying\\. You decided that it's unacceptable, so you pulled out your sword and killed them\\. Piracy's a crime, and crime doesn't pay\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #33", "Walking through the forest you reached a cemetery, where you found a boy facing a man without a nose in a magic duel\\. You decided to help the man and stabbed the boy\\. The man gave you some magic artifacts that you sold to a local magician\\. Hope you did nothing wrong(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #33", "^Walking through the forest you reached a cemetery, where you found a boy facing a man without a nose in a magic duel\\. You decided to help the man and stabbed the boy\\. The man gave you some magic artifacts that you sold to a local magician\\. Hope you did nothing wrong(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #34", "In the lush thicket the path became barely distinguishable\\. Luckily, the trees ended before you got lost completely\\. You even managed to find some gold in an old tree hollow\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #34", "^In the lush thicket the path became barely distinguishable\\. Luckily, the trees ended before you got lost completely\\. You even managed to find some gold in an old tree hollow\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #35", "You saw a river running through the middle of the forest\\. It was a rather hot day, so you decided to go for a swim\\. On the other shore, you saw beautiful nimphas bathing in the waters\\. They looked so naive, so you stole their clothes and sold them\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #35", "^You saw a river running through the middle of the forest\\. It was a rather hot day, so you decided to go for a swim\\. On the other shore, you saw beautiful nimphas bathing in the waters\\. They looked so naive, so you stole their clothes and sold them\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #36", "On your way through the forest, you found an old woman, who offered you a beautifull red apple\\. You heard this story before, so you slayed the woman and you sold it to your neighbor\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #36", "^On your way through the forest, you found an old woman, who offered you a beautifull red apple\\. You heard this story before, so you slayed the woman and you sold it to your neighbor\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #37", "In the forest you met a strange creature who was mumbling about his ""precious"" and was scared of sunlight\\. It was poor mad Andy Serkis\\. You stole his wedding ring and sold it to a merchant\\. Strangely the merchant was never seen again\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #37", "^In the forest you met a strange creature who was mumbling about his ""precious"" and was scared of sunlight\\. It was poor mad Andy Serkis\\. You stole his wedding ring and sold it to a merchant\\. Strangely the merchant was never seen again\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #38", "In the middle of the forest you came upon a short man wearing all green\\. He was drunkingly mumbling about pot of gold at the end of the rainbow\\. Feeling excited, you followed it, only to find a big couldron, full of potatoes\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #38", "^In the middle of the forest you came upon a short man wearing all green\\. He was drunkingly mumbling about pot of gold at the end of the rainbow\\. Feeling excited, you followed it, only to find a big couldron, full of potatoes\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #39", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items that historians can pay a good price for\\. Today you found there a massive red shield with a mystical engraving of a crowned black square\\. A shame that you cant decipher a symbolical meaning of perished empires\\. Still, worth a fortune\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #39", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items that historians can pay a good price for\\. Today you found there a massive red shield with a mystical engraving of a crowned black square\\. A shame that you cant decipher a symbolical meaning of perished empires\\. Still, worth a fortune\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #40", "As you were humming a song between the trees of the forest, animals approached you to hear more of this beautiful melody\\. When you shot a few, the rest ran away\\. You sold their pelt for gold\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #40", "^As you were humming a song between the trees of the forest, animals approached you to hear more of this beautiful melody\\. When you shot a few, the rest ran away\\. You sold their pelt for gold\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #41", "In the deep shadows of trees you noticed ancient ruins, covered in either moss or some algae\\. In such darkness, you failed to distinguish what kind of ruins they were\\. But in order to make up for it you managed to find a couple of interesting things to take home\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #41", "^In the deep shadows of trees you noticed ancient ruins, covered in either moss or some algae\\. In such darkness, you failed to distinguish what kind of ruins they were\\. But in order to make up for it you managed to find a couple of interesting things to take home\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #42", "You came across a small, red, derpy-looking Echidna waddling towards you and shouting, “Do you know da wae\\?”\\n\\nYou showed it the way to the Queen; so it waddled away making clicking sounds\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #42", "^You came across a small, red, derpy-looking Echidna waddling towards you and shouting, “Do you know da wae\\?”\\n\\nYou showed it the way to the Queen; so it waddled away making clicking sounds\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #43", "In the forest you met a beautiful woman\\. You became suspicious that she was out here all alone, so you robbed her just in case\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #43", "^In the forest you met a beautiful woman\\. You became suspicious that she was out here all alone, so you robbed her just in case\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #44", "As you came across a glade in the forest, you smelled the scent of burned fiends\\. Upon further investigation you found the remains of a grand bonfire\\. Digging around in the pile of burned werewolves and witches you found some unburned stocks\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #44", "^As you came across a glade in the forest, you smelled the scent of burned fiends\\. Upon further investigation you found the remains of a grand bonfire\\. Digging around in the pile of burned werewolves and witches you found some unburned stocks\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #45", "In the forest you found a skinny man with a talking dog, eating dog cookies\\. You decided to face them, but the man was too strong\\. Frustrated, you return to the castle with nothing but shame(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #45", "^In the forest you found a skinny man with a talking dog, eating dog cookies\\. You decided to face them, but the man was too strong\\. Frustrated, you return to the castle with nothing but shame(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #46", "In the forest you found a wolf driving a cart full of deers\\. ""I wonder, where could they be going\\?"",- you thought\\. But the wolf threw you a shiny coin, so you decided to go home and forget about this strange incident\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #46", "^In the forest you found a wolf driving a cart full of deers\\. ""I wonder, where could they be going\\?"",- you thought\\. But the wolf threw you a shiny coin, so you decided to go home and forget about this strange incident\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #47", "Under the twisted shadows of the trees, you found a little wolf cub with a scar on its face. Being kind hearted, you took it with you\\. One night, little cub disappeared, but you found some gold on your doorstep\\. The local fool kept telling everyone that he saw a big white wolf taking your cub with it to the forest\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #47", "^Under the twisted shadows of the trees, you found a little wolf cub with a scar on its face. Being kind hearted, you took it with you\\. One night, little cub disappeared, but you found some gold on your doorstep\\. The local fool kept telling everyone that he saw a big white wolf taking your cub with it to the forest\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #48", "In the forest you met a one-armed shinobi who asked you about his lord\\. As you didn't know anything he continued his way\\. You noticed you have a strange cough on your way to the castle\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #48", "^In the forest you met a one-armed shinobi who asked you about his lord\\. As you didn't know anything he continued his way\\. You noticed you have a strange cough on your way to the castle\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #49", "In the forest you encountered a naked man in a red bandana dancing to some sweet music\\. You got carried away by his amazing moves and stared at him for a couple of days\\. After you gained back control over your body, you stole his bandana and sold it for a golden coin\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #49", "^In the forest you encountered a naked man in a red bandana dancing to some sweet music\\. You got carried away by his amazing moves and stared at him for a couple of days\\. After you gained back control over your body, you stole his bandana and sold it for a golden coin\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #50", "In the forest you found a rare mushroom species that you could sell to some local alchemists\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #50", "^In the forest you found a rare mushroom species that you could sell to some local alchemists\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #51", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect rare antique items\\. An old sword caught your attention\\. On the hilt you found a fine art of a blazing sun and a beautiful yellow city\\. The blade itself was a bit rusty though, its owner probably spent a lot of time near the sea\\. But weapons are always valuable, so you took the sword with you for sale\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #51", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect rare antique items\\. An old sword caught your attention\\. On the hilt you found a fine art of a blazing sun and a beautiful yellow city\\. The blade itself was a bit rusty though, its owner probably spent a lot of time near the sea\\. But weapons are always valuable, so you took the sword with you for sale\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #52", "You don't know what happened in the forest\\. All you can still remember is a bright flash of light and two guys in black suits wearing sunglasses walking away\\. When you checked your pockets you found some coins, that haven't been there before!(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #52", "^You don't know what happened in the forest\\. All you can still remember is a bright flash of light and two guys in black suits wearing sunglasses walking away\\. When you checked your pockets you found some coins, that haven't been there before!(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #53", "You finally found a ring of fairies\\. They laughed and invited you to join them\\. Poor fairies\\. You killed all of them for their treasure, but as soon as you left the forest, they turned into dusty leaves\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #53", "^You finally found a ring of fairies\\. They laughed and invited you to join them\\. Poor fairies\\. You killed all of them for their treasure, but as soon as you left the forest, they turned into dusty leaves\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #54", "While walking through an abandoned village in the woods you got knocked out\\. As you woke up, a scary looking metal man asks you what kind of fruit you are while muttering something about ""dissection""\\. A strange figure calling himself Zee Captain rescues you from this fate and puts a curious looking device in your hand\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #54", "^While walking through an abandoned village in the woods you got knocked out\\. As you woke up, a scary looking metal man asks you what kind of fruit you are while muttering something about ""dissection""\\. A strange figure calling himself Zee Captain rescues you from this fate and puts a curious looking device in your hand\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #55", "The forest was impenetrable to the sunlight\\. A long walk through it made you ponder over the meaning of life\\. As a result you became slightly wiser\\. In addition, you found a tenner in your inside pocket, which have been left there since last season\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #55", "^The forest was impenetrable to the sunlight\\. A long walk through it made you ponder over the meaning of life\\. As a result you became slightly wiser\\. In addition, you found a tenner in your inside pocket, which have been left there since last season\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #56", "Somewhere in the forest you saw an internet troll\\. He turned out to be a fat and slow creature, so you easily defeated him\\. What does ""internet"" mean, anyway\\? You wondered about that for a few seconds, but then you saw the contents of the troll's coin purse and the thought vanished\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #56", "^Somewhere in the forest you saw an internet troll\\. He turned out to be a fat and slow creature, so you easily defeated him\\. What does ""internet"" mean, anyway\\? You wondered about that for a few seconds, but then you saw the contents of the troll's coin purse and the thought vanished\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #57", "In the forest you encountered a sad frog\\. You found it extremely aesthetically pleasing, so you sold it to a local painter to be a poster model\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #57", "^In the forest you encountered a sad frog\\. You found it extremely aesthetically pleasing, so you sold it to a local painter to be a poster model\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #58", "On your quest through the forest you found a sword in stone\\. Out of excitement you pulled the sword from the stone, expecting to find The Greatest Sword in the World! But the engraving said ""This is just a tribute""\\. So you sold it off to a merchant\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #58", "^On your quest through the forest you found a sword in stone\\. Out of excitement you pulled the sword from the stone, expecting to find The Greatest Sword in the World! But the engraving said ""This is just a tribute""\\. So you sold it off to a merchant\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #59", "Statistically speaking, you come back empty handed from every third adventure in the forest\\. Seems like you drew your lucky ticket\\. You came back from the forest\\. And guess what\\? Something interesting happened\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #59", "^Statistically speaking, you come back empty handed from every third adventure in the forest\\. Seems like you drew your lucky ticket\\. You came back from the forest\\. And guess what\\? Something interesting happened\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #60", "”The faery forest glimmered beneath the ivory moon,\\nthe silver grasses shimmered against a faery tune\\.\\nBeneath the silken silence the crystal branches slept,\\nand dreaming thro the dew wall\\. The cold white blossoms wept\\.”\\n\\nForest fairies were impressed by your poem and invited you to their hideout\\. They should not have done that\\. You took the chance and decided to kill them and claim their treasures\\. Poor fairies\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #60", "^”The faery forest glimmered beneath the ivory moon,\\nthe silver grasses shimmered against a faery tune\\.\\nBeneath the silken silence the crystal branches slept,\\nand dreaming thro the dew wall\\. The cold white blossoms wept\\.”\\n\\nForest fairies were impressed by your poem and invited you to their hideout\\. They should not have done that\\. You took the chance and decided to kill them and claim their treasures\\. Poor fairies\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #61", "As you were walking through the forest, you met a spider-man\\. You slew the beast and took its web gland as a trophy\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #61", "^As you were walking through the forest, you met a spider-man\\. You slew the beast and took its web gland as a trophy\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #62", "In the forest you encountered a body of a dwarf with a lion engraved on his shirt and a bag of gold lying next to him\\. It looks like he fell from the sky\\. You took the gold and left the body alone\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #62", "^In the forest you encountered a body of a dwarf with a lion engraved on his shirt and a bag of gold lying next to him\\. It looks like he fell from the sky\\. You took the gold and left the body alone\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #63", "“Two roads diverged in a wood,\\nand I-\\nI took the one less travelled by,\\nAnd robbed some guy - oh my\.”(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #63", "^“Two roads diverged in a wood,\\nand I-\\nI took the one less travelled by,\\nAnd robbed some guy - oh my\.”(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #64", "Strolling through the mountains you encountered an evil undead wizard hitting himself against a cold wall\\. He must be completely out of his mind\\. You decided not to bother him and simply collected all the gold around him\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #64", "^Strolling through the mountains you encountered an evil undead wizard hitting himself against a cold wall\\. He must be completely out of his mind\\. You decided not to bother him and simply collected all the gold around him\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #65", "In the valley's tranquility you saw sheep and lambs grazing on lush meadows\\. You took your knife out and killed one, but the lambs stayed silent\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #65", "^In the valley's tranquility you saw sheep and lambs grazing on lush meadows\\. You took your knife out and killed one, but the lambs stayed silent\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #66", "In the mountains you found a small lake and a hidden door\\. The door was carved with symbols and a picture of a bush\\. You recognised the ancient language and managed to translate the scriblings: ""Say friend and come in""\\. Unfortunatelly, you never had any friends, so you picked up some arrows laying around and went home\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #66", "^In the mountains you found a small lake and a hidden door\\. The door was carved with symbols and a picture of a bush\\. You recognised the ancient language and managed to translate the scriblings: ""Say friend and come in""\\. Unfortunatelly, you never had any friends, so you picked up some arrows laying around and went home\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #67", "On your way to the market in another village, you met an old man talking about peaceful associations between the traders of the seven castles\\. He dreamed of sharing goods and creating a market for extraordinary items\\. You had to leave, but not before the old man gave you a bell and told you to spread the idea\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #67", "^On your way to the market in another village, you met an old man talking about peaceful associations between the traders of the seven castles\\. He dreamed of sharing goods and creating a market for extraordinary items\\. You had to leave, but not before the old man gave you a bell and told you to spread the idea\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #68", "Deep down along the valley you found a small inn. Some big warrior with a burnt face ate all the chicken they had and you got nothing\\. You tried writing to the inn's feedback box, but there was no reply\\. However, you stole a strange coin from the girl who accompanied the bully\\. Maybe it's worth something\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #68", "^Deep down along the valley you found a small inn. Some big warrior with a burnt face ate all the chicken they had and you got nothing\\. You tried writing to the inn's feedback box, but there was no reply\\. However, you stole a strange coin from the girl who accompanied the bully\\. Maybe it's worth something\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #69", "On your quest you reached the top of the mountain\\. You were looking at the lands lying in front of you, when you noticed a dark shadowy place in the distance\\. You heard a mighty voice say ""That's urn castle, you must not go there""\\. While looking for the voice, you found a golden ingot and decided to head back home\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #69", "^On your quest you reached the top of the mountain\\. You were looking at the lands lying in front of you, when you noticed a dark shadowy place in the distance\\. You heard a mighty voice say ""That's urn castle, you must not go there""\\. While looking for the voice, you found a golden ingot and decided to head back home\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #70", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a green bag lying around\\. You checked the content and only found some weird herbs with refreshing smell\\. Having no idea what it is, it came to your mind it will be a nice tea ingredient\\. You kept the herb, but sold the bag\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #70", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a green bag lying around\\. You checked the content and only found some weird herbs with refreshing smell\\. Having no idea what it is, it came to your mind it will be a nice tea ingredient\\. You kept the herb, but sold the bag\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #71", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of a giant sea monster, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #71", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of a giant sea monster, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #72", "Out in the swamp you encountered a micro hydra trying to eat a little girl\\. You stepped on it and killed the beast\\. You noticed that it dropped a giant golden crown\\. I wonder, how could it fit inside such a small body\\?(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #72", "^Out in the swamp you encountered a micro hydra trying to eat a little girl\\. You stepped on it and killed the beast\\. You noticed that it dropped a giant golden crown\\. I wonder, how could it fit inside such a small body\\?(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #73", "In the forest you found a rare mushroom species that you could sell to some local alchemists and apothecaries(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #73", "^In the forest you found a rare mushroom species that you could sell to some local alchemists and apothecaries(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #74", "In the middle of a swamp you met a huge ogre who was finishing eating a donkey\\. “14 Silver bullets can't hurt me!” He shouted angrily with a Scottish accent\\. Somebody once told you that you should not mess with ogres, so you let it be\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #74", "^In the middle of a swamp you met a huge ogre who was finishing eating a donkey\\. “14 Silver bullets can't hurt me!” He shouted angrily with a Scottish accent\\. Somebody once told you that you should not mess with ogres, so you let it be\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #75", "In the forest you met a guy who asked you to shoot him in the face with some black stuff\\. What a weird request, you thought to yourself\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #75", "^In the forest you met a guy who asked you to shoot him in the face with some black stuff\\. What a weird request, you thought to yourself\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #76", "In the forest you encountered a knight in a flashy red iron armor\\. He was talking about a Jar-Beast and “ku'anthum fhi'zicks” before disappearing into thin air\\. You looted some contraptions left by this mysterious man and sold them to the local mechanic, Jerry\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #76", "^In the forest you encountered a knight in a flashy red iron armor\\. He was talking about a Jar-Beast and “ku'anthum fhi'zicks” before disappearing into thin air\\. You looted some contraptions left by this mysterious man and sold them to the local mechanic, Jerry\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #77", "You have killed Harambe in the forest\\. You are a terrible person\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #77", "^You have killed Harambe in the forest\\. You are a terrible person\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #78", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. Today, you noticed a shattered spear blade made from an odd gloomy metal\\. The instant you took it, you heard strange voices speaking of The Dark Lord and his ascend\\. You hid it and rushed to a wizard, who would pay great deal for such magical artefacts\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #78", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. Today, you noticed a shattered spear blade made from an odd gloomy metal\\. The instant you took it, you heard strange voices speaking of The Dark Lord and his ascend\\. You hid it and rushed to a wizard, who would pay great deal for such magical artefacts\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #79", "In the middle of the swamp you found a blue box, that turned out to be bigger on the inside\\. Along side some strange garbage with buttons and levers you found a weird screwdriver you sold to a local pawnshop\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #79", "^In the middle of the swamp you found a blue box, that turned out to be bigger on the inside\\. Along side some strange garbage with buttons and levers you found a weird screwdriver you sold to a local pawnshop\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #80", "On your way to the forest, you saw a wolf trying to eat a little girl\\. The little girl screamed for help\\. You killed the wolf\\. You killed the girl\\. What a day! What a lovely day!(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #80", "^On your way to the forest, you saw a wolf trying to eat a little girl\\. The little girl screamed for help\\. You killed the wolf\\. You killed the girl\\. What a day! What a lovely day!(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #81", "In the forest you met a one-armed shinobi who asked you about his lord\\. As you didn't know anything he continued his way\\. You noticed you have a stange cough on your way to the castle\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #81", "^In the forest you met a one-armed shinobi who asked you about his lord\\. As you didn't know anything he continued his way\\. You noticed you have a stange cough on your way to the castle\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #82", "While walking through the forest, you found two muggers\\. You overheard their conversation: ""Do you see him\\?"", ""You mean him, the hero who slayed various beasts on his quest\\?"", ""Yes, let's mug him!"", ""Nah, let's not\\.""\\. Because what do muggers do\\? They Mug! While they were discussing to mug you, you mugged them instead\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #82", "^While walking through the forest, you found two muggers\\. You overheard their conversation: ""Do you see him\\?"", ""You mean him, the hero who slayed various beasts on his quest\\?"", ""Yes, let's mug him!"", ""Nah, let's not\\.""\\. Because what do muggers do\\? They Mug! While they were discussing to mug you, you mugged them instead\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #83", "Far away in the distance you saw three tiny figures walking through the mire\\. Suddenly, one of the fell into the water\\. You rushed to them, but by the time you got there, figures disappeared\\. Luckily, you found a shiny ring laying on the ground\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #83", "^Far away in the distance you saw three tiny figures walking through the mire\\. Suddenly, one of the fell into the water\\. You rushed to them, but by the time you got there, figures disappeared\\. Luckily, you found a shiny ring laying on the ground\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #84", "In the forest you stumbled upon a pond of crystal clear water with Incredibly beautiful carps swimming inside\\. Just think about it! Those fish could live longer than an average warrior! After admiring the carps you achieved an inner harmony, and came back later to clean the pond from all sorts of ""garbage""\\. Some things could come in handy in your workshop\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #84", "^In the forest you stumbled upon a pond of crystal clear water with Incredibly beautiful carps swimming inside\\. Just think about it! Those fish could live longer than an average warrior! After admiring the carps you achieved an inner harmony, and came back later to clean the pond from all sorts of ""garbage""\\. Some things could come in handy in your workshop\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #85", "Deep in the forest you found a hole\\. And in that hole lived a hobbit\\. Unfortunately, in this universe, hobbits are a kind of rabbits\\. So you skinned it and made yourself a hat\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #85", "^Deep in the forest you found a hole\\. And in that hole lived a hobbit\\. Unfortunately, in this universe, hobbits are a kind of rabbits\\. So you skinned it and made yourself a hat\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #86", "In the forest you made friends with a small green goblin who taught you how to use the force\\. Unfortunately by the time you returned home you have already forgotten how to use that ancient art\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #86", "^In the forest you made friends with a small green goblin who taught you how to use the force\\. Unfortunately by the time you returned home you have already forgotten how to use that ancient art\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #87", "You saw a huge wooden horse near the edge of the forest\\. Fortunately you studied history and resisted the urge to bring it with you to the castle\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #87", "^You saw a huge wooden horse near the edge of the forest\\. Fortunately you studied history and resisted the urge to bring it with you to the castle\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #88", "Looking for some shiny things at the edge of the forest, you saw a broken piece of a metal under a tree\\. After examining it, you didnt find anything special about it, except for some old painted text: “F A L C O … V Y”\\. Nonetheless, you took it back home, hoping to sell to a local antique collector, Mr Musk\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #88", "^Looking for some shiny things at the edge of the forest, you saw a broken piece of a metal under a tree\\. After examining it, you didnt find anything special about it, except for some old painted text: “F A L C O … V Y”\\. Nonetheless, you took it back home, hoping to sell to a local antique collector, Mr Musk\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #89", "You came across a man with an arrow in his knee\\. You helped him, and he taught you some ancient gibberish\\. The moment you said the last word, he was hit by sudden blast of wind and ended up impaled on a tree branch\\. Weird\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #89", "^You came across a man with an arrow in his knee\\. You helped him, and he taught you some ancient gibberish\\. The moment you said the last word, he was hit by sudden blast of wind and ended up impaled on a tree branch\\. Weird\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #90", "In the valley you encountered a sleeping dragon\\. Even the loudest thunder couldn't wake it up, so you robbed its cave\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #90", "^In the valley you encountered a sleeping dragon\\. Even the loudest thunder couldn't wake it up, so you robbed its cave\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #91", "At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of an old powder cult, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #91", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of an old powder cult, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #91", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of an old powder cult, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestReq) + `, "Quest Req", "^🗺Quests$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestAck) + `, "Quest Ack", "^🌲Forest [0-9]min
Many things can happen in the forest\\.\\n\\n
🍄Swamp [0-9]min\\n
Who knows what is lurking in mud\\.\\n\\n
🏔Mountain Valley [0-9]min\\n
Watch out for landslides\\.\\n\\n
🗡Foray 🔋🔋\\n
Foray is a dangerous activity\\. Someone can notice you and may beat you up\\. But if you go unnoticed, you will acquire a lot of loot\\.\\n\\n
📯Arena \\n
Arena isn't a place for the weak\\. Here you fight against other players and if you stand victorious, you acquire precious experience\\.$")
;`) ;`)
failOnError(err, "resetMsgParsingRules : populate table msg_rules") failOnError(err, "resetMsgParsingRules : populate table msg_rules")
} }

3
sql.go
View File

@ -542,6 +542,9 @@ func initDB() {
,(` + strconv.Itoa(objSubTypeMessageUnequipGearReq) + `, "unequip_req", "Unequip Req", ` + strconv.Itoa(objTypeMessage) + `) ,(` + strconv.Itoa(objSubTypeMessageUnequipGearReq) + `, "unequip_req", "Unequip Req", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageUnequipGearAck) + `, "unequip_ack", "Unequip Ack", ` + strconv.Itoa(objTypeMessage) + `) ,(` + strconv.Itoa(objSubTypeMessageUnequipGearAck) + `, "unequip_ack", "Unequip Ack", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageNoStamina) + `, "no_stamina", "No Stamina", ` + strconv.Itoa(objTypeMessage) + `) ,(` + strconv.Itoa(objSubTypeMessageNoStamina) + `, "no_stamina", "No Stamina", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageOrderbookSearch) + `, "orderbook_search", "Orderbook search", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageQuestReq) + `, "quest_req", "Quest Req", ` + strconv.Itoa(objTypeMessage) + `)
,(` + strconv.Itoa(objSubTypeMessageQuestAck) + `, "quest_ack", "Quest 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) + `)