2025.07.07

This commit is contained in:
fatiao 2025-07-07 16:29:04 +08:00
parent 275fa7dc2b
commit 14874bfdbb
20 changed files with 104 additions and 41 deletions

Binary file not shown.

Binary file not shown.

View File

@ -8,4 +8,4 @@ server:
logfile: ../../logs
loglevel: 1
concern: [game]
etcdaddr: 127.0.0.1:2479
etcdaddr: 127.0.0.1:2379

View File

@ -0,0 +1,26 @@
Slot Id,Slot类型,基础权重,坐庄权重,动态权重,提示
Id,SlotTypes,Rate,Z_Rate,D_Rate,Tips
int,list,int,int,int,string
1,1,180,0,0,small apple
2,2,180,0,0,small orange
3,3,180,0,0,small papaya
4,4,180,0,0,small bell
5,5,180,0,0,small watermelon
6,6,180,0,0,small star
7,7,180,0,0,small 77
8,8,20,0,10,small BAR
9,9,240,0,60,big apple
10,10,120,0,30,big orange
11,11,80,0,20,big papaya
12,12,60,0,15,big bell
13,13,60,0,15,big watermelon
14,14,40,0,10,big star
15,15,30,0,7,big 77
16,16,10,0,3,big BAR
100,9;10;11;12;13;14;15;8;16,30,0,10,left bonus
101,9;10;11;12;13;14;15;8;16,30,0,10,right bonus
102,1;2;3;4;5;6;7,30,0,50,small ManGuan
103,9;9;9;9,30,0,40,big SiXi
104,10;11;12,30,0,30,small SanYuan
105,13;14;15,30,0,10,big SanYuan
106,9;10;11;12;13;14;15,30,0,5,big ManGuan
1 Slot Id Slot类型 基础权重 坐庄权重 动态权重 提示
2 Id SlotTypes Rate Z_Rate D_Rate Tips
3 int list int int int string
4 1 1 180 0 0 small apple
5 2 2 180 0 0 small orange
6 3 3 180 0 0 small papaya
7 4 4 180 0 0 small bell
8 5 5 180 0 0 small watermelon
9 6 6 180 0 0 small star
10 7 7 180 0 0 small 77
11 8 8 20 0 10 small BAR
12 9 9 240 0 60 big apple
13 10 10 120 0 30 big orange
14 11 11 80 0 20 big papaya
15 12 12 60 0 15 big bell
16 13 13 60 0 15 big watermelon
17 14 14 40 0 10 big star
18 15 15 30 0 7 big 77
19 16 16 10 0 3 big BAR
20 100 9;10;11;12;13;14;15;8;16 30 0 10 left bonus
21 101 9;10;11;12;13;14;15;8;16 30 0 10 right bonus
22 102 1;2;3;4;5;6;7 30 0 50 small ManGuan
23 103 9;9;9;9 30 0 40 big SiXi
24 104 10;11;12 30 0 30 small SanYuan
25 105 13;14;15 30 0 10 big SanYuan
26 106 9;10;11;12;13;14;15 30 0 5 big ManGuan

View File

@ -0,0 +1,11 @@
slot类型,开销
Id,Cost
int,int
1,1000
2,1000
3,1000
4,1000
5,1000
6,1000
7,1000
8,1000
1 slot类型 开销
2 Id Cost
3 int int
4 1 1000
5 2 1000
6 3 1000
7 4 1000
8 5 1000
9 6 1000
10 7 1000
11 8 1000

View File

@ -0,0 +1,19 @@
Slot类型,Slot集合,倍数,押注类型,提示
Id,Slots,Times,BetType,Tips
int,list,int,int,string
1,6,2,1,small apple
2,12,2,2,small orange
3,24,2,3,small papaya
4,18,2,4,small bell
5,9,2,5,small watermelon
6,21,2,6,small star
7,15,2,7,small 77
8,3,60,8,small BAR
9,5;11;17;23,5,1,big apple
10,1;13,10,2,big orange
11,2;14,15,3,big papaya
12,7;19,20,4,big bell
13,8,20,5,big watermelon
14,20,30,6,big star
15,16,40,7,big 77
16,4,120,8,big BAR
1 Slot类型 Slot集合 倍数 押注类型 提示
2 Id Slots Times BetType Tips
3 int list int int string
4 1 6 2 1 small apple
5 2 12 2 2 small orange
6 3 24 2 3 small papaya
7 4 18 2 4 small bell
8 5 9 2 5 small watermelon
9 6 21 2 6 small star
10 7 15 2 7 small 77
11 8 3 60 8 small BAR
12 9 5;11;17;23 5 1 big apple
13 10 1;13 10 2 big orange
14 11 2;14 15 3 big papaya
15 12 7;19 20 4 big bell
16 13 8 20 5 big watermelon
17 14 20 30 6 big star
18 15 16 40 7 big 77
19 16 4 120 8 big BAR

View File

