Problema Ride.quest

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
sanducatalin1
Mister Just4Metin

Mister Just4Metin
Mesaje: 619
Membru din: 28 Iun 2015, 16:07
Server: Draco
Regat: Shinsoo
Aprecieri: 127  
Mulţumiri: 168  
 Contact:
Medalii

*Problemă: Problema mount system
Tipologie server: PVM HARD
*Resursă folosită: gameforge
*ServerFiles utilizat: Daroo
*Syserr: -
Poză: -
*Detalii suplimentare: Merg doar Mistretul si Lupul, restul nu merg

QUEST FOLOSIT
[spoiler]quest ride begin
	state start begin
		function Ride( vnum, remain_time )
			ride_info = {
				[71114] = { 20110,	5*60,	apply.DEF_GRADE_BONUS,	75,		75,	true	},
				[71115] = { 20110,	5*60,	apply.DEF_GRADE_BONUS,	100,	75,	false	},
				[71116] = { 20111,	5*60,	apply.DEF_GRADE_BONUS,	100,	80,	true	},
				[71117] = { 20111,	5*60,	apply.DEF_GRADE_BONUS,	150,	80,	false	},
				[71118] = { 20112,	5*60,	apply.DEF_GRADE_BONUS,	125,	85,	true	},
				[71119] = { 20112,	5*60,	apply.DEF_GRADE_BONUS,	200,	85,	false	},
				[71120] = { 20113,	5*60,	apply.ATT_GRADE_BONUS,	200,	85,	true	},
				[71121] = { 20113,	5*60,	apply.ATT_GRADE_BONUS,	300,	85,	false	},
				}

			if pc.level < ride_info[vnum][5] then
				say("")
				say("Bine?i kullanabilmek için seviyeniz yeterli de?il.")
				say("")
			else
				if 112 == pc.get_map_index() then
					return
				end
				if ride_info[vnum][2] == 0 and remain_time != 0 then
					pc.mount( ride_info[vnum][1], remain_time*60 )
					pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
				else
					pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
					pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
				end

				if true == ride_info[vnum][6] then
					pc.remove_item(vnum, 1)
				end	
			end	
		end

		when login begin
			local vnum, remain_time = pc.get_special_ride_vnum()
			if vnum <=  71113 or vnum >71121 then
				return
			end
			if 0 != vnum then
				ride.Ride(vnum, remain_time)
			end
		end

		when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use begin
			 if pc.is_polymorphed() then
				 say("")
				 say("Dönü?mü? haldeyken binek kullanamazsýn.")
				 say("")
			elseif false == pc.is_riding() then
			 	if true == horse.is_summon() then
					horse.unsummon()
				end
				 ride.Ride(item.vnum, 0)
			 else
				say("")
				 say("Zaten bir binek kullanýyorsun.")
				 say("")
			 end
		end
	end
end[/spoiler]
Ultima oară modificat 12 Apr 2018, 11:32 de către KIDDA, modificat 1 dată în total.
Motiv: #Spoiler
Avatar utilizator
Bughy
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 431
Membru din: 10 Apr 2018, 22:33
Server: Toate =))
Regat: Jinno
Aprecieri: 62  
Mulţumiri: 51  
 Contact:
Medalii

sysser ch1 si client terog
Imagine
Daca te-am ajutat lasa un like :) B-) :ymhug: ;)
Afișează semnătura
Avatar utilizator
Bughy
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 431
Membru din: 10 Apr 2018, 22:33
Server: Toate =))
Regat: Jinno
Aprecieri: 62  
Mulţumiri: 51  
 Contact:
Medalii

poftim, adauga acest quest:

Cod: Selectaţi tot

