mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-12 13:24:36 +01:00
Update and add README (#20)
* Update en-US, ja-JP, zh-CN and zh-TW README * Add fr-FR, ko-KR and ru-RU README * Little change
This commit is contained in:
15
README.md
15
README.md
@@ -1,10 +1,11 @@
|
|||||||
# Lunar Core
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
**_Language_**
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
[EN](README.md) | [简体中文](README_zh-CN.md) | [繁體中文](README_zh-TW.md) | [日本語](README_ja-JP.md)
|
|
||||||
|
|
||||||
#
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
A game server reimplementation for version 1.5.0 of a certain turn-based anime game for educational purposes. For any extra support, questions, or discussions, check out our [Discord](https://discord.gg/cfPKJ6N5hw).
|
|
||||||
|
**Attention:** For any extra support, questions, or discussions, check out our [Discord](https://discord.gg/cfPKJ6N5hw).
|
||||||
|
|
||||||
### Notable features
|
### Notable features
|
||||||
- Basic game features: Logging in, team setup, inventory, basic scene/entity management
|
- Basic game features: Logging in, team setup, inventory, basic scene/entity management
|
||||||
@@ -63,7 +64,7 @@ Server commands can be run in the server console or in-game. There is a dummy us
|
|||||||
|
|
||||||
```
|
```
|
||||||
/account {create | delete} [username] (reserved player uid). Creates or deletes an account.
|
/account {create | delete} [username] (reserved player uid). Creates or deletes an account.
|
||||||
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). Sets the current avatar's properties
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). Sets the current avatar's properties.
|
||||||
/clear {relics | lightcones | materials | items}. Removes filtered items from the player inventory.
|
/clear {relics | lightcones | materials | items}. Removes filtered items from the player inventory.
|
||||||
/gender {male | female}. Sets the player gender.
|
/gender {male | female}. Sets the player gender.
|
||||||
/give [item id] x[amount] lv[number]. Gives the targetted player an item.
|
/give [item id] x[amount] lv[number]. Gives the targetted player an item.
|
||||||
@@ -73,7 +74,7 @@ Server commands can be run in the server console or in-game. There is a dummy us
|
|||||||
/kick @[player id]. Kicks a player from the server.
|
/kick @[player id]. Kicks a player from the server.
|
||||||
/mail [content]. Sends the targeted player a system mail.
|
/mail [content]. Sends the targeted player a system mail.
|
||||||
/permission {add | remove | clear} [permission]. Gives/removes a permission from the targeted player.
|
/permission {add | remove | clear} [permission]. Gives/removes a permission from the targeted player.
|
||||||
/refill - refill your skill points in open world.
|
/refill. Refill your skill points in open world.
|
||||||
/reload. Reloads the server config.
|
/reload. Reloads the server config.
|
||||||
/scene [scene id] [floor id]. Teleports the player to the specified scene.
|
/scene [scene id] [floor id]. Teleports the player to the specified scene.
|
||||||
/spawn [monster/prop id] x[amount] s[stage id]. Spawns a monster or prop near the targeted player.
|
/spawn [monster/prop id] x[amount] s[stage id]. Spawns a monster or prop near the targeted player.
|
||||||
|
|||||||
83
docs/README_fr-FR.md
Normal file
83
docs/README_fr-FR.md
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
|
|
||||||
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
|
|
||||||
|
**Attention:** Pour tout soutien supplémentaire, questions ou discussions, consultez notre [Discord](https://discord.gg/cfPKJ6N5hw).
|
||||||
|
|
||||||
|
### Caractéristiques notables
|
||||||
|
- Fonctionnalités de base du jeu : Connexion, configuration de l'équipe, inventaire, gestion de base des scènes et des entités
|
||||||
|
- Les batailles de monstres fonctionnent
|
||||||
|
- Apparition de monstres/prop/NPC dans le monde naturel
|
||||||
|
- La plupart des techniques de personnages sont gérées
|
||||||
|
- Les boutiques de PNJ sont gérées
|
||||||
|
- Système de Gacha
|
||||||
|
- Système de courrier
|
||||||
|
- Système d'amis (les aides ne fonctionnent pas encore)
|
||||||
|
- Salle oubliée (avec les fonctionnalités de la 1.4.0)
|
||||||
|
- Univers simulé (les runs peuvent être terminés, mais il manque de nombreuses fonctionnalités)
|
||||||
|
|
||||||
|
# Exécution du serveur et du client
|
||||||
|
|
||||||
|
### Prérequis
|
||||||
|
* [Java 17 JDK](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||||
|
|
||||||
|
### Recommandé
|
||||||
|
* [MongoDB 4.0+](https://www.mongodb.com/try/download/community)
|
||||||
|
|
||||||
|
### Compilation du serveur
|
||||||
|
1. Ouvrez votre terminal système, et compilez le serveur avec `./gradlew jar`
|
||||||
|
2. Créez un dossier nommé `resources` dans le répertoire de votre serveur.
|
||||||
|
3. Téléchargez les dossiers `Config`, `TextMap`, et `ExcelBin` depuis [https://github.com/Dimbreath/StarRailData](https://github.com/Dimbreath/StarRailData) et placez-les dans votre dossier resources.
|
||||||
|
4. Téléchargez le dossier `Config` depuis [https://gitlab.com/Melledy/LunarCore-Configs](https://gitlab.com/Melledy/LunarCore-Configs) et placez-le dans votre dossier resources. Remplacez tous les fichiers demandés par votre système. Ceux-ci sont destinés à l'apparition des mondes et sont très importants pour le serveur.
|
||||||
|
5. Lancez le serveur avec `java -jar LunarCore.jar` depuis votre terminal. Lunar Core est livré avec un serveur MongoDB interne intégré pour sa base de données, donc aucune installation de Mongodb n'est nécessaire. Cependant, il est fortement recommandé d'installer Mongodb de toute façon.
|
||||||
|
6. Si vous avez mis `autoCreateAccount` à true dans la configuration, alors vous pouvez sauter la création d'un compte. Sinon, utilisez la commande `/account` dans la console du serveur pour en créer un.
|
||||||
|
|
||||||
|
### Connexion avec le client (Fiddler)
|
||||||
|
1. **Connectez-vous avec le client à un serveur officiel et à un compte Hoyoverse au moins une fois pour télécharger les données du jeu**.
|
||||||
|
2. Installez et lancez [Fiddler Classic](https://www.telerik.com/fiddler).
|
||||||
|
3. Configurez fiddler pour décrypter le trafic https. (Tools -> Options -> HTTPS -> Decrypt HTTPS traffic) Assurez-vous que `ignore server certificate errors` est également coché.
|
||||||
|
4. Copiez et collez le code suivant dans l'onglet Fiddlerscript de Fiddler Classic :
|
||||||
|
|
||||||
|
```
|
||||||
|
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.host = "localhost"; // Elle peut également être remplacée par une autre adresse IP.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Connectez-vous avec votre nom de compte, le mot de passe peut être défini comme vous le souhaitez.
|
||||||
|
|
||||||
|
### Commandes du serveur
|
||||||
|
Les commandes du serveur peuvent être exécutées dans la console du serveur ou dans le jeu. Il y a un utilisateur fictif nommé "Server" dans la liste d'amis de chaque joueur auquel vous pouvez envoyer un message pour utiliser les commandes dans le jeu.
|
||||||
|
|
||||||
|
```
|
||||||
|
/account {create | delete} [username] (reserved player uid). Crée ou supprime un compte.
|
||||||
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). Définit les propriétés de l'avatar actuel.
|
||||||
|
/clear {relics | lightcones | materials | items}. Supprime les objets filtrés de l'inventaire du joueur.
|
||||||
|
/gender {male | female}. Définit le sexe du joueur.
|
||||||
|
/give [item id] x[amount] lv[number]. Donne un objet au joueur ciblé.
|
||||||
|
/giveall {materials | avatars | lightcones | relics}. Donne des objets au joueur ciblé.
|
||||||
|
/heal. Guérit vos avatars.
|
||||||
|
/help. Affiche une liste des commandes disponibles.
|
||||||
|
/kick @[player id]. Expulse un joueur du serveur.
|
||||||
|
/mail [content]. Envoie un message système au joueur ciblé.
|
||||||
|
/permission {add | remove | clear} [permission]. Donne/retire une permission au joueur ciblé.
|
||||||
|
/refill. Recharge vos points de compétence en monde ouvert.
|
||||||
|
/reload. Recharge la configuration du serveur.
|
||||||
|
/scene [scene id] [floor id]. Téléporte le joueur vers la scène spécifiée.
|
||||||
|
/spawn [monster/prop id] x[amount] s[stage id]. Fait apparaître un monstre ou un accessoire à proximité du joueur ciblé.
|
||||||
|
/unstuck @[player id]. Décroche un joueur hors ligne s'il se trouve dans une scène qui ne se charge pas.
|
||||||
|
/worldlevel [world level]. Fixe le niveau d'équilibre du joueur ciblé.
|
||||||
|
```
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
# Lunar Core
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
**_Language_**
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
[EN](README.md) | [简体中文](README_zh-CN.md) | [繁體中文](README_zh-TW.md) | [日本語](README_ja-JP.md)
|
|
||||||
|
|
||||||
#
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
これは、教育目的でとあるターン制アニメゲームのバージョン1.5.0を再実装したゲームサーバーです。追加のサポート、質問、または議論がある場合は、[discord](https://discord.gg/cfPKJ6N5hw)をご覧ください。
|
|
||||||
|
**Attention:** 追加のサポート、質問、または議論がある場合は、 [Discord](https://discord.gg/cfPKJ6N5hw).
|
||||||
|
|
||||||
### 注目すべき機能
|
### 注目すべき機能
|
||||||
- 基本ゲーム機能:ログイン、チームのセットアップ、バッグ、基本的なシーン/エンティティの管理
|
- 基本ゲーム機能:ログイン、チームのセットアップ、バッグ、基本的なシーン/エンティティの管理
|
||||||
@@ -64,18 +65,20 @@ class Handlers
|
|||||||
|
|
||||||
```
|
```
|
||||||
/account {create | delete} [username] (予約プレイヤーuid). アカウントを作成または削除します。
|
/account {create | delete} [username] (予約プレイヤーuid). アカウントを作成または削除します。
|
||||||
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). 現在のアバターのプロパティを設定します
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). 現在のアバターのプロパティを設定します。
|
||||||
/clear {relics | lightcones | materials | items}. プレイヤーのインベントリからフィルタリングされたアイテムを削除します。
|
/clear {relics | lightcones | materials | items}. プレイヤーのインベントリからフィルタリングされたアイテムを削除します。
|
||||||
/gender {male | female}. プレイヤーの性別を設定します。
|
/gender {male | female}. プレイヤーの性別を設定します。
|
||||||
/give [item id] x[amount]. ターゲットのプレイヤーにアイテムを与えます。
|
/give [item id] x[amount] lv[number]. ターゲットのプレイヤーにアイテムを与えます。
|
||||||
/giveall {materials | avatars}. ターゲットのプレイヤーにアイテムを与えます。
|
/giveall {materials | avatars}. ターゲットのプレイヤーにアイテムを与えます。
|
||||||
|
/heal. あなたのキャラクターを癒します。
|
||||||
/help. 利用可能なコマンドの一覧を表示します。
|
/help. 利用可能なコマンドの一覧を表示します。
|
||||||
|
/kick @[player id]. サーバーからプレーヤーをキックする。
|
||||||
/mail [content]. ターゲットのプレイヤーにシステムメールを送信します。
|
/mail [content]. ターゲットのプレイヤーにシステムメールを送信します。
|
||||||
/permission {add | remove | clear} [permission]. ターゲットのプレイヤーから権限を付与/削除します。
|
/permission {add | remove | clear} [permission]. ターゲットのプレイヤーから権限を付与/削除します。
|
||||||
|
/refill. SPを回復します。
|
||||||
/reload. サーバーコンフィギュレーションを再読み込みします。
|
/reload. サーバーコンフィギュレーションを再読み込みします。
|
||||||
/scene [scene id] [floor id]. プレイヤーを指定したシーンにテレポートします。
|
/scene [scene id] [floor id]. プレイヤーを指定したシーンにテレポートします。
|
||||||
/spawn [monster/prop id] x[amount] s[stage id]. ターゲットのプレイヤーの近くにモンスターまたはプロップを生成します。
|
/spawn [monster/prop id] x[amount] s[stage id]. ターゲットのプレイヤーの近くにモンスターまたはプロップを生成します。
|
||||||
/unstuck @[player id]. オフラインプレイヤーが読み込み不可のシーンにいる場合、スタックを解除します。
|
/unstuck @[player id]. オフラインプレイヤーが読み込み不可のシーンにいる場合、スタックを解除します。
|
||||||
/worldlevel [world level]. ターゲットのプレイヤーの平衡レベルを設定します。
|
/worldlevel [world level]. ターゲットのプレイヤーの平衡レベルを設定します。
|
||||||
/refill. SPを回復します。
|
|
||||||
```
|
```
|
||||||
83
docs/README_ko-KR.md
Normal file
83
docs/README_ko-KR.md
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
|
|
||||||
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
|
|
||||||
|
**주의: **추가 지원, 질문 또는 토론이 필요한 경우, [Discord](https://discord.gg/cfPKJ6N5hw) 를 확인하세요.
|
||||||
|
|
||||||
|
### 주목할 만한 기능
|
||||||
|
- 기본적인 게임 기능: 로그인, 팀 설정, 인벤토리, 기본 장면/엔티티 관리
|
||||||
|
- 몬스터 전투 작동
|
||||||
|
- 자연계 몬스터/소품/NPC 생성
|
||||||
|
- 대부분의 캐릭터 기술 처리
|
||||||
|
- NPC 상점 처리
|
||||||
|
- 뽑기 시스템
|
||||||
|
- 메일 시스템
|
||||||
|
- 친구 시스템(어시스트는 아직 작동하지 않음)
|
||||||
|
- 잊혀진 홀 (1.4.0 기능 포함)
|
||||||
|
- 시뮬레이션된 우주(실행은 가능하지만 많은 기능이 누락됨)
|
||||||
|
|
||||||
|
# 서버 및 클라이언트 실행
|
||||||
|
|
||||||
|
### 전제 조건
|
||||||
|
* [Java 17 JDK](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||||
|
|
||||||
|
### 추천
|
||||||
|
* [MongoDB 4.0+](https://www.mongodb.com/try/download/community)
|
||||||
|
|
||||||
|
서버 컴파일하기 ###
|
||||||
|
1. 시스템 터미널을 열고 다음을 사용하여 서버를 컴파일합니다. `./gradlew jar`
|
||||||
|
2. 서버 디렉터리에 `resources`라는 이름의 폴더를 만듭니다.
|
||||||
|
3. [https://github.com/Dimbreath/StarRailData](https://github.com/Dimbreath/StarRailData) 에서 `Config`, `TextMap`, `ExcelBin` 폴더를 다운로드하여 리소스 폴더에 넣습니다.
|
||||||
|
4. [https://gitlab.com/Melledy/LunarCore-Configs](https://gitlab.com/Melledy/LunarCore-Configs) 에서 `Config` 폴더를 다운로드하여 리소스 폴더에 넣습니다. 시스템에서 요청하는 파일을 모두 교체하세요. 이 파일들은 월드 스폰을 위한 것으로 서버에 매우 중요합니다.
|
||||||
|
5. 시스템 터미널에서 `java -jar LunarCore.jar`로 서버를 실행합니다. Lunar Core에는 데이터베이스를 위한 내부 MongoDB 서버가 내장되어 있으므로 Mongodb를 설치할 필요가 없습니다. 하지만 어쨌든 Mongodb를 설치하는 것을 적극 권장합니다.
|
||||||
|
6. 설정에서 `autoCreateAccount`가 true로 설정되어 있으면 계정 생성을 건너뛸 수 있습니다. 그렇지 않은 경우 서버 콘솔에서 `/account` 명령을 사용하여 계정을 생성합니다.
|
||||||
|
|
||||||
|
### 클라이언트와 연결하기(피들러)
|
||||||
|
1. **게임 데이터를 다운로드하려면 클라이언트로 공식 서버와 호오버스 계정에 한 번 이상 로그인합니다.
|
||||||
|
2. [Fiddler Classic](https://www.telerik.com/fiddler) 을 설치하여 실행합니다.
|
||||||
|
3. 피들러가 https 트래픽을 복호화하도록 설정합니다. (도구 -> 옵션 -> HTTPS -> HTTPS 트래픽 복호화) '서버 인증서 오류 무시'도 체크되어 있는지 확인합니다.
|
||||||
|
4. 피들러 클래식의 피들러스크립트 탭에 다음 코드를 복사하여 붙여넣습니다:
|
||||||
|
|
||||||
|
```
|
||||||
|
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.host = "localhost"; // 이 주소는 다른 IP 주소로 대체할 수도 있습니다.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
5. 계정 이름으로 로그인하며, 비밀번호는 아무거나 설정할 수 있습니다.
|
||||||
|
|
||||||
|
### 서버 명령
|
||||||
|
서버 명령은 서버 콘솔이나 게임 내에서 실행할 수 있습니다. 모든 플레이어의 친구 목록에 "서버"라는 이름의 더미 사용자가 있으며, 이 사용자에게 게임 내 명령을 사용하도록 메시지를 보낼 수 있습니다.
|
||||||
|
|
||||||
|
```
|
||||||
|
/account {create | delete} [username] (reserved player uid). 계정을 만들거나 삭제합니다.
|
||||||
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). 현재 아바타의 속성을 설정합니다.
|
||||||
|
/clear {relics | lightcones | materials | items}. 플레이어 인벤토리에서 필터링된 아이템을 제거합니다.
|
||||||
|
/gender {male | female}. 플레이어 성별을 설정합니다.
|
||||||
|
/give [item id] x[amount] lv[number]. 대상 플레이어에게 아이템을 부여합니다.
|
||||||
|
/giveall {materials | avatars | lightcones | relics}. 대상 플레이어에게 아이템을 부여합니다.
|
||||||
|
/heal. 아바타를 치료합니다.
|
||||||
|
/help. 사용 가능한 명령 목록을 표시합니다.
|
||||||
|
/kick @[player id]. 플레이어를 서버에서 내쫓습니다.
|
||||||
|
/mail [content]. 대상 플레이어에게 시스템 메일을 보냅니다.
|
||||||
|
/permission {add | remove | clear} [permission]. 대상 플레이어에게 권한을 부여/제거합니다.
|
||||||
|
/refill. 오픈 월드에서 스킬 포인트를 다시 채웁니다.
|
||||||
|
/reload. 서버 구성을 다시 로드합니다.
|
||||||
|
/scene [scene id] [floor id]. 플레이어를 지정된 장면으로 순간이동시킵니다.
|
||||||
|
/spawn [monster/prop id] x[amount] s[stage id]. 대상 플레이어 근처에 몬스터나 소품을 스폰합니다.
|
||||||
|
/unstuck @[player id]. 오프라인 플레이어가 로딩되지 않는 장면에 있을 경우 플레이어를 고정 해제합니다.
|
||||||
|
/worldlevel [world level]. 대상 플레이어의 평형 레벨을 설정합니다.
|
||||||
|
```
|
||||||
83
docs/README_ru-RU.md
Normal file
83
docs/README_ru-RU.md
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
|
|
||||||
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
|
|
||||||
|
**Внимание:** Для получения дополнительной поддержки, вопросов или обсуждений заходите на наш [Discord](https://discord.gg/cfPKJ6N5hw).
|
||||||
|
|
||||||
|
### Примечательные особенности
|
||||||
|
- Основные возможности игры: Вход в игру, настройка команды, инвентарь, базовое управление сценой/содержимым
|
||||||
|
- Работают сражения с монстрами
|
||||||
|
- Спавны монстров/природы/NPC в естественном мире
|
||||||
|
- Работает большинство техник персонажей
|
||||||
|
- Работают магазины Npc
|
||||||
|
- Система гача
|
||||||
|
- Почтовая система
|
||||||
|
- Система друзей (помощники пока не работают)
|
||||||
|
- Забытый зал (с функциями 1.4.0)
|
||||||
|
- Симулированная вселенная (Запуск может быть закончен, но многие функции отсутствуют)
|
||||||
|
|
||||||
|
# Запуск сервера и клиента
|
||||||
|
|
||||||
|
### Необходимые условия
|
||||||
|
* [Java 17 JDK](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||||
|
|
||||||
|
### Рекомендуем
|
||||||
|
* [MongoDB 4.0+](https://www.mongodb.com/try/download/community)
|
||||||
|
|
||||||
|
Компиляция сервера
|
||||||
|
1. Откройте системный терминал и скомпилируйте сервер с помощью `./gradlew jar`.
|
||||||
|
2. Создайте папку с именем `resources` в каталоге сервера.
|
||||||
|
3. Скачайте папки `Config`, `TextMap` и `ExcelBin` с сайта [https://github.com/Dimbreath/StarRailData](https://github.com/Dimbreath/StarRailData) и поместите их в папку resources.
|
||||||
|
4. Скачайте папку `Config` с сайта [https://gitlab.com/Melledy/LunarCore-Configs](https://gitlab.com/Melledy/LunarCore-Configs) и поместите ее в папку resources. Замените все файлы, которые запрашивает ваша система. Они предназначены для спавна мира и очень важны для сервера.
|
||||||
|
5. Запустите сервер с помощью команды `java -jar LunarCore.jar` из системного терминала. Lunar Core поставляется со встроенным внутренним сервером MongoDB для своей базы данных, поэтому установка Mongodb не требуется. Однако настоятельно рекомендуется установить Mongodb в любом случае.
|
||||||
|
6. Если в конфиге `autoCreateAccount` установлено значение true, то создание учетной записи можно пропустить. В противном случае используйте команду `/account` в консоли сервера для ее создания.
|
||||||
|
|
||||||
|
### Подключение к клиенту (Fiddler)
|
||||||
|
1. **Войдите с клиентом на официальный сервер и в аккаунт Hoyoverse хотя бы один раз, чтобы загрузить игровые данные**.
|
||||||
|
2. Установите и запустите [Fiddler Classic](https://www.telerik.com/fiddler).
|
||||||
|
3. Настройте fiddler на расшифровку https-трафика. (Tools -> Options -> HTTPS -> Decrypt HTTPS traffic) Убедитесь, что `ignore server certificate errors` также отмечен.
|
||||||
|
4. Скопируйте и вставьте следующий код во вкладку Fiddlerscript в Fiddler Classic:
|
||||||
|
|
||||||
|
```
|
||||||
|
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.host = "localhost"; // Его также можно заменить другим IP-адресом.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Войдите в систему под своим именем, пароль может быть любым.
|
||||||
|
|
||||||
|
### Команды сервера
|
||||||
|
Команды сервера можно выполнять в консоли сервера или в игре. В списке друзей каждого игрока есть фиктивный пользователь с именем "Сервер", которому можно написать сообщение, чтобы использовать внутриигровые команды.
|
||||||
|
|
||||||
|
```
|
||||||
|
/account {create | delete} [username] (reserved player uid). Создает или удаляет учетную запись.
|
||||||
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). Устанавливает свойства текущего аватара.
|
||||||
|
/clear {relics | lightcones | materials | items}. Удаляет отфильтрованные предметы из инвентаря игрока.
|
||||||
|
/gender {male | female}. Устанавливает пол игрока.
|
||||||
|
/give [item id] x[amount] lv[number]. Дает целевому игроку предмет.
|
||||||
|
/giveall {materials | avatars | lightcones | relics}. Дает целевому игроку предметы.
|
||||||
|
/heal. Лечит ваши аватары.
|
||||||
|
/help. Отображает список доступных команд.
|
||||||
|
/kick @[player id]. Выгоняет игрока с сервера.
|
||||||
|
/mail [content]. Отправляет целевому игроку системное письмо.
|
||||||
|
/permission {add | remove | clear} [permission]. Дает/снимает разрешение с выбранного игрока.
|
||||||
|
/refill. Пополнение очков навыков в открытом мире.
|
||||||
|
/reload. Перезагружает конфигурацию сервера.
|
||||||
|
/scene [scene id] [floor id]. Телепортирует игрока в указанную сцену.
|
||||||
|
/spawn [monster/prop id] x[amount] s[stage id]. Порождает монстра или реквизит рядом с игроком.
|
||||||
|
/unstuck @[player id]. Отключает оффлайн-игрока, если он находится в сцене, которая не загружается.
|
||||||
|
/worldlevel [world level]. Устанавливает равновесный уровень целевого игрока.
|
||||||
|
```
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
# Lunar Core
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
**_Language_**
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
[EN](README.md) | [简体中文](README_zh-CN.md) | [繁體中文](README_zh-TW.md) | [日本語](README_ja-JP.md)
|
|
||||||
|
|
||||||
#
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
出于研究目的的某个回合制动漫游戏的1.5.0版本服务端的重新实现。如果需要任何额外的支持、问题或者讨论,请查看我们的[discord](https://discord.gg/cfPKJ6N5hw).
|
|
||||||
|
**注意:** 如果需要任何额外的支持、问题或者讨论,请查看我们的 [Discord](https://discord.gg/cfPKJ6N5hw).
|
||||||
|
|
||||||
### 显著特点
|
### 显著特点
|
||||||
- 基本游戏功能:登录、队伍配置、背包、基本场景/实体管理
|
- 基本游戏功能:登录、队伍配置、背包、基本场景/实体管理
|
||||||
@@ -64,17 +65,20 @@ class Handlers
|
|||||||
|
|
||||||
```
|
```
|
||||||
/account {create | delete} [username] (保留玩家uid). 创建或删除一个帐户。
|
/account {create | delete} [username] (保留玩家uid). 创建或删除一个帐户。
|
||||||
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). 设置当前角色的属性
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels). 设置当前角色的属性。
|
||||||
/clear {relics | lightcones | materials | items}. 从玩家库存中删除过滤的物品。
|
/clear {relics | lightcones | materials | items}. 从玩家库存中删除过滤的物品。
|
||||||
/gender {male | female}. 设置玩家性别。
|
/gender {male | female}. 设置玩家性别。
|
||||||
/give [item id] x[amount]. 给予目标玩家一个物品。
|
/give [item id] x[amount] lv[number]. 给予目标玩家一个物品。
|
||||||
/giveall {materials | avatars}. 给予目标玩家物品。
|
/giveall {materials | avatars}. 给予目标玩家物品。
|
||||||
|
/heal. 治疗你的角色。
|
||||||
/help 显示可用命令列表。
|
/help 显示可用命令列表。
|
||||||
|
/kick @[player id]. 将一名玩家踢出服务器。
|
||||||
/mail [content]. 发送系统邮件给目标玩家。
|
/mail [content]. 发送系统邮件给目标玩家。
|
||||||
/permission {add | remove | clear} [permission]. 向目标玩家授予/移除权限。
|
/permission {add | remove | clear} [permission]. 向目标玩家授予/移除权限。
|
||||||
|
/refill. 在开放世界中补充战技点。
|
||||||
/reload. 重载服务器配置。
|
/reload. 重载服务器配置。
|
||||||
/scene [scene id] [floor id]. 将玩家传送到指定的场景。
|
/scene [scene id] [floor id]. 将玩家传送到指定的场景。
|
||||||
/spawn [monster/prop id] x[amount] s[stage id]. 在目标玩家附近生成怪物或道具。
|
/spawn [monster/prop id] x[amount] s[stage id]. 在目标玩家附近生成怪物或道具。
|
||||||
/unstuck @[player id]. 如果离线玩家卡在不加载的场景中,解除卡住。
|
/unstuck @[player id]. 如果离线玩家卡在不加载的场景中,解除卡住。
|
||||||
/worldlevel [world level]. 设置目标玩家的平衡等级。
|
/worldlevel [world level]. 设置目标玩家的均衡等级。
|
||||||
```
|
```
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
# Lunar Core
|

|
||||||
|
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
|
||||||
|
|
||||||
**_Language_**
|
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - Grasscutter" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>
|
||||||
[EN](README.md) | [简体中文](README_zh-CN.md) | [繁體中文](README_zh-TW.md) | [日本語](README_ja-JP.md)
|
|
||||||
|
|
||||||
#
|
[EN](README.md) | [简中](docs/README_zh-CN.md) | [繁中](docs/README_zh-TW.md) | [JP](docs/README_ja-JP.md) | [RU](docs/README_ru-RU.md) | [FR](docs/README_fr-FR.md) | [KR](docs/README_ko-KR.md)
|
||||||
出於教育目的的某一個回合制不知名動漫遊戲1.5.0版本伺服器端的逆向工程。如果需要任何額外的支持、問題或者討論,請查看我們的[Discord](https://discord.gg/cfPKJ6N5hw)。
|
|
||||||
|
**請注意:** 如果需要任何額外的支持、問題或者討論,請查看我們的 [Discord](https://discord.gg/cfPKJ6N5hw).
|
||||||
|
|
||||||
### 當前功能
|
### 當前功能
|
||||||
- 基本遊戲功能:登錄、隊伍配置、背包、基本場景/實體管理
|
- 基本遊戲功能:登錄、隊伍配置、背包、基本場景/實體管理
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
3. 將Fiddler設置為解密https流量(工具 -> 選項 -> HTTPS -> 解密HTTPS流量),確保選中 `忽略伺服器證書錯誤 (Ignore server certificate errors)`。
|
3. 將Fiddler設置為解密https流量(工具 -> 選項 -> HTTPS -> 解密HTTPS流量),確保選中 `忽略伺服器證書錯誤 (Ignore server certificate errors)`。
|
||||||
4. 將以下代碼複製並黏貼到Fiddler Classic的Fiddlerscript選項卡中:
|
4. 將以下代碼複製並黏貼到Fiddler Classic的Fiddlerscript選項卡中:
|
||||||
|
|
||||||
```javascript
|
```
|
||||||
import System;
|
import System;
|
||||||
import System.Windows.Forms;
|
import System.Windows.Forms;
|
||||||
import Fiddler;
|
import Fiddler;
|
||||||
@@ -49,11 +50,11 @@ import System.Text.RegularExpressions;
|
|||||||
|
|
||||||
class Handlers
|
class Handlers
|
||||||
{
|
{
|
||||||
static function OnBeforeRequest(oS: Session) {
|
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")) {
|
if (oS.host.EndsWith(".starrails.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com") || oS.host.EndsWith(".bhsr.com")) {
|
||||||
oS.host = "localhost"; // 這也可以替換為其他IP位址。
|
oS.host = "localhost"; // 這也可以替換為其他IP位址。
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -67,11 +68,14 @@ oS.host = "localhost"; // 這也可以替換為其他IP位址。
|
|||||||
/avatar lv(level) p(ascension) r(eidolon) s(skill levels) 設置當前角色的屬性。
|
/avatar lv(level) p(ascension) r(eidolon) s(skill levels) 設置當前角色的屬性。
|
||||||
/clear {relics | lightcones | materials | items} 從玩家庫存中刪除過濾的物品。
|
/clear {relics | lightcones | materials | items} 從玩家庫存中刪除過濾的物品。
|
||||||
/gender {male | female} 設置目標玩家性別。
|
/gender {male | female} 設置目標玩家性別。
|
||||||
/give [item id] x[amount] 給予目標玩家指定物品。
|
/give [item id] x[amount] lv[number] 給予目標玩家指定物品。
|
||||||
/giveall {materials | avatars} 給予目標玩家所有物品/角色。
|
/giveall {materials | avatars} 給予目標玩家所有物品/角色。
|
||||||
|
/heal. 治癒你的角色。
|
||||||
/help 顯示可用命令列表。
|
/help 顯示可用命令列表。
|
||||||
|
/kick @[player id]. 將一名玩家踢出伺服器。
|
||||||
/mail [content] 發送系統郵件給目標玩家。
|
/mail [content] 發送系統郵件給目標玩家。
|
||||||
/permission {add | remove | clear} [permission] 向目標玩家授予/移除權限。
|
/permission {add | remove | clear} [permission] 向目標玩家授予/移除權限。
|
||||||
|
/refill. 在開放世界中補充戰技點。
|
||||||
/reload 重載伺服器配置。
|
/reload 重載伺服器配置。
|
||||||
/scene [scene id] [floor id] 將玩家傳送到指定的場景。
|
/scene [scene id] [floor id] 將玩家傳送到指定的場景。
|
||||||
/spawn [monster/prop id] x[amount] s[stage id] 在目標玩家附近生成怪物或實體。
|
/spawn [monster/prop id] x[amount] s[stage id] 在目標玩家附近生成怪物或實體。
|
||||||
Reference in New Issue
Block a user