RPG Unity3d - Black Wing Blade 2 - Source Code

Newbie Spellweaver
Joined
Jan 7, 2017
Messages
23
Reaction score
9
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

I made a utility for reading .ydat files. Enjoy!
Я сделал утилиту, для чтения .ydat файлов. Пользуйтесь!


 
Joined
Sep 24, 2012
Messages
405
Reaction score
63
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

Problem modifity the ydat.
You utility s.... ??????.
 
Newbie Spellweaver
Joined
Oct 22, 2013
Messages
75
Reaction score
2
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

ho wo fix map 281
 
Newbie Spellweaver
Joined
Oct 22, 2013
Messages
75
Reaction score
2
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

Servers seem to be the source (and collected)
 
Newbie Spellweaver
Joined
Jan 7, 2017
Messages
23
Reaction score
9
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

Made a new version of my utilities!
You can now:
- to open .ydat files in tables
- edit individual cells
- write back in .ydat file.

added: English interface language, and the message about the process.

=========

Сделал новую версию моей утилиты!
Теперь вы можете:
- открывать .ydat файлы, в виде таблиц
- редактировать отдельные ячейки
- записывать обратно в .ydat файл.

добавлен английский язык интерфейса, и мессаджи о процессе.

 
Newbie Spellweaver
Joined
Jan 16, 2017
Messages
22
Reaction score
1
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

guys anyone elaborate this


2, when the server starts the game in a property you want to add to startup items gameserver, the main function is Server: Server 3, please pay attention to modify the database connection configuration, and hibernate.cfg.xml, hibernateDarkSword2.cfg.xml, playerbehavior.cfg.xml this three files into the database password you want to change the settings of 4, but if you start successfully telnet nowhere port, found the code "String ip = addr.getHostAddress (). toString () or search for" // get the machine IP "look under IP, because the server is connected to the internal configuration will not read too BT, so use 127.0.0.1 is not enough. If you are using the IP 127.0.0.1, please change your code at.



//////////////////////////////////////////////////////////////////////////////////////////
i got error in eclipse

2017-01-18 17:54:51-[ZM] [INFO] [Thread:main Class:server.Server] - Wed Jan 18 17:54:51 PST 20172017-01-18 17:54:52-[ZM] [WARN] [Thread:main Class:net.sf.ehcache.config.ConfigurationFactory] - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:ct/GameServer/lib/ehcache-1.5.0.jar!/ehcache-failsafe.xml



how to import database guys?
 
Newbie Spellweaver
Joined
Jan 7, 2017
Messages
23
Reaction score
9
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

how to import database guys?

- You need to install Navicat.
- connect to the server ( where MySQL DB is located).
- Using Navicat to import .sgl files in the database.
 
Newbie Spellweaver
Joined
Mar 29, 2012
Messages
74
Reaction score
6
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

- You need to install Navicat.
- connect to the server ( where MySQL DB is located).
- Using Navicat to import .sgl files in the database.
i just import the database and same error

 
Newbie Spellweaver
Joined
Mar 29, 2012
Messages
74
Reaction score
6
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

What is the error? Where are the screenshots?


here's my error.

below the attached screenshot

PHP:
2017-01-19 01:51:17-[ZM] [INFO] [Thread:main Class:server.Server] - Thu Jan 19 01:51:17 PST 2017
2017-01-19 01:51:26-[ZM] [WARN] [Thread:main Class:net.sf.ehcache.config.ConfigurationFactory] - No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/C:/Users/VAPERS/Desktop/UnityProject/GameServer/lib/ehcache-1.5.0.jar!/ehcache-failsafe.xml
2017-01-19 01:53:54-[ZM] [ERROR] [Thread:main Class:org.hibernate.util.JDBCExceptionReporter] - Connections could not be acquired from the underlying database!
Exception in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
	at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
	at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
	at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:301)
	at com.sun.proxy.$Proxy2.beginTransaction(Unknown Source)
	at db.GenericHibernateDAO.list(GenericHibernateDAO.java:239)
	at db.GenericHibernateDAO.GetList(GenericHibernateDAO.java:393)
	at hibernateUtil.MaplevelDao.GetMaplevelIDList(MaplevelDao.java:20)
	at game.World.initMaps(World.java:49)
	at game.World.start(World.java:28)
	at server.Server.init(Server.java:137)
	at server.Server.main(Server.java:213)
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
	at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
	at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
	at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
	... 17 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
	at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
	at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
	at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
	... 20 more
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jan 7, 2017
Messages
23
Reaction score
9
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

