Problema syser server!

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
maximilian20
Nou Venit

Nou Venit
Mesaje: 14
Membru din: 22 Noi 2013, 19:00
Server: ro
Regat: Jinno
Aprecieri: 0
Mulţumiri: 0
Medalii

Salut am si eu doua probleme mari si late.
las syser-ul mai jos.

Cod: Selectaţi tot

SYSERR: Jun 16 19:25:20 :: pid_init: 
Start of pid: 1086

SYSERR: Jun 16 19:26:38 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 800
SYSERR: Jun 16 19:26:38 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 555
SYSERR: Jun 16 19:26:38 :: PointChange: MALL_BONUS exceeded over 100!! point type: 117 name: Baw amount 32767
SYSERR: Jun 16 19:26:52 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 800
SYSERR: Jun 16 19:26:52 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 555
SYSERR: Jun 16 19:26:52 :: PointChange: MALL_BONUS exceeded over 100!! point type: 117 name: Baw amount 32767
SYSERR: Jun 16 19:26:53 :: RunState: LUA_ERROR: [string "biologul_chaegirab"]:4: attempt to index field `?' (a nil value)
SYSERR: Jun 16 19:26:53 :: WriteRunningStateToSyserr: LUA_ERROR: quest biologul_chaegirab.mission_start click
SYSERR: Jun 16 19:26:53 :: RunState: LUA_ERROR: [string "biologul_chaegirab"]:4: attempt to index field `?' (a nil value)
SYSERR: Jun 16 19:26:53 :: WriteRunningStateToSyserr: LUA_ERROR: quest biologul_chaegirab.mission_start click
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 55
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 80
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 800
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 555
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 117 name: Baw amount 32767
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 55
SYSERR: Jun 16 19:26:53 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 80
SYSERR: Jun 16 19:26:56 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 800
SYSERR: Jun 16 19:26:56 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 555
SYSERR: Jun 16 19:26:56 :: PointChange: MALL_BONUS exceeded over 100!! point type: 117 name: Baw amount 32767
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 800
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 555
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 117 name: Baw amount 32767
SYSERR: Jun 16 19:27:00 :: RunState: LUA_ERROR: [string "biologul_chaegirab"]:4: attempt to index field `?' (a nil value)
SYSERR: Jun 16 19:27:00 :: WriteRunningStateToSyserr: LUA_ERROR: quest biologul_chaegirab.mission_start click
SYSERR: Jun 16 19:27:00 :: RunState: LUA_ERROR: [string "biologul_chaegirab"]:4: attempt to index field `?' (a nil value)
SYSERR: Jun 16 19:27:00 :: WriteRunningStateToSyserr: LUA_ERROR: quest biologul_chaegirab.mission_start click
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 55
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 80
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 800
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 555
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 117 name: Baw amount 32767
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 115 name: Baw amount 55
SYSERR: Jun 16 19:27:00 :: PointChange: MALL_BONUS exceeded over 100!! point type: 116 name: Baw amount 80

las si questul la biolog

Cod: Selectaţi tot

