All Projects → FICTURE7 → Cocsharp

FICTURE7 / Cocsharp

Licence: mit
Clash of Clans library, proxy and server written in .NET [Unmaintained]

Projects that are alternatives of or similar to Cocsharp

Ts3admin.class
The ts3admin.class is a powerful api for communication with Teamspeak 3 Servers from your website! Your creativity knows no bounds!
Stars: ✭ 103 (+9.57%)
Mutual labels:  library, server, client
Gophertunnel
Toolbox for Minecraft software written in Go
Stars: ✭ 156 (+65.96%)
Mutual labels:  proxy, server, client
Simple Websocket Server
A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost.Asio and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++.
Stars: ✭ 685 (+628.72%)
Mutual labels:  library, server, client
Quarry
Python library that implements the Minecraft network protocol and data types
Stars: ✭ 182 (+93.62%)
Mutual labels:  proxy, server, client
Simple Web Server
A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
Stars: ✭ 2,261 (+2305.32%)
Mutual labels:  library, server, client
Simplenetwork
simple TCP server / client C++ linux socket
Stars: ✭ 225 (+139.36%)
Mutual labels:  library, server, client
Node Minecraft Protocol
Parse and serialize minecraft packets, plus authentication and encryption.
Stars: ✭ 697 (+641.49%)
Mutual labels:  proxy, server, client
Go Raknet
An idiomatic Go library implementing a basic version of the RakNet protocol.
Stars: ✭ 40 (-57.45%)
Mutual labels:  server, client
Sechub
SecHub - one central and easy way to use different security tools with one API/Client
Stars: ✭ 52 (-44.68%)
Mutual labels:  server, client
Subscriptions Transport Sse
A Server-Side-Events (SSE) client + server for GraphQL subscriptions
Stars: ✭ 55 (-41.49%)
Mutual labels:  server, client
Oicq
🐧 一款使用 Java 语言编写的仿 QQ 聊天工具
Stars: ✭ 64 (-31.91%)
Mutual labels:  server, client
Emodbus
Modbus library for both RTU and TCP protocols. Primarily developed on and for ESP32 MCUs.
Stars: ✭ 29 (-69.15%)
Mutual labels:  server, client
Openps3ftp
An open source FTP server for the PlayStation 3.
Stars: ✭ 29 (-69.15%)
Mutual labels:  library, server
Megalodon
Mastodon, Pleroma and Misskey API client library for node.js and browser
Stars: ✭ 52 (-44.68%)
Mutual labels:  proxy, client
Zeus
A high performance, cross-platform Internet Communication Engine. Developed with native socket API. Aim at handling millions of concurrent connections.
Stars: ✭ 30 (-68.09%)
Mutual labels:  server, client
Zinc
Zinc HTTP Components is an open-source Smalltalk framework to deal with the HTTP networking protocol.
Stars: ✭ 60 (-36.17%)
Mutual labels:  server, client
Clientserverproject
一个C-S模版,该模版由三部分的程序组成,一个服务端运行的程序,一个客户端运行的程序,还有一个公共的组件,实现了基础的账户管理功能,版本控制,软件升级,公告管理,消息群发,共享文件上传下载,批量文件传送功能。具体的操作方法见演示就行。本项目的一个目标是:提供一个基础的中小型系统的C-S框架,客户端有三种模式,无缝集成访问,winform版本,wpf版本,asp.net mvc版本,方便企业进行中小型系统的二次开发和个人学习。同时网络组件方便的支持读写三菱和西门子PLC的数据,详细见Readme
Stars: ✭ 873 (+828.72%)
Mutual labels:  server, client
Adrestia
APIs & SDK for interacting with Cardano.
Stars: ✭ 56 (-40.43%)
Mutual labels:  library, client
Bittorrent Tracker
🌊 Simple, robust, BitTorrent tracker (client & server) implementation
Stars: ✭ 1,184 (+1159.57%)
Mutual labels:  server, client
Go Imap
📥 An IMAP library for clients and servers
Stars: ✭ 1,217 (+1194.68%)
Mutual labels:  server, client

