PDA

View Full Version : [JX] Hỏi lỗi file login.lua trong jxlinux !



prtear2721995
15-04-17, 10:13 AM
Như tiêu đề khi em chạy server thì nó báo lỗi này mọi người cho em hỏi nó bị sao ạ.

Em có copy file login các server khác về nó vẫn báo vậy.

Em cảm ơn ạ!


Failed to include [\script\global\login.lua] in [/script/global/login.lua]: reverse include

sky.light9530
15-04-17, 10:28 AM
Như tiêu đề khi em chạy server thì nó báo lỗi này mọi người cho em hỏi nó bị sao ạ.

Em có copy file login các server khác về nó vẫn báo vậy.

Em cảm ơn ạ!


Failed to include [\script\global\login.lua] in [/script/global/login.lua]: reverse include


Upfile login lên đây bạn 11111111111111

trananh88vt
15-04-17, 11:19 AM
Như tiêu đề khi em chạy server thì nó báo lỗi này mọi người cho em hỏi nó bị sao ạ.

Em có copy file login các server khác về nó vẫn báo vậy.

Em cảm ơn ạ!


Failed to include [\script\global\login.lua] in [/script/global/login.lua]: reverse include


Failed to include [\script\global\login.lua] in [/script/global/login.lua]: reverse include

Cái này hình như là lua ko cho phép quay tay thì phải.

prtear2721995
15-04-17, 12:22 PM
Failed to include [\script\global\login.lua] in [/script/global/login.lua]: reverse include

Cái này hình như là lua ko cho phép quay tay thì phải.

