cbw185729109 发表于 2025-9-27 06:09:56

404420 发表于 2025-9-8 20:27
恢复了

能再分享一下吗 哥

cbw185729109 发表于 2025-9-27 06:12:19

404420 发表于 2025-8-22 17:12
..................................

能再分享一下吗 哥

cs16 发表于 2025-10-4 01:07:09

请问如何删除游戏玩家和角色?

pefami 发表于 2025-10-22 17:37:42

合服成功了,但是登录列表那里看不到合服后的区是怎么回事?

xjsxjs 发表于 2025-11-1 22:50:45

合服成功了,但是登录列表那里看不到合服后的区是怎么回事?
我也是这个问题,有厉害大牛知道怎么解决吗?

qiuyu123@ 发表于 7 天前

qq100711664 发表于 2025-7-14 16:46
楼主政务怎么修改啊能说下吗天天等麻烦要死

政务:finish_gtask

征税:estate_1

查找用户里面输入对应的ID然后进去搜索上面的内容,修改提交就行了

qiuyu123@ 发表于 7 天前

qym518680 发表于 2025-7-15 10:29
宝塔WWW文件里每天多出几个G的文件要怎么处理??玩几天硬盘就满了,就上不去了

在软件列表找到MySQL,进去后吧二进制日志关掉

qiuyu123@ 发表于 7 天前

合服成功了,但是打开后特别卡是为啥啊,咋解决

qiuyu123@ 发表于 6 天前

dalianmaozxc 发表于 2025-7-19 23:29
正好我也在研究合服,搞崩了几个朋友玩了20来天的服,目前重新架设中,哈哈哈哈。发神将觉醒我用了两个办法 ...

格式应该是这样['awaken', ['hero704'], '马云禄', '1'],

xxmaker 发表于 3 天前

有人会插旗修复吗

tomatoshixihong 发表于 昨天 16:17

本帖最后由 tomatoshixihong 于 2025-11-20 16:19 编辑

xxmaker 发表于 2025-11-18 14:09
有人会插旗修复吗
def get_buff_effect(self, buff_type, cid=None):
      """
      获取buff对应的效果
      """
      now = datetime.datetime.now()
      effect = 0
      gc = game_config.country
      if 'num' in gc:
            if not self.buffs1.has_key(buff_type):
                is_expire = True
            elif cid not in self.buffs1:
                is_expire = True
            elif now > self.buffs1+datetime.timedelta(minutes=gc['time']):
                is_expire = True
            else:
                is_expire = False
      else:
            if not self.buffs.has_key(buff_type):
                is_expire = True
            elif cid is not None and cid != self.buffs:
                is_expire = True
            elif now > self.buffs+datetime.timedelta(minutes=gc['time']):
                is_expire = True
            else:
                is_expire = False
      if not is_expire:
            if 'num' in gc:
                is_free = self.buffs1
            else:
                is_free = self.buffs
            if is_free:
                effect_value = game_config.country['effect_gratis']
                effect += 0 if isinstance(effect_value, str) else effect_value
            else:
                effect_value = game_config.country['effect_consume']
                effect += 1 if isinstance(effect_value, str) else effect_value

      return effect

server.py 文件里面搜索def get_buff_effect(self, buff_type, cid=None)。将这个替换掉就行了
页: 1 2 3 4 5 6 [7]
查看完整版本: 关于三国兵临天下合服,有一起研究的么

本站内容如若侵犯到您的权益,请来电来函告知,我们会尽快处理!
联系QQ:1953150286,2251387361,123784736,免责申明