• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョン507bd4fefe368953fd5e236bd9237847a9a61d41 (tree)
日時2018-10-09 05:01:27
作者sebastian_bugiu <sebastian_ <bugiu@head...>
コミッターsebastian_bugiu <sebastian_

ログメッセージ

Restarted work on the server side. This time with bad intentions.

変更サマリ

差分

diff -r 17ba040af043 -r 507bd4fefe36 .idea/dataSources.xml
--- a/.idea/dataSources.xml Sat Apr 22 21:27:38 2017 +0300
+++ b/.idea/dataSources.xml Mon Oct 08 23:01:27 2018 +0300
@@ -1,6 +1,6 @@
11 <?xml version="1.0" encoding="UTF-8"?>
22 <project version="4">
3- <component name="DataSourceManagerImpl" format="xml" hash="3141263267">
3+ <component name="DataSourceManagerImpl" format="xml" multifile-model="true">
44 <data-source source="LOCAL" name="MySQL - hotshot_user_stats@localhost" uuid="f575cc8a-3110-42b4-8bae-b44f8aa70b2d">
55 <driver-ref>mysql</driver-ref>
66 <synchronize>true</synchronize>
@@ -13,7 +13,6 @@
1313 <property name="characterSetResults" value="utf8" />
1414 <property name="yearIsDateType" value="false" />
1515 </driver-properties>
16- <libraries />
1716 </data-source>
1817 </component>
1918 </project>
\ No newline at end of file
diff -r 17ba040af043 -r 507bd4fefe36 .idea/libraries/junit_junit_4_12.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/libraries/junit_junit_4_12.xml Mon Oct 08 23:01:27 2018 +0300
@@ -0,0 +1,17 @@
1+<component name="libraryTable">
2+ <library name="junit:junit:4.12" type="repository">
3+ <properties maven-id="junit:junit:4.12" />
4+ <CLASSES>
5+ <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
6+ <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
7+ </CLASSES>
8+ <JAVADOC>
9+ <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-javadoc.jar!/" />
10+ <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
11+ </JAVADOC>
12+ <SOURCES>
13+ <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-sources.jar!/" />
14+ <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
15+ </SOURCES>
16+ </library>
17+</component>
\ No newline at end of file
diff -r 17ba040af043 -r 507bd4fefe36 .idea/misc.xml
--- a/.idea/misc.xml Sat Apr 22 21:27:38 2017 +0300
+++ b/.idea/misc.xml Mon Oct 08 23:01:27 2018 +0300
@@ -1,20 +1,7 @@
11 <?xml version="1.0" encoding="UTF-8"?>
22 <project version="4">
3- <component name="EntryPointsManager">
4- <entry_points version="2.0" />
5- </component>
63 <component name="IdProvider" IDEtalkID="F2D20D2238C73BF437DE1CFBC0856F10" />
7- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
8- <OptionsSetting value="true" id="Add" />
9- <OptionsSetting value="true" id="Remove" />
10- <OptionsSetting value="true" id="Checkout" />
11- <OptionsSetting value="true" id="Update" />
12- <OptionsSetting value="true" id="Status" />
13- <OptionsSetting value="true" id="Edit" />
14- <ConfirmationsSetting value="0" id="Add" />
15- <ConfirmationsSetting value="0" id="Remove" />
16- </component>
17- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" assert-keyword="true" jdk-15="true" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK">
4+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
185 <output url="file://$PROJECT_DIR$/out" />
196 </component>
207 </project>
\ No newline at end of file
diff -r 17ba040af043 -r 507bd4fefe36 HotshotWebServer5.iml
--- a/HotshotWebServer5.iml Sat Apr 22 21:27:38 2017 +0300
+++ b/HotshotWebServer5.iml Mon Oct 08 23:01:27 2018 +0300
@@ -34,20 +34,10 @@
3434 <orderEntry type="inheritedJdk" />
3535 <orderEntry type="sourceFolder" forTests="false" />
3636 <orderEntry type="library" name="Mojarra-2.2.1" level="project" />
37- <orderEntry type="library" scope="PROVIDED" name="GlassFish 4.1.0" level="application_server_libraries" />
38- <orderEntry type="module-library" scope="TEST">
39- <library name="JUnit4">
40- <CLASSES>
41- <root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.11.jar!/" />
42- <root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar!/" />
43- <root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-library-1.3.jar!/" />
44- </CLASSES>
45- <JAVADOC />
46- <SOURCES />
47- </library>
48- </orderEntry>
4937 <orderEntry type="library" name="JPA 2.1-JPA 2.1" level="project" />
5038 <orderEntry type="library" name="gson-2.3.1-javadoc" level="project" />
5139 <orderEntry type="library" name="aopalliance-repackaged-2.4.0-b09" level="project" />
40+ <orderEntry type="library" scope="TEST" name="junit:junit:4.12" level="project" />
41+ <orderEntry type="library" scope="PROVIDED" name="GlassFish 5.0.0" level="application_server_libraries" />
5242 </component>
5343 </module>
\ No newline at end of file
diff -r 17ba040af043 -r 507bd4fefe36 db_dump/Dump20181008.sql
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/db_dump/Dump20181008.sql Mon Oct 08 23:01:27 2018 +0300
@@ -0,0 +1,277 @@
1+-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64)
2+--
3+-- Host: localhost Database: hotshot_user_stats
4+-- ------------------------------------------------------
5+-- Server version 5.7.14
6+
7+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10+/*!40101 SET NAMES utf8 */;
11+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12+/*!40103 SET TIME_ZONE='+00:00' */;
13+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17+
18+--
19+-- Table structure for table `auth_tokens`
20+--
21+
22+DROP TABLE IF EXISTS `auth_tokens`;
23+/*!40101 SET @saved_cs_client = @@character_set_client */;
24+/*!40101 SET character_set_client = utf8 */;
25+CREATE TABLE `auth_tokens` (
26+ `id` int(11) NOT NULL AUTO_INCREMENT,
27+ `user_id` int(11) DEFAULT NULL,
28+ `token` varchar(45) DEFAULT NULL,
29+ `creation_date` datetime DEFAULT NULL,
30+ PRIMARY KEY (`id`),
31+ KEY `auth_tokens_user_id_idx` (`user_id`),
32+ CONSTRAINT `auth_tokens_user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
33+) ENGINE=InnoDB AUTO_INCREMENT=68 DEFAULT CHARSET=utf8;
34+/*!40101 SET character_set_client = @saved_cs_client */;
35+
36+--
37+-- Dumping data for table `auth_tokens`
38+--
39+
40+LOCK TABLES `auth_tokens` WRITE;
41+/*!40000 ALTER TABLE `auth_tokens` DISABLE KEYS */;
42+INSERT INTO `auth_tokens` VALUES (65,76,'d4k6o400d1vf076kc3cebl472d','2015-04-21 00:49:33'),(66,77,'n7l21kcrk1prp4a1osuhj1l451','2015-04-21 00:49:33'),(67,78,'bc4l2uosrbo52dj2t5eno1kmfc','2015-04-21 00:49:33');
43+/*!40000 ALTER TABLE `auth_tokens` ENABLE KEYS */;
44+UNLOCK TABLES;
45+
46+--
47+-- Table structure for table `maps`
48+--
49+
50+DROP TABLE IF EXISTS `maps`;
51+/*!40101 SET @saved_cs_client = @@character_set_client */;
52+/*!40101 SET character_set_client = utf8 */;
53+CREATE TABLE `maps` (
54+ `id` int(11) NOT NULL AUTO_INCREMENT,
55+ `local_id` int(11) DEFAULT NULL,
56+ `map_name` varchar(45) DEFAULT NULL,
57+ PRIMARY KEY (`id`)
58+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
59+/*!40101 SET character_set_client = @saved_cs_client */;
60+
61+--
62+-- Dumping data for table `maps`
63+--
64+
65+LOCK TABLES `maps` WRITE;
66+/*!40000 ALTER TABLE `maps` DISABLE KEYS */;
67+INSERT INTO `maps` VALUES (1,NULL,'map0');
68+/*!40000 ALTER TABLE `maps` ENABLE KEYS */;
69+UNLOCK TABLES;
70+
71+--
72+-- Table structure for table `server_sessions`
73+--
74+
75+DROP TABLE IF EXISTS `server_sessions`;
76+/*!40101 SET @saved_cs_client = @@character_set_client */;
77+/*!40101 SET character_set_client = utf8 */;
78+CREATE TABLE `server_sessions` (
79+ `id` int(11) NOT NULL AUTO_INCREMENT,
80+ `server_id` int(11) DEFAULT NULL,
81+ `session_id` int(11) DEFAULT NULL,
82+ PRIMARY KEY (`id`),
83+ KEY `server_id_idx` (`server_id`),
84+ KEY `session_id_idx` (`session_id`)
85+) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
86+/*!40101 SET character_set_client = @saved_cs_client */;
87+
88+--
89+-- Dumping data for table `server_sessions`
90+--
91+
92+LOCK TABLES `server_sessions` WRITE;
93+/*!40000 ALTER TABLE `server_sessions` DISABLE KEYS */;
94+INSERT INTO `server_sessions` VALUES (20,1,20);
95+/*!40000 ALTER TABLE `server_sessions` ENABLE KEYS */;
96+UNLOCK TABLES;
97+
98+--
99+-- Table structure for table `servers`
100+--
101+
102+DROP TABLE IF EXISTS `servers`;
103+/*!40101 SET @saved_cs_client = @@character_set_client */;
104+/*!40101 SET character_set_client = utf8 */;
105+CREATE TABLE `servers` (
106+ `id` int(11) NOT NULL AUTO_INCREMENT,
107+ `server_name` varchar(45) DEFAULT NULL,
108+ `ip` varchar(45) DEFAULT NULL,
109+ `tcp_port` varchar(45) DEFAULT NULL,
110+ `udp_port` varchar(45) DEFAULT NULL,
111+ `server_load` int(11) DEFAULT NULL,
112+ `session_num` int(11) DEFAULT NULL,
113+ `user_num` int(11) DEFAULT NULL,
114+ `online` int(11) DEFAULT NULL,
115+ PRIMARY KEY (`id`)
116+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
117+/*!40101 SET character_set_client = @saved_cs_client */;
118+
119+--
120+-- Dumping data for table `servers`
121+--
122+
123+LOCK TABLES `servers` WRITE;
124+/*!40000 ALTER TABLE `servers` DISABLE KEYS */;
125+INSERT INTO `servers` VALUES (1,'mainServer','127.0.0.1',NULL,NULL,10,1,1,1),(2,'My_server','127.0.0.1','30003','30004',0,0,0,0),(3,'My_server','127.0.0.1','30003','30004',0,0,0,0);
126+/*!40000 ALTER TABLE `servers` ENABLE KEYS */;
127+UNLOCK TABLES;
128+
129+--
130+-- Table structure for table `session_users`
131+--
132+
133+DROP TABLE IF EXISTS `session_users`;
134+/*!40101 SET @saved_cs_client = @@character_set_client */;
135+/*!40101 SET character_set_client = utf8 */;
136+CREATE TABLE `session_users` (
137+ `id` int(11) NOT NULL AUTO_INCREMENT,
138+ `session_id` int(11) DEFAULT NULL,
139+ `user_id` int(11) DEFAULT NULL,
140+ PRIMARY KEY (`id`),
141+ KEY `id_idx` (`user_id`),
142+ KEY `session_users_session_id` (`session_id`)
143+) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8;
144+/*!40101 SET character_set_client = @saved_cs_client */;
145+
146+--
147+-- Dumping data for table `session_users`
148+--
149+
150+LOCK TABLES `session_users` WRITE;
151+/*!40000 ALTER TABLE `session_users` DISABLE KEYS */;
152+INSERT INTO `session_users` VALUES (50,20,76),(51,20,77),(52,20,78);
153+/*!40000 ALTER TABLE `session_users` ENABLE KEYS */;
154+UNLOCK TABLES;
155+
156+--
157+-- Table structure for table `sessions`
158+--
159+
160+DROP TABLE IF EXISTS `sessions`;
161+/*!40101 SET @saved_cs_client = @@character_set_client */;
162+/*!40101 SET character_set_client = utf8 */;
163+CREATE TABLE `sessions` (
164+ `id` int(11) NOT NULL AUTO_INCREMENT,
165+ `session_name` varchar(45) CHARACTER SET latin1 DEFAULT NULL,
166+ `start_time` datetime DEFAULT NULL,
167+ `end_time` datetime DEFAULT NULL,
168+ `map_id` int(11) DEFAULT NULL,
169+ `user_num` int(11) DEFAULT NULL,
170+ `active` int(11) DEFAULT NULL,
171+ `latency` int(11) DEFAULT NULL,
172+ `max_player_num` int(11) DEFAULT NULL,
173+ `game_type` int(11) DEFAULT NULL,
174+ PRIMARY KEY (`id`)
175+) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
176+/*!40101 SET character_set_client = @saved_cs_client */;
177+
178+--
179+-- Dumping data for table `sessions`
180+--
181+
182+LOCK TABLES `sessions` WRITE;
183+/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
184+INSERT INTO `sessions` VALUES (20,'first_session','2015-04-21 00:49:33','2015-04-21 00:49:33',1,2,0,0,NULL,NULL);
185+/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
186+UNLOCK TABLES;
187+
188+--
189+-- Table structure for table `user_weapon_use_stats`
190+--
191+
192+DROP TABLE IF EXISTS `user_weapon_use_stats`;
193+/*!40101 SET @saved_cs_client = @@character_set_client */;
194+/*!40101 SET character_set_client = utf8 */;
195+CREATE TABLE `user_weapon_use_stats` (
196+ `id` int(11) NOT NULL AUTO_INCREMENT,
197+ `user_id` int(11) DEFAULT NULL,
198+ `weapon_id` int(11) DEFAULT NULL,
199+ PRIMARY KEY (`id`),
200+ KEY `user_weapon_use_stats_weapon_id_idx` (`weapon_id`)
201+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
202+/*!40101 SET character_set_client = @saved_cs_client */;
203+
204+--
205+-- Dumping data for table `user_weapon_use_stats`
206+--
207+
208+LOCK TABLES `user_weapon_use_stats` WRITE;
209+/*!40000 ALTER TABLE `user_weapon_use_stats` DISABLE KEYS */;
210+/*!40000 ALTER TABLE `user_weapon_use_stats` ENABLE KEYS */;
211+UNLOCK TABLES;
212+
213+--
214+-- Table structure for table `users`
215+--
216+
217+DROP TABLE IF EXISTS `users`;
218+/*!40101 SET @saved_cs_client = @@character_set_client */;
219+/*!40101 SET character_set_client = utf8 */;
220+CREATE TABLE `users` (
221+ `id` int(11) NOT NULL AUTO_INCREMENT,
222+ `username` varchar(45) CHARACTER SET latin1 DEFAULT NULL,
223+ `password` varchar(45) CHARACTER SET latin1 DEFAULT NULL,
224+ `sessions_played` int(11) DEFAULT NULL,
225+ `sessions_won` int(11) DEFAULT NULL,
226+ `sessions_lost` int(11) DEFAULT NULL,
227+ `kills` int(11) DEFAULT NULL,
228+ `deaths` int(11) DEFAULT NULL,
229+ `online` int(11) DEFAULT NULL,
230+ `in_session` int(11) DEFAULT NULL,
231+ PRIMARY KEY (`id`)
232+) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8;
233+/*!40101 SET character_set_client = @saved_cs_client */;
234+
235+--
236+-- Dumping data for table `users`
237+--
238+
239+LOCK TABLES `users` WRITE;
240+/*!40000 ALTER TABLE `users` DISABLE KEYS */;
241+INSERT INTO `users` VALUES (76,'Sebi','eu',0,0,0,0,0,0,1),(77,'tu','el',0,0,0,0,0,0,1),(78,'John','Doe',0,0,0,0,0,0,0);
242+/*!40000 ALTER TABLE `users` ENABLE KEYS */;
243+UNLOCK TABLES;
244+
245+--
246+-- Table structure for table `weapons`
247+--
248+
249+DROP TABLE IF EXISTS `weapons`;
250+/*!40101 SET @saved_cs_client = @@character_set_client */;
251+/*!40101 SET character_set_client = utf8 */;
252+CREATE TABLE `weapons` (
253+ `id` int(11) NOT NULL AUTO_INCREMENT,
254+ `weapon_name` varchar(45) CHARACTER SET latin1 DEFAULT NULL,
255+ PRIMARY KEY (`id`)
256+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
257+/*!40101 SET character_set_client = @saved_cs_client */;
258+
259+--
260+-- Dumping data for table `weapons`
261+--
262+
263+LOCK TABLES `weapons` WRITE;
264+/*!40000 ALTER TABLE `weapons` DISABLE KEYS */;
265+/*!40000 ALTER TABLE `weapons` ENABLE KEYS */;
266+UNLOCK TABLES;
267+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
268+
269+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
270+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
271+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
272+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
273+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
274+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
275+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
276+
277+-- Dump completed on 2018-10-08 22:55:58