- Fixed DB(before fixing saving players progress always failed due to non existing column)
- Only admins can use chat commands(add gems, trophies etc)
- Fixed chests not removing gems after buying
- Discord webhook logging(players connections,disconnections, battle logs etc)
- fixed bug where player after arena 7 were playing on wrong arena for example player on arena 9 was playing on frozen peak which is map from arena 8
- Gems and gold rewards after win.
- Now server is more customizable without recompiling it, now you can edit:
Minimum Trophies and Maximum Trophies after Win
Default amount of gems and gold
Gems and gold rewards after win
Admins
Fix trophies after winning
fix free chests bug on arena 10
Remake README.md
The server supports battles, for those a patched client is neccessary.
- .NET SDK 8.0
- MySql Database (on Debian i suggest LAMP with PMA or on windows i suggest XAMPP with PMA)
for Ubuntu use these commands to set it up:
mkdir ClashRoyale
git clone https://github.com/Zordon1337/ZrdRoyale.git && cd ClashRoyale/src/ClashRoyale
dotnet publish
Run the server once to create the config.json file. (dotnet bin/Release/net8.0/ClashRoyale.dll)
To configurate your server, such as the database you have to edit the config.json
file.
Run it again to actually start it: dotnet bin/Release/net8.0/ClashRoyale.dll
It should look like this:
dotnet bin/Release/net8.0/ClashRoyale.dll
dotnet ClashRoyale.Battles/bin/Release/netcoreapp3.1/ClashRoyale.Battles.dll
(from /ZrdRoyale/src/)
git pull && dotnet publish "ClashRoyale.csproj" -c Release -o app && dotnet bin/Release/net8.0/ClashRoyale.dll
git pull && dotnet publish "ClashRoyale.Battles.csproj" -c Release -o app && dotnet ClashRoyale.Battles/bin/Release/netcoreapp3.1/ClashRoyale.Battles.dll
Contact me on Telegram (https://t.me/TZordon) or open an issue.