quest mount begin
	state __FUNC__ begin
		function data()
			return{
				-- mounts
				[71125]={20209,20209},
				[71126]={20210,20210},
				[71127]={20211,20211},
				[71128]={20212,29212},

				-- pets
				[53003]={0,34003},
				[53010]={0,34008},
				[53011]={0,34007},
				[53012]={0,34005},
				[53013]={0,34006},
				[53017]={0,34016},
			}
		end
		function get_timer_sec() return 2 end -- bug check time
		function is_spam_check() return true end
		function get_ride_sec() return 1800 end -- how much seconds you want to be mounted, best time is 30 minute (1800s), after the time is finished player is unmounted automatic
		function npc_to_item(vnum)
			for k,v in pairs(mount.data()) do
				if v[1] == vnum then
					return k
				end
			end
			return 0
		end
		function check_map() if pc.get_map_index() == 113 then return true end return false end
		function summon_pet(vnum)
			pet.summon(vnum, string.format("'s %s",mob_name(vnum)), false)
		end
		function mount(data,vnum)
			if pc.is_polymorphed() then syschat("You can't ride while polymorphed") return end
			if horse.is_riding() == true then syschat("You already ride a mount") return end
			if horse.is_summon() then horse.unsummon() end
			pc.mount(data[1], mount.get_ride_sec())
			-- bonus give
			for i=0,2 do
				aType=item.get_apply_type(vnum,i)
				aValue=item.get_apply_value(vnum,i)
				if aType > 0 and aValue > 0 then
					--chat(string.format("[%d] type %d value %d",i,item.get_apply_type(vnum,i),item.get_apply_value(vnum,i)))
					pc.mount_bonus(aType,aValue,mount.get_ride_sec())
				end
			end
		end
	end
	state start begin
		-- ## OPTIONAL
		when 20209.click or 20210.click or 20211.click or 20212.click or 29212.click begin -- when click on the NPC
			local msgs={
				"Do not touch my fur",
				"Giorgos is the best owner",
			}
			chat(string.format("|cffffc8c8%s:|r %s",npc.get_name(),msgs[math.random(1,table.getn(msgs))]))
		end
		-- add your vnums here too ...
		when 53003.use or 53010.use or 53011.use or 53012.use or 53013.use or 53017.use with mount.data()[item.vnum] begin
			if mount.check_map() then return end

			-- ## SPAM CHECK
			if mount.is_spam_check() then
				if not lastPulse then lastPulse = get_time() end
				if (not lastPulseNumber and lastPulseNumber != 0) then lastPulseNumber = 0 end
				if (get_time() - lastPulse <= 1) then
					if lastPulseNumber >= 5 then chat(string.format("%s: Anti spam system has blocked your action.",item_name(item.vnum))) return end
					lastPulseNumber = lastPulseNumber + 1
				else lastPulseNumber = lastPulseNumber - 1 end
				lastPulse = get_time()
			end
			-- ## SPAM CHECK END

			local itemVnum = item.vnum
			local data = mount.data()[itemVnum]
			local name = pc.get_name()

			local limit = 0
			if NEW_MOUNT_STATES[name] and pet.is_summon(NEW_MOUNT_STATES[name][2]) then
				limit = 1
			end

			if not pet.is_summon(data[2]) then
				if pet.count_summoned()-limit >= 1 then
					chat("You cannot summon more animals")
					return
				end
				if data[2] == 0 then return end -- fix
				mount.summon_pet(data[2])

				if not NEW_PET_STATES[name] then
					table.insert(NEW_PET_STATES,name)
				end
				NEW_PET_STATES[name] = {data[1],data[2],itemVnum,item.get_id(),"follow"}
			else
				pet.unsummon(data[2])
				if NEW_PET_STATES[name] then NEW_PET_STATES[name][5] = "away" end
			end
		end
		when 71125.use or 71126.use or 71127.use or 71128.use with mount.data()[item.vnum] begin
			if mount.check_map() then return end

			-- ## SPAM CHECK
			if mount.is_spam_check() then
				if not lastPulse then lastPulse = get_time() end
				if (not lastPulseNumber and lastPulseNumber != 0) then lastPulseNumber = 0 end
				if (get_time() - lastPulse <= 1) then
					if lastPulseNumber >= 5 then chat(string.format("%s: Anti spam system has blocked your action.",item_name(item.vnum))) return end
					lastPulseNumber = lastPulseNumber + 1
				else lastPulseNumber = lastPulseNumber - 1 end
				lastPulse = get_time()
			end
			-- ## SPAM CHECK END

			if horse.is_riding() then syschat("Deja calaresti") return end

			local itemVnum = item.vnum
			local data = mount.data()[itemVnum]
			local name = pc.get_name()

			if not NEW_MOUNT_STATES[name] then
				table.insert(NEW_MOUNT_STATES,name)
			end
			if NEW_MOUNT_STATES[name] then
				if (pc.is_mount() or pet.is_summon(NEW_MOUNT_STATES[name][2])) and item.vnum != NEW_MOUNT_STATES[name][3] then
					itemVnum = NEW_MOUNT_STATES[name][3]
					data = mount.data()[itemVnum]
				end
			end
			if not pc.is_mount() and not pet.is_summon(data[2]) then
				mount.summon_pet(data[2])
				if horse.is_summon() then horse.unsummon() end
				chat(string.format("|cffffc8c8%s's %s:|r I am here my master!",pc.get_name(),mob_name(data[2])))
				NEW_MOUNT_STATES[name] = {data[1],data[2],itemVnum,item.get_id(),"follow"}

				cleartimer("bugcheck")
				loop_timer("bugcheck", mount.get_timer_sec())
				return
			end
			if not pc.is_mount() and pet.is_summon(data[2]) then
				pet.unsummon(data[2])
				mount.mount(data,itemVnum)
				NEW_MOUNT_STATES[name] = {data[1],data[2],itemVnum,item.get_id(),"mount"}
				return
			end
			if pc.is_mount(data[1]) then
				pc.unmount()
				mount.summon_pet(data[2])
				NEW_MOUNT_STATES[name] = {data[1],data[2],itemVnum,item.get_id(),"follow"}

				cleartimer("bugcheck")
				loop_timer("bugcheck", mount.get_timer_sec())
				return
			end
		end

		when login begin
			if mount.check_map() then return end
			local name = pc.get_name()

			--chat(tostring(NEW_MOUNT_STATES[name]))
			if NEW_MOUNT_STATES[name] and NEW_MOUNT_STATES[name][5] == "follow" then
				item.select(NEW_MOUNT_STATES[name][4])
				mount.summon_pet(NEW_MOUNT_STATES[name][2])
				cleartimer("bugcheck")
				loop_timer("bugcheck", mount.get_timer_sec())
			elseif NEW_MOUNT_STATES[name] then
				cleartimer("bugcheck")
				loop_timer("bugcheck", mount.get_timer_sec())
			end

			if NEW_PET_STATES[pc.get_name()] then
				item.select(NEW_PET_STATES[name][4])
				mount.summon_pet(NEW_PET_STATES[name][2])
			end
		end
		when logout begin
			if mount.check_map() then return end
			local name = pc.get_name()

			if NEW_PET_STATES[name] and not pet.is_summon(NEW_PET_STATES[name][2]) then 
				NEW_PET_STATES[name][5] = "away"
			end
		end
		when bugcheck.timer begin
			local name = pc.get_name()
			--chat("checking")
			if NEW_MOUNT_STATES[name] and horse.is_riding() == true and pet.is_summon(NEW_MOUNT_STATES[name][2]) then
				horse.unride()
				pet.unsummon(NEW_MOUNT_STATES[name][2])
			end
			if NEW_MOUNT_STATES[name] and pet.is_summon(NEW_MOUNT_STATES[name][2]) and horse.is_summon() then
				horse.unsummon()
			end
			if pc.is_mount() and pc.count_item(mount.npc_to_item(pc.get_mount())) == 0 then
				pc.unmount()
				cleartimer("bugcheck")
			end
			--if NEW_MOUNT_STATES[name] then
			--	chat(NEW_MOUNT_STATES[name][5])
			--end
			if NEW_MOUNT_STATES[name] and pet.is_summon(NEW_MOUNT_STATES[name][2]) == false then
				NEW_MOUNT_STATES[name][5] = "away"
				--chat("away")
				cleartimer("bugcheck")
			end
		end
	end
