Demon Project (魔域)

02/03/2014 08:30 Spirited#1
Hey everyone,

I was told that this project was already public in the Eudemons section, and so I've decided to bring my underground thread down to the programming section and discuss it in further detail. About a few years ago when more developers were active, Jack introduced me to a basic version of the Eudemons official source code. After doing some research with him, I stumbled on a completed source called Demon (魔域). Demon is most likely the official Eudemons source from long ago. Keep in mind, this source is extremely old. Some of the project is older than other parts. Regardless of it's age, it's still a great resource.

The Demon source includes the following main projects:
  • Account Server: The official account server for Eudemons Online. Most likely imported from Monsters & Me and reconfigured.
  • Autopatcher: The official autopatcher for TQ games. Most likely imported from Conquer Online (I did not place the Conquer Online images there). Probably the newest part in the project solution.
  • Server: The official server files for Eudemons. Includes their AI module, common module, message server, game base module, map data module, and NPC server.
  • Soul-Code: The official client files for a client called "Soul". Most likely Eudemons. Includes their 3D game map, role, simple observer, and base modules, C3 core module, game client, shell module, data module, NDSound module, and puzzle module, and Architect, Data Convert, and terrain effect editor tool projects.
It compiles with the DirectX 8.1 SDK (I'll include a link to download that) using Visual C++ 6.0. You can compile it with Visual Studio 2005 with modifications made to the linker configuration. It really isn't useful compiling the project, and I wouldn't recommend converting it for Conquer Online (simply a waste of time when we have good performing sources available). What it is useful for is being used as a reference. I hope you find more use of this than the underground did. Enjoy! :p

Cheers,
Spirited

Link to DirectX 8.1 SDK: [Only registered and activated users can see links. Click Here To Register...]
Please use 7-Zip to unzip the attachment below. I'm working on uploading a more universal compression.
02/03/2014 09:11 cjN93#2
Quote:
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\account 2007-04-26.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\account 2007-05-23.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\AccountServer 2007-04-26.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\AccountServer 2007-05-23.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\point 2007-04-26.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\point 2007-05-23.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\server 2007-04-26.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\!log!\server 2007-05-23.LOG
! D:\Downloads\asd.zip: Unknown method in AccountServer\Account.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\Account.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\account.ini
! D:\Downloads\asd.zip: Unknown method in AccountServer\account.sql
! D:\Downloads\asd.zip: Unknown method in AccountServer\Account.sql.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.dsp
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.dsw
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.ncb
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.opt
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.plg
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.rc
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer.SUP
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServer402.exe
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServerDlg.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\AccountServerDlg.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\AllHeads.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\config.ini
! D:\Downloads\asd.zip: Unknown method in AccountServer\Define.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\EncryptServer.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\BaseFunc.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\BaseFunc.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\GameBaseCode.dsp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\GameBaseCode.plg
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\I_mydb.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MsgPacket.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MsgPacket.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\mssccprj.scc
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MyDatabase.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\mydatabase.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\mydb.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MyField.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MyField.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MyRecord.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\myrecord.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\MyRecordset.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\myrecordset.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\NetStringPacker.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\NetStringPacker.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\PrcHeap.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\PrcHeap.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\vssver.scc
! D:\Downloads\asd.zip: Unknown method in AccountServer\GameBaseCode\修改日志.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\Global.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\Global.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\IniFile.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\IniFile.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\isp.ini
! D:\Downloads\asd.zip: Unknown method in AccountServer\libmySQL.dll
! D:\Downloads\asd.zip: Unknown method in AccountServer\ListenSocket.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\ListenSocket.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\logfile.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\logfile.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\LoginThread.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\LoginThread.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgAccount.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgAccount.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgAccount91U.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgAccount91U.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgBarAccount.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgBarAccount.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgConnect.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgConnect.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgConnect91U.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgConnect91U.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgFee.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgFee.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgLogin.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgLogin.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgQueryFee.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MsgQueryFee.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\mssccprj.scc
! D:\Downloads\asd.zip: Unknown method in AccountServer\MyHeap.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\MyHeap.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\NetMsg.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\NetMsg.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\Online.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\OnlineTable.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\OnlineTable.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\PointThread.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\PointThread.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\RC5_321216.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\RC5_321216.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\resource.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\res\AccountServer.ico
! D:\Downloads\asd.zip: Unknown method in AccountServer\res\AccountServer.rc2
! D:\Downloads\asd.zip: Unknown method in AccountServer\ServerSocket.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\ServerSocket.hpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\StdAfx.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\StdAfx.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\ThreadBase.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\ThreadBase.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\typedef.cpp
! D:\Downloads\asd.zip: Unknown method in AccountServer\typedef.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\T_Index.h
! D:\Downloads\asd.zip: Unknown method in AccountServer\vssver.scc
! D:\Downloads\asd.zip: Unknown method in AccountServer\当前工作.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\版本更新日志.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\设计任务.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\设计日志.txt
! D:\Downloads\asd.zip: Unknown method in AccountServer\设计说明.txt
I think it's damaged or idk, it won't extract...
02/03/2014 09:29 Spirited#3
I can't upload any larger of a file, or a .7z file. Use 7-zip to unzip this one for now (please let me know if that works as a temporary solution). I'll suggest that the staff allows 7z files and upload this to mediafire once it starts working again (I can't upload anything atm).
02/03/2014 12:53 XDestroyer2011#4
Request to remove!! why its in Co forums
02/03/2014 12:56 SteveRambo#5
Quote:
Originally Posted by XDestroyer2011 View Post
Request to remove!! why its in Co forums
Quote:
Originally Posted by Spirited Fang View Post
Regardless of it's age, it's still a great resource.
That's why.
02/03/2014 16:17 LordGragen.#6
oh, i thought all eo p servers and the original game is in binary
02/03/2014 16:26 Kiyono#7
Quote:
Originally Posted by LordGragen. View Post
oh, i thought all eo p servers and the original game is in binary
Binaries don't magically appear out of thin air, these are the sources for said binaries.
02/03/2014 17:04 Spirited#8
Quote:
Originally Posted by XDestroyer2011 View Post
Request to remove!! why its in Co forums
Eudemons and Conquer share the same source base. They're almost exactly alike.
02/08/2014 12:52 Ultimation#9
They are almost the same, but yet so different..
08/01/2014 09:44 marcbacor6666#10
i would love to revive this source but why is it detected by my antivirus
08/01/2014 17:32 Spirited#11
Quote:
Originally Posted by marcbacor6666 View Post
i would love to revive this source but why is it detected by my antivirus
Good question, because there are no executable files in it, as far as I'm aware.
08/09/2014 05:55 Real~Death#12
I thought everyone already had this.It has been up on that Chinese site forever.

The UG able to find the original client files?

I tried finding them again last year,all links were dead.

If anyone gots a work-around I would love to get it.I believe there was A filetype converter that could be used.A buddy of mine tried writing his own,we still couldn't get it to compile.
08/09/2014 06:16 hio77#13
There was a thread awhile back, where two members who no longer pop in gave recompiling these a good shot.

in the end they decided it wasnt worth the effort.


your copy seems slightly different to mine, defiantly no antivirus flags on it!

having a quick skim through the zip, i do see a few exes which are likely what is being flagged upon..

looks like you have the client and server in one, rather than separate too.

unless its a different copy of the server source, it was pretty well decided that it was a emulated copy rather than TQs actual source. ill have to look at comparing it this evening when I have more time..

will be interested in following along, and see what you get up to with this however... since the attempt loveomg had at it, the source has been dormant except for those of us who look to it for understanding TQ logic..
08/09/2014 07:22 Real~Death#14
Quote:
Originally Posted by hio77 View Post
There was a thread awhile back, where two members who no longer pop in gave recompiling these a good shot.

in the end they decided it wasnt worth the effort.
Yeah,My friend is great at programming and I got him to screw around it with me.He never played CO and figured it was not worth much effort.We gave it A week and got board and quit.

but the source it is worth A look
08/09/2014 07:26 hio77#15
Quote:
Originally Posted by Real~Death View Post
Yeah,My friend is great at programming and I got him to screw around it with me.He never played CO and figured it was not worth much effort.We gave it A week and got board and quit.

but the source it is worth A look
absolutely, i have it open whenever im working on things. always a great asset for understanding how a method is working.

between that, and debugging, its hard not to have a pretty sound idea with whats going on.