Add Multiple transports system, begin work on WebSockets

This commit is contained in:
Li 2022-11-16 01:59:32 +13:00
parent e869a23463
commit e74f66a439
22 changed files with 3752 additions and 3301 deletions

View file

@ -2,11 +2,15 @@
# Horse Isle Server Configuration
# =======================
#
# HISP was Created and Developed by SilicaAndPina
# HISP was Created and Developed by Li / SilicaAndPina
# However it is NOT COPYRIGHTED! This software is in the Public Domain!
#
# Ip address the server will bind to (default: 0.0.0.0 ALL INTERFACES)
# =======================
# Network
# =======================
# Ip address the server will bind to (default: 0.0.0.0 ALL INTERFACES)
ip=0.0.0.0
# Port the server will bind to defaults: (on beta.horseisle.com: 12321, on pinto.horseisle.com: 443)
@ -14,6 +18,15 @@ ip=0.0.0.0
# running on the same port, so i prefer 12321.
port=12321
# Listen for WebSockets as well as raw Flash XMLSocket Connection
# If this feature is enabled, players can play Horse Isle
# on HTML5 and WebAssembly with a fork of the Ruffle Flash Player Emulator
enable_websocket=true
# =======================
# Database
# =======================
# MariaDB Database Information
# For best performance, the database should be hosted on the SAME MACHINE as the HISP server.
# Or atleast, on a local network.
@ -26,16 +39,6 @@ db_port=3306
# Connect to a sqllite database instead of a sql server.
sql_lite=false
# File that contains the map tile data
# the default was downloaded from the original server
map=HI1.MAP
# This folder contains all definitions in the game
# such as items, horses. and quest data.
# NOTE: This can be a folder or a file.
gamedata=gamedata
# =======================
# Security
# =======================
@ -71,6 +74,15 @@ enable_spam_filter=true
# Misc Settings.
# =======================
# File that contains the map tile data
# the default was downloaded from the original server
map=HI1.MAP
# This folder contains all definitions in the game
# such as items, horses. and quest data.
# NOTE: This can be a folder or a file.
gamedata=gamedata
# Should the server consider all users "Subscribers"
# (warning: makes ranches be in use forever.)
all_users_subscribed=false