Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mobile [MOBILE] Empire: War of Kings

Newbie Spellweaver
Joined
Jul 22, 2015
Messages
18
Reaction score
4
bro her yerdesin :D çinlilerin sitesinde de görüyorum seni.

dikkat ettiysen veri tabanı ve sunucudaki satırlarda 'cok' ifadesi var. yani sanırım bu server dosyaları ile ilgili bazı kısımlar clash of kings'e ait. bence sunucu ayarları tarafında eksik bir şeyler var. üstteki bir kaç dallamanın da çalıştırabildiğini sanmıyorum. sıkıyorlar gibi geliyor.

edit: what i said to him is; if you investigate its database and track server commands, you will see 'cok' term which means its some parts are from Clash of Kings. I think something wrong with its server side. Also some people said we are playing it etc. etc. I don't believe it. No screenshots. No proves.

Regards
 
Experienced Elementalist
Joined
Sep 23, 2008
Messages
274
Reaction score
88






 
Newbie Spellweaver
Joined
Jul 22, 2015
Messages
18
Reaction score
4







omg. then how did you achieve this ? a help would be appreciated ^^
 
Newbie Spellweaver
Joined
Jul 10, 2018
Messages
14
Reaction score
5
skype varsa aynı isimle ulaşabilirsin

edit : if you have skype use same name
 
Newbie Spellweaver
Joined
Jul 22, 2015
Messages
18
Reaction score
4
skype varsa aynı isimle ulaşabilirsin

edit : if you have skype use same name

Done and done.










Sir, would you tell us how did you run it ? Any help would be appreciated.

Everything seems fine but when i try to login by phone, server kicks:


Code:
ERROR | pool-1-thread-4 | com.elex.cok.MoniterTestException | [STARTUP] init mybatis, please check mapper
org.apache.ibatis.exceptions.PersistenceException: 
### Error building SqlSession.
### The error may exist in com/elex/cok/puredb/dao/UserLordMapper.xml
### The error occurred while processing mapper_resultMap[UserLordMap]


Thanks.
 
Experienced Elementalist
Joined
Sep 23, 2008
Messages
274
Reaction score
88
I do not do anything special sise is changed the IP
go ---->D:\WOKServer\wwwroot\resource --->servers.xml
D:\WOKServer\Server\resource---->servers.xml
put your IP ---> X.X.X.X

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<tns:database xmlns:tns="http://www.iw.com/sns/platform/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Group id="1">
<ItemSpec id="1" name="S1" ip="X.X.X.X" port="9933" zone="COK1" recommend="true" hot="false" new="false" test="false" open_time="2017-11-17 00:00:00" inner_ip="127.0.0.1" db_ip="127.0.0.1" db_name="cokdb1"/>
</Group>
</tns:database>

---->D:\WOKServer\Server\config --->server.xml
<addressWhiteList>
<string>X.X.X.X</string>
</addressWhiteList>
 
Newbie Spellweaver
Joined
Jul 22, 2015
Messages
18
Reaction score
4
I didn't edit the whitelist part. I will try and inform. Thank you so much.
 
