修复BOSS查询

This commit is contained in:
Admin 2026-06-18 14:01:18 +08:00
parent b6387b7796
commit bf179f1c8a
13 changed files with 8802 additions and 8704 deletions

6
.gitignore vendored
View file

@ -6,7 +6,7 @@ Mirserver/Mir200/Log
Mirserver/RunGate/Log Mirserver/RunGate/Log
Mirserver/Log Mirserver/Log
Mirserver/Mir200/UserData
client/996M2资源集成工具 client/996M2资源集成工具
client/cache client/cache
@ -23,3 +23,7 @@ client/dev/scripts/game_config/cfg_att_score.lua
Mirserver/Mir200/!Setup.txt Mirserver/Mir200/!Setup.txt
client/dev/scripts/game_config/cfg_equip.lua client/dev/scripts/game_config/cfg_equip.lua
client/dev/scripts/game_config/cfg_npclist.lua client/dev/scripts/game_config/cfg_npclist.lua
Mirserver/Mir200/!Setup.txt
Mirserver/DBServer/dbsrc.ini
client/env.json

View file

@ -3,7 +3,7 @@ ServerName=996Mir
ServerAddr=127.0.0.1 ServerAddr=127.0.0.1
GatePort=7200 GatePort=7200
GateAddr=127.0.0.1 GateAddr=127.0.0.1
ServerPath=E:\传奇版本\bayuMir\Mirserver\DBServer\ ServerPath=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\DBServer\
plateformid=1881 plateformid=1881
DynamicIPMode=0 DynamicIPMode=0
Attack=0 Attack=0
@ -28,12 +28,12 @@ ServerID=1881
ServerType=0 ServerType=0
[DBSetup] [DBSetup]
HeroDBName=box HeroDBName=box_6
SQLIP=127.0.0.1 SQLIP=10.10.10.1
SQLUSERNAME=sa SQLUSERNAME=sa
SQLPASSWORD=www.996m2.com SQLPASSWORD=www.996m2.com
SQLPORT=1433 SQLPORT=1433
[DB] [DB]
LogDir=E:\传奇版本\bayuMir\Mirserver\DBServer\\Log\ LogDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\DBServer\\Log\

View file

@ -221,18 +221,18 @@ BoneKingMonster1=BoneCaptain
BoneKingMonster2=BoneArcher BoneKingMonster2=BoneArcher
BoneKingMonster3=BoneSpearman BoneKingMonster3=BoneSpearman
[Share] [Share]
BaseDir=E:\传奇版本\bayuMir\Mirserver\Mir200\share\ BaseDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\share\
GuildDir=E:\传奇版本\bayuMir\Mirserver\Mir200\GuildBase\Guilds\ GuildDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\GuildBase\Guilds\
GuildFile=E:\传奇版本\bayuMir\Mirserver\Mir200\ShareV\ GuildFile=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\ShareV\
VentureDir=d:\Mirserver11\Mir200\ShareV\ VentureDir=d:\Mirserver11\Mir200\ShareV\
ConLogDir=E:\传奇版本\bayuMir\Mirserver\Mir200\ConLogDir\ ConLogDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\ConLogDir\
CastleDir=E:\传奇版本\bayuMir\Mirserver\Mir200\Castle\ CastleDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\Castle\
EnvirDir=E:\传奇版本\bayuMir\Mirserver\Mir200\Envir\ EnvirDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\Envir\
MapDir=E:\传奇版本\bayuMir\Mirserver\Mir200\map\ MapDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\map\
NoticeDir=E:\传奇版本\bayuMir\Mirserver\Mir200\Notice\ NoticeDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\Notice\
PlugDir=.\ PlugDir=.\
LogDir=E:\传奇版本\bayuMir\Mirserver\Mir200\Log\ LogDir=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\Log\
CastleFile=E:\传奇版本\bayuMir\Mirserver\Mir200\Castle\List.txt CastleFile=F:\°ËÓò¹¥ËÙ\bayuMir\Mirserver\Mir200\Castle\List.txt
PayMentPointName=秒卡点 PayMentPointName=秒卡点
ChatDir=.\ChatLog\ ChatDir=.\ChatLog\
GameGold=人民币 GameGold=人民币

View file

@ -0,0 +1,68 @@
-- cfg_行会召唤地图令牌
local config = {
[3] = {
npcid = 0,
cost = {},
},
["圣域"] = {
npcid = 0,
cost = {},
},
["赤月深处"] = {
npcid = 0,
cost = {},
},
["沃玛一层"] = {
npcid = 0,
cost = {},
},
["沃玛二层"] = {
npcid = 0,
cost = {},
},
["祖玛四层"] = {
npcid = 0,
cost = {},
},
["祖玛五层"] = {
npcid = 0,
cost = {},
},
["蜈蚣洞"] = {
npcid = 0,
cost = {},
},
["死亡棺材"] = {
npcid = 0,
cost = {},
},
["僵尸洞穴"] = {
npcid = 0,
cost = {},
},
["霸者大厅"] = {
npcid = 0,
cost = {},
},
["封魔殿"] = {
npcid = 0,
cost = {},
},
["卧龙山庄"] = {
npcid = 0,
cost = {},
},
["奴隶山谷"] = {
npcid = 0,
cost = {},
},
["海外仙岛"] = {
npcid = 0,
cost = {},
},
["神龙帝国"] = {
npcid = 0,
cost = {},
},
}
return config

