FICTURE7 / CoCSharp

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

ServerConfiguration causes NullReferenceException #89

Closed DaividSmith closed 7 years ago

DaividSmith commented 7 years ago

in last Commit i get this error 08a6de2 i get this error in run CoCSharp.Server.exe line 27 in Server.cs _config = new ServerConfiguration("config.xml"); pic: http://imgur.com/a/TAUaL

knightking10 commented 7 years ago

Fixed version by me here OR: Create config.xml in bin/Debug with this content:

<?xml version="1.0" encoding="utf-8"?>
<server_config>
  <starting_gems>69696969</starting_gems>
  <starting_gold>6969696</starting_gold>
  <starting_elixir>69696969</starting_elixir>
</server_config>

Good luck!