Team Online Nu functioneaza quest

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
SpaimaTa
Utilizator interzis !

Utilizator interzis !
Mesaje: 131
Membru din: 30 Noi 2015, 01:39
Server: Sunt bine mersi ^.^
Aprecieri: 48  
Mulţumiri: 4  
Medalii

Buna j4m am instalat systemul Teeam Online tot merge bine parte client .... numa quest nu merge cand instalez apare error in putty las quest sa vedeti si error

quest

Cod: Selectaţi tot

quest gm_list begin
	state start begin
		when login begin
			local gms = 
			{
				{"[GM]1"},
				{"[GM]2"}
			}
			for i=1, table.getn(gms), 1 do
				local name = gms[i][1]
				if name == nil then
					return name
				end
				cmdchat('SetTeamOffline '..name)
			end
			loop_timer("check_gm", 10)
		end
		when check_gm.timer begin
			local t_gms = 
			{
				{"[GM]1"},
				{"[GM]2"}
			}
			for i=1, table.getn(t_gms), 1 do
				local t_name = t_gms[i][1]
				if t_name == nil then
					return t_name
				end
				if game.get_event_flag(t_name) == 1 then
					cmdchat('SetTeamOnline '..t_name)
				else
					cmdchat('SetTeamOffline '..t_name)
				end
			end
		end
		when login with pc.is_gm() begin
			local name = pc.get_name()
			game.set_event_flag(name, 1)
		end
		when logout with pc.is_gm() begin
			local name = pc.get_name()
			game.set_event_flag(name, 0)
		end
	end
end

error

Cod: Selectaţi tot

root@:/usr/home/game/share/locale/germany/quest # ./qc gm_list.quest
QUEST : gm_list
STATE : start
WHEN  : login
local gms =
(
( "[GM]1" ) ,
( "[GM]2" )
)
for i = 1 , table . getn ( gms ) , 1 begin
local name = gms [ i ] [ 1 ]
if name == nil then
return name
end
cmdchat ( "SetTeamOffline " .. name )
end
loop_timer ( "check_gm" , 10 )

syntax error : [string "start"]:3: `)' expected (to close `(' at line 2) near `,'
gm_list.quest:17:Abort (core dumped)
root@:/usr/home/game/share/locale/germany/quest #
Ultima oară modificat 14 Dec 2015, 02:56 de către SpaimaTa, modificat 1 dată în total.
Avatar utilizator
.PicCoLo
Nivel 2

Nivel 2
Mesaje: 264
Membru din: 17 Sep 2014, 20:06
Server: Majestic2
Regat: Jinno
Aprecieri: 26  
Mulţumiri: 6  
Medalii

Ai acel quest instalat?
Afișează semnătura
Avatar utilizator
[Dionise]
Utilizator interzis !

Utilizator interzis !
Mesaje: 722
Membru din: 10 Sep 2015, 22:10
Server: Ankarya
Aprecieri: 1  
Mulţumiri: 6  
 Contact:
Medalii

Cod: Selectaţi tot

quest gm_list begin
	state start begin
		when login begin
			local gms = 
			{
				{"[Arrow]"},
			}
			for i=1, table.getn(gms), 1 do
				local name = gms[i][1]
				if name == nil then
					return name
				end
				cmdchat('SetTeamOffline '..name)
			end
			loop_timer("check_gm", 8)
		end
		when check_gm.timer begin
			local t_gms = 
			{
				{"[Arrow]"},
			}
			for i=1, table.getn(t_gms), 1 do
				local t_name = t_gms[i][1]
				if t_name == nil then
					return t_name
				end
				if game.get_event_flag(t_name) == 1 then
					cmdchat('SetTeamOnline '..t_name)
				else
					cmdchat('SetTeamOffline '..t_name)
				end
			end
		end
		when login with pc.is_gm() or pc.get_name() ==  "[Arrow]" or pc.get_name() == "[Arrow]" or pc.get_name() == "[Arrow]" begin
			local name = pc.get_name()
			game.set_event_flag(name, 1)
		end
		when logout with pc.is_gm() or pc.get_name() == "[Arrow]" or pc.get_name() == "[Arrow]" or pc.get_name() == "[Arrow]" begin
			local name = pc.get_name()
			game.set_event_flag(name, 0)
		end
	end
end
Avatar utilizator
SpaimaTa
Utilizator interzis !

Utilizator interzis !
Mesaje: 131
Membru din: 30 Noi 2015, 01:39
Server: Sunt bine mersi ^.^
Aprecieri: 48  
Mulţumiri: 4  
Medalii

The Bro acuma am gasit si eu 1 quest bun dupa am dat refres la pagina am vazut ca ai postat Multumesc !
Închis
Răspunsuri
6
Vizualizări
738
Răspunsuri
5
Vizualizări
388
Răspunsuri
23
Vizualizări
2363

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 187 vizitatori