end
in questlib.lua adauga asta:

Cod: Selectaţi tot

NEW_MOUNT_STATES = {}
NEW_PET_STATES = {}
Pentru acest mesaj, Bughy for the post:
sanducatalin1
Imagine
Daca te-am ajutat lasa un like :) B-) :ymhug: ;)
Afișează semnătura
Avatar utilizator
sanducatalin1
Mister Just4Metin

Mister Just4Metin
Mesaje: 619
Membru din: 28 Iun 2015, 16:07
Server: Draco
Regat: Shinsoo
Aprecieri: 127  
Mulţumiri: 168  
 Contact:
Medalii

UITE AICI SYSSER CLIENT
[spoiler]0412 11:16:10123 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139, strType=).STRANGE_SKILL_TYPE
0412 11:16:12207 :: invalid idx 0
0412 11:17:17551 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0412 11:17:19608 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0412 11:17:20073 :: CPythonPlayer::SetItemData(dwSlotIndex=2, itemIndex=1299) - Failed to item data

0412 11:17:31891 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/boar/combo_attack1.msa) ERROR
0412 11:17:31891 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/boar/combo_attack1.msa) ERROR
0412 11:17:31891 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/boar/combo_attack1.msa) ERROR
0412 11:17:31901 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/boar/skill2.msa) ERROR
0412 11:17:31901 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/boar/skill2.msa) ERROR
0412 11:17:31901 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/boar/skill2.msa) ERROR
0412 11:17:00549 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/dog_god/combo_attack1.msa) ERROR
0412 11:17:00549 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/dog_god/combo_attack1.msa) ERROR
0412 11:17:00549 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/dog_god/combo_attack1.msa) ERROR
0412 11:17:00552 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/dog_god/skill2.msa) ERROR
0412 11:17:00552 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/dog_god/skill2.msa) ERROR
0412 11:17:00552 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/dog_god/skill2.msa) ERROR
0412 11:38:56565 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/lion/combo_attack1.msa) ERROR
0412 11:38:56575 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/lion/combo_attack1.msa) ERROR
0412 11:38:56575 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/lion/combo_attack1.msa) ERROR
0412 11:38:56620 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/lion/skill2.msa) ERROR
0412 11:38:56620 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/lion/skill2.msa) ERROR
0412 11:38:56620 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/npc/lion/skill2.msa) ERROR
0412 11:41:45863 :: CInstanceBase::PushTCPState ÇĂ·ąŔĚľî Ŕڽſˇ°Ô Ŕ̵żĆĐŶŔş żŔ¸é ľČµČ´Ů!
0412 11:41:10517 :: CInstanceBase::PushTCPState ÇĂ·ąŔĚľî Ŕڽſˇ°Ô Ŕ̵żĆĐŶŔş żŔ¸é ľČµČ´Ů!
0412 11:41:14517 :: CInstanceBase::PushTCPState ÇĂ·ąŔĚľî Ŕڽſˇ°Ô Ŕ̵żĆĐŶŔş żŔ¸é ľČµČ´Ů!
0412 11:42:19570 :: CInstanceBase::PushTCPState ÇĂ·ąŔĚľî Ŕڽſˇ°Ô Ŕ̵żĆĐŶŔş żŔ¸é ľČµČ´Ů!
0412 11:42:22340 :: CInstanceBase::PushTCPState ÇĂ·ąŔĚľî Ŕڽſˇ°Ô Ŕ̵żĆĐŶŔş żŔ¸é ľČµČ´Ů!
0412 11:45:46827 :: CInstanceBase::PushTCPState ÇĂ·ąŔĚľî Ŕڽſˇ°Ô Ŕ̵żĆĐŶŔş żŔ¸é ľČµČ´Ů![/spoiler]
si uite si server