View file

@ -47,7 +47,7 @@ function BOSSqueryOBJ:reloadBossCache()
name = info.name, name = info.name,
level = info.level or "S¼¶", level = info.level or "S¼¶",
alive = alive, alive = alive,
reviveStamp = (not alive and respawnTime > 0) and (os.time() + respawnTime) or 0, reviveStamp = (not alive and respawnTime > 0 and respawnTime < 99999999) and (os.time() + respawnTime) or 0,
appr = info.Appr or 0, appr = info.Appr or 0,
}) })
end end

View file

@ -490,12 +490,17 @@ end
function goto_hanghui(actor, mapid, x, y) function goto_hanghui(actor, mapid, x, y)
Func.sendmsg9(actor, "[提示]:#70|正在前往行会召集令指定位置...") Func.sendmsg9(actor, "[提示]:#70|正在前往行会召集令指定位置...")
MapCfg.gotomap(actor, mapid, x, y,5) MapCfg.gotomap(actor, mapid, x, y,5)
end end
function ClickOnItem:trigger(actor, item) function ClickOnItem:trigger(actor, item)
local item_name = Item.GetNameByObj(actor, item) local item_name = Item.GetNameByObj(actor, item)
local func = self.cfg[item_name] local func = self.cfg[item_name]

View file

@ -118,6 +118,7 @@ function PlayerLogin:Login(actor)
end end
end end
GameEvent.add(EventCfg.onLogin, function(actor) GameEvent.add(EventCfg.onLogin, function(actor)
PlayerLogin:Login(actor) PlayerLogin:Login(actor)
end, PlayerLogin, 1) end, PlayerLogin, 1)

View file

@ -158,6 +158,8 @@ function BOSSqueryOBJ:buildCell(cellParent, item)
GUI:setAnchorPoint(text_refresh, 0.00, 0.50) GUI:setAnchorPoint(text_refresh, 0.00, 0.50)
GUI:Text_enableOutline(text_refresh, "#000000", 1) GUI:Text_enableOutline(text_refresh, "#000000", 1)
SL:dump(item.respawnTime)
-- 倒计时 -- 倒计时
local text_countdown = GUI:Text_Create(cell_bg, "text_countdown_" .. item.idx, 276, 28, 15, "#FFCC00", "") local text_countdown = GUI:Text_Create(cell_bg, "text_countdown_" .. item.idx, 276, 28, 15, "#FFCC00", "")
GUI:setAnchorPoint(text_countdown, 0.00, 0.50) GUI:setAnchorPoint(text_countdown, 0.00, 0.50)

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
{"gm":0,"signkey":"634eff98723b31da43ed35f0dd4edf36","oper_mode":1,"modlist":"http:\/\/list.dhsf.xqhuyu.com\/testmodlist\/modlist_tool_11557.txt","resolution":"1024x768","channel":1} {"gm":0,"signkey":"634eff98723b31da43ed35f0dd4edf36","oper_mode":1,"modlist":"http://list.dhsf.xqhuyu.com/testmodlist/modlist_tool_1942.txt","resolution":"1024x768","channel":1}

View file

@ -0,0 +1,18 @@
序列,NPC触发,消耗_1_物品,消耗_1_数量,消耗_1_绑定规则
序列,npcid,cost_1_name,cost_1_num,cost_1_bind
3,0,,,
圣域,0,,,
赤月深处,0,,,
沃玛一层,0,,,
沃玛二层,0,,,
祖玛四层,0,,,
祖玛五层,0,,,
蜈蚣洞,0,,,
死亡棺材,0,,,
僵尸洞穴,0,,,
霸者大厅,0,,,
封魔殿,0,,,
卧龙山庄,0,,,
奴隶山谷,0,,,
海外仙岛,0,,,
神龙帝国,0,,,
1 序列 NPC触发 消耗_1_物品 消耗_1_数量 消耗_1_绑定规则
2 序列 npcid cost_1_name cost_1_num cost_1_bind
3 3 0
4 圣域 0
5 赤月深处 0
6 沃玛一层 0
7 沃玛二层 0
8 祖玛四层 0
9 祖玛五层 0
10 蜈蚣洞 0
11 死亡棺材 0
12 僵尸洞穴 0
13 霸者大厅 0
14 封魔殿 0
15 卧龙山庄 0
16 奴隶山谷 0
17 海外仙岛 0
18 神龙帝国 0