The library is constructed like the .net framework. Often, you'll just have to change System to CO2_CORE_DLL to get some similar class/goal.
The library is based on the version 5017 of CO2, but it may work on older or newer client. It also use a lot of pointer, but there is often a managed equivalent.
What is implemented yet:
CO2_CORE_DLL
- Ini: INI wrapper. Still using the WinAPI.
- Kernel: Kernel of the library. Contains memory management, etc. (memcpy/memset/malloc/free/srand/rand/assert)
- BigInteger: Chew Keong TAN BigInteger implementation
- MSRandom: Microsoft C Random implementation. (srand/rand)
- MathExt: A mathematic class that implement a thread-safe random.
- MyString: Extensions to the String class.
- MyStream: Extensions to the Stream class.
- Queue: Saint's queue class. Still not worked on.
CO2_CORE_DLL.IO
- AutoAllot: Binary / Custom Text support (not fully working for text)
- ItemType: Custom Binary / Text support
- LevelExp: Binary / Custom Text support
- MagicType: Binary / Text support
- ChatLog: Binary / Custom Text support
- WDF: Windsoul Data File, fully supported
- NetDragonDatPkg: NetDragon Data Package (TPI/TPD), partially supported
- DNP: DawnPack, partially supported
- EFFE (DBC): Binary / Text support [3DEffect]
- EMOI (DBC): Binary / Text support [EmotionIco]
- MATR (DBC): Binary / Text support [Material]
- MESH (DBC): Binary / Text support [Armet, Armor, Head, Misc, Mount, Weapon]
- ROPT (DBC): Binary / Text support [RolePart]
- RSDB [32bits] (DBC): Binary / Text support [3DEffectObj, 3DObj, 3DTexture, Sound]
- RSDB [64bits] (DBC): Binary / Text support [3DMotion, ArmetMotion, ArmorMotion, HeadMotion, MiscMotion, MountMotion, WeaponMotion]
- SIMO (DBC): Binary / Text support [3DSimpleObj]
CO2_CORE_DLL.Map
- MapManager: Loads all DMap from the GameMap.dat file and handles dynamic maps with Link().
- GameMap: A DMap representation with all the cells and their data.
CO2_CORE_DLL.Net
- Msg: Basic class for packets. Work with structure and packet writer.
CO2_CORE_DLL.Net.Sockets
- ServerSocket: Server socket class to create a server using TCP/IPv4.
- NetworkClient: Client class used by the server.
- ClientSocket: Client socket class to create a client using TCP/IPv4.
- Event: Network events.
CO2_CORE_DLL.Security.Cryptography
- Blowfish: Blowfish Cipher Feedback (CFB64)
- CAST5: CAST-128 Cipher Feedback (CFB64)
- COCAC: Conquer Online Client Asymmetric Cipher
- COFAC: Conquer Online File Asymmetric Cipher
- CORC5: Conquer Online Rivest Cipher 5
- COSAC: Conquer Online Server Asymmetric Cipher
- DiffieHellman: Diffie-Hellman Key Exchange.
Special thanks to Sparkie, Hybrid, Saint & high6 for all their contributions in the community.
The project is hosted in a SVN. The source is given with pre-compiled assembly. Also, there is some examples on how to implement it.
Please keep the paternity of the class! Never say that it's your own code.







