/Script/init_player.sql
http://awoe.googlecode.com/ · SQL · 179 lines · 164 code · 15 blank · 0 comment · 0 complexity · 82c9e7113d18fe54f6d6a08c1b6848dc MD5 · raw file
- delete from player;
- INSERT INTO `player` (`pid`, `aid`, `name`, `gender`, `features`, `money_g`, `money_s`, `prop_vit`, `prop_str`, `prop_agi`, `prop_int`, `prop_left`, ftype) VALUES
- (1, 1, 'Eric', 0, 0, 0000000100, 0000000100, 00001, 00002, 00003, 00000, 00000, 1),
- (2, 1, 'Stormreach', 1, 3, 0000000433, 0000000321, 00002, 00003, 00004, 00005, 00001, 2),
- (3, 2, 'Wizard', 0, 0, 0000000000, 0000000000, 00000, 00000, 00000, 00000, 00000, 3),
- (4, 2, 'Shisan', 2, 5, 0000000000, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
- (5, 3, 'Vincent', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
- (6, 3, 'SLang', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
- (7, 4, 'Google', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
- (8, 5, 'Baidu', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
- (9, 6, 'Ubisoft', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
- (10, 7, 'Waking', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2);
-
- delete from role;
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (1, 1, 101, 10, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (1, 2, 201, 11, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (2, 1, 202, 20, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (2, 2, 303, 21, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (3, 1, 301, 10, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (3, 2, 203, 11, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (4, 1, 201, 20, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (4, 2, 103, 21, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (5, 1, 102, 10, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (5, 2, 201, 11, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (5, 3, 301, 12, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
- insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
- values (5, 4, 302, 13, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-
- delete from progress;
- insert into progress (pid, cid, did, sid, data) values
- (1, 2, 1, 1, 2),
- (1, 2, 1, 2, 2),
- (1, 2, 2, 1, 1),
- (1, 2, 2, 2, 1),
- (1, 2, 3, 1, 2),
- (1, 2, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (1, 3, 1, 1, 2),
- (1, 3, 1, 2, 2),
- (1, 3, 2, 1, 1),
- (1, 3, 2, 2, 1),
- (1, 3, 3, 1, 2),
- (1, 3, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (1, 6, 1, 1, 2),
- (1, 6, 1, 2, 2),
- (1, 6, 2, 1, 1),
- (1, 6, 2, 2, 1),
- (1, 6, 3, 1, 2),
- (1, 6, 3, 2, 2);
-
- insert into progress (pid, cid, did, sid, data) values
- (2, 2, 1, 1, 2),
- (2, 2, 1, 2, 2),
- (2, 2, 2, 1, 1),
- (2, 2, 2, 2, 1),
- (2, 2, 3, 1, 2),
- (2, 2, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (2, 3, 1, 1, 2),
- (2, 3, 1, 2, 2),
- (2, 3, 2, 1, 1),
- (2, 3, 2, 2, 1),
- (2, 3, 3, 1, 2),
- (2, 3, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data)values
- (2, 6, 1, 1, 2),
- (2, 6, 1, 2, 2),
- (2, 6, 2, 1, 1),
- (2, 6, 2, 2, 1),
- (2, 6, 3, 1, 2),
- (2, 6, 3, 2, 2);
-
- insert into progress (pid, cid, did, sid, data) values
- (3, 2, 1, 1, 2),
- (3, 2, 1, 2, 2),
- (3, 2, 2, 1, 1),
- (3, 2, 2, 2, 1),
- (3, 2, 3, 1, 2),
- (3, 2, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (3, 3, 1, 1, 2),
- (3, 3, 1, 2, 2),
- (3, 3, 2, 1, 1),
- (3, 3, 2, 2, 1),
- (3, 3, 3, 1, 2),
- (3, 3, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (3, 6, 1, 1, 2),
- (3, 6, 1, 2, 2),
- (3, 6, 2, 1, 1),
- (3, 6, 2, 2, 1),
- (3, 6, 3, 1, 2),
- (3, 6, 3, 2, 2);
-
- insert into progress (pid, cid, did, sid, data) values
- (4, 2, 1, 1, 2),
- (4, 2, 1, 2, 2),
- (4, 2, 2, 1, 1),
- (4, 2, 2, 2, 1),
- (4, 2, 3, 1, 2),
- (4, 2, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (4, 3, 1, 1, 2),
- (4, 3, 1, 2, 2),
- (4, 3, 2, 1, 1),
- (4, 3, 2, 2, 1),
- (4, 3, 3, 1, 2),
- (4, 3, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (4, 6, 1, 1, 2),
- (4, 6, 1, 2, 2),
- (4, 6, 2, 1, 1),
- (4, 6, 2, 2, 1),
- (4, 6, 3, 1, 2),
- (4, 6, 3, 2, 2);
-
- insert into progress (pid, cid, did, sid, data) values
- (5, 2, 1, 1, 2),
- (5, 2, 1, 2, 2),
- (5, 2, 2, 1, 1),
- (5, 2, 2, 2, 1),
- (5, 2, 3, 1, 2),
- (5, 2, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (5, 3, 1, 1, 2),
- (5, 3, 1, 2, 2),
- (5, 3, 2, 1, 1),
- (5, 3, 2, 2, 1),
- (5, 3, 3, 1, 2),
- (5, 3, 3, 2, 2);
- insert into progress (pid, cid, did, sid, data) values
- (5, 6, 1, 1, 2),
- (5, 6, 1, 2, 2),
- (5, 6, 2, 1, 1),
- (5, 6, 2, 2, 1),
- (5, 6, 3, 1, 2),
- (5, 6, 3, 2, 2);
-
- delete from form;
- insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
- (1, 1, 3, 1, 2, 0, 0, 0),
- (1, 2, 5, 0, 1, 2, 0, 0),
- (1, 3, 4, 2, 1, 0, 0, 0);
-
- insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
- (2, 1, 3, 1, 2, 0, 0, 0),
- (2, 2, 5, 0, 1, 2, 0, 0),
- (2, 3, 4, 2, 1, 0, 0, 0);
-
- insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
- (3, 1, 3, 1, 2, 0, 0, 0),
- (3, 2, 5, 0, 1, 2, 0, 0),
- (3, 3, 4, 2, 1, 0, 0, 0);
-
- insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
- (4, 1, 3, 1, 2, 0, 0, 0),
- (4, 2, 5, 0, 1, 2, 0, 0),
- (4, 3, 4, 2, 1, 0, 0, 0);
-
- insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
- (5, 1, 3, 1, 2, 0, 0, 0),
- (5, 2, 5, 0, 1, 2, 0, 0),
- (5, 3, 4, 2, 1, 0, 0, 0);