FICTURE7 / CoCSharp

Clash of Clans library, proxy and server written in .NET [Unmaintained]
MIT License
109 stars 57 forks source link

Plugin Api #18

Closed a1e3cdc47c9eae132bd41ae1f5d0510d closed 9 years ago

a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

It is not going over network, it works via dll loading of all dlls in "plugins". All classes extending IPlugin will be loaded

FICTURE7 commented 9 years ago

Looks like your build is failing at travis-ci.

a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

Note about Travis-CI: It fails at CoCSharp.ClientApi, a empty class library which will contain network api functionality in the future. on my machine it builds perfectly fine.

a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

This fixed the errors at ClientApi

a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

Build fails because you got code in ingamepackethandler.cs from git and it doesent find my api files:

CSC: error CS2001: Source file `API/IPlugin.cs' could not be found
CSC: error CS2001: Source file `API/PluginApi.cs' could not be found
CSC: error CS2001: Source file `API/PluginLoader.cs' could not be found
Handlers/InGamePacketHandlers.cs(20): error CS1525: Unexpected symbol `<<'
Handlers/InGamePacketHandlers.cs(21,19): error CS1525: Unexpected symbol `.'
Handlers/InGamePacketHandlers.cs(21,66): error CS1525: Unexpected symbol `.'
Handlers/InGamePacketHandlers.cs(22,94): error CS1525: Unexpected symbol `.'
Handlers/InGamePacketHandlers.cs(23): error CS1525: Unexpected symbol `=='
Handlers/InGamePacketHandlers.cs(28): error CS1525: Unexpected symbol `>>'
Handlers/InGamePacketHandlers.cs(28,9): error CS1525: Unexpected symbol `aaeb47915cb292f939cacb38823ba66d43a87b5'
Handlers/InGamePacketHandlers.cs(29,13): error CS0128: A local variable named `Console' is already defined in this scope
Handlers/InGamePacketHandlers.cs(29,19): error CS1525: Unexpected symbol `.'
a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

Now this branch is safe to merge, the travis-ci error comes from InGamePacketHandler.cs

FICTURE7 commented 9 years ago

Yeah saw it but I was playing around with Visual Studio Code I fixed it and I think we are going to create a new branch instead and do the changes there.

a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

create it i will create a new pull request

FICTURE7 commented 9 years ago

Closing

FICTURE7 commented 9 years ago

I fixed the conflict by the way.

a1e3cdc47c9eae132bd41ae1f5d0510d commented 9 years ago

yeah saw it