#!/bin/sh
echo "use MHFCDB;
insert into \`robot_action\` (ActionId, RobotAction) VALUES('0', '随机');
insert into \`robot_action\` (ActionId, RobotAction) VALUES('1', '移动');
insert into \`robot_action\` (ActionId, RobotAction) VALUES('2', '喊话');
insert into \`robot_action\` (ActionId, RobotAction) VALUES('3', '技能');
insert into \`robot_action\` (ActionId, RobotAction) VALUES('4', '副本');
INSERT INTO \`login_position\` (PostionName, PostionCoord, PostionOrit) VALUES('出生点', '609.30*758.43*148.25@1', '0*0*0');
INSERT INTO \`login_position\` (PostionName, PostionCoord, PostionOrit) VALUES('主城酒馆二楼', '661.90*759.38*150.51@1', '0*0*0');
" > sqlfile
mysql -u root < sqlfile
rm sqlfile
echo "robot_action init succesed!!"