CoC# Build Status

Clash of Clans library written in C# to handle networking, csv files and other stuffs. It was written based off of [Clash of Clans Documentation Project](https://github.com/clanner/cocdp) and decompiled source code of [Ultrapowa Clash Server](https://github.com/Ultrapowa/UCS) which is now open source however no decompiled code was used in this project.

Notes

This project is unmaintained

Due to the encryption update in 8.x.x, a patched version of libg.so with the standard public key is needed for CoCSharp.Proxy and CoCSharp.Server to work properly. Here are the steps needed to patch libg.so or you can use coc-patcher a small but great utility made in python by clugh to patch libg.so and sign the APK itself.

libsodium-net also requires the Visual C++ Redistributable for Visual Studio 2015, if its not installed Sodium.SodiumCore will throw a DllNotFoundException.

What can it do?

  • CoCSharp.Data:
    • Includes classes that defines common Clash of Clans data.
  • CoCSharp.Csv: Clash of Clans format CSV reader.
    • Includes classes for reading CSV files.
  • CoCSharp.Logic: Village object structures and logic.
    • Includes classes for village objects: Village, Trap, Obstacle, Building etc...
  • CoCSharp.Network: Clash of Clans network protocol implementation.
    • Includes classes for reading, writing messages & packet definitions.
  • CoCSharp.Networking.Cryptography: Clash of Clans encryption implementation.
    • Include class for encryption version 7.x.x & 8.x.x version.

Compiling

To be able to run the Post Build properly you must have mono in your PATH variable.

The simplest way to compile CoCSharp is to open the solution in Visual Studio and pressing F6 to build the entire solution, it will restore the nuget packages as well. Or you could use the latest version of mono and nuget to compile CoCSharp.

Run the following commands to build CoCSharp with mono.

Clone the project using git.

git clone --branch=rewrite git://github.com/FICTURE7/CoCSharp.git

Then you will have to restore the nuget packages, to get the dependencies.

nuget restore

In the root directory run or where CoCSharp.sln is located.

xbuild

Then you should have the compiled binaries in /bin, and you should be able to run the binaries using the latest version of mono.

mono CoCSharp.Proxy/bin/Debug/CoCSharp.Proxy.exe

If you would like to check the version of mono you're using

mono --version

Contributing

Just create a fork and make changes to it, like adding features from Clash of Clans, fixing bugs and also reporting them because we want a solid software right? Follow the code style else I won't merge your pull request, its not that hard to follow ;]. Make your pull requests focused and readable. You can also contribute by creating issues and reporting bugs, giving ideas for enhancement and by finding issues in the documentation.

You can also contribute by just giving a star or forking us, also by spreading the word about the project. ^^

Am not any merging pull requests like a clan search API which completely drifts away from the goal of this project. If you want to make a clan search API, use CoCSharp as a library and go ahead. :]

Contact me via my e-mail, [email protected] if you have any question.

Thanks

Massive thank you to those guys who helped with the project and specially the MVPs. :]

Projects Using CoC#

* [CoCSharp.Server](https://github.com/FICTURE7/CoCSharp/tree/rewrite/CoCSharp.Server): *(Work in progress)* * Server that can do some stuff. It also supports the latest 8.x.x encryption. Yey! * [CoCSharp.Client](https://github.com/FICTURE7/CoCSharp/tree/rewrite/CoCSharp.Client): *(7.x.x available on `master` branch)* * Simple client that can read chat message and send keep alive requests. * [CoCSharp.Proxy](https://github.com/FICTURE7/CoCSharp/tree/rewrite/CoCSharp.Proxy): *(Work in progress)* * Proxy that logs raw decrypted packets and village JSON layout.

Licensing

CoCSharp is licensed under the permissive MIT License.

CoCSharp is not officially affiliated with Supercell.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].