lt há 2 semanas atrás
pai
commit
43ed2f7a17

+ 3 - 3
操作命令/三国合区保留区服.txt

@@ -1,6 +1,6 @@
 合区方法:
 1,redis中使用命令(举例:将10003的玩家合到10001)
-redis-cli -a "lVzYFQ2i6v" EVAL "local keys = redis.call('HKEYS', 'CUser_ServerId:'); local count = 0; for i,key in ipairs(keys) do if redis.call('HGET', 'CUser_ServerId:', key) == '10056' then redis.call('HSET', 'CUser_ServerId:', key, '10060'); count = count + 1; end; end; return count" 0
+redis-cli -a "tmKjD1ENs3HfZ7adzLJO!" EVAL "local keys = redis.call('HKEYS', 'CUser_ServerId:'); local count = 0; for i,key in ipairs(keys) do if redis.call('HGET', 'CUser_ServerId:', key) == '10031' then redis.call('HSET', 'CUser_ServerId:', key, '10026'); count = count + 1; end; end; return count" 0
 
 2,更新mongo中的x5_tk_login中的user_info中合服区的等级。
 // 更新服务器s1的玩家等级
@@ -45,9 +45,9 @@ db.getSiblingDB('m5_x1_game_10001').user.insertMany(
 
 另一中方式:
 先拷贝出来
-mongodump --uri='mongodb://admin:rimZBP82Ia@localhost:27017/m5_x1_game_10056?authSource=admin' --collection user --out /server/mongodb/
+mongodump --uri='mongodb://root:StrongMongoPass123@localhost:27017/m5_x1_game_10007?authSource=admin' --collection user --out /data/mongodb/
 再插入到目标数据库
-mongorestore --uri='mongodb://admin:rimZBP82Ia@localhost:27017/?authSource=admin' --db m5_x1_game_10060 --collection user /server/mongodb/m5_x1_game_10056/user.bson
+mongorestore --uri='mongodb://root:StrongMongoPass123@localhost:27017/?authSource=admin' --db m5_x1_game_10001 --collection user /data/mongodb/m5_x1_game_10002/user.bson
 
 db.getSiblingDB('m5_x1_game_10001').guildInfo.insertMany(
     db.getSiblingDB('m5_x1_game_10003').guildInfo.find().toArray(),

+ 6 - 0
操作命令/仙境服务器2.txt

@@ -63,6 +63,12 @@ ip 43.156.13.116
  username: mehl036k
  password: e667bc8b
 
+新俄服
+初心者大冒险-正式服-1
+ip 162.62.223.162
+用户名 root
+密码 XWiZLln6e7kd@123
+
 新aa
 root
 128.14.226.105_66067814.ipssh.net

+ 1 - 1
操作命令/开服流程.txt

@@ -7,7 +7,7 @@ ro开启新服打开支付
 http://43.156.13.116:8086/v1/pay/openServer?sid=1&name=1%E5%8C%BA&time=2025-11-20%2012:00:00&gameid=119&signkey=92ddb83717ed91bb555dc894c06c110e
 
 
-echo "cd /data2/java/gameserver1-01 && ./run.sh start" | at 9:00 2026-04-28
+echo "cd /data2/java/gameserver1-07 && ./run.sh start" | at 9:00 2026-04-29
 docker exec -it <容器名或ID> /bin/bash
 
 redis-cli -a tmKjD1ENs3HfZ7adzLJO! KEYS "10001:VirtualBattle_SELF_RECORD:*" | xargs redis-cli -a tmKjD1ENs3HfZ7adzLJO! DEL