https://mega.nz/#!ojhF0AoJ!6xia30w3HyOb ... UBnZq5Sdg4
Ultima oară modificat 12 Apr 2018, 11:31 de către KIDDA, modificat 1 dată în total.
Motiv: #Spoiler
Avatar utilizator
sanducatalin1
Mister Just4Metin

Mister Just4Metin
Mesaje: 619
Membru din: 28 Iun 2015, 16:07
Server: Draco
Regat: Shinsoo
Aprecieri: 127  
Mulţumiri: 168  
 Contact:
Medalii

nu am ce face cu pet, nu am pet in client si nici in server
Avatar utilizator
Bughy
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 431
Membru din: 10 Apr 2018, 22:33
Server: Toate =))
Regat: Jinno
Aprecieri: 62  
Mulţumiri: 51  
 Contact:
Medalii

poftim, baga acest quest in locul aluia.

Cod: Selectaţi tot

quest ride begin
state start begin
   function Ride( vnum )
     ride_info = {
     [71114] = { 20110,   5*60,apply.DEF_GRADE_BONUS,   70,75,   true   }, --gelb
     [71115] = { 20110,   5*60,apply.DEF_GRADE_BONUS,   100,100,   true   }, --blau
     [71116] = { 20111,   5*60,apply.DEF_GRADE_BONUS,   100,80,   true   }, --gelb
     [71117] = { 20111,   5*60,apply.DEF_GRADE_BONUS,   150,100,   true   }, --blau
     [71118] = { 20112,   5*60,apply.DEF_GRADE_BONUS,   125,80,   true   }, --gelb
     [71119] = { 20112,   5*60,apply.DEF_GRADE_BONUS,   200,100,   true   }, --blau
     [71120] = { 20113,   5*60,apply.ATT_GRADE_BONUS,   200,85,   true   }, --gelb
     [71121] = { 20113,   5*60,apply.ATT_GRADE_BONUS,   400,110,   true   }, --blau
     [71131] = { 20221,   5*60,apply.MOV_SPEED,   100,75,   true   }, --blau
    
    
     [52001]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52002]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52003]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52004]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52005]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
     [52061]   = { 20213,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52066]   = { 20214,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
    
     [52016]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52017]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52018]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52019]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52020]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
      
     [52046]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52047]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52048]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52049]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52050]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
    
     [52031]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52032]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52033]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52034]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52035]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
     [52011]   = { 20209,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52012]   = { 20209,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52013]   = { 20209,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52014]   = { 20209,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52015]   = { 20209,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
    
     [52026]   = { 20210,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52027]   = { 20210,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52028]   = { 20210,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52029]   = { 20210,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52030]   = { 20210,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
      
     [52056]   = { 20211,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52057]   = { 20211,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52058]   = { 20211,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52059]   = { 20211,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52060]   = { 20211,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
    
     [52041]   = { 20212,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52042]   = { 20212,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52043]   = { 20212,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52044]   = { 20212,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52045]   = { 20212,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
     [71124] = { 20114,   item.get_socket(2)*100,POINT_EXP_DOUBLE_BONUS,1,1,   true   }, ----Weißer Löwe
     [71125] = { 20115,   item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,   true   }, --Kriegskeiler
     [71126] = { 20116,   item.get_socket(2)*60,apply.STEAL_HP,15,1,   true   }, --Streitwolf-Siegel
     [71127] = { 20117,   item.get_socket(2)*60,apply.HP_REGEN,50,1,   true   }, --Sturmtiger-Siegel
     [71128] = { 20118,   item.get_socket(2)*60,POINT_DEF_BONUS,15,1,   true   }, --Schlachtenlöwen-Siegel
     [52066] = { 20215,   item.get_socket(2)*50,ATTBONUS_MONSTER,15,1,   true   }, --Schlachtenlöwen-Siegel
    
    
     [80110] = { 20114,   item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,   false   }, ----Weißer Löwe
     [80111] = { 20115,   item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,   false   }, --Kriegskeiler
     [80112] = { 20116,   item.get_socket(2)*60,apply.STEAL_HP,15,1,   false   }, --Streitwolf-Siegel
     [80113] = { 20117,   item.get_socket(2)*60,apply.HP_REGEN,50,1,   false   }, --Sturmtiger-Siegel
     [80114] = { 20118,   item.get_socket(2)*60,POINT_DEF_BONUS,15,1,   false   }, --Schlachtenlöwen-Siegel
    
     [71132] = { 20119,   60*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71133] = { 20119,   120*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71134] = { 20119,   180*60,apply.SKILL,1,1,   false   }, --Horse_event
    
     [71137] = { 20120,   item.get_socket(2)*60,PREMIUM_EXP,30,100,   false   }, --Horse_event
     }
     if pc.level < ride_info[vnum][5] then
       say_title("Informaþie:")
       say("Nu ai nivelul necesar pentru a îmblânzi acest")
       say("mount, înearcã mai târziu.")
       return
     elseif pc.is_polymorphed() then
       say_title("Informaþie:")
       say("Nu poþi face aºa ceva cât timp eºti transformat.")
       return
     elseif pc.is_riding() then
       say_title("Informaþie:")
       say("Nu poþi face aºa ceva, deoarece eºti")
       say("deja pe un mount..")
       return
     else
   pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
   pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
   if true == ride_info[vnum][6] then
   pc.remove_item(vnum, 1)
   end
   end
   end
   when 71114.use or 71137.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use --normale siegel
   or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 52061.use or 52066.use--48H reittier siegel
   or 80110.use or 80111.use or 80112.use or 80113.use or 80114.use --Anfangs Siegel Starterse
   or 71131.use or 71132.use or 71133.use or 71134.use or 52001.use or 52002.use or 52003.use or 52004.use or 52005.use
   or 52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52031.use or 52032.use or 52033.use or 52034.use or 52035.use
   or 52046.use or 52047.use or 52048.use or 52049.use or 52050.use or 71137.use or
   52011.use or 52012.use or 52013.use or 52014.use or 52015.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use
   or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use begin
     if pc.get_map_index() == 113 or
     pc.get_map_index() == 118 or
     pc.get_map_index() == 119 or
     pc.get_map_index() == 120 or
     pc.get_map_index() == 122 or
     pc.get_map_index() == 123 or
     pc.get_map_index() == 124 or
     pc.get_map_index() == 126 or
     pc.get_map_index() == 127 or
     pc.get_map_index() == 128 and not pc.is_gm() then
     return
     end
   ride.Ride(item.get_vnum())
   end
   when login begin
     if pc.get_map_index() == 113 or
     pc.get_map_index() == 118 or
     pc.get_map_index() == 119 or
     pc.get_map_index() == 120 or
     pc.get_map_index() == 122 or
     pc.get_map_index() == 123 or
     pc.get_map_index() == 124 or
     pc.get_map_index() == 126 or
     pc.get_map_index() == 127 or
     pc.get_map_index() == 128 and not pc.is_gm() then
     return
     end
     local vnum, remain_time = pc.get_special_ride_vnum()
     if 0 != vnum then
       if pc.is_polymorphed() then
         return
       elseif pc.is_riding() then
         return
       else
         ride.Ride(vnum, remain_time)
       end
     end
   end

end
end
Pentru acest mesaj, Bughy for the post:
sanducatalin1
Imagine
Daca te-am ajutat lasa un like :) B-) :ymhug: ;)
Afișează semnătura
Avatar utilizator
sanducatalin1
Mister Just4Metin