@ -0,0 +1,8 @@
大奖类型,slot集合,基础权重,坐庄权重,动态权重,提示
Id,SlotType,Rate,Z_Rate,D_Rate,Tips
int,list,int,int,int,string
101,1;2;3;4;5;6;7,6000,6000,100,small ManGuan
102,9;9;9;9,1300,1300,30,big SiXi
103,10;11;12,1000,1600,30,small SanYuan
104,13;14;15,600,800,20,big SanYuan
105,9;10;11;12;13;14;15,400,500,20,big ManGuan
1 大奖类型 slot集合 基础权重 坐庄权重 动态权重 提示
2 Id SlotType Rate Z_Rate D_Rate Tips
3 int list int int int string
4 101 1;2;3;4;5;6;7 6000 6000 100 small ManGuan
5 102 9;9;9;9 1300 1300 30 big SiXi
6 103 10;11;12 1000 1600 30 small SanYuan
7 104 13;14;15 600 800 20 big SanYuan
8 105 9;10;11;12;13;14;15 400 500 20 big ManGuan

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,25 @@
#服务器都对内监听处理(处理服务器之间的连接)
#loglevel
# Debug 1
# Info 2
# Warning 3
# Error 4
# Fatal 5
# 服务器类型节点Type:[1 gate] [2 game] [3 db] [4 auth] [5 social chat mail] [10 map] [12 pve] [13 boss]
server:
- node:
nodename: fruit
addr: 0.0.0.0:51601
type: 16
id: 1
zone: 1
logfile: ../../logs
loglevel: 1
config: ./config
etcdaddr: 127.0.0.1:2379
concern: [game]
#处理redis连接使用
db:
redisaddr: [127.0.0.1:6379]
password: Luna2024!
dbindex: 2

View File

@ -1,29 +0,0 @@
serverlist:
eng: [{serverid: 3, servername: LUNA内网欧美测试服, ip: 112.124.14.60, port: [9010], type: 0, stime: "2022-11-14 12:00:00", timezone : utc-4, state: 0, invisible: 0},
{serverid: 2001, servername: LUNA欧美线上测试服, ip: 112.124.14.60, port: [9001], type: 0, stime: "2023-03-28 12:00:00", timezone : utc-4, state: 0, invisible: 0}]
asia: [{serverid: 3999, servername: LUNA亚服线上测试服, ip: 112.124.14.60, port: [9001], type: 0, stime: "2022-11-14 12:00:00", timezone : utc+8, state: 0, invisible: 0}]
whitelist:
ip:
- 124.78.73.235
openid:
- "123123213"
- dfsdfdf
- 1
blackplatformlist:
update_info:
version: 1.2.0
platform_url: [ { platform: android, url: https://play.google.com/store/apps/details?id=com.mujoysg.luna},
{ platform: ios,url: "https://apps.apple.com/app/id6451477771"} ]
notice_info: [ {region: "eng",url: "https://testnotice-luna-wt.wtgames.cn/v3/notice"},
{region: "asia",url: "https://luna-asia-notice.wtgames.cn:8001/v3/notice"}]
blacklist:
ip:
- 192.168.11
serverlist: {serverid: 1500, servername: 香草大陸, ip: 35.77.151.60, port: [9001], type: 0, stime: "2021-01-01 12:00:00", state: 0, invisible: 0}
shenheversion:

View File

@ -1,35 +1,38 @@
#SCRIPT_ROOT=$(cd "$(dirname "$0")"; pwd)
#cd ${SCRIPT_ROOT}/../run
cd run
pgrep -f "./linux/serverlist" | xargs kill
pgrep -f "./linux/serverlist" | xargs -r kill
nohup ./linux/serverlist -config ../run_config/serverlist_config.yaml -server serverlist > /dev/null 2>&1 &
pgrep -f "./linux/gate" | xargs kill
pgrep -f "./linux/gate" | xargs -r kill
nohup ./linux/gate -config ../run_config/gate_config.yaml -server gate1 > /dev/null 2>&1 &
pgrep -f "./linux/game" | xargs kill
pgrep -f "./linux/game" | xargs -r kill
nohup ./linux/game -config ../run_config/game_config.yaml -server game1 > /dev/null 2>&1 &
pgrep -f "./linux/auth" | xargs kill
pgrep -f "./linux/auth" | xargs -r kill
nohup ./linux/auth -config ../run_config/auth_config.yaml -server auth1 > /dev/null 2>&1 &
pgrep -f "./linux/social" | xargs kill
pgrep -f "./linux/social" | xargs -r kill
nohup ./linux/social -config ../run_config/social_config.yaml -server social1 > /dev/null 2>&1 &
pgrep -f "./linux/db" | xargs kill
pgrep -f "./linux/fruit" | xargs -r kill
nohup ./linux/fruit -config ../run_config/fruit_config.yaml -server fruit1 > /dev/null 2>&1 &
pgrep -f "./linux/db" | xargs -r kill
nohup ./linux/db -config ../run_config/db_config.yaml -server db1 > /dev/null 2>&1 &
pgrep -f "./linux/battleboss" | xargs kill
pgrep -f "./linux/battleboss" | xargs -r kill
nohup ./linux/battleboss -config ../run_config/battleboss_config.yaml -server battleboss > /dev/null 2>&1 &
pgrep -f "./linux/battlerecord" | xargs kill
pgrep -f "./linux/battlerecord" | xargs -r kill
nohup ./linux/battlerecord -config ../run_config/battlerecord_config.yaml -server battlerecord > /dev/null 2>&1 &
pgrep -f "./linux/guild" | xargs kill
pgrep -f "./linux/guild" | xargs -r kill
nohup ./linux/guild -config ../run_config/guild_config.yaml -server guild > /dev/null 2>&1 &
pgrep -f "./linux/rank" | xargs kill
pgrep -f "./linux/rank" | xargs -r kill
nohup ./linux/rank -config ../run_config/rank_config.yaml -server rank > /dev/null 2>&1 &
pgrep -f "./linux/gmweb" | xargs kill
pgrep -f "./linux/gmweb" | xargs -r kill
nohup ./linux/gmweb -config ../run_config/gmweb_config.yaml -server gmweb > /dev/null 2>&1 &