Newbie Spellweaver
Joined
Jul 10, 2018
Messages
14
Reaction score
5
thanks alot but same error :(



| ERROR | pool-1-thread-3 | com.elex.cok.MoniterTestException | [STARTUP] init mybatis, please check mapper
 
Experienced Elementalist
Joined
Sep 23, 2008
Messages
274
Reaction score
88
@elswing server is configured for bind 0.0.0.0
<serverSettings>
<socketAddresses>
<socket address="0.0.0.0" port="80" type="TCP"/>
<socket address="0.0.0.0" port="80" type="UDP"/>
<socket address="0.0.0.0" port="8088" type="TCP"/>
<socket address="0.0.0.0" port="8088" type="UDP"/>
<socket address="0.0.0.0" port="9933" type="TCP"/>
<socket address="0.0.0.0" port="9933" type="UDP"/>
<socket address="0.0.0.0" port="843" type="TCP"/>
<socket address="0.0.0.0" port="843" type="UDP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
<string>1.2.3.4</string>
</addressBlackList>
<addressWhiteList>
<string>192.168.0.28</string>
</addressWhiteList>


this server is simila for cok-clash of king

http://forum.ragezone.com/f857/clash-kings-private-server-files-1150916/

defi monsters is no work
 
Newbie Spellweaver
Joined
Jul 22, 2015
Messages
18
Reaction score
4
@elswing server is configured for bind 0.0.0.0
<serverSettings>
<socketAddresses>
<socket address="0.0.0.0" port="80" type="TCP"/>
<socket address="0.0.0.0" port="80" type="UDP"/>
<socket address="0.0.0.0" port="8088" type="TCP"/>
<socket address="0.0.0.0" port="8088" type="UDP"/>
<socket address="0.0.0.0" port="9933" type="TCP"/>
<socket address="0.0.0.0" port="9933" type="UDP"/>
<socket address="0.0.0.0" port="843" type="TCP"/>
<socket address="0.0.0.0" port="843" type="UDP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
<string>1.2.3.4</string>
</addressBlackList>
<addressWhiteList>
<string>192.168.0.28</string>
</addressWhiteList>


this server is simila for cok-clash of king

http://forum.ragezone.com/f857/clash-kings-private-server-files-1150916/

defi monsters is no work
So far so good. Everything is working now. Thank you.
 
Newbie Spellweaver
Joined
Aug 30, 2017
Messages
93
Reaction score
12
Can anyone help me with this please, as I can't get it working right. I can share error log if needed
 
Newbie Spellweaver
Joined
Aug 30, 2017
Messages
93
Reaction score
12
2018-07-15 02:24:10,479 | INFO | main | com.smartfoxserver.v2.SmartFoxServer | Boot sequence starts...
2018-07-15 02:24:10,527 | INFO | main | com.smartfoxserver.v2.SmartFoxServer |
_____ _____ _____ ___ __ __ _____ _____ _____ _____
| __| __| __| |_ | | | | __ | | |_ _|
|__ | __|__ | | _|- -| | __ -| | | | | | |
|_____|__| |_____| |___|__|__| |_____|_____|_____| |_|

2018-07-15 02:24:13,187 | INFO | main | c.smartfoxserver.v2.core.SFSEventManager | AnonymousService-1 initalized
2018-07-15 02:24:13,615 | INFO | main | com.smartfoxserver.v2.SmartFoxServer | License loaded:

===================================
LICENSE DETAILS
-----------------------------------
Type : Retail
Max users : Unlimited
===================================

2018-07-15 02:24:13,623 | INFO | main | c.s.v.e.managers.SFSBannedUserStorage | BanUserStorage initialized
2018-07-15 02:24:13,885 | INFO | main | c.s.v.e.managers.SFSBannedUserManager | BanUser data loaded: 0 records.
2018-07-15 02:24:13,915 | INFO | main | com.smartfoxserver.v2.SmartFoxServer | Protocol Type is: BINARY
2018-07-15 02:24:13,938 | INFO | main | c.s.v2.config.SFSConfigurator | Loading: zones\COK1.zone.xml
2018-07-15 02:24:14,069 | INFO | main | c.s.v2.entities.managers.SFSZoneManager |

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> Zone: COK1
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

2018-07-15 02:24:21,232 | ERROR | main | com.smartfoxserver.v2.db.SFSDBManager | com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
Message: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Description: The DBManager Test SQL failed
Please double check your SQL code and make sure that Database server is running.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

2018-07-15 02:24:21,280 | WARN | main | c.s.v2.entities.managers.SFSZoneManager | RoomSetting literal not found:
2018-07-15 02:24:21,281 | WARN | main | c.s.v2.entities.managers.SFSZoneManager | RoomSetting literal not found:
2018-07-15 02:24:21,300 | INFO | main | c.s.v2.entities.managers.SFSRoomManager | Room created: { Zone: COK1 }, [ Room: chat, Id: 0, Group: default, isGame: false ]
2018-07-15 02:24:24,343 | ERROR | main | com.elex.cok.core.COKExtension | init zone: COK1 fail
java.lang.ExceptionInInitializerError: null
at com.elex.cok.core.GameEngine.init(GameEngine.java:91) ~[na:na]
at com.elex.cok.core.COKExtension.init(COKExtension.java:21) ~[na:na]
at com.smartfoxserver.v2.entities.managers.SFSExtensionManager.createExtension(SFSExtensionManager.java:302) [sfs2x.jar:na]
at com.smartfoxserver.v2.entities.managers.SFSZoneManager.createZone(SFSZoneManager.java:431) [sfs2x.jar:na]
at com.smartfoxserver.v2.entities.managers.SFSZoneManager.initializeZones(SFSZoneManager.java:243) [sfs2x.jar:na]
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:234) [sfs2x.jar:na]
at com.smartfoxserver.v2.Main.main(Main.java:31) [sfs2x.jar:na]
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
at redis.clients.util.Pool.getResource(Pool.java:53) ~[jedis-2.6.1.jar:na]
at redis.clients.jedis.JedisPool.getResource(JedisPool.java:99) ~[jedis-2.6.1.jar:na]
at redis.clients.jedis.JedisPool.getResource(JedisPool.java:11) ~[jedis-2.6.1.jar:na]
at com.elex.cok.utils.RedisSessionUtil.getResource(RedisSessionUtil.java:53) ~[na:na]
at com.elex.cok.utils.RedisSession.<init>(RedisSession.java:45) ~[na:na]
at com.elex.cok.utils.RedisSession.<init>(RedisSession.java:37) ~[na:na]
at com.elex.cok.utils.properties.RealTimePropertyReader.getItem(RealTimePropertyReader.java:22) ~[na:na]
at com.elex.cok.utils.properties.PropertyFileReader.getRealTimeItem(PropertyFileReader.java:52) ~[na:na]
at com.elex.cok.utils.xml.GameConfigManager.<clinit>(GameConfigManager.java:44) ~[na:na]
... 7 common frames omitted
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused: connect
at redis.clients.jedis.Connection.connect(Connection.java:148) ~[jedis-2.6.1.jar:na]
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:75) ~[jedis-2.6.1.jar:na]
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1790) ~[jedis-2.6.1.jar:na]
at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:71) ~[jedis-2.6.1.jar:na]
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:836) ~[commons-pool2-2.2.jar:2.2]
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:434) ~[commons-pool2-2.2.jar:2.2]
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:361) ~[commons-pool2-2.2.jar:2.2]
at redis.clients.util.Pool.getResource(Pool.java:51) ~[jedis-2.6.1.jar:na]
... 15 common frames omitted
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:1.8.0_172]
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[na:1.8.0_172]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_172]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_172]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_172]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.8.0_172]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_172]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_172]
at redis.clients.jedis.Connection.connect(Connection.java:142) ~[jedis-2.6.1.jar:na]
... 22 common frames omitted
2018-07-15 02:24:24,970 | INFO | main | c.s.v2.entities.managers.SFSRoomManager | Room created: { Zone: --=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 1, Group: default, isGame: false ]
2018-07-15 02:24:25,000 | INFO | main | c.s.v2.core.AdminToolService | AdminTool Service started
2018-07-15 02:24:25,114 | INFO | main | org.mortbay.log | Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
2018-07-15 02:24:25,373 | INFO | main | org.mortbay.log | jetty-6.1.26
2018-07-15 02:24:25,682 | INFO | main | org.mortbay.log | Extract file:/C:/WOKServer/Server/www/BlueBox.war to C:\Users\MYPC~1\AppData\Local\Temp\Jetty_0_0_0_0_8080_BlueBox.war__BlueBox__.udbwk9\webapp
2018-07-15 02:24:28,564 | INFO | main | org.mortbay.log | Extract file:/C:/WOKServer/Server/www/gameservice.war to C:\Users\MYPC~1\AppData\Local\Temp\Jetty_0_0_0_0_8080_gameservice.war__gameservice__hz2cn\webapp
2018-07-15 02:24:30,380 | INFO | main | org.mortbay.log | Opened C:\WOKServer\Server\logs\http\2018_07_15.request.log
2018-07-15 02:24:30,789 | INFO | main | org.mortbay.log | Started SelectChannelConnector@0.0.0.0:8080
2018-07-15 02:24:30,790 | INFO | main | com.smartfoxserver.v2.http.SFSHttpServer | Http Server started.
2018-07-15 02:24:30,938 | INFO | main | c.s.v2.entities.managers.SFSPostOffice | PostOffice service started
2018-07-15 02:24:30,996 | INFO | main | bootLogger | SmartFoxServer 2X
2018-07-15 02:24:31,004 | INFO | main | bootLogger | BitSwarmEngine version: 3.11.0 { main }
2018-07-15 02:24:31,008 | INFO | main | bootLogger | System Info:
Processor(s): 4
VM Max. memory: 259MB
os.name: Windows 10
os.arch: x86
os.version: 10.0
java.version: 1.8.0_172
java.vendor: Oracle Corporation
java.vendor.url:
java.vm.specification.version: 1.8
java.vm.version: 25.172-b11
java.vm.vendor: Oracle Corporation
java.vm.name: Java HotSpot(TM) Client VM
java.io.tmpdir: C:\Users\MYPC~1\AppData\Local\Temp\
Default charset: UTF-8