Mister Just4Metin
Mesaje: 619
Membru din: 28 Iun 2015, 16:07
Server: Draco
Regat: Shinsoo
Aprecieri: 127  
Mulţumiri: 168  
 Contact:
Medalii

Deci, eu am clientul de la Ro din 2011 in el nu avea pose nici mount-uri le-am bagat eu, questul ala l-am avut si nu merge bine, nu iti da sigiliul jos din inventar, mie imi trebuie 2 questuri separate pentru sigiliile din v3 si cele de la cufere.
Eu am 13 sigililii in total pe server mistret galben/albastru
lup galben/albastru
leu galben/albastru
tigru galben/albastru
leu alb leu negru lup negru tigru negru mistret negru..
Avatar utilizator
Bughy
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 431
Membru din: 10 Apr 2018, 22:33
Server: Toate =))
Regat: Jinno
Aprecieri: 62  
Mulţumiri: 51  
 Contact:
Medalii

Deci, quest-ul merge dar cand te teleportezi nu iti da jos sigiliul?
intra in special_item_group si adauga asta la sfarsit.

Cod: Selectaţi tot

Group Mounturi_phemios
{ 
Vnum 10030
1 71114 1 1
2 71115 1 1
3 71116 1 1
4 71117 1 1
5 71118 1 1
6 71119 1 1
7 71120 1 1
8 71121 1 1
9 71171 1 1
10 71172 1 1
11 71124 1 1
12 71125 1 1
13 71126 1 1
14 71127 1 1
15 71128 1 1
16 71137 1 1
17 71138 1 1
18 71139 1 1
19 71140 1 1
20 71141 1 1
21 71142 1 1
22 71161 1 1
23 71164 1 1
24 71165 1 1
25 71166 1 1
26 71171 1 1
27 71172 1 1 
}
Pentru acest mesaj, Bughy for the post:
sanducatalin1
Imagine
Daca te-am ajutat lasa un like :) B-) :ymhug: ;)
Afișează semnătura
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

