A game server reimplementation for a certain turn-based anime game
A game server reimplementation for a certain turn-based anime game
EN | ID | 简中 | 繁中 | JP | RU | FR | KR | VI
Attention: For any extra support, questions, or discussions, check out our Discord.
./gradlew jarresources in your server directoryConfig, TextMap, and ExcelBin folders from https://github.com/Dimbreath/StarRailData and place them into your resources folder.java -jar LunarCore.jar from your system terminal. Lunar Core comes with a built-in internal MongoDB server for its database, so no Mongodb installation is required. However, it is highly recommended to install Mongodb anyway.import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
class Handlers
{
static function OnBeforeRequest(oS: Session) {
if (oS.host.EndsWith(".starrails.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com") || oS.host.EndsWith(".bhsr.com")) {
oS.oRequest.headers.UriScheme = "http";
oS.host = "localhost"; // This can also be replaced with another IP address.
}
}
};autoCreateAccount is set to true in the config, then you can skip this step. Otherwise, type /account create [account name] in the server console to create an account.Server commands can be run in the server console or in-game. There is a dummy user named "Server" in every player's friends list that you can message to use in-game commands.
…No open issues yet, or sync has not completed.