diff --git a/README.md b/README.md index f5a602c..ca755f4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,10 @@ Requirements: * Java 11 or above * MySQL (Optional) -Just run `java -jar aqua.jar` +Edit `application.properties` , change the `allnet.server.host` to your IP address or hostname. +DIVA won't work with localhost and 127.0.0.1 + +Then run `java -jar aqua.jar` or use the `start.bat` if you are using windows. diff --git a/data/db.sqlite b/data/db.sqlite deleted file mode 100644 index e555f0f..0000000 Binary files a/data/db.sqlite and /dev/null differ diff --git a/src/main/java/icu/samnyan/aqua/sega/allnet/AllNetController.java b/src/main/java/icu/samnyan/aqua/sega/allnet/AllNetController.java index a920f61..82ed2d0 100644 --- a/src/main/java/icu/samnyan/aqua/sega/allnet/AllNetController.java +++ b/src/main/java/icu/samnyan/aqua/sega/allnet/AllNetController.java @@ -5,6 +5,7 @@ import icu.samnyan.aqua.sega.allnet.model.response.PowerOnResponse; import icu.samnyan.aqua.sega.allnet.util.Decoder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RestController; @@ -22,6 +23,15 @@ public class AllNetController { private static final Logger logger = LoggerFactory.getLogger(AllNetController.class); + private final String HOST; + private final String PORT; + + public AllNetController(@Value("${allnet.server.host}") String HOST, + @Value("${allnet.server.port}") String PORT) { + this.HOST = HOST; + this.PORT = PORT; + } + @PostMapping(value = "/sys/servlet/PowerOn", produces = "text/plain") String powerOn(InputStream dataStream) throws DataFormatException, IOException { @@ -29,6 +39,7 @@ public class AllNetController { Map reqMap = Decoder.decode(bytes); logger.info("Request: PowerOn, " + new ObjectMapper().writeValueAsString(reqMap)); + // TODO: Verify KeyChip id String gameId = reqMap.getOrDefault("game_id", ""); PowerOnResponse resp = new PowerOnResponse( @@ -58,21 +69,22 @@ public class AllNetController { private String switchUri(String gameId) { switch (gameId) { case "SDBT": - return "http://192.168.123.208:80/"; + return "http://" + HOST + ":" + PORT + "/"; case "SBZV": - return "http://192.168.123.208:80/diva/"; + return "http://" + HOST + ":" + PORT + "/diva/"; default: - return ""; + return "http://" + HOST + ":" + PORT + "/"; } } private String switchHost(String gameId) { switch (gameId) { case "SDDF": - return "http://127.0.0.1:?/"; + return "http://" + HOST + ":" + PORT + "/"; default: - return ""; + return "http://" + HOST + ":" + PORT + "/"; } } } + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f0aeaf9..f9dc488 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,7 +2,7 @@ aimedb.server.enable=true aimedb.server.port=22345 ## Server host return to client when boot up. -## Please notice some game won't work with localhost or 127.0.0.1 +## Please notice DIVA won't work with localhost or 127.0.0.1 ## Set this to same port to Http Server Port allnet.server.host=localhost allnet.server.port=80 @@ -14,11 +14,12 @@ server.port=80 spring.servlet.multipart.max-file-size=10MB spring.servlet.multipart.max-request-size=20MB ## Database Setting +spring.datasource.initialization-mode=always ########## For Sqlite ########## spring.datasource.driver-class-name=org.sqlite.JDBC spring.datasource.url=jdbc:sqlite:data/db.sqlite #auto schema update will case sqlite error -spring.jpa.hibernate.ddl-auto=none +spring.jpa.hibernate.ddl-auto=update spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLiteDialect ########## For Mysql ########## #spring.datasource.driver-class-name=org.mariadb.jdbc.Driver diff --git a/src/main/resources/data.sql b/src/main/resources/data.sql index 2f8b674..8b43bc6 100644 --- a/src/main/resources/data.sql +++ b/src/main/resources/data.sql @@ -39,6 +39,343 @@ INSERT INTO chuni_game_charge (id, charge_id, end_date, order_id, price, sale_en VALUES (10, 2010, '2029-01-01 00:00:00.000000', 9, 1, '2029-01-01 00:00:00.000000', 1, '2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000'); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (1506, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (1604, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (1702, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (1953, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (2206, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (2353, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (2553, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (2804, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (2999, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3000, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3001, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3002, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3003, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3004, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3005, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3006, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3007, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3008, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3009, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3010, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3012, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3013, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3014, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3015, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3016, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3017, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3018, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3019, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3020, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3022, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3023, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3024, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3025, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3026, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3027, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 9); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3028, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3029, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 7); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3030, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3031, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3032, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 5); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3100, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3101, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3102, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3103, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 5); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3104, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 4); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3150, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3151, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3152, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3153, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3154, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3155, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3156, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3157, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3158, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3159, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3160, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3161, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3162, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3163, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3164, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3165, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3166, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3167, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3168, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3169, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3200, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3201, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3202, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3203, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3204, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3205, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3206, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3207, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3208, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3209, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3210, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3213, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3214, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3215, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3216, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3217, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 9); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3218, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 5); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3219, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 4); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3250, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3251, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3252, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3253, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3254, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3255, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3256, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3257, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3258, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3259, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3260, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3261, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 7); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3262, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3263, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3300, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3301, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3302, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3303, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3304, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3305, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3306, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3307, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3308, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3309, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 9); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3310, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 5); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 4); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3350, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3351, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3352, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3353, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3400, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3401, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3402, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3403, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3404, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3405, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3406, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3407, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3408, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3409, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3410, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3411, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3412, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 9); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3413, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 5); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3414, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 4); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3415, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3416, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3417, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3450, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3451, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3452, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3453, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3454, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3455, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 7); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3500, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3501, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3502, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3503, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3504, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3505, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3506, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3507, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3508, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3509, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3510, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3511, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3512, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3513, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3514, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 9); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3515, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 5); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3550, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3551, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3552, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3553, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 2); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3554, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 8); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3555, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3556, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3557, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 4); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3580, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (3581, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 3); +INSERT INTO chuni_game_event (id, end_date, start_date, type) +VALUES (20003, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 6); + INSERT INTO chuni_music (music_id, artist_name, copyright, genre, name, release_version, sort_name) VALUES (3, 'nora2r', 'なし', 6, 'B.B.K.K.B.K.K.', 'v1 1.00.00', 'BBKKBKK'); INSERT INTO chuni_music (music_id, artist_name, copyright, genre, name, release_version, sort_name)