2018-07-15 02:24:31,290 | INFO | main | bootLogger | Network Info:
Card: Software Loopback Interface 1
->127.0.0.1
->0:0:0:0:0:0:0:1
Card: Microsoft 6to4 Adapter
Card: Microsoft Wi-Fi Direct Virtual Adapter
->fe80:0:0:0:4d76:7469:df86:6c19%wlan0
Card: Microsoft IP-HTTPS Platform Adapter
Card: WAN Miniport (IPv6)
Card: WAN Miniport (L2TP)
Card: Microsoft Kernel Debug Network Adapter
Card: WAN Miniport (IKEv2)
Card: Bluetooth Device (RFCOMM Protocol TDI)
Card: WAN Miniport (Network Monitor)
Card: Microsoft Teredo Tunneling Adapter
Card: WAN Miniport (SSTP)
Card: Microsoft Wi-Fi Direct Virtual Adapter #2
->fe80:0:0:0:5d3d:a88f:e510:59c2%wlan1
Card: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter
->192.168.1.17
->fe80:0:0:0:21be:9bc7:b80b:64ca%wlan2
Card: WAN Miniport (PPTP)
Card: Bluetooth Device (Personal Area Network)
->fe80:0:0:0:e56d:1f88:6561:b0f6%eth3
Card: WAN Miniport (IP)
Card: WAN Miniport (PPPOE)
Card: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter-WFP Native MAC Layer LightWeight Filter-0000
Card: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter-Virtual WiFi Filter Driver-0000
Card: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter-Native WiFi Filter Driver-0000
Card: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter-QoS Packet Scheduler-0000
Card: Realtek RTL8723BS Wireless LAN 802.11n SDIO Network Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter-WFP Native MAC Layer LightWeight Filter-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter-Native WiFi Filter Driver-0000
Card: WAN Miniport (IP)-WFP Native MAC Layer LightWeight Filter-0000
Card: WAN Miniport (IP)-QoS Packet Scheduler-0000
Card: WAN Miniport (IPv6)-WFP Native MAC Layer LightWeight Filter-0000
Card: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
Card: WAN Miniport (Network Monitor)-WFP Native MAC Layer LightWeight Filter-0000
Card: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter-QoS Packet Scheduler-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter #2-WFP Native MAC Layer LightWeight Filter-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter #2-Native WiFi Filter Driver-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter #2-QoS Packet Scheduler-0000
Card: Microsoft Wi-Fi Direct Virtual Adapter #2-WFP 802.3 MAC Layer LightWeight Filter-0000