sanducatalin1 scrie:Deci, eu am clientul de la Ro din 2011 in el nu avea pose nici mount-uri le-am bagat eu, questul ala l-am avut si nu merge bine, nu iti da sigiliul jos din inventar, mie imi trebuie 2 questuri separate pentru sigiliile din v3 si cele de la cufere.
Eu am 13 sigililii in total pe server mistret galben/albastru
lup galben/albastru
leu galben/albastru
tigru galben/albastru
leu alb leu negru lup negru tigru negru mistret negru..
Daca iti citeste .txt, posteaza prima linie si linia unui mount.
Pentru acest mesaj, Hades ✔ for the post:
sanducatalin1
Hades World
(New) 2023 Version for Selling!
Discord: hades_97
Server Discord: https://discord.gg/YF27nkC

:flag_gb: :flag_ro: :flag_de: :flag_tr: :flag_pl: :flag_cz: :flag_fr: :flag_pt: :flag_nl: :flag_gr: :flag_hu: :flag_it: :flag_es:

Imagine
Afișează semnătura
Avatar utilizator
sanducatalin1
Mister Just4Metin

Mister Just4Metin
Mesaje: 619
Membru din: 28 Iun 2015, 16:07
Server: Draco
Regat: Shinsoo
Aprecieri: 127  
Mulţumiri: 168  
 Contact:
Medalii

si cand dau ctrl+g nu se dau jos
Închis
Răspunsuri
4
Vizualizări
423
Răspunsuri
5
Vizualizări
658
Răspunsuri
0
Vizualizări
115
Răspunsuri
0
Vizualizări
37

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Baidu [Spider] și 72 vizitatori