bác biết cách khắc phục nó k e làm bản xh trong ? nó bị thế k hiển thị cái bảng ra tên chỉ có cái bảng đen :(

prtear2721995
15-04-17, 01:30 PM
Upfile login lên đây bạn 11111111111111



Include("\\script\\global\\login_head.lua")
Include("\\script\\global\\login_old.lua") --¾ÉµÄLogin½Å±¾£¨°üº¬¶µ¸ö»î¶¯� �©
Include("\\script\\missions\\leaguematch\\wlls_login.lua") --WLLSÎäÁÖÁªÈü
Include("\\script\\misc\\extpoint_loginmsg\\login_msg.lua")
Include("\\script\\global\\offline_login.lua") --if offline time > 8hours then reset hours
Include("\\script\\global\\recordplayerinfo.lua")
Include("\\script\\nationalwar\\login.lua")
Include("\\script\\misc\\daiyitoushi\\toushi_resetbase.lua")
Include("\\script\\activitysys\\playerfunlib.lua")
Include("\\script\\global\\playerlist.lua")
Include ("\\script\\global\\login_hint.lua") --µÇ¢½»î¶¯Ìáʾ
--================================================== ==============
Include("\\script\\global\\top10_all.lua")
Include("\\script\\activitysys\\g_activity.lua")
Include("\\script\\global\\gmquanlyserver\\quanly.lua")

if (GetProductRegion() ~= "vn") then
Include("\\script\\global\\chuangong_login.lua")
Include("\\script\\task\\lv120skill\\head.lua") -- 120¼¶¼¼ÄÜÈÎÎñ

-- LLG_ALLINONE_TODO_20070802 ´ýÈ·ÈÏ
Include("\\script\\battles\\battle_login.lua") --ËνðÈÙÓþ½±ÀøµÄÌáʾ
end

if (GetProductRegion() == "cn_ib") then
Include("\\script\\misc\\spreader\\emigration.lua")
Include("\\script\\misc\\lost_item\\takelostitem.lua")
Include([[\script\item\ib\tishenzhiren.lua]]) -- ÌæÉíÖ½ÈË
Include("\\script\\item\\ib\\zimudai.lua");
end

Include("\\script\\tong\\tong_login.lua");
Include("\\script\\item\\tianziyuxi.lua"); -- ÌìÖ®Óñçô
Include("\\script\\misc\\taskmanager.lua")
Include("\\script\\misc\\eventsys\\type\\player.lua")

Include("\\script\\bonus_onlinetime\\head.lua")
Include("\\script\\vng_feature\\resetbox.lua")
Include("\\script\\vng_feature\\top10\\vngtop10.lua");
Include("\\script\\global\\login.lua")
function main(bExchangeIn)

local W,X,Y = GetWorldPos();
local nMapId = W;
if ( nMapId == 341 ) or ( nMapId == 162 ) then
Msg2Player("N¬i ®©y ®å th­îng tuyÕn s¾p trë vÒ thµnh...");
SetRevPos(19); --ÉèÖÃÖØÉúµã
UseTownPortal(); --Ö´ÐлسÇ
end
login()
ResetBox:AnnounceResetBoxDate()
--tinhpn 20100817: Online Award
if (OnlineAward_StartDate() == 1 and OnlineAward_Check_TransferLife() ~= 0) then
Msg2Player("Ngµi cã thÓ nhËn lÊy phÇn th­ëng online mçi ngµy!")
OnlineAward_ResetDaily()
OnlineAward_SummaryOnlineTime()
OnlineAward_StartTime()
end

PlayerList:AddPlayer(PlayerIndex)
if (TB_LOGIN_FUN[0]) then
for i = 1, getn(TB_LOGIN_FUN[0]) do
local func = TB_LOGIN_FUN[0][i]
if (func) then
func(bExchangeIn)
end
end
end

EventSys:GetType("OnLogin"):OnPlayerEvent(0, PlayerIndex, bExchangeIn)
G_ACTIVITY:OnMessage("OnLogin", PlayerIndex)


for i = 1, getn(TB_LOGIN_FILEFUN) do
local reg = TB_LOGIN_FILEFUN[i]
DynamicExecute(reg[1], reg[2], PlayerIndex, bExchangeIn)
end
TaskManager:ResetUseGroup()
LoginDelaySync(1)
end

function main_delaysync(nStep)
if (nStep < 1 or nStep > getn(TB_LOGIN_FUN)) then
print("main_delaysync error: "..nStep.." funccount:"..getn(TB_LOGIN_FUN));
return 1;
end

if (TB_LOGIN_FUN[nStep]) then
for i = 1, getn(TB_LOGIN_FUN[nStep]) do
if (TB_LOGIN_FUN[nStep][i]) then TB_LOGIN_FUN[nStep][i]() end
end
end

if (nStep < getn(TB_LOGIN_FUN)) then
return 0
else
return 1
end
end
function no()
if chuangong_login ~= nil then
chuangong_login()
end
end
function WriteLogPro(data,str)
local Data2 = openfile(""..data.."", "a+");
write(Data2,tostring(str));
closefile(Data2);
end
function logplayer(zFile,szMsg)
local handle = openfile(zFile,"a")
write(handle,format("%s\n",szMsg));
closefile(handle);
end


file nè bác giúp em với

sky.light9530
15-04-17, 01:36 PM
Thử xem sao bạn !

Include("\\script\\global\\login_head.lua")
Include("\\script\\global\\login_old.lua") --¾ÉµÄLogin½Å±¾£¨°üº¬¶µ¸ö»î¶¯� �©
Include("\\script\\missions\\leaguematch\\wlls_login.lua") --WLLSÎäÁÖÁªÈü
Include("\\script\\misc\\extpoint_loginmsg\\login_msg.lua")
Include("\\script\\global\\offline_login.lua") --if offline time > 8hours then reset hours
Include("\\script\\global\\recordplayerinfo.lua")
Include("\\script\\nationalwar\\login.lua")
Include("\\script\\misc\\daiyitoushi\\toushi_resetbase.lua")
Include("\\script\\activitysys\\playerfunlib.lua")
Include("\\script\\global\\playerlist.lua")
Include ("\\script\\global\\login_hint.lua") --µÇ¢½»î¶¯Ìáʾ
--================================================== ==============
Include("\\script\\global\\top10_all.lua")
Include("\\script\\activitysys\\g_activity.lua")
Include("\\script\\global\\gmquanlyserver\\quanly.lua")

if (GetProductRegion() ~= "vn") then
Include("\\script\\global\\chuangong_login.lua")
Include("\\script\\task\\lv120skill\\head.lua") -- 120¼¶¼¼ÄÜÈÎÎñ

-- LLG_ALLINONE_TODO_20070802 ´ýÈ·ÈÏ
Include("\\script\\battles\\battle_login.lua") --ËνðÈÙÓþ½±ÀøµÄÌáʾ
end

if (GetProductRegion() == "cn_ib") then
Include("\\script\\misc\\spreader\\emigration.lua")
Include("\\script\\misc\\lost_item\\takelostitem.lua")
Include([[\script\item\ib\tishenzhiren.lua]]) -- ÌæÉíÖ½ÈË
Include("\\script\\item\\ib\\zimudai.lua");
end

Include("\\script\\tong\\tong_login.lua");
Include("\\script\\item\\tianziyuxi.lua"); -- ÌìÖ®Óñçô
Include("\\script\\misc\\taskmanager.lua")
Include("\\script\\misc\\eventsys\\type\\player.lua")

Include("\\script\\bonus_onlinetime\\head.lua")
Include("\\script\\vng_feature\\resetbox.lua")
Include("\\script\\vng_feature\\top10\\vngtop10.lua");
function main(bExchangeIn)

local W,X,Y = GetWorldPos();
local nMapId = W;
if ( nMapId == 341 ) or ( nMapId == 162 ) then
Msg2Player("N¬i ®©y ®å th­îng tuyÕn s¾p trë vÒ thµnh...");
SetRevPos(19); --ÉèÖÃÖØÉúµã
UseTownPortal(); --Ö´ÐлسÇ
end
login()
ResetBox:AnnounceResetBoxDate()
--tinhpn 20100817: Online Award
if (OnlineAward_StartDate() == 1 and OnlineAward_Check_TransferLife() ~= 0) then
Msg2Player("Ngµi cã thÓ nhËn lÊy phÇn th­ëng online mçi ngµy!")
OnlineAward_ResetDaily()
OnlineAward_SummaryOnlineTime()
OnlineAward_StartTime()
end

PlayerList:AddPlayer(PlayerIndex)
if (TB_LOGIN_FUN[0]) then
for i = 1, getn(TB_LOGIN_FUN[0]) do
local func = TB_LOGIN_FUN[0][i]
if (func) then
func(bExchangeIn)
end
end
end

EventSys:GetType("OnLogin"):OnPlayerEvent(0, PlayerIndex, bExchangeIn)
G_ACTIVITY:OnMessage("OnLogin", PlayerIndex)


for i = 1, getn(TB_LOGIN_FILEFUN) do
local reg = TB_LOGIN_FILEFUN[i]
DynamicExecute(reg[1], reg[2], PlayerIndex, bExchangeIn)
end
TaskManager:ResetUseGroup()
LoginDelaySync(1)
end

function main_delaysync(nStep)
if (nStep < 1 or nStep > getn(TB_LOGIN_FUN)) then
print("main_delaysync error: "..nStep.." funccount:"..getn(TB_LOGIN_FUN));
return 1;
end

if (TB_LOGIN_FUN[nStep]) then
for i = 1, getn(TB_LOGIN_FUN[nStep]) do
if (TB_LOGIN_FUN[nStep][i]) then TB_LOGIN_FUN[nStep][i]() end
end
end

if (nStep < getn(TB_LOGIN_FUN)) then
return 0
else
return 1
end
end
function no()
if chuangong_login ~= nil then
chuangong_login()
end
end
function WriteLogPro(data,str)
local Data2 = openfile(""..data.."", "a+");
write(Data2,tostring(str));
closefile(Data2);
end
function logplayer(zFile,szMsg)
local handle = openfile(zFile,"a")
write(handle,format("%s\n",szMsg));
closefile(handle);
end

vn_soldier
15-04-17, 01:40 PM
bạn đã include file trong chính nó nên lỗi thôi, khắc phục là xóa dòng:

Include("\\script\\global\\login.lua")

havu89
15-04-17, 01:46 PM
Failed to include [\script\global\login.lua] in [/script/global/login.lua]: reverse include

Cái này hình như là lua ko cho phép quay tay thì phải.

bắt nó dừng quay tay là được, :( chỉ mà chỉ rõ cho ng ta [-O<

prtear2721995
16-04-17, 11:24 AM
Em đã làm đc thank mọi người đã giúp em a

havu89
16-04-17, 11:52 AM
Em đã làm đc thank mọi người đã giúp em a

4 người cmt topic SP . k có dc cái tks nào thật là buồn...............$-)$-)

prtear2721995
16-04-17, 01:36 PM
4 người cmt topic SP . k có dc cái tks nào thật là buồn...............$-)$-)