2018-07-15 02:24:31,315 | INFO | main | bootLogger | Session manager ready: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager@880c21
2018-07-15 02:24:31,337 | INFO | main | bootLogger | TCP Selector opened
2018-07-15 02:24:31,370 | INFO | main | bootLogger | UDP Selector opened
2018-07-15 02:24:31,405 | INFO | main | bootLogger | AcceptSelector opened
2018-07-15 02:24:31,419 | INFO | main | bootLogger | Added bound tcp socket --> 0.0.0.0:80
2018-07-15 02:24:31,444 | INFO | main | bootLogger | Added bound udp socket --> 0.0.0.0:80
2018-07-15 02:24:31,446 | INFO | main | bootLogger | Added bound tcp socket --> 0.0.0.0:8088
2018-07-15 02:24:31,451 | INFO | main | bootLogger | Added bound udp socket --> 0.0.0.0:8088
2018-07-15 02:24:31,458 | INFO | main | bootLogger | Added bound tcp socket --> 0.0.0.0:9933
2018-07-15 02:24:31,464 | INFO | main | bootLogger | Added bound udp socket --> 0.0.0.0:9933
2018-07-15 02:24:31,466 | INFO | main | bootLogger | Added bound tcp socket --> 0.0.0.0:843
2018-07-15 02:24:31,471 | INFO | main | bootLogger | Added bound udp socket --> 0.0.0.0:843
2018-07-15 02:24:31,485 | INFO | Scheduler1-thread-1 | bootLogger | Scheduler started: scheduler
2018-07-15 02:24:31,505 | INFO | main | bootLogger | Controller started: com.smartfoxserver.v2.controllers.SystemController -- Queue: 0/20000
2018-07-15 02:24:31,542 | INFO | main | bootLogger | Controller started: com.smartfoxserver.v2.controllers.ExtensionController -- Queue: 0/20000
2018-07-15 02:24:31,544 | INFO | main | bootLogger | Socket Writer started (pool size:3)
2018-07-15 02:24:31,555 | INFO | main | bootLogger | Security Manager started
2018-07-15 02:24:31,567 | INFO | main | bootLogger | DatagramReader started
2018-07-15 02:24:31,570 | INFO | main | bootLogger | IOHandler: com.smartfoxserver.v2.protocol.SFSIoHandler@69dd38
2018-07-15 02:24:31,577 | INFO | main | bootLogger | SocketReader started
2018-07-15 02:24:31,587 | INFO | main | bootLogger | SocketAcceptor initialized
2018-07-15 02:24:31,591 | INFO | main | bootLogger | [[[ ===--- Boot sequence complete ---=== ]]]
2018-07-15 02:24:31,602 | INFO | main | com.smartfoxserver.v2.SmartFoxServer | Listening Sockets: { 0.0.0.0:80, (Tcp) } { 0.0.0.0:80, (Udp) } { 0.0.0.0:8088, (Tcp) } { 0.0.0.0:8088, (Udp) } { 0.0.0.0:9933, (Tcp) } { 0.0.0.0:9933, (Udp) } { 0.0.0.0:843, (Tcp) } { 0.0.0.0:843, (Udp) }
2018-07-15 02:24:31,623 | INFO | main | com.smartfoxserver.v2.SmartFoxServer |
_____ _____ _____ ___ __ __
| __| __| __| |_ | | |
|__ | __|__ | | _|- -|
|_____|__| |_____| |___|__|__|
_____ _____ _____ ____ __ __
| __ | __| _ | \| | |
| -| __| | | |_ _|
|__|__|_____|__|__|____/ |_|
[ 2.8.2 ]

