Tipologie server: 40k
*Resursă folosită:
*ServerFiles utilizat: http://just4metin.ro/serverfiles/2009-4 ... 58966.html
*Syserr:
Poză:*Detalii suplimentare:
Quest:

Poză:
Da, cu asta se face bug, am sistemul prin care mount-ul te urmareste ca un cal.yonr1 scrie:Ai incercat si alt quest ?
http://just4metin.ro/quest-uri/mounturi ... t6443.html
size=85][ Postat de pe Android ][/size]
Cod: Selectaţi tot
quest mount_system begin
state start begin
when 71124.use begin
horse.set_appearance(20114)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
when 71125.use begin
horse.set_appearance(20115)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
when 71126.use begin
horse.set_appearance(20116)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
when 71127.use begin
horse.set_appearance(20117)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
when 71128.use begin
horse.set_appearance(20118)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
when 71131.use begin
horse.set_appearance(20119)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
when 71161.use begin
horse.set_appearance(20219)
if pc.is_polymorphed() then
syschat("Nu poti calarii cat esti transformat.")
elseif pc.is_riding() then
syschat("Nu poti invoca un mount cat timp calaresti!")
else
if true == horse.is_summon() then
horse.unsummon()
else
horse.summon()
end
end
end
end
end
Cod: Selectaţi tot
quest ride begin
state start begin
function Ride( vnum, remain_time )
ride_info = {
[71137] = { 20120, 5*60, apply.MOV_SPEED, 0, 1, false, false, false},
[71138] = { 20121, 5*60, apply.MOV_SPEED, 0, 1, false, false, false},
[71139] = { 20122, 5*60, apply.MOV_SPEED, 0, 1, false, false, false},
[71140] = { 20123, 5*60, apply.MOV_SPEED, 0, 1, false, false, false},
[71141] = { 20124, 5*60, apply.MOV_SPEED, 0, 1, false, false, false},
[71142] = { 20125, 5*60, apply.MOV_SPEED, 0, 1, false, false, false},
}
if pc.level < ride_info[vnum][5] then
syschat("Your level is too low to use this mount.")
else
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 != 0 then
ride.Ride(vnum, remain_time)
end
end
when 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use begin
if pc.is_polymorphed() then
syschat("You can´t ride if you´re polymorphed!")
else
if false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
ride.Ride(item.vnum, 0)
else
pc.unmount()
end
end
end
end
end
Mersi!yonr1 scrie:Cod: Selectaţi tot
quest mount_system begin state start begin when 71124.use begin horse.set_appearance(20114) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71125.use begin horse.set_appearance(20115) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71126.use begin horse.set_appearance(20116) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71127.use begin horse.set_appearance(20117) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71128.use begin horse.set_appearance(20118) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71131.use begin horse.set_appearance(20119) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71161.use begin horse.set_appearance(20219) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end end endCod: Selectaţi tot
quest ride begin state start begin function Ride( vnum, remain_time ) ride_info = { [71137] = { 20120, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71138] = { 20121, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71139] = { 20122, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71140] = { 20123, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71141] = { 20124, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71142] = { 20125, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, } if pc.level < ride_info[vnum][5] then syschat("Your level is too low to use this mount.") else 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 != 0 then ride.Ride(vnum, remain_time) end end when 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use begin if pc.is_polymorphed() then syschat("You can´t ride if you´re polymorphed!") else if false == pc.is_riding() then if true == horse.is_summon() then horse.unsummon() end ride.Ride(item.vnum, 0) else pc.unmount() end end end end end

SussyFlore scrie:Mersi!yonr1 scrie:Cod: Selectaţi tot
quest mount_system begin state start begin when 71124.use begin horse.set_appearance(20114) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71125.use begin horse.set_appearance(20115) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71126.use begin horse.set_appearance(20116) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71127.use begin horse.set_appearance(20117) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71128.use begin horse.set_appearance(20118) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71131.use begin horse.set_appearance(20119) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end when 71161.use begin horse.set_appearance(20219) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end end endCod: Selectaţi tot
quest ride begin state start begin function Ride( vnum, remain_time ) ride_info = { [71137] = { 20120, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71138] = { 20121, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71139] = { 20122, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71140] = { 20123, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71141] = { 20124, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, [71142] = { 20125, 5*60, apply.MOV_SPEED, 0, 1, false, false, false}, } if pc.level < ride_info[vnum][5] then syschat("Your level is too low to use this mount.") else 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 != 0 then ride.Ride(vnum, remain_time) end end when 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use begin if pc.is_polymorphed() then syschat("You can´t ride if you´re polymorphed!") else if false == pc.is_riding() then if true == horse.is_summon() then horse.unsummon() end ride.Ride(item.vnum, 0) else pc.unmount() end end end end end
Cum il pot modifica pe al meu?
Utilizatori ce ce navighează pe acest forum: Google [Bot] și 168 vizitatori