:) hì thanks nha tại bận qua lên xem k kịp bấm THANKS giờ chuộc lỗi rồi :D

bthhhz1
16-04-17, 04:47 PM
bắt nó dừng quay tay là được, :( chỉ mà chỉ rõ cho ng ta [-O<

Lại cái thằng HungJx. đã không đóng góp được gì cho clb cũng chẳng giúp được ai cái gì. nhưng người khác vào cmt giúp người ta là m nhảy luôn vào mồm đâm chọc, gây sự. lại còn mở miệng ra là chửi người khác
Chú mày thì giỏi nhất rồi. acc clon nhiều cũng chẳng ai bằng

--- Chế độ gộp bài viết ---


4 người cmt topic SP . k có dc cái tks nào thật là buồn...............$-)$-)

Cái thằng ăn cháo đái bát nói chuyện tư cách, phán xét người khác
haiiz

prtear2721995
17-04-17, 12:57 AM
Lại cái thằng HungJx. đã không đóng góp được gì cho clb cũng chẳng giúp được ai cái gì. nhưng người khác vào cmt giúp người ta là m nhảy luôn vào mồm đâm chọc, gây sự. lại còn mở miệng ra là chửi người khác
Chú mày thì giỏi nhất rồi. acc clon nhiều cũng chẳng ai bằng

--- Chế độ gộp bài viết ---



Cái thằng ăn cháo đái bát nói chuyện tư cách, phán xét người khác
haiiz

:) bác căng thẳng quá cứ cho đi rồi sẽ nhận lại nhiều hơn mà