Blog.csdn.net/ljxfblog/ar…

 

Recently for a job, while there is a period of free time, sorted out a network fox chess source code, this source code download for a long time, has been staying in the hard disk. This is a good time to take a look.

Network fox code quality is very high, reveal the code is also more complete, basically can compile through. But to actually build it, it takes a little extra work.

I downloaded version 6603, after analysis and research, the server side is mainly lack of KernelEngine source code, the client side is mainly lack of NetworkService source code. Are the core network library and basic library ah, fortunately, other places on the Internet to find the source code of these two projects, after collation and compilation found that the main version can still be on.

Since the version out of the project is VS2003, I easily transplanted the network fox code to VS2012, incidentally, the server transplant process has the following problems, the first problem is that for loop variables are still used outside the circulation, VC project upgraded students should be able to solve. The second problem is that the contents of stdafx.h are old, so find a copy of the new procedure. The third problem was the crash of client lobby and game client after startup. I studied for some time, but later I found that whenever RichEdit’s interface was loaded, it would crash. I checked online and found that RichEdit’s DLL was not loaded. LoadLibrary(TEXT(“riched20.dll”)); That’s it.

So far, all the program could run, to set up private servers also not line, also lack of database, but also online and can find out the database, I can run in SQL2005 and SQL2008, stored procedures are encrypted, however, could not see, for I so controlling, late may customize the game server, this is unacceptable, On the Internet to check a lot of cracking schemes, tried not too perfect, finally found a tool, can perfect cracking SQL Server encryption stored process. The name of the tool is DMT SQL Decryptor.

Then I sorted out and analyzed the database and soon got the server up and running. More happy, later planning to network fox client games to Android.

 

Upload the source code after finishing, share it with you, using VS2012 environment. What problem everybody encounters can consult me!

Resources to 10 points, calculate my hard cost, everyone voluntary download!

Network fox chess collation version of the code

Some students asked me for the database file, but I was not available for a while ago. I made up an explanatory document and shared the database file these days.

Database about network fox chess

Network fox chess card database collation files

Last but not least, the picture above.

 

       

       

 

        

 

 

  • This article has been included in the following columns:
  • Game Server Development column