chi
parent
4f11a4c8cf
commit
c076e9f149
|
|
@ -0,0 +1,8 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="web_group" />
|
||||
<module name="taurus-core" />
|
||||
<module name="taurus-permanent" />
|
||||
<module name="robot_common" />
|
||||
<module name="taurus-web" />
|
||||
<module name="game_common" />
|
||||
<module name="data_cache" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/game_web/web_group/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/game_web/web_group/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/data_cache/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/data_cache/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/game_common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/game_common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/robot_common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/robot_common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/taurus-core/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/taurus-core/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/taurus-permanent/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/taurus-permanent/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/taurus-web/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/libs/taurus-server/taurus-web/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/libs/taurus-server/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/libs/data_cache/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/libs/game_common/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/game_web/web_group/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/libs/robot_common/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/web_login.iml" filepath="$PROJECT_DIR$/web_login.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/xtserver_anchou.iml" filepath="$PROJECT_DIR$/.idea/xtserver_anchou.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="group_mgr" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,98 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://192.168.0.11:6060/wb_game</jdbcUrl>
|
||||
<userName>proto_ff</userName>
|
||||
<password>37du_game</password>
|
||||
</db>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="123456" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="123456" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="123456" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="123456" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="123456" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="123456" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="123456" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mgr-config>
|
||||
<host>124.220.176.78:4013</host>
|
||||
<host>192.168.0.18:24013</host>
|
||||
<mgrId>1000</mgrId>
|
||||
<loggerDebug>true</loggerDebug>
|
||||
</mgr-config>
|
||||
|
|
@ -1,99 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>160</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://192.168.0.11:6060/wb_game</jdbcUrl>
|
||||
<userName>proto_ff</userName>
|
||||
<password>37du_game</password>
|
||||
</db>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>160</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>16</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="123456" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="123456" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="127.0.0.1" password="123456" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="123456" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="123456" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="123456" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="123456" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="123456" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<!-- Bind socket addresses -->
|
||||
<socketAddresses>
|
||||
<socket address="0.0.0.0" port="11050" type="TCP" />
|
||||
<socket address="0.0.0.0" port="24013" type="TCP" />
|
||||
</socketAddresses>
|
||||
|
||||
<!-- Ip addresses filter-->
|
||||
|
|
|
|||
|
|
@ -1,99 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>1</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://192.168.0.11:6060/wb_game</jdbcUrl>
|
||||
<userName>proto_ff</userName>
|
||||
<password>37du_game</password>
|
||||
</db>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>8</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>2</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="123456" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="123456" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="127.0.0.1" password="123456" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="123456" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="123456" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="123456" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="123456" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="123456" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="web" name="Web">
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
|
||||
</descriptors>
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/build/pro" relative="config/" />
|
||||
<root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
|
||||
</webroots>
|
||||
<sourceRoots>
|
||||
<root url="file://$MODULE_DIR$/src/main/java" />
|
||||
</sourceRoots>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
|
||||
<orderEntry type="module" module-name="data_cache" />
|
||||
<orderEntry type="module" module-name="taurus-core" />
|
||||
<orderEntry type="module" module-name="taurus-web" />
|
||||
<orderEntry type="module" module-name="taurus-permanent" />
|
||||
<orderEntry type="library" name="Maven: io.undertow:undertow-core:2.0.16.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.2.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jboss.xnio:xnio-api:3.3.8.Final" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jboss.xnio:xnio-nio:3.3.8.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: redis.clients:jedis:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.4.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.3.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
|
||||
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.48" level="project" />
|
||||
<orderEntry type="library" name="Maven: jdom:jdom:1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.quartz-scheduler:quartz:2.2.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-webapp:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-xml:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-util:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-servlet:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-security:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-server:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-continuation:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-http:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-io:8.2.0.v20160908" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mgr-config>
|
||||
<host>192.168.14.1:8050</host>
|
||||
<host>192.168.0.18:24013</host>
|
||||
<mgrId>1000</mgrId>
|
||||
<loggerDebug>true</loggerDebug>
|
||||
</mgr-config>
|
||||
|
|
@ -1,98 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://8.134.123.86:8060/wb_game</jdbcUrl>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>cssq@2020</password>
|
||||
</db>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<!-- Bind socket addresses -->
|
||||
<socketAddresses>
|
||||
<socket address="0.0.0.0" port="8050" type="TCP" />
|
||||
<socket address="0.0.0.0" port="24013" type="TCP" />
|
||||
</socketAddresses>
|
||||
|
||||
<!-- Ip addresses filter-->
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import com.taurus.web.JettyServer;
|
|||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new JettyServer("src/main/webapp",8082,"/").start();
|
||||
new JettyServer("src/main/webapp",24013,"/").start();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mgr-config>
|
||||
<host>124.220.176.78:4013</host>
|
||||
<host>192.168.0.18:24013</host>
|
||||
<mgrId>1000</mgrId>
|
||||
<loggerDebug>true</loggerDebug>
|
||||
</mgr-config>
|
||||
|
|
@ -1,99 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>160</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://192.168.0.11:6060/wb_game</jdbcUrl>
|
||||
<userName>proto_ff</userName>
|
||||
<password>37du_game</password>
|
||||
</db>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>160</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>16</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="123456" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="123456" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="127.0.0.1" password="123456" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="123456" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="123456" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="123456" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="123456" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="123456" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<!-- Bind socket addresses -->
|
||||
<socketAddresses>
|
||||
<socket address="0.0.0.0" port="11050" type="TCP" />
|
||||
<socket address="0.0.0.0" port="24013" type="TCP" />
|
||||
</socketAddresses>
|
||||
|
||||
<!-- Ip addresses filter-->
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#Generated by Maven
|
||||
#Sun Dec 28 17:50:17 CST 2025
|
||||
version=1.0.0
|
||||
groupId=com.mgr.group
|
||||
artifactId=group_mgr
|
||||
groupId=com.mgr.group
|
||||
version=1.0.0
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\Global.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\MainServer.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\Player.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\Room.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\Router.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\CommandData.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\RoomCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\User.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\Config.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\Group.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\SessionManager.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\GroupSubscriber.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\WebMain.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\PlayerCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\GroupController.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\Room.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\Group.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\Router.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\Player.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\CommandData.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\SessionManager.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\Config.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\MainServer.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\WebMain.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\User.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\RoomCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\data\PlayerCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\Global.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\GroupSubscriber.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\main\java\com\mgr\group\GroupController.java
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\test\java\group_room_mgr\Main.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\group_room_mgr\src\test\java\group_room_mgr\Main.java
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="web_group" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,99 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://192.168.0.11:6060/wb_game</jdbcUrl>
|
||||
<userName>proto_ff</userName>
|
||||
<password>37du_game</password>
|
||||
</db>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>8</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>2</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="123456" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="123456" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="127.0.0.1" password="123456" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="123456" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="123456" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="123456" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="123456" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="123456" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<dependency>
|
||||
<groupId>com.robot</groupId>
|
||||
<artifactId>robot_common</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1</version>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-webapp -->
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@
|
|||
<db>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://8.134.123.86:8060/wb_game</jdbcUrl>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>root</password>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
|
@ -86,15 +86,15 @@
|
|||
</poolConfig>
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="127.0.0.1" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="127.0.0.1" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -4,6 +4,6 @@ import com.taurus.web.JettyServer;
|
|||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
new JettyServer("src/main/webapp",8081,"/").start();
|
||||
new JettyServer("src/main/webapp",24012,"/").start();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,99 +1,100 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<serivce-core>
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<log4jPath>log4j.properties</log4jPath>
|
||||
|
||||
<plugin>
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<id>database</id>
|
||||
<class>com.taurus.core.plugin.database.DataBasePlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
<!-- 最大连接数, 默认10个 -->
|
||||
<maxPool>100</maxPool>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>10</minIdle>
|
||||
<!-- 配置获取连接等待超时的时间,单位是毫秒, 默认180000 -->
|
||||
<maxLifetime>180000</maxLifetime>
|
||||
<!--hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
|
||||
Oracle - "select 1 from dual"
|
||||
DB2 - "select 1 from sysibm.sysdummy1"
|
||||
mysql - "select 1" -->
|
||||
<validationQuery>select 1</validationQuery>
|
||||
<!-- 连接超时时间,默认30000-->
|
||||
<connectionTimeout>10000</connectionTimeout>
|
||||
<!-- 待机超时时间,单位是毫秒, 默认60000 -->
|
||||
<idleTimeout>60000</idleTimeout>
|
||||
|
||||
<!-- jdbc 属性 -->
|
||||
<props>
|
||||
<useSSL>false</useSSL>
|
||||
<useUnicode>true</useUnicode>
|
||||
<characterEncoding>utf-8</characterEncoding>
|
||||
<!-- 服务器时区 -->
|
||||
<serverTimezone>UTC</serverTimezone>
|
||||
<!-- 预编译缓存 -->
|
||||
<cachePrepStmts>true</cachePrepStmts>
|
||||
<!-- 预编译缓存大小 -->
|
||||
<prepStmtCacheSize>250</prepStmtCacheSize>
|
||||
<!-- 控制长度多大的sql可以被缓存 -->
|
||||
<prepStmtCacheSqlLimit>2048</prepStmtCacheSqlLimit>
|
||||
</props>
|
||||
</poolConfig>
|
||||
|
||||
<databases>
|
||||
|
||||
<databases>
|
||||
<db>
|
||||
<name>db1</name>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://192.168.0.11:6060/wb_game</jdbcUrl>
|
||||
<userName>proto_ff</userName>
|
||||
<password>37du_game</password>
|
||||
</db>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>6KYnXJjGhxNceF8e</password>
|
||||
</db>
|
||||
</databases>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<id>redis</id>
|
||||
<class>com.taurus.core.plugin.redis.RedisPlugin</class>
|
||||
|
||||
<poolConfig>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>8</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>2</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
<!-- 最大连接数, 默认8个 -->
|
||||
<maxTotal>80</maxTotal>
|
||||
<!-- 最大空闲连接数, 默认8个 -->
|
||||
<maxIdle>20</maxIdle>
|
||||
<!-- 最小空闲连接数, 默认0个 -->
|
||||
<minIdle>5</minIdle>
|
||||
<!-- 获取连接时的最大等待毫秒数(如果设置为阻塞时BlockWhenExhausted),如果超时就抛异常, 小于零:阻塞不确定的时间, 默认-1 -->
|
||||
<maxWaitMillis>-1</maxWaitMillis>
|
||||
<!-- 在borrow一个jedis实例时,是否提前进行alidate操作, 默认false -->
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<!-- 在return给pool时,是否提前进行validate操作, 默认false -->
|
||||
<testOnReturn>true</testOnReturn>
|
||||
<!-- 表示有一个idle object evitor线程对idle object进行扫描,如果validate失败,
|
||||
此object会被从pool中drop掉;这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义, 默认true -->
|
||||
<testWhileIdle>true</testWhileIdle>
|
||||
<!-- 表示idle object evitor每次扫描的最多的对象数, 默认-1 -->
|
||||
<numTestsPerEvictionRun>100</numTestsPerEvictionRun>
|
||||
<!-- 表示一个对象至少停留在idle状态的最短时间,然后才能被idle object evitor扫描并驱逐;
|
||||
这一项只有在timeBetweenEvictionRunsMillis大于0时才有意义 , 默认60000-->
|
||||
<minEvictableIdleTimeMillis>60000</minEvictableIdleTimeMillis>
|
||||
<!-- 逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认30000 -->
|
||||
<timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis>
|
||||
<!-- 在minEvictableIdleTimeMillis基础上,加入了至少minIdle个对象已经在pool里面了。
|
||||
如果为-1,evicted不会根据idle time驱逐任何对象。如果minEvictableIdleTimeMillisd大于0,
|
||||
则此项设置无意义,且只有在timeBetweenEvictionRunsMillis大于0时才有意义,默认1800000 -->
|
||||
<softMinEvictableIdleTimeMillis>1800000</softMinEvictableIdleTimeMillis>
|
||||
<!-- 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true -->
|
||||
<blockWhenExhausted>true</blockWhenExhausted>
|
||||
</poolConfig>
|
||||
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="127.0.0.1" password="123456" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="127.0.0.1" password="123456" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="127.0.0.1" password="123456" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="127.0.0.1" password="123456" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="127.0.0.1" password="123456" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="127.0.0.1" password="123456" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="127.0.0.1" password="123456" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="127.0.0.1" password="123456" port="6379" database="11" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
#Generated by Maven
|
||||
#Thu Jan 01 07:09:58 CST 2026
|
||||
version=1.0.0
|
||||
groupId=com.group
|
||||
artifactId=web_group
|
||||
groupId=com.group
|
||||
version=1.0.0
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\job\UpdatePlayRoomJob.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupPublisherService.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupLogService.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupService.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\controller\GroupLogController.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\controller\GroupRoomController.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\Protocol.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\WebInterceptor.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupRoomService.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\controller\GroupController.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\MainServer.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\controller\GroupController.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\controller\GroupLogController.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\WebInterceptor.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\MainServer.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\Protocol.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\controller\GroupRoomController.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\job\UpdatePlayRoomJob.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupRoomService.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupPublisherService.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupService.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\main\java\com\group\service\GroupLogService.java
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\test\java\web_group\DataClearUtils.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\game_web\web_group\src\test\java\web_group\Main.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\test\java\web_group\Main.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\game_web\web_group\src\test\java\web_group\DataClearUtils.java
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,62 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="web" name="Web">
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
|
||||
</descriptors>
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/build/pro" relative="config/" />
|
||||
<root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
|
||||
</webroots>
|
||||
<sourceRoots>
|
||||
<root url="file://$MODULE_DIR$/src/main/java" />
|
||||
</sourceRoots>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
|
||||
<orderEntry type="module" module-name="data_cache" />
|
||||
<orderEntry type="module" module-name="taurus-core" />
|
||||
<orderEntry type="module" module-name="taurus-web" />
|
||||
<orderEntry type="library" name="Maven: redis.clients:jedis:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.4.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.3.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
|
||||
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.16" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.protobuf:protobuf-java:3.6.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: jdom:jdom:1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
|
||||
<orderEntry type="module" module-name="robot_common" />
|
||||
<orderEntry type="module" module-name="game_common" />
|
||||
<orderEntry type="module" module-name="taurus-permanent" />
|
||||
<orderEntry type="library" name="Maven: io.undertow:undertow-core:2.0.16.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.2.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jboss.xnio:xnio-api:3.3.8.Final" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jboss.xnio:xnio-nio:3.3.8.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.10.1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-webapp:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-xml:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-util:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-servlet:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-security:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-server:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-continuation:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-http:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-io:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.quartz-scheduler:quartz:2.2.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.1" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<component name="ArtifactManager">
|
||||
<artifact type="war" name="web_login:war">
|
||||
<output-path>$PROJECT_DIR$/target</output-path>
|
||||
<properties id="maven-jee-properties">
|
||||
<options>
|
||||
<module>web_login</module>
|
||||
<packaging>war</packaging>
|
||||
</options>
|
||||
</properties>
|
||||
<root id="archive" name="ROOT.war">
|
||||
<element id="artifact" artifact-name="web_login:war exploded" />
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<component name="ArtifactManager">
|
||||
<artifact type="exploded-war" name="web_login:war exploded">
|
||||
<output-path>$PROJECT_DIR$/target/ROOT</output-path>
|
||||
<properties id="maven-jee-properties">
|
||||
<options>
|
||||
<exploded>true</exploded>
|
||||
<module>web_login</module>
|
||||
<packaging>war</packaging>
|
||||
</options>
|
||||
</properties>
|
||||
<root id="root">
|
||||
<element id="directory" name="WEB-INF">
|
||||
<element id="directory" name="classes">
|
||||
<element id="module-output" name="web_login" />
|
||||
</element>
|
||||
</element>
|
||||
<element id="directory" name="META-INF">
|
||||
<element id="file-copy" path="$PROJECT_DIR$/target/ROOT/META-INF/MANIFEST.MF" />
|
||||
</element>
|
||||
<element id="javaee-facet-resources" facet="web_login/web/Web" />
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
||||
|
|
@ -9,8 +9,5 @@
|
|||
<module name="web_login" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel>
|
||||
<module name="web_login" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="FrameworkDetectionExcludesConfiguration">
|
||||
<file type="web" url="file://$PROJECT_DIR$" />
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -4,23 +4,123 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="892daef1-3b81-4ef0-ad70-13685ff53dad" name="Default Changelist" comment="" />
|
||||
<list default="true" id="892daef1-3b81-4ef0-ad70-13685ff53dad" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/build/pro/taurus-core.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/build/pro/taurus-core.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/src/main/webapp/config/taurus-core.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/src/main/webapp/config/taurus-core.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT.war" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT.war" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/data_cache-1.0.1.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/data_cache-1.0.1.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/game_common-1.0.0.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/game_common-1.0.0.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/robot_common-1.0.0.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/robot_common-1.0.0.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/taurus-core-1.0.1.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/taurus-core-1.0.1.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/taurus-permanent-1.0.1.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/taurus-permanent-1.0.1.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/taurus-web-1.0.1.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/WEB-INF/lib/taurus-web-1.0.1.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/ROOT/config/taurus-core.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/ROOT/config/taurus-core.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/maven-archiver/pom.properties" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/maven-archiver/pom.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../web_group/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../web_group/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/artifacts/web_login_war.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/artifacts/web_login_war_exploded.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/MainServer$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/MainServer$1.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/MainServer.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/MainServer.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/Protocol.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/Protocol.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/WebInterceptor.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/WebInterceptor.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/service/AccountService.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/service/AccountService.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/service/IndexService.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/service/IndexService.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/service/MilitaryService.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/service/MilitaryService.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/service/RoomService.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/service/RoomService.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/RedisKey.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/RedisKey.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/SMSThread$SendTask.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/SMSThread$SendTask.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/SMSThread.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/SMSThread.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/SMSVerification.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/mjlogin/util/sms/SMSVerification.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/test-classes/web_login/Main.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/test-classes/web_login/Main.class" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/web_login.iml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/data_cache/target/data_cache.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/data_cache/target/data_cache.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/data_cache/target/maven-archiver/pom.properties" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/data_cache/target/maven-archiver/pom.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/data_cache/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/data_cache/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/game_common/target/game_common-1.0.0.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/game_common/target/game_common-1.0.0.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/game_common/target/maven-archiver/pom.properties" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/game_common/target/maven-archiver/pom.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/game_common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/game_common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/robot_common/src/main/java/hunan/HuNanChangSha.java" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/robot_common/src/main/java/hunan/HuNanChangSha.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/maven-archiver/pom.properties" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/maven-archiver/pom.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/surefire-reports/TEST-Test.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/surefire-reports/TEST-Test.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/surefire-reports/Test.txt" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/surefire-reports/Test.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/taurus-core-1.0.1-sources.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/taurus-core-1.0.1-sources.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/taurus-core-1.0.1.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-core/target/taurus-core-1.0.1.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/maven-archiver/pom.properties" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/maven-archiver/pom.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/surefire-reports/TEST-com.taurus.Test.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/surefire-reports/TEST-com.taurus.Test.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/surefire-reports/com.taurus.Test.txt" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/surefire-reports/com.taurus.Test.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/taurus-web-1.0.1.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../../libs/taurus-server/taurus-web/target/taurus-web-1.0.1.jar" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
|
||||
</component>
|
||||
<component name="MavenImportPreferences">
|
||||
<option name="generalSettings">
|
||||
<MavenGeneralSettings>
|
||||
<option name="localRepository" value="C:\Users\74162\.m2\feyerobot" />
|
||||
</MavenGeneralSettings>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectColorInfo"><![CDATA[{
|
||||
"associatedIndex": 4
|
||||
}]]></component>
|
||||
<component name="ProjectId" id="1tqA838D3Q87Km1lYV2p6UNw57g" />
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
||||
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="aspect.path.notification.shown" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"Application.Main.executor": "Run",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"git-widget-placeholder": "master",
|
||||
"kotlin-language-version-configured": "true",
|
||||
"last_opened_file_path": "D:/robotpro/robot_ceshi/xtserver_anchou/game_web/web_login20",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "MavenSettings",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="RunManager">
|
||||
<configuration name="Main" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||
<option name="MAIN_CLASS_NAME" value="web_login.Main" />
|
||||
<module name="web_login" />
|
||||
<extension name="coverage">
|
||||
<pattern>
|
||||
<option name="PATTERN" value="web_login.*" />
|
||||
<option name="ENABLED" value="true" />
|
||||
</pattern>
|
||||
</extension>
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<recent_temporary>
|
||||
<list>
|
||||
<item itemvalue="Application.Main" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
</component>
|
||||
<component name="SharedIndexes">
|
||||
<attachedChunks>
|
||||
<set>
|
||||
<option value="bundled-jdk-9f38398b9061-18abd8497189-intellij.indexing.shared.core-IU-241.14494.240" />
|
||||
<option value="bundled-js-predefined-1d06a55b98c1-74d2a5396914-JavaScript-IU-241.14494.240" />
|
||||
</set>
|
||||
</attachedChunks>
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
|
|
@ -33,6 +133,7 @@
|
|||
<workItem from="1623486083978" duration="32000" />
|
||||
<workItem from="1623486303246" duration="175000" />
|
||||
<workItem from="1623721522099" duration="17000" />
|
||||
<workItem from="1767228192018" duration="74000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="web" name="Web">
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
|
||||
</descriptors>
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/build/pro" relative="config/" />
|
||||
<root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
|
||||
</webroots>
|
||||
<sourceRoots>
|
||||
<root url="file://$MODULE_DIR$/src/main/java" />
|
||||
</sourceRoots>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
|
||||
<orderEntry type="module" module-name="data_cache" />
|
||||
<orderEntry type="module" module-name="taurus-core" />
|
||||
<orderEntry type="module" module-name="taurus-web" />
|
||||
<orderEntry type="library" name="Maven: redis.clients:jedis:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.4.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.3.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
|
||||
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.16" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.protobuf:protobuf-java:3.6.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: jdom:jdom:1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.aliyun:aliyun-java-sdk-core:4.0.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.9" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-core:2.1.14" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.activation:activation:1.1.1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-webapp:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-xml:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-util:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-servlet:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-security:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-server:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-continuation:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-http:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.eclipse.jetty:jetty-io:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.quartz-scheduler:quartz:2.2.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.1" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
Binary file not shown.
|
|
@ -1,5 +1,3 @@
|
|||
#Generated by Maven
|
||||
#Sun Dec 28 17:49:30 CST 2025
|
||||
version=1.0.1
|
||||
groupId=com.data
|
||||
artifactId=data_cache
|
||||
groupId=com.data
|
||||
version=1.0.1
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\ErrorCode.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GameBean.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GroupBean.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\BaseCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\Utility.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GroupMemberCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\BaseBean.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GroupMemberBean.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GroupPlayBean.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\CountUtil.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GroupPlayCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\AccountCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GroupCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\AccountBean.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GameCache.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\ConsumeCode.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\EventType.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GameBean.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\BaseCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\CountUtil.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\ErrorCode.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GroupMemberCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\AccountCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\BaseBean.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\ConsumeCode.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\AccountBean.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GroupPlayBean.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GroupBean.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\Utility.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\bean\GroupMemberBean.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GroupPlayCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GroupCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\cache\GameCache.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\data_cache\src\main\java\com\data\util\EventType.java
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,3 @@
|
|||
#Generated by Maven
|
||||
#Fri Dec 26 21:47:42 CST 2025
|
||||
version=1.0.0
|
||||
groupId=com.game
|
||||
artifactId=game_common
|
||||
groupId=com.game
|
||||
version=1.0.0
|
||||
|
|
|
|||
|
|
@ -1,37 +1,37 @@
|
|||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\EventController.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Util.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\ActionEvent.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Timer.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomReloadState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\state\StateBase.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomWaitState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomStartGameState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\manager\RoomManager.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Router.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Score.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GPSUtil.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerWaitState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\state\StateMachine.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\MainServer.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\manager\SessionManager.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Constant.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomDestoryGameState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomInitState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerReadyState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerInitState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerPauseState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GroupPublisherService.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GameController.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Room.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Hp.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GameInterceptor.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\JoinRoomData.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\RoomDismiss.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerSpectatorState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Global.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Player.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomEndState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerPopupState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\BasePlayBack.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerEndState.java
|
||||
D:\aga\ceshi\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerReloadState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerInitState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Score.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GroupPublisherService.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomInitState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\RoomDismiss.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomEndState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerSpectatorState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomReloadState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\ActionEvent.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Global.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Timer.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\EventController.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GPSUtil.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\state\StateMachine.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Room.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\state\StateBase.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\manager\SessionManager.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Constant.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Hp.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomWaitState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerPopupState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\MainServer.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\JoinRoomData.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomDestoryGameState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Router.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerReloadState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerPauseState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\BasePlayBack.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GameController.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerEndState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerReadyState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\manager\RoomManager.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\player\state\PlayerWaitState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\room\state\RoomStartGameState.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\GameInterceptor.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\data\Player.java
|
||||
D:\robotpro\robot_ceshi\xtserver_anchou\libs\game_common\src\main\java\com\game\Util.java
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="robot_common" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<db>
|
||||
<name>db1</name>
|
||||
<driverName>com.mysql.cj.jdbc.Driver</driverName>
|
||||
<jdbcUrl>jdbc:mysql://101.35.26.131:8060/wb_game</jdbcUrl>
|
||||
<jdbcUrl>jdbc:mysql://8.138.242.190:8060/wb_game</jdbcUrl>
|
||||
<userName>root</userName>
|
||||
<password>root</password>
|
||||
</db>
|
||||
|
|
@ -86,15 +86,15 @@
|
|||
</poolConfig>
|
||||
|
||||
<infos>
|
||||
<info name="group1_db0" host="101.35.26.131" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="101.35.26.131" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="101.35.26.131" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="101.35.26.131" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="101.35.26.131" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="101.35.26.131" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="101.35.26.131" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="101.35.26.131" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="101.35.26.131" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
<info name="group1_db0" host="8.138.242.190" password="cssq@2020" port="6379" database="0" timeout="5000"/>
|
||||
<info name="group1_db1" host="8.138.242.190" password="cssq@2020" port="6379" database="1" timeout="5000"/>
|
||||
<info name="group1_db2" host="8.138.242.190" password="cssq@2020" port="6379" database="2" timeout="5000"/>
|
||||
<info name="group1_db5" host="8.138.242.190" password="cssq@2020" port="6379" database="5" timeout="5000"/>
|
||||
<info name="group1_db8" host="8.138.242.190" password="cssq@2020" port="6379" database="8" timeout="5000"/>
|
||||
<info name="group1_db9" host="8.138.242.190" password="cssq@2020" port="6379" database="9" timeout="5000"/>
|
||||
<info name="group1_db10" host="8.138.242.190" password="cssq@2020" port="6379" database="10" timeout="5000"/>
|
||||
<info name="group1_db11" host="8.138.242.190" password="cssq@2020" port="6379" database="11" timeout="5000"/>
|
||||
<info name="tmp_group1_db9" host="8.138.242.190" password="654sads" port="6479" database="9" timeout="5000"/>
|
||||
</infos>
|
||||
</plugin>
|
||||
</serivce-core>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.robot</groupId>
|
||||
<artifactId>robot_common</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>robot_common</name>
|
||||
<properties>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import taurus.util.*;
|
|||
import java.sql.SQLException;
|
||||
import java.util.*;
|
||||
|
||||
|
||||
public class HuNanChangSha {
|
||||
|
||||
|
||||
|
|
@ -22,6 +23,8 @@ public class HuNanChangSha {
|
|||
public static boolean isTinChi = false;
|
||||
public static boolean isTinPeng = false;
|
||||
|
||||
public static Logger logger;
|
||||
|
||||
//湖南红中麻将手牌
|
||||
private List<Integer> changShaCardInhand = new ArrayList<>();
|
||||
|
||||
|
|
@ -188,6 +191,40 @@ public class HuNanChangSha {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
public static int[][] countTiles(List<Integer> cardInHand) {
|
||||
int[][] counts = new int[5][10]; // 类型×值
|
||||
|
||||
for (Integer card : cardInHand) {
|
||||
if (card == 0) {
|
||||
continue;
|
||||
}
|
||||
counts[card / 100 - 1][card % 100]++;
|
||||
}
|
||||
return counts;
|
||||
}
|
||||
|
||||
public static boolean isJiangPai(int card){
|
||||
if (card%100==2||card%100==5||card%100==8){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static int checkduijiang(List<Integer> cardInHand) {
|
||||
Map<Integer, Integer> countMap = new HashMap<>();
|
||||
for (Integer item : cardInHand) {
|
||||
countMap.put(item, countMap.getOrDefault(item, 0) + 1);
|
||||
}
|
||||
int jiangnum = 0;
|
||||
for (int key : countMap.keySet()) {
|
||||
if (isJiangPai(key)&&countMap.get(key)>=2){
|
||||
jiangnum++;
|
||||
}
|
||||
}
|
||||
return jiangnum;
|
||||
}
|
||||
|
||||
/**
|
||||
* 处理杠碰胡操作
|
||||
*
|
||||
|
|
@ -426,6 +463,7 @@ public class HuNanChangSha {
|
|||
}
|
||||
}
|
||||
|
||||
System.out.println("进入吃type:"+type1);
|
||||
|
||||
if (type1 == 2) {
|
||||
|
||||
|
|
@ -498,6 +536,7 @@ public class HuNanChangSha {
|
|||
// }
|
||||
|
||||
} else if (type1 == 3) {
|
||||
|
||||
int pisCardsCount = changShaSuanFaTest.countPairs(changShaCardInhand);//分析七小对
|
||||
boolean gang = changShaSuanFaTest.isAllSameSuit1(changShaCardInhand);
|
||||
if (pisCardsCount < 5 && !gang) {
|
||||
|
|
@ -516,128 +555,172 @@ public class HuNanChangSha {
|
|||
} else if (type1 == 1) {
|
||||
|
||||
// int pisCardsCount = changShaSuanFaTest.countPairs(changShaCardInhand);//分析七小对
|
||||
// boolean isChow = changShaSuanFaTest.isAllSameSuit1(changShaCardInhand);
|
||||
|
||||
//判断当前手牌是否已经听牌 已经听牌了就不要再吃牌了
|
||||
List<Integer> shifoutingpai = TinHuChi.shifoutingpai(changShaCardInhand);
|
||||
|
||||
//目前手牌没有听牌
|
||||
if (shifoutingpai.size() == 0) {
|
||||
List<List<Integer>> lists = TinHuChi.checkChi(changShaCardInhand, card);
|
||||
int index = 0;
|
||||
int flag = 0;
|
||||
for (List<Integer> list : lists) {
|
||||
List<Integer> temphand = new ArrayList<>();
|
||||
temphand.addAll(changShaCardInhand);
|
||||
temphand.add(card);
|
||||
Util.removeCard(temphand, list.get(0), 1);
|
||||
Util.removeCard(temphand, list.get(1), 1);
|
||||
Util.removeCard(temphand, list.get(2), 1);
|
||||
List<Integer> checktingpai1 = TinHuChi.checktingpai(temphand);
|
||||
if (checktingpai1.size() > 0) {
|
||||
flag = index + 1;
|
||||
}
|
||||
index++;
|
||||
System.out.println("checktingpai1 吃牌 " + checktingpai1);
|
||||
}
|
||||
// TODO: 2026/1/1
|
||||
// 1.需要补充 没听牌也可以吃 但是吃之后要比吃之前的手牌强 也就是可听数量变多
|
||||
// 2.听牌后也能吃牌,要比吃之前的牌强
|
||||
// 3.碰也一样要加
|
||||
if (flag > 0) {
|
||||
System.out.println("===============进入听胡吃牌================== ++++ " + flag);
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 0);
|
||||
params.putInt("id", flag);
|
||||
|
||||
int index1 = flag - 1;
|
||||
List<Integer> integers = lists.get(index1);
|
||||
List<Integer> result1 = getOtherCards1(integers, card);
|
||||
|
||||
chowGroup.add(card);
|
||||
chowGroup.add(result1.get(0));
|
||||
chowGroup.add(result1.get(1));
|
||||
changShaCardInhand.add(card);
|
||||
|
||||
Util.removeCard(changShaCardInhand, integers.get(0), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(1), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(2), 1);
|
||||
} else {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
Map<String, Object> map2 = new HashMap<>();
|
||||
|
||||
//吃之前的逻辑
|
||||
|
||||
List<Integer> tmpChangSch = new ArrayList<>();
|
||||
tmpChangSch.addAll(changShaCardInhand);
|
||||
tmpChangSch.add(card);
|
||||
ChangshaWinSplitCard.checkNormalHu(tmpChangSch, map);
|
||||
|
||||
System.out.println("checkNormalHu" + map.get("cardResiue"));
|
||||
|
||||
List<List<Integer>> lists1 = TinHuChi.checkChi(changShaCardInhand, card);
|
||||
System.out.println("checktingpai1" + lists1);
|
||||
int index1 = 0;
|
||||
int flag1 = 0;
|
||||
for (List<Integer> list : lists1) {
|
||||
List<Integer> temphand =new ArrayList<>();
|
||||
temphand.addAll(tmpChangSch);
|
||||
Util.removeCard(temphand,list.get(0),1);
|
||||
Util.removeCard(temphand,list.get(1),1);
|
||||
Util.removeCard(temphand,list.get(2),1);
|
||||
ChangshaWinSplitCard.checkNormalHu(temphand, map2);
|
||||
//判断两个map是否找到更优
|
||||
System.out.println("map1:"+Integer.parseInt(map.get("remainingMelds").toString()));
|
||||
System.out.println("map2:"+Integer.parseInt(map2.get("remainingMelds").toString()));
|
||||
if (Integer.parseInt(map2.get("remainingMelds").toString())-1 < Integer.parseInt(map.get("remainingMelds").toString()) ){
|
||||
flag1=index1+1;
|
||||
}else if (Integer.parseInt(map2.get("remainingMelds").toString())-1 == Integer.parseInt(map.get("remainingMelds").toString())){
|
||||
int size2 = ((List<Integer>) map2.get("cardResiue")).size();
|
||||
System.out.println("size2" + size2);
|
||||
int size1 = ((List<Integer>) map.get("cardResiue")).size();
|
||||
System.out.println("size1" + size1);
|
||||
if (size2 < size1){
|
||||
flag1=index1+1;
|
||||
}
|
||||
}
|
||||
index1 ++ ;
|
||||
}
|
||||
|
||||
if (flag1 > 0){
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 0);
|
||||
params.putInt("id", flag1);
|
||||
|
||||
int index2 = flag1 - 1;
|
||||
List<Integer> integers = lists.get(index2);
|
||||
List<Integer> result2 = getOtherCards1(integers, card);
|
||||
|
||||
chowGroup.add(card);
|
||||
chowGroup.add(result2.get(0));
|
||||
chowGroup.add(result2.get(1));
|
||||
changShaCardInhand.add(card);
|
||||
|
||||
Util.removeCard(changShaCardInhand, integers.get(0), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(1), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(2), 1);
|
||||
Global.logger.info("ddd");
|
||||
}else {
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 1);
|
||||
params.putInt("id", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//听牌的时候先不吃
|
||||
if (shifoutingpai.size() > 0) {
|
||||
System.out.println("听牌的时候先不吃++++++++++++++++++++++++++++++++");
|
||||
boolean isChow = changShaSuanFaTest.isAllSameSuit1(changShaCardInhand);
|
||||
if (isChow){
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 1);
|
||||
params.putInt("id", 0);
|
||||
}
|
||||
}else {
|
||||
|
||||
//判断当前手牌是否已经听牌 已经听牌了就不要再吃牌了
|
||||
List<Integer> shifoutingpai = TinHuChi.shifoutingpai(changShaCardInhand);
|
||||
|
||||
//目前手牌没有听牌
|
||||
if (shifoutingpai.size() == 0) {
|
||||
|
||||
//判断是否满足7对
|
||||
int pisCardsCount = changShaSuanFaTest.countPairs(changShaCardInhand);
|
||||
if (pisCardsCount >= 5) {
|
||||
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 1);
|
||||
params.putInt("id", 0);
|
||||
|
||||
} else {
|
||||
|
||||
List<List<Integer>> lists = new ArrayList<>();
|
||||
lists.addAll(TinHuChi.checkChi(changShaCardInhand, card));
|
||||
int index = 0;
|
||||
int flag = 0;
|
||||
for (List<Integer> list : lists) {
|
||||
List<Integer> temphand = new ArrayList<>();
|
||||
temphand.addAll(changShaCardInhand);
|
||||
temphand.add(card);
|
||||
Util.removeCard(temphand, list.get(0), 1);
|
||||
Util.removeCard(temphand, list.get(1), 1);
|
||||
Util.removeCard(temphand, list.get(2), 1);
|
||||
List<Integer> checktingpai1 = TinHuChi.checktingpai(temphand);
|
||||
if (checktingpai1.size() > 0) {
|
||||
flag = index + 1;
|
||||
}
|
||||
index++;
|
||||
System.out.println("checktingpai1 吃牌 " + checktingpai1);
|
||||
}
|
||||
// TODO: 2026/1/1
|
||||
// 1.需要补充 没听牌也可以吃 但是吃之后要比吃之前的手牌强 也就是可听数量变多
|
||||
// 2.听牌后也能吃牌,要比吃之前的牌强
|
||||
// 3.碰也一样要加
|
||||
if (flag > 0) {
|
||||
System.out.println("===============进入听胡吃牌================== ++++ " + flag);
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 0);
|
||||
params.putInt("id", flag);
|
||||
|
||||
int index1 = flag - 1;
|
||||
List<Integer> integers = lists.get(index1);
|
||||
List<Integer> result1 = getOtherCards1(integers, card);
|
||||
|
||||
chowGroup.add(card);
|
||||
chowGroup.add(result1.get(0));
|
||||
chowGroup.add(result1.get(1));
|
||||
changShaCardInhand.add(card);
|
||||
|
||||
Util.removeCard(changShaCardInhand, integers.get(0), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(1), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(2), 1);
|
||||
} else {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
Map<String, Object> map2 = new HashMap<>();
|
||||
|
||||
//吃之前的逻辑
|
||||
List<List<Integer>> lists1 = TinHuChi.checkChi(changShaCardInhand, card);
|
||||
int jiangnum = checkduijiang(changShaCardInhand);
|
||||
List<Integer> tmpChangSch = new ArrayList<>();
|
||||
tmpChangSch.addAll(changShaCardInhand);
|
||||
tmpChangSch.add(card);
|
||||
ChangshaWinSplitCard.checkNormalHu(tmpChangSch, map);
|
||||
|
||||
System.out.println("checkNormalHu" + map.get("cardResiue"));
|
||||
|
||||
|
||||
System.out.println("checktingpai1" + lists1);
|
||||
int index1 = 0;
|
||||
int flag1 = 0;
|
||||
for (List<Integer> list : lists1) {
|
||||
List<Integer> temphand = new ArrayList<>();
|
||||
temphand.addAll(tmpChangSch);
|
||||
Util.removeCard(temphand, list.get(0), 1);
|
||||
Util.removeCard(temphand, list.get(1), 1);
|
||||
Util.removeCard(temphand, list.get(2), 1);
|
||||
ChangshaWinSplitCard.checkNormalHu(temphand, map2);
|
||||
//判断两个map是否找到更优
|
||||
System.out.println("map1:" + Integer.parseInt(map.get("remainingMelds").toString()));
|
||||
System.out.println("map2:" + Integer.parseInt(map2.get("remainingMelds").toString()));
|
||||
if (Integer.parseInt(map2.get("remainingMelds").toString()) < Integer.parseInt(map.get("remainingMelds").toString())) {
|
||||
flag1 = index1 + 1;
|
||||
} else if (Integer.parseInt(map2.get("remainingMelds").toString()) == Integer.parseInt(map.get("remainingMelds").toString())) {
|
||||
int size2 = ((List<Integer>) map2.get("cardResiue")).size();
|
||||
System.out.println("size2" + size2);
|
||||
int size1 = ((List<Integer>) map.get("cardResiue")).size();
|
||||
System.out.println("size1" + size1);
|
||||
if (size2 < size1) {
|
||||
flag1 = index1 + 1;
|
||||
}
|
||||
|
||||
//如果手里没有将,则可以吃
|
||||
if (jiangnum > 0) {
|
||||
int chihoujiangnum = checkduijiang(temphand);
|
||||
if (chihoujiangnum > 0) {
|
||||
//吃之后还有将
|
||||
flag1 = index1 + 1;
|
||||
}
|
||||
} else {
|
||||
System.out.println("没队将");
|
||||
//孤章1张 差一手 不是将 而且card不是将
|
||||
if (Integer.parseInt(map.get("remainingMelds").toString()) == 1 && size1 == 1 && !isJiangPai(((List<Integer>) map.get("cardResiue")).get(0)) && !isJiangPai(card)) {
|
||||
//吃
|
||||
break;
|
||||
}
|
||||
flag1 = index1 + 1;
|
||||
// break;
|
||||
}
|
||||
}
|
||||
index1++;
|
||||
}
|
||||
|
||||
if (flag1 > 0) {
|
||||
System.out.println("flag1:" + flag1);
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 0);
|
||||
params.putInt("id", flag1);
|
||||
|
||||
int index2 = flag1 - 1;
|
||||
|
||||
if (index2 >= lists.size()) {
|
||||
index2 = 0;
|
||||
}
|
||||
System.out.println("index2:" + index2);
|
||||
System.out.println("lists:" + lists);
|
||||
List<Integer> integers = new ArrayList<>();
|
||||
integers.addAll(lists.get(index2));
|
||||
List<Integer> result2 = getOtherCards1(integers, card);
|
||||
|
||||
chowGroup.add(card);
|
||||
chowGroup.add(result2.get(0));
|
||||
chowGroup.add(result2.get(1));
|
||||
changShaCardInhand.add(card);
|
||||
|
||||
Util.removeCard(changShaCardInhand, integers.get(0), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(1), 1);
|
||||
Util.removeCard(changShaCardInhand, integers.get(2), 1);
|
||||
|
||||
} else {
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 1);
|
||||
params.putInt("id", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//听牌的时候先不吃
|
||||
if (shifoutingpai.size() > 0) {
|
||||
System.out.println("听牌的时候先不吃++++++++++++++++++++++++++++++++");
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 1);
|
||||
params.putInt("id", 0);
|
||||
}
|
||||
|
||||
|
||||
// if (b && TinHuChi.isMoreThanLast() && !ChangShaSuanFaTest.isTin) {
|
||||
|
|
@ -678,7 +761,7 @@ public class HuNanChangSha {
|
|||
// }
|
||||
|
||||
|
||||
//自杠
|
||||
//自杠
|
||||
// } else if (type1 == 4) {
|
||||
//// TingPaiChecker.TingResult tingResult1 = TingPaiChecker.checkTingPai(gangCardInhand);
|
||||
//
|
||||
|
|
@ -718,6 +801,7 @@ public class HuNanChangSha {
|
|||
//
|
||||
// // 碰后补杠
|
||||
// }
|
||||
}
|
||||
} else if (type1 == 5) {
|
||||
params.putString("session", session + "," + token);
|
||||
params.putInt("qi", 0);
|
||||
|
|
|
|||
|
|
@ -354,15 +354,15 @@ public class JiQiRens {
|
|||
|
||||
|
||||
if ("22".equalsIgnoreCase(wanfaId)) { //湖南红中麻将
|
||||
client = new TaurusClient("127.0.0.1:6421", "game", TaurusClient.ConnectionProtocol.Tcp);
|
||||
client = new TaurusClient("8.138.242.190:6421", "game", TaurusClient.ConnectionProtocol.Tcp);
|
||||
}
|
||||
|
||||
if ("10".equalsIgnoreCase(wanfaId)) {
|
||||
client = new TaurusClient("127.0.0.1:6311", "game", TaurusClient.ConnectionProtocol.Tcp);
|
||||
client = new TaurusClient("8.138.242.190:6311", "game", TaurusClient.ConnectionProtocol.Tcp);
|
||||
}
|
||||
//
|
||||
if ("66".equalsIgnoreCase(wanfaId)) {
|
||||
client = new TaurusClient("127.0.0.1:6841", "game", TaurusClient.ConnectionProtocol.Tcp);
|
||||
client = new TaurusClient("8.138.242.190:6841", "game", TaurusClient.ConnectionProtocol.Tcp);
|
||||
}
|
||||
client.connect();
|
||||
// }
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue