/Script/init_player.sql

http://awoe.googlecode.com/ · SQL · 179 lines · 164 code · 15 blank · 0 comment · 0 complexity · 82c9e7113d18fe54f6d6a08c1b6848dc MD5 · raw file

  1. delete from player;
  2. INSERT INTO `player` (`pid`, `aid`, `name`, `gender`, `features`, `money_g`, `money_s`, `prop_vit`, `prop_str`, `prop_agi`, `prop_int`, `prop_left`, ftype) VALUES
  3. (1, 1, 'Eric', 0, 0, 0000000100, 0000000100, 00001, 00002, 00003, 00000, 00000, 1),
  4. (2, 1, 'Stormreach', 1, 3, 0000000433, 0000000321, 00002, 00003, 00004, 00005, 00001, 2),
  5. (3, 2, 'Wizard', 0, 0, 0000000000, 0000000000, 00000, 00000, 00000, 00000, 00000, 3),
  6. (4, 2, 'Shisan', 2, 5, 0000000000, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
  7. (5, 3, 'Vincent', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
  8. (6, 3, 'SLang', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
  9. (7, 4, 'Google', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
  10. (8, 5, 'Baidu', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
  11. (9, 6, 'Ubisoft', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2),
  12. (10, 7, 'Waking', 5, 7, 0000001888, 0000000000, 00000, 00000, 00000, 00000, 00000, 2);
  13. delete from role;
  14. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  15. values (1, 1, 101, 10, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  16. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  17. values (1, 2, 201, 11, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  18. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  19. values (2, 1, 202, 20, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  20. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  21. values (2, 2, 303, 21, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  22. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  23. values (3, 1, 301, 10, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  24. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  25. values (3, 2, 203, 11, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  26. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  27. values (4, 1, 201, 20, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  28. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  29. values (4, 2, 103, 21, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  30. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  31. values (5, 1, 102, 10, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  32. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  33. values (5, 2, 201, 11, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  34. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  35. values (5, 3, 301, 12, 0, 100, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  36. insert into role (pid, rid, hid, lvl, exp, hp, mp, eslot1, eslot2, eslot3, eslot4, eslot5, eslot6, eslot7, datax, datay, dataz)
  37. values (5, 4, 302, 13, 0, 101, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  38. delete from progress;
  39. insert into progress (pid, cid, did, sid, data) values
  40. (1, 2, 1, 1, 2),
  41. (1, 2, 1, 2, 2),
  42. (1, 2, 2, 1, 1),
  43. (1, 2, 2, 2, 1),
  44. (1, 2, 3, 1, 2),
  45. (1, 2, 3, 2, 2);
  46. insert into progress (pid, cid, did, sid, data) values
  47. (1, 3, 1, 1, 2),
  48. (1, 3, 1, 2, 2),
  49. (1, 3, 2, 1, 1),
  50. (1, 3, 2, 2, 1),
  51. (1, 3, 3, 1, 2),
  52. (1, 3, 3, 2, 2);
  53. insert into progress (pid, cid, did, sid, data) values
  54. (1, 6, 1, 1, 2),
  55. (1, 6, 1, 2, 2),
  56. (1, 6, 2, 1, 1),
  57. (1, 6, 2, 2, 1),
  58. (1, 6, 3, 1, 2),
  59. (1, 6, 3, 2, 2);
  60. insert into progress (pid, cid, did, sid, data) values
  61. (2, 2, 1, 1, 2),
  62. (2, 2, 1, 2, 2),
  63. (2, 2, 2, 1, 1),
  64. (2, 2, 2, 2, 1),
  65. (2, 2, 3, 1, 2),
  66. (2, 2, 3, 2, 2);
  67. insert into progress (pid, cid, did, sid, data) values
  68. (2, 3, 1, 1, 2),
  69. (2, 3, 1, 2, 2),
  70. (2, 3, 2, 1, 1),
  71. (2, 3, 2, 2, 1),
  72. (2, 3, 3, 1, 2),
  73. (2, 3, 3, 2, 2);
  74. insert into progress (pid, cid, did, sid, data)values
  75. (2, 6, 1, 1, 2),
  76. (2, 6, 1, 2, 2),
  77. (2, 6, 2, 1, 1),
  78. (2, 6, 2, 2, 1),
  79. (2, 6, 3, 1, 2),
  80. (2, 6, 3, 2, 2);
  81. insert into progress (pid, cid, did, sid, data) values
  82. (3, 2, 1, 1, 2),
  83. (3, 2, 1, 2, 2),
  84. (3, 2, 2, 1, 1),
  85. (3, 2, 2, 2, 1),
  86. (3, 2, 3, 1, 2),
  87. (3, 2, 3, 2, 2);
  88. insert into progress (pid, cid, did, sid, data) values
  89. (3, 3, 1, 1, 2),
  90. (3, 3, 1, 2, 2),
  91. (3, 3, 2, 1, 1),
  92. (3, 3, 2, 2, 1),
  93. (3, 3, 3, 1, 2),
  94. (3, 3, 3, 2, 2);
  95. insert into progress (pid, cid, did, sid, data) values
  96. (3, 6, 1, 1, 2),
  97. (3, 6, 1, 2, 2),
  98. (3, 6, 2, 1, 1),
  99. (3, 6, 2, 2, 1),
  100. (3, 6, 3, 1, 2),
  101. (3, 6, 3, 2, 2);
  102. insert into progress (pid, cid, did, sid, data) values
  103. (4, 2, 1, 1, 2),
  104. (4, 2, 1, 2, 2),
  105. (4, 2, 2, 1, 1),
  106. (4, 2, 2, 2, 1),
  107. (4, 2, 3, 1, 2),
  108. (4, 2, 3, 2, 2);
  109. insert into progress (pid, cid, did, sid, data) values
  110. (4, 3, 1, 1, 2),
  111. (4, 3, 1, 2, 2),
  112. (4, 3, 2, 1, 1),
  113. (4, 3, 2, 2, 1),
  114. (4, 3, 3, 1, 2),
  115. (4, 3, 3, 2, 2);
  116. insert into progress (pid, cid, did, sid, data) values
  117. (4, 6, 1, 1, 2),
  118. (4, 6, 1, 2, 2),
  119. (4, 6, 2, 1, 1),
  120. (4, 6, 2, 2, 1),
  121. (4, 6, 3, 1, 2),
  122. (4, 6, 3, 2, 2);
  123. insert into progress (pid, cid, did, sid, data) values
  124. (5, 2, 1, 1, 2),
  125. (5, 2, 1, 2, 2),
  126. (5, 2, 2, 1, 1),
  127. (5, 2, 2, 2, 1),
  128. (5, 2, 3, 1, 2),
  129. (5, 2, 3, 2, 2);
  130. insert into progress (pid, cid, did, sid, data) values
  131. (5, 3, 1, 1, 2),
  132. (5, 3, 1, 2, 2),
  133. (5, 3, 2, 1, 1),
  134. (5, 3, 2, 2, 1),
  135. (5, 3, 3, 1, 2),
  136. (5, 3, 3, 2, 2);
  137. insert into progress (pid, cid, did, sid, data) values
  138. (5, 6, 1, 1, 2),
  139. (5, 6, 1, 2, 2),
  140. (5, 6, 2, 1, 1),
  141. (5, 6, 2, 2, 1),
  142. (5, 6, 3, 1, 2),
  143. (5, 6, 3, 2, 2);
  144. delete from form;
  145. insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
  146. (1, 1, 3, 1, 2, 0, 0, 0),
  147. (1, 2, 5, 0, 1, 2, 0, 0),
  148. (1, 3, 4, 2, 1, 0, 0, 0);
  149. insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
  150. (2, 1, 3, 1, 2, 0, 0, 0),
  151. (2, 2, 5, 0, 1, 2, 0, 0),
  152. (2, 3, 4, 2, 1, 0, 0, 0);
  153. insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
  154. (3, 1, 3, 1, 2, 0, 0, 0),
  155. (3, 2, 5, 0, 1, 2, 0, 0),
  156. (3, 3, 4, 2, 1, 0, 0, 0);
  157. insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
  158. (4, 1, 3, 1, 2, 0, 0, 0),
  159. (4, 2, 5, 0, 1, 2, 0, 0),
  160. (4, 3, 4, 2, 1, 0, 0, 0);
  161. insert into form (pid, type, lvl, fslot1, fslot2, fslot3, fslot4, fslot5) values
  162. (5, 1, 3, 1, 2, 0, 0, 0),
  163. (5, 2, 5, 0, 1, 2, 0, 0),
  164. (5, 3, 4, 2, 1, 0, 0, 0);