no message

This commit is contained in:
SilicaAndPina 2021-04-05 12:55:01 +12:00
parent e13e71c5c5
commit 8b41e540b1
2 changed files with 17 additions and 12 deletions

View file

@ -30,27 +30,25 @@ jobs:
continue-on-error: false continue-on-error: false
run: | run: |
dotnet publish -p:PublishProfile=Win64.pubxml dotnet publish -p:PublishProfile=Win64.pubxml
copy ../DataCollection/gamedata.json "HorseIsleServer/bin/x64/Windows/net5.0/win-x64/publish/gamedata.json" copy ..\DataCollection\gamedata.json "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\gamedata.json" /B /Y
copy ../DataCollection/HI1.MAP "HorseIsleServer/bin/x64/Windows/net5.0/win-x64/publish/HI1.MAP" copy ..\DataCollection\HI1.MAP "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\HI1.MAP" /B /Y
mkdir "HorseIsleServer/bin/x64/Windows/net5.0/win-x64/publish/www" mkdir "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\www"
xcopy /E ../WebInterface "HorseIsleServer/bin/x64/Windows/net5.0/win-x64/publish/www" xcopy /E ..\WebInterface "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\www"
- name: Build win-x86 - name: Build win-x86
continue-on-error: false continue-on-error: false
run: | run: |
dotnet publish -p:PublishProfile=Win32.pubxml dotnet publish -p:PublishProfile=Win32.pubxml
copy ../DataCollection/gamedata.json "HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/gamedata.json" copy ..\DataCollection\gamedata.json "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\gamedata.json" /B /Y
copy ../DataCollection/HI1.MAP "HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/HI1.MAP" copy ..\DataCollection\HI1.MAP "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\HI1.MAP" /B /Y
mkdir "HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/www" mkdir "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\www"
xcopy /E ../WebInterface "HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/www" xcopy /E ..\WebInterface "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\www"
- name: Upload win-x64
- name: upload win-x64
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: win-x64 name: win-x64
path: Horse Isle Server\HorseIsleServer\bin/x64\Windows\net5.0\win-x64\publish\ path: Horse Isle Server\HorseIsleServer\bin/x64\Windows\net5.0\win-x64\publish\
- name: upload win-x86 - name: Upload win-x86
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: win-x86 name: win-x86

View file

@ -144,16 +144,23 @@ namespace HISP.Server
} }
} }
} }
// Tack Shop Giveaway
if(totalMinutesElapsed % (60 * 3) == 0) if(totalMinutesElapsed % (60 * 3) == 0)
{ {
TackShopGiveawayEvent = new TackShopGiveaway(); TackShopGiveawayEvent = new TackShopGiveaway();
TackShopGiveawayEvent.StartEvent(); TackShopGiveawayEvent.StartEvent();
} }
// Real Time Riddle
if(totalMinutesElapsed % 30 == 0) if(totalMinutesElapsed % 30 == 0)
{ {
RiddleEvent = RealTimeRiddle.GetRandomRiddle(); RiddleEvent = RealTimeRiddle.GetRandomRiddle();
RiddleEvent.StartEvent(); RiddleEvent.StartEvent();
} }
// Real Time Quiz
if(totalMinutesElapsed % 75 == 0)
{
}
if (totalMinutesElapsed % 60 == 0) if (totalMinutesElapsed % 60 == 0)
{ {