Commit Graph

154 Commits

Author SHA1 Message Date
Robin C. Ladiges ccccdecb6a
Provide docker image (#6)
* add Dockerfile

* add docker-compose.yml

* Github workflow to build and deploy docker image

* workdir /data/ instead of /app/

* use a local directory instead of a named volume

This makes the settings.json more accessible from the outside by
default, but is less portable.

The -v command with $PWD might not work on native Windows shells, but
rather wants an absolute Windows path like C:\User\... or /c/User/...

And on Linux, because the /data/ directory and the settings.json will be
owned by root. Though that can be changed.

* more docker-compose command examples

* add linux/arm/v7 ; improve build & runtime

* fix: just arm not arm32

* test docker build for PRs

* back to the microsoft runtime
2022-07-17 13:00:31 -06:00
Piplup b5a6a87649
Add blurbs about settings to readme (#11)
Co-authored-by: Sanae <32604996+Sanae6@users.noreply.github.com>
2022-07-12 20:46:27 -06:00
CraftyBoss 967a89a55b Merge branch 'master' of https://github.com/Sanae6/SmoOnlineServer 2022-07-08 23:13:44 +00:00
CraftyBoss 11015bd445 only send game packet on join to connected clients 2022-07-08 23:13:35 +00:00
Piplup aec13bb4a6
Added a simple systemd service (#5)
Co-authored-by: Sanae <32604996+Sanae6@users.noreply.github.com>
2022-07-01 12:10:15 -06:00
Sanae ead6292f94
Merge pull request #7 from piplup55/botupdates 2022-06-29 13:31:56 -06:00
raym55 787491456f Update Program.cs 2022-06-29 06:54:14 +01:00
Piplup cbfc24abfd
Merge branch 'Sanae6:master' into botupdates 2022-06-29 06:01:26 +01:00
Sanae 72061215ce Add wildcard to rejoin, crash, ban commands 2022-06-28 14:34:03 -06:00
Sanae f9c20e73a8 Fix accidental squashed command handler 2022-06-20 13:10:35 -06:00
Piplup d065253699
Merge branch 'Sanae6:master' into botupdates 2022-06-20 20:02:33 +01:00
ecumber 67449ffa54 Add date to log messages 2022-06-20 12:57:45 -06:00
Sanae b5825b537f Implements Added Bot Reconnect Command (#1)
Add dscrestart command
Update Program.cs
2022-06-20 12:55:01 -06:00
Sanae 60249feef8 Remove the "Console log:" from discord logs 2022-06-20 12:53:30 -06:00
Sanae 5d78814620 Reformat Program.cs 2022-06-20 12:52:46 -06:00
raym55 075fbd1bb4 Update Program.cs 2022-06-20 06:36:02 +01:00
Sanae 22a8e91f85 Try/catch bot msg sending and add exception handlers 2022-06-19 19:33:45 -06:00
Sanae e9136704c1 Fix response messages for ban and send commands 2022-06-19 19:33:08 -06:00
Sanae c4c0616fb7 Make some commands accept ids and partial names 2022-06-18 02:09:40 -06:00
Sanae b0b7bbf384 Fix minor readme mistake 2022-06-17 21:21:01 -06:00
Sanae dd3f65f5e8 Add README.md 2022-06-17 21:18:57 -06:00
Sanae 1f5ea97272 Finish ban implementation 2022-06-17 21:18:08 -06:00
Sanae 561d633e40 Add a simple discord bot to manage the server 2022-06-12 18:48:24 -06:00
Sanae 774ef20bb4 Multiple users on commands 2022-05-31 16:02:12 -06:00
Sanae 74c00aa0f8 The user management update 2022-05-31 15:48:57 -06:00
Sanae d898f4754b Add max players command and remove savesettigns 2022-05-31 14:48:48 -06:00
Sanae 99aabeffc9 Add init packet 2022-05-08 16:04:57 -06:00
Sanae 6a63eb47c2 Use Write instead of WriteLine for logging 2022-04-27 21:33:48 -06:00
Sanae ab318db1b8 Clean up logging from testing 2022-04-27 21:32:52 -06:00
Sanae 24e4333fde Change game packet size 2022-04-27 14:36:36 -06:00
Sanae 88f61f9e79 Fix game packet size 2022-04-27 14:20:01 -06:00
Sanae 605be3947f I'm going to commit war crimes 2022-04-27 14:17:02 -06:00
Sanae df2e976782 balls 2022-04-27 14:09:50 -06:00
Sanae a775e593c3 Absurd logging 2022-04-27 14:02:26 -06:00
Sanae 6288f8ae49 Put more logs around send 2022-04-27 13:43:03 -06:00
Sanae 4fb57f9b7e Suffer 2022-04-27 00:43:11 -06:00
Sanae 3cc35f52b8 logstreme 2022-04-27 00:31:48 -06:00
Sanae bddce48f9d Stop using MemoryMarshal for header serde 2022-04-27 00:24:11 -06:00
Sanae 1bcb15eb54 Read header normally 2022-04-26 23:58:43 -06:00
Sanae 1f57a9fb65 puss 2022-04-26 23:54:05 -06:00
Sanae 5d1b95997c more logs 2 2022-04-26 23:53:03 -06:00
Sanae 497ebcc06b More logs 2022-04-26 23:48:13 -06:00
Sanae 726bb45a00 What 2022-04-26 23:45:47 -06:00
Sanae cad2c5b9c8 u wot m8 2022-04-26 23:38:38 -06:00
Sanae 6444675fbb getting good 2022-04-26 23:26:35 -06:00
Sanae ded197601a oops 2022-04-26 23:26:03 -06:00
Sanae 6964c3bbf4 Add max players to connect packet 2022-04-26 23:24:40 -06:00
Sanae 7a088eb314 Fix 2, electric boogaloo 2022-04-26 23:06:27 -06:00
CraftyBoss 3e462ddb64 Merge branch 'master' of https://github.com/Sanae6/SmoOnlineServer 2022-04-27 04:43:48 +00:00
CraftyBoss ff570a17c7 only show connected players in list command 2022-04-27 04:43:46 +00:00