here's my error.

below the attached screenshot
Strange... some error JAVA server... I only have Unity3d and C# work. But I have not run a server of this game, because I have no external IP. But in the beginning of this topic, the person wrote how to start, and the game works!
 
Newbie Spellweaver
Joined
Oct 22, 2013
Messages
75
Reaction score
2
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

ho wo fix map 281 ?
 
Joined
Sep 24, 2012
Messages
405
Reaction score
63
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

Mimi Neko NICE!
add plizz new function! new line in table !

emo02 ->
GameServer\config ->

Please pay attention to modify the database connection configuration, and hibernate.cfg.xml, hibernateDarkSword2.cfg.xml, playerbehavior.cfg.xml


Troxex

my server log(START NORMAL) - >
 
Last edited:
Newbie Spellweaver
Joined
Nov 10, 2013
Messages
81
Reaction score
1
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

got error still loading

PHP:
System.NullReferenceException: Object reference not set to an instance of an object  at YuanUnityPhoton.ThreadReadTable (System.Object sender, System.EventArgs e) [0x00010] in C:\Users\Desktop\UnityProject\CreationWar_NewClient\Assets\Plugins\Code\C#\Server\YuanUnityPhoton.cs:557

PHP:
2017-01-20 01:11:42-[ZM] [INFO] [Thread:NioSocketConnector-1 Class:platform.ConnectListener] - IoFutureListener<ConnectFuture> reConnecting 127.0.0.1:99882017-01-20 01:11:43-[ZM] [INFO] [Thread:NioSocketConnector-1 Class:platform.ConnectListener] - IoFutureListener<ConnectFuture> notConnected 127.0.0.1:99882017-01-20 01:11:46-[ZM] [INFO] [Thread:NioSocketConnector-1 Class:platform.ConnectListener] - IoFutureListener<ConnectFuture> reConnecting 127.0.0.1:99882017-01-20 01:11:47-[ZM] [INFO] [Thread:NioSocketConnector-1 Class:platform.ConnectListener] - IoFutureListener<ConnectFuture> notConnected 127.0.0.1:99882017-01-20 01:11:50-[ZM] [INFO] [Thread:NioSocketConnector-1 Class:platform.ConnectListener] - IoFutureListener<ConnectFuture> reConnecting 127.0.0.1:9988
 
Joined
Sep 24, 2012
Messages
405
Reaction score
63
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

you program work good! Mimi Neko you program ydat not open full ?

mysql db darksword2 -> task -> tables 441
you progaram task(Records of table 448 ) - > your program will display as 92 tables. i need all tables.

281 map fix need 485 table.
 
Last edited:
Newbie Spellweaver
Joined
Jan 7, 2017
Messages
23
Reaction score
9
Re: [Release] MMO RPG Unity3d - Black Wing Blade 2 - Source Code

you program work good! @Mimi Neko you program ydat not open full ?

mysql db darksword2 -> task -> tables 581
you progaram task(Records of table 448 ) - > your program will display as 92 tables. i need all tables.

281 map fix need 485 table.

- Probably that is the file .ydat is not complete or does not comply with MySQL database. By the way, files .ydat several. need to try others.
When I was doing my program, I also noticed that deserializes not everything that is loaded from a file.
I also noticed that in table "task", it seems some kind of mistake or failure, at which it is interrupted, and this place fails the output table in the program. for this failure, the table konchaetsya.
I'll be hearing from it later.

281 card - most likely it is the card named Map271!
In the folder "Scenes", missing file Map271.unity, but there is a folder Map271 to this file with the map files and LightMap NawMesh.
- Then the scene Map271.unity was, but someone removed...
It's missing a few scenes!
Project game NOT full! Someone has removed part of the card that nobody will be able to make the full game.



mysql db darksword2 -> task -> tables 581
you progaram task(Records of table 448 ) - > your program will display as 92 tables. i need all tables.

281 map fix need 485 table.