test
This commit is contained in:
parent
c572bc652e
commit
36803894e6
File diff suppressed because it is too large
Load Diff
@ -103,9 +103,9 @@
|
||||
"auction": "false",
|
||||
"names": ["Cord"],
|
||||
"craft": {"cmd": "/craft_12",
|
||||
"mana": "15",
|
||||
"items":[{"item": "01", "quantity": "7"},
|
||||
{"item": "19", "quantity": "1"}]}
|
||||
"mana": 15,
|
||||
"items":[{"item": "01", "quantity": 7},
|
||||
{"item": "19", "quantity": 1}]}
|
||||
},
|
||||
{
|
||||
"item_type": "item_res",
|
||||
@ -2675,11 +2675,11 @@
|
||||
"auction": "true",
|
||||
"names": ["Bottle of Rage"],
|
||||
"craft": {"cmd": "/brew_p03",
|
||||
"mana": "30",
|
||||
"items":[{"item": "63", "quantity": "2"},
|
||||
{"item": "43", "quantity": "1"},
|
||||
{"item": "59", "quantity": "1"},
|
||||
{"item": "52", "quantity": "1"}]}
|
||||
"mana": 30,
|
||||
"items":[{"item": "63", "quantity": 2},
|
||||
{"item": "43", "quantity": 1},
|
||||
{"item": "59", "quantity": 1},
|
||||
{"item": "52", "quantity": 1}]}
|
||||
},
|
||||
{
|
||||
"item_type": "item_misc",
|
||||
|
4
rules.go
4
rules.go
@ -20,8 +20,6 @@ func resetMsgParsingRules2() error {
|
||||
|
||||
for k, _ := range rules {
|
||||
r := rules[k]
|
||||
b, err := json.Marshal(r)
|
||||
log.Printf("Rule : %s\n", string(b))
|
||||
|
||||
r.MsgTypeID64, err = codeObjSubTypeId(r.MsgType)
|
||||
logOnError(err, "resetMsgParsingRules2 : codeObjSubTypeId("+r.MsgType+")")
|
||||
@ -34,6 +32,8 @@ func resetMsgParsingRules2() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
b, err := json.Marshal(r)
|
||||
log.Printf("Rule : %s\n", string(b))
|
||||
}
|
||||
|
||||
_, err = db.Exec(`TRUNCATE TABLE msg_rules;`)
|
||||
|
Loading…
Reference in New Issue
Block a user