---------------------------------
-- Quest Biolog ----------
-- AdyCifud @ ----------
----------------------------------
quest biologul_chaegirab begin
	-- Functiile necesare questului
	state functions begin
		function Data()
			local data
			data = {
				{
					"Dintii de orc",
					30006,
					10,
					"Valea orcilor",
					{635, 636, 637}
				},
				
				{
					"Cartile blestemate",
					30047,
					15,
					"Valea orcilor",
					{703, 704, 705, 707, 706}
				},
				
				{
					"Amintirile de demon",
					30015,
					20,
					"Turnul Demonilor",
					{1001, 1002, 1003, 1004}
				},
				
				{
					"Globurile de gheata",
					30050,
					20,
					"Muntele Sohan",
					{1102, 1103, 1104, 1107, 1106}
				},
				
				{
					"Ramurile Zelkova",
					30165,
					20,
					"Padurea Rosie",
					{2301, 2302, 2303, 2304, 2305, 2311, 2312, 2313, 2314, 2315}
				},
				
				{
					"Table sacre",
					30166,
					30,
					"Campul cu serpi",
					{1401, 1402, 1403, 1601, 1602, 1603}
				},
				
				{
					"Crengile rosii",
					30167,
					30,
					"Padurea Rosie",
					{2311, 2312, 2313, 2314, 2315, 7024}
				},
				
				{
					"Vestile despre Rege",
					30168,
					20,
					"Atlantida",
					{2401, 2402, 2403, 2404, 2411, 2412, 2413, 2414}
				}
			}
			return data
		end
		function getLevel(bquest_level)
			local levels
			local bquest_level = pc.getqf("blevel")
			levels = {30, 40, 50, 60, 70, 80, 90, 94, 100}
			return levels[bquest_level]
		end
		function getBonusName()
			local names
			local blevel = pc.getqf("blevel")
			names = {
				"Bonus +10 Viteza de miscare (permanent)",
				"Bonus +10 viteza atac (permanent)",
				"Bonus +1000 HP (permanent)",
				"Bonus +10 viteza farmecului (permanent)",
				"Bonus +10 reg pv (permanent)",
				"Bonus +10 tare impotriva monstrilor (permanent)",
				"Bonus +10% contra semi-oamenilor (permanent)",
				"Bonus +10% critica (permanent)[ENTER]Bonus +10% patrunzatoare (permanent)"
			}
			return names[blevel]
		end
		function applyBonus()
			local blevel = pc.getqf("blevel")
			if blevel == 1 then
				affect.add_collect(apply.MOV_SPEED, 10, 60*60*24*365*60)
			elseif blevel == 2 then
				affect.add_collect(apply.ATT_SPEED,10,60*60*24*365*60) 
			elseif blevel == 3 then
				affect.add_collect(apply.MAX_HP,1000,60*60*24*365*60)
			elseif blevel == 4 then
				affect.add_collect(apply.CAST_SPEED,10,60*60*24*365*60)
			elseif blevel == 5 then
				affect.add_collect(apply.HP_REGEN,10,60*60*24*365*60)	
			elseif blevel == 6 then 		
				affect.add_collect_point(apply.ATT_BONUS_TO_MONSTER,10,60*60*24*365*60)
			elseif blevel == 7 then
				affect.add_collect(apply.ATTBONUS_HUMAN,10,60*60*24*365*60)
			elseif blevel == 8 then
				affect.add_collect(apply.CRITICAL_PCT,10,60*60*24*365*60)
				affect.add_collect(apply.PENETRATE_PCT,10,60*60*24*365*60) 
			end
		end
	end
	state start begin
		when login or levelup with pc.get_level() >= 30 and not pc.is_gm() begin
			local v = find_npc_by_vnum(20084)
            if v != 0 then
				target.vid("__TARGET__", v, "Chaegirab")
			end
			send_letter("Cauta-l pe Biolog")
		end
		when button or info begin
			say_title("Cauta-l pe Biolog!")
			say("Biologul are nevoie de ajutorul")
			say("tau pentru studiile sale.")
			say("Cauta-l si intreaba-l cu ce il poti")
			say("ajuta. Ajutorul tau nu o sa ramana")
			say("nerasplatit.")
			say("")
		end
		when __TARGET__.target.click or 20084.chat."Caut ajutor" begin
			target.delete("__TARGET__")
			say_title("Caut ajutor")
			say("Salut tinere razboinic,")
			say("Am nevoie de ajutorul tau pentru")
			say("a-mi termina studiile despre monstrii")
			say("ce ne cutreiera lumea noastra.")
			say("")
			say_reward("Citeste cu atentie informatiile urmatoare!")
			say("")
			wait()
			say_title("Cercetari")
			say("Cercetarile mele se bazeaza pe")
			say("anumite obiecte care se afla la")
			say("monstrii de pe continent.")
			say("Adu-mi toate materialele de care")
			say("am nevoie si te voi rasplati cu")
			say("o gramada de lucruri.")
			say("")
			wait()
			set_state(mission_start)
			clear_letter()
			pc.setqf("blevel", 1)
		end
	end
	state mission_start begin
		when letter or login or levelup begin
			local data = biologul_chaegirab.Data()
			local blevel = pc.getqf("blevel")
			if pc.get_level() >= biologul_chaegirab.getLevel() then
				send_letter("BIOLOG  "..data[blevel][1])
			end
			if pc.count_item(data[blevel][2]) > 0 then
				local v = find_npc_by_vnum(20084)
				if v != 0 then
					target.vid("__TARGET__", v, "Chaegirab")
				end
			end
		end
		when button or info begin
			local data = biologul_chaegirab.Data()
			local blevel = pc.getqf("blevel")
			say_title("Dintii de orc")
			say("Salut tinere razboinic,")
			say("Biologul are nevoie sa ii aduci")
			say(""..data[blevel][3].."x "..item_name(data[blevel][2]).."")
			say("Se gasesc in "..data[blevel][4].."!")
			say("Poti aduce o bucata odata la 12 ore.")
			say("")
			wait()
		end
		when __TARGET__.target.click or 20084.click begin
			target.delete("__TARGET__")
			local data = biologul_chaegirab.Data()
			local blevel = pc.getqf("blevel")
			if pc.get_level() >= biologul_chaegirab.getLevel() then
				say_title(data[blevel][1])
				say("Salut "..pc.get_name().."!")
				say("Ai venit sa imi aduci niste obiecte?")
				say("Tine minte! Poti sa imi aduci odata la")
				say("12 ore pentru a avea timp sa le studiez!")
				say("")
				wait()
				say_title(data[blevel][1])
				say("Ai venit sa imi aduci "..item_name(data[blevel][2]).."?")
				if pc.is_gm() then
					pc.setqf("duration", get_time()+0)
				end
				if pc.count_item(data[blevel][2]) == 0 then
					say("")
					say_reward("Se pare ca inca nu ai facut rost de nici un obiect!")
					say_reward("Revino cand ai obiectele cerute.")
					return
				end
				if get_time() < pc.getqf("duration") then 
     if pc.count_item(31066) > 0 then
     pc.remove_item(31066 , 1)
     pc.setqf("duration", get_time()+0)
     else
     say("")
     say_reward("Inca nu au trecut cele 12 ore.")
     say_reward("Revino mai tarziu. Sau fa rost de floarea de sulf !")
     return
     end
    end
				local bcount = pc.getqf("bcount")+1
				if bcount == data[blevel][3] then
					say("Felicitari!")
					say("Mi-ai adus toate obiectele necesare")
					say("pentru a-mi termina studiul.")
					say("")
					say_reward("Rasplata : ")
					say_reward(biologul_chaegirab.getBonusName())
					wait()
					biologul_chaegirab.applyBonus()
					pc.setqf("blevel", pc.getqf("blevel")+1)
					pc.setqf("bcount", 0)
					pc.setqf("duration", get_time())
					set_state(mission_next)
				else
					say("Ooh...ai gasit "..item_name(data[blevel][2]).."?")
					say("Lasa-ma sa studiez...")
					say("...")
					say("Se pare ca este bun.")
					say("Mai ai de adus "..(data[blevel][3] - pc.getqf("bcount") - 1).."!")
					say("")
					pc.remove_item(data[blevel][2], 1)
					pc.setqf("duration", get_time()+60*60*12)
					pc.setqf("bcount", bcount)
				end
			else
				say_title("Biolog")
				say("Eu ma ocup de toate studiile")
				say("din acest regat de aceea sunt")
				say("foarte ocupat momentan.")
				say("")
			end
		end
		when kill begin
			local data = biologul_chaegirab.Data()
			local blevel = pc.getqf("blevel")
			for k,r in pairs(data[blevel][5]) do 
				if npc.get_race() == r and pc.count_item(data[blevel][2]) < data[blevel][3] then
					local c = math.random(0, 30)
					if c == 1 then
						pc.give_item2(data[blevel][2], 1)
					end
				end
			end
		end
	end
	state mission_next begin
		when login or levelup or letter begin
			local data = biologul_chaegirab.Data()
			local blevel = pc.getqf("blevel")
			if pc.get_level() >= biologul_chaegirab.getLevel() then
				set_state(mission_start)
			end
		end
	end
	state __END__ begin
	end
end

Va rog ajutati-ma. Am game 40k .....
Închis
Răspunsuri
1
Vizualizări
220
Răspunsuri
2
Vizualizări
398
Răspunsuri
3
Vizualizări
266
Răspunsuri
7
Vizualizări
374

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Baidu [Spider], Google [Bot] și 102 vizitatori