From 898ebbdc8c3b76db5baa9da706306b9b49dca92f Mon Sep 17 00:00:00 2001 From: Li <39113159+KuromeSan@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:13:43 +1200 Subject: [PATCH 1/6] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index ada54ef..80d99c2 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # HISP - HorseIsleServer Program + + [![Build](https://github.com/islehorse/HISP/workflows/build/badge.svg)](https://github.com/islehorse/HISP/actions?query=workflow%3Abuild) HISP is a "Server Emulator" for Horse Isle 1 @@ -10,6 +12,16 @@ well they essentailly run off "Server Emulators". **tl;dr, think "Club Penguin Rewritten" but with Horse Isle.** +# Installation: +Install on Ubuntu or Debian via APT: +``` +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C +sudo add-apt-repository 'deb http://deb.silica.codes debian main' +sudo apt update +sudo apt install hisp +``` + + # Commands (legend: <> Required, [] Optional) ``` From 8a390fe84df1e8969020036b56ae3031a6643cb2 Mon Sep 17 00:00:00 2001 From: Li <39113159+KuromeSan@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:17:27 +1200 Subject: [PATCH 2/6] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80d99c2..b27e72c 100755 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ well they essentailly run off "Server Emulators". **tl;dr, think "Club Penguin Rewritten" but with Horse Isle.** # Installation: -Install on Ubuntu or Debian via APT: +Install on Ubuntu via APT: ``` sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C sudo add-apt-repository 'deb http://deb.silica.codes debian main' @@ -21,6 +21,13 @@ sudo apt update sudo apt install hisp ``` +Install on Debian via APT: +``` +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C +sudo echo 'deb http://deb.silica.codes debian main'>>/etc/sources.list +sudo apt update +sudo apt install hisp +``` # Commands (legend: <> Required, [] Optional) From 4b627671d621aafcd6077e463f9b9cefada2de58 Mon Sep 17 00:00:00 2001 From: Li <39113159+KuromeSan@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:18:19 +1200 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b27e72c..6dffb35 100755 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ sudo apt install hisp Install on Debian via APT: ``` sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C -sudo echo 'deb http://deb.silica.codes debian main'>>/etc/sources.list +sudo bash -c 'echo 'deb http://deb.silica.codes debian main'>>/etc/sources.list' sudo apt update sudo apt install hisp ``` From 1a8693dce854aa9523802dbc02e3bfd384eaff13 Mon Sep 17 00:00:00 2001 From: Li <39113159+KuromeSan@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:19:07 +1200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6dffb35..e676b81 100755 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ sudo apt install hisp Install on Debian via APT: ``` sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C -sudo bash -c 'echo 'deb http://deb.silica.codes debian main'>>/etc/sources.list' +sudo bash -c 'echo 'deb http://deb.silica.codes debian main'>>/etc/apt/sources.list' sudo apt update sudo apt install hisp ``` From 2dbfd4dd03dd976d06539132fc5ad1e76c43963a Mon Sep 17 00:00:00 2001 From: Li <39113159+KuromeSan@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:20:22 +1200 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e676b81..37ba368 100755 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ sudo apt install hisp Install on Debian via APT: ``` sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C -sudo bash -c 'echo 'deb http://deb.silica.codes debian main'>>/etc/apt/sources.list' +sudo bash -c 'echo "deb http://deb.silica.codes debian main">>/etc/apt/sources.list' sudo apt update sudo apt install hisp ``` From 78482e93d55c65fe2a1d05b2c2c5055a8d4c3459 Mon Sep 17 00:00:00 2001 From: Li <39113159+KuromeSan@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:29:10 +1200 Subject: [PATCH 6/6] Update README.md --- README.md | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 37ba368..3973ed6 100755 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ well they essentailly run off "Server Emulators". **tl;dr, think "Club Penguin Rewritten" but with Horse Isle.** # Installation: + +- Linux: + Install on Ubuntu via APT: ``` sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 34F644BC70C746CE48139C595129317F33AE659C @@ -29,6 +32,9 @@ sudo apt update sudo apt install hisp ``` +Then simply edit /etc/hisp/server.properties & change to correct database credentials +and start the server using ``systemctl start hisp`` + # Commands (legend: <> Required, [] Optional) ``` @@ -92,39 +98,6 @@ sudo apt install hisp !DANCE ``` -# Noobs Package (For people who go WTF IS A SQL ?) -- Download HISP-N00BS zip -- Open the HISP-N00BS executable -- Within a few secs should now be playing Horse Isle. - -# Normal Setup (I want to actually run a server). -- Download the latest Windows or Linux binary. -- Setup a SQL Server, (eg, MariaDB). -- Setup a webserver with PHP8.0, intl and mysqli modules (eg, Apache). -- Create a database for the master site, and for all game sites you may have -- Copy files from the binary ZIP's www/master-site into your webserver. - have a separate virtual host for each www/game-site. -- Edit each game-site/config.php to have your SQL login information. - Change the server host to your public IP or a Domain that points. - to it and also change the HMAC Secret -- Edit master-site/servers.php and put each server your hosting - in the array. this is what will appear in the server list -- Edit master-site/config.php and set your SQL Server credentials, for the master-site - and change the hmac_secret to match that of every game-site -- For each server, run the HorseIsleServer binary. on first run, it will - crash due to trying to connect. But will create a "server.properties" file, - as well as a CrossDomainPolicy.xml, Edit server.properies and change the DB connection. - to your SQL server credentials- Change whatever other settings you want there as well. -- Run HorseIsleServer again and this time it will connect to the server and start up. -- Create an account on the master-site/ webserver. - And login using game-site/Horseisle.php, -- That's it your now running HISP Server. - Forward the port you used for the server and 80 for the webserver. - And people can login over the internet. - -- You can give yourself admin by executing ``UPDATE Users SET Admin='YES' Moderator='YES' WHERE Username=''`` - on the master database, (and any game databases) - # Depends HISP Depends on a SQL Server, its been tested and known to work specifically with MariaDB, https://mariadb.org/