2018-07-15 02:24:31,632 | INFO | main | com.smartfoxserver.v2.SmartFoxServer | SmartFoxServer 2X (2.8.2) READY!



Sorry for long post, I couldn't use the quotes option on my phone.

I have edited all the required files needed, but I just can't get it working.

I even tried to run it in a installed xampp server but even then it was reporting the db wasn't running when it was.
 
Newbie Spellweaver
Joined
Nov 4, 2014
Messages
35
Reaction score
19
Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
Message: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Description: The DBManager Test SQL failed
Please double check your SQL code and make sure that Database server is running.

\WOKServer\Server\zones\COK1.zone.xml
PHP:
<driverName>com.mysql.jdbc.Driver</driverName> 
<connectionString>jdbc:mysql://127.0.0.1:3306/cokdb1?characterEncoding=utf-8&autoReconnect=true</connectionString>    
<userName>root</userName>    
<password>123456</password>
\WOKServer\Server\extensions\COK1\config.properties
PHP:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Database Connection Parameters ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; local mybatis
; cross mybatis connection parameters (user, password, driver)
; smartfox mysql connnection parameters (user, password, driver)
local.jdbc.user=rootlocal.jdbc.password=123456
local.jdbc.driver=com.mysql.jdbc.Driver
realtime_local.jdbc.url=jdbc:mysql://127.0.0.1:3306/cokdb1?characterEncoding=utf-8
local.poolMaximumActiveConnections=150
local.poolMaximumIdleConnections=10
; smartfox mysql global database connection

global_db_maxActiveConnections=40

global_db_maxIdleConnections=10

global_db_blockTime=60000

global_db_exhaustedPoolAction=GROW

global_db_url=jdbc:mysql://127.0.0.1:3306/cokdb_global?characterEncoding=utf-8&autoReconnect=true

global_db_username=root

global_db_password=123456

; smartfox mysql global database connection

global_db_maxActiveConnections=40

global_db_maxIdleConnections=10

global_db_blockTime=60000

global_db_exhaustedPoolAction=GROW

global_db_url=jdbc:mysql://127.0.0.1:3306/cokdb_global?characterEncoding=utf-8&autoReconnect=true

global_db_username=root

global_db_password=123456
; smartfox mysql pay database connection

pay_db_maxActiveConnections=10

pay_db_maxIdleConnections=2

pay_db_blockTime=60000

pay_db_exhaustedPoolAction=GROW

pay_db_url=jdbc:mysql://127.0.0.1:3306/cokdb_pay?characterEncoding=utf-8

pay_db_username=root

pay_db_password=123456
 
Last edited:
Newbie Spellweaver
Joined
Jul 22, 2015
Messages
18
Reaction score
4
2018-07-15 02:24:21,232 | ERROR | main | com.smartfoxserver.v2.db.SFSDBManager | com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

Like BeeZone said; you are having a problem to make server to connect Db. I would suggest you to check mysqld.exe from Task Manager if it runs when you start server. And install a sql manager such as MySQL Front to see if you can connect to your mysql server from 3306 port.

The thing is, this server is a click and go. Which means in normally you don't need to do an extra configuration except server IPs.

An additional note; I was having problems with Windows 10. That's why i went for a Server 2008R2. I suggest you to do the same or Win7 at least.
 
Back
Top