Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Szukam] Quest na wierzchowce


Rekomendowane odpowiedzi

Opublikowano

Witam, szukam questu ktory pozwala zejść z wierzchowca ctrl+jakis klawisz, rowniez schodzi z wierzchowca po teleporcie(zmiana mapy) wylogowaniu i zalogowaniu oczywiscie quest ma dzialac na pieczec.

 

zrobilem ze pieczec zaklada sie na sloty tam gdzie buty wiatru itp.

athlonsygnaturka.png

Opublikowano

żeby pieczęć zdejmowała się poprzez kliknięcie musisz dodać wpis do special item group

Group Pieczęcie
{
Vnum 10030
1 52001 1 100
}

 

index | id_pieczęci | tak zostaw | tak zostaw

zmień tylko idndex i id pieczęci

 

------------------------------------------------
-- Autor: Terenzo. (http://terenzo.tk)
-- Zakaz publikowania i sprzedawania!
------------------------------------------------
quest mount begin
state start begin
when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or
71121.use or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 71137.use or
71138.use or 71139.use or 71140.use or 71141.use or 71142.use with not pc.is_polymorphed() begin
mount.ride(item.get_vnum())
end
when login begin
if item.select_cell(97) then
if 71114 <= item.vnum and item.vnum <= 71142 then
pc.unmount()
mount.ride(item.vnum)
end
end
if item.select_cell(98) then
if 71114 <= item.vnum and item.vnum <= 71142 then
pc.unmount()
mount.ride(item.vnum)
end
end
end
function ride(id)
local time = 0
local bon1id = 0 bon1val = 0
local bon2id = 0 bon2val = 0
local bon3id = 0 bon3val = 0
if id == 71114 then id = 20110 time = 60*24*7
elseif id == 71115 then id = 20110 time = 60*24*7
elseif id == 71116 then id = 20111 time = 60*24*7
elseif id == 71117 then id = 20111 time = 60*24*7
elseif id == 71118 then id = 20112 time = 60*24*7
elseif id == 71119 then id = 20112 time = 60*24*7
elseif id == 71120 then id = 20113 time = 60*24*7
elseif id == 71121 then id = 20113 time = 60*24*7
elseif id == 71124 then id = 20114 time = 60*20
elseif id == 71125 then id = 20115 time = 60*24*20
elseif id == 71126 then id = 20116 time = 60*24*20
elseif id == 71127 then id = 20117 time = 60*24*20
elseif id == 71128 then id = 20118 time = 60*24*20
elseif id == 71137 then id = 20120 time = 60*24*20
elseif id == 71138 then id = 20121 time = 60*24*20
elseif id == 71139 then id = 20122 time = 60*24*20
elseif id == 71140 then id = 20123 time = 60*24*20
elseif id == 71141 then id = 20124 time = 60*24*20
elseif id == 71142 then id = 20125 time = 60*24*20
else return end

if pc.get_armor() == 11901 or pc.get_armor() == 11902 then
say("")
say_title(pc.get_name().."...")
say("Zdejmij swoją suknię i ponownie założ pieczęć!")
return
elseif pc.get_armor() == 11903 or pc.get_armor() == 11904 then
say("")
say_title(pc.get_name().."...")
say("Zdejmij swój garnitur i ponownie założ pieczęć!")
return
end

time = time*60
pc.mount(id, time)
if bon1id !=0 and bon1val !=0 then
pc.mount_bonus(bon1id, bon1val, time)
end
if bon2id !=0 and bon2val !=0 then
pc.mount_bonus(bon2id, bon2val, time)
end
if bon3id !=0 and bon3val !=0 then
pc.mount_bonus(bon3id, bon3val, time)
end
end
end
end

 

 

 

quest by terenzo

 

poradzisz sobie dalej?

Opublikowano

Quest:

 

 

------------------------------------------------
-- Autor: Terenzo. (http://terenzo.tk)
-- Zakaz publikowania i sprzedawania!
------------------------------------------------
quest wierzchowce begin
state start begin
when 90000.use or 90001.use or 90002.use or 90003.use or 90004.use or 90005.use or 90006.use or
90007.use or 90008.use or 90009.use or 90010.use or 90011.use or 90012.use or 90013.use or
90014.use or 90015.use or 90016.use or 90017.use or 90018.use or 90019.use or 90020.use or
90021.use or 90022.use with not pc.is_polymorphed() begin
mount.ride(item.get_vnum())
end
when login begin
if item.select_cell(97) then
if 90000 <= item.vnum and item.vnum <= 90022 then
pc.unmount()
mount.ride(item.vnum)
end
end
if item.select_cell(98) then
if 90000 <= item.vnum and item.vnum <= 90022 then
pc.unmount()
mount.ride(item.vnum)
end
end
end
function ride(id)
local time = 0
local bon1id = 0 bon1val = 0
local bon2id = 0 bon2val = 0
local bon3id = 0 bon3val = 0
if id == 90000 then id = 20110 time = 60*24*7
elseif id == 90001 then id = 20110 time = 60*24*7
elseif id == 90002 then id = 20111 time = 60*24*7
elseif id == 90003 then id = 20111 time = 60*24*7
elseif id == 90004 then id = 20112 time = 60*24*7
elseif id == 90005 then id = 20112 time = 60*24*7
elseif id == 90006 then id = 20113 time = 60*24*7
elseif id == 90007 then id = 20113 time = 60*24*7
elseif id == 90008 then id = 20114 time = 60*20
elseif id == 90009 then id = 20115 time = 60*24*20
elseif id == 90010 then id = 20116 time = 60*24*20
elseif id == 90011 then id = 20117 time = 60*24*20
elseif id == 90012 then id = 20118 time = 60*24*20
elseif id == 90013 then id = 20120 time = 60*24*20
elseif id == 90014 then id = 20121 time = 60*24*20
elseif id == 90015 then id = 20122 time = 60*24*20
elseif id == 90016 then id = 20123 time = 60*24*20
elseif id == 90017 then id = 20124 time = 60*24*20
elseif id == 90018 then id = 20118 time = 60*24*20
elseif id == 90019 then id = 20120 time = 60*24*20
elseif id == 90020 then id = 20121 time = 60*24*20
elseif id == 90021 then id = 20122 time = 60*24*20
elseif id == 90022 then id = 20125 time = 60*24*20
else return end
if pc.get_armor() == 11901 or pc.get_armor() == 11902 then
say("")
say_title(pc.get_name().."...")
say("Zdejmij swoją suknię i ponownie założ pieczęć!")
return
elseif pc.get_armor() == 11903 or pc.get_armor() == 11904 then
say("")
say_title(pc.get_name().."...")
say("Zdejmij swój garnitur i ponownie założ pieczęć!")
return
end
time = time*60
pc.mount(id, time)
if bon1id !=0 and bon1val !=0 then
pc.mount_bonus(bon1id, bon1val, time)
end
if bon2id !=0 and bon2val !=0 then
pc.mount_bonus(bon2id, bon2val, time)
end
if bon3id !=0 and bon3val !=0 then
pc.mount_bonus(bon3id, bon3val, time)
end
end
end
end

 

 

 

special_item_group

 

 

 

Group pieczecie
{
Vnum 10030
1 90000 1 100
2 90001 1 100
3 90002 1 100
3 90003 1 100
4 90004 1 100
5 90005 1 100
6 90006 1 100
7 90007 1 100
8 90008 1 100
9 90009 1 100
10 90010 1 100
11 90011 1 100
12 90012 1 100
13 90013 1 100
14 90014 1 100
15 90015 1 100
16 90016 1 100
17 90017 1 100
18 90018 1 100
19 90019 1 100
20 90020 1 100
23 90021 1 100
22 90022 1 100
}	

 

 

 

I mam bląd przy instalacji questa:

 

50485904.png

athlonsygnaturka.png

Opublikowano

dodaj do quest function mount.ride i pc.mount_bonus

Pracuje niestety samodzielnie nad typowym hardem :

Mój Postęp Prac :

Pliki serwerowe : ok 80 %

Client : ok 80 %

Strona www : ok 95 %

Opublikowano

Ja pierdykam, jak Wy Mu tłumaczycie "łod de fak" rzeczy z nasa -.-

Chcesz aby pieczęcie Ci się zdejmowały po kliknięciu CTRL + G ?

Masz questa.. -.-

 

 

quest mount begin
   state start begin
       when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use or 71124.use or 71125.use or 71126.use or
           71127.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use or 52001.use or 52002.use or 52003.use or
           52004.use or 52005.use or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use or 52011.use or 52012.use or 52013.use or 52014.use or
           52015.use or 52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use or
           52026.use or 52027.use or 52028.use or 52029.use or 52030.use or 52031.use or 52032.use or 52033.use or 52034.use or 52035.use or 52036.use or
           52037.use or 52038.use or 52039.use or 52040.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or 52046.use or 52047.use or
           52048.use or 52049.use or 52050.use or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or
           52059.use or 52060.use or 52061.use or 52062.use or 52063.use or 52064.use or 52065.use or 52066.use or 52067.use or 52068.use or 52069.use or
           52070.use or 52071.use or 52072.use or 52073.use or 52074.use or 52075.use or 52076.use or 52077.use or 52078.use or 52079.use or 52080.use or
           52081.use or 52082.use or 52083.use or 52084.use or 52085.use or 52086.use or 52087.use or 52088.use or 52089.use or 52090.use with
           not pc.is_polymorphed() begin
           mount.ride(item.get_vnum())
       end
       when login begin
           if item.select_cell(97) then
               if 71114 <= item.vnum and item.vnum <= 71142 then
                   pc.unmount()
                   mount.ride(item.vnum)
               end
           end
           if item.select_cell(98) then
               if 71114 <= item.vnum and item.vnum <= 71142 then
                   pc.unmount()
                   mount.ride(item.vnum)
               end
           end
       end
       function ride(vnum)
           if pc.is_mount() then
               pc.unmount()
               return
           end
           local time = mount.info(vnum, 8)
           local bon1id = mount.info(vnum, 2) bon1val = mount.info(vnum, 3)
           local bon2id = mount.info(vnum, 4) bon2val = mount.info(vnum, 5)
           local bon3id = mount.info(vnum, 6) bon3val = mount.info(vnum, 7)

           if pc.get_armor() == 11901 or pc.get_armor() == 11902 then
               say("")
               say_title(pc.get_name().."...")
               say("Zdejmij swoją suknię i ponownie założ pieczęć!")
               return
           elseif pc.get_armor() == 11903 or pc.get_armor() == 11904 then
               say("")
               say_title(pc.get_name().."...")
               say("Zdejmij swój garnitur i ponownie założ pieczęć!")
               return
           end

           time = time*60
           pc.mount(mount.info(vnum, 1), time)
           if bon1id !=0 and bon1val !=0 then
               pc.mount_bonus(bon1id, bon1val, time)
           end
           if bon2id !=0 and bon2val !=0 then
               pc.mount_bonus(bon2id, bon2val, time)
           end
           if bon3id !=0 and bon3val !=0 then
               pc.mount_bonus(bon3id, bon3val, time)
           end
       end
       function info(vnum, index)
           mount_list={ --  mount  bon1  bon2  bon3  czas (min.)
               [52001] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52002] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52003] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52004] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52005] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52006] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52007] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52008] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52009] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52010] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52011] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52012] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52013] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52014] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52015] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52016] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52017] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52018] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52019] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52020] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52021] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52022] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52023] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52024] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52025] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52026] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52027] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52028] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52029] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52030] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52031] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52032] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52033] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52034] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52035] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52036] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52037] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52038] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52039] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52040] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52041] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52042] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52043] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52044] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52045] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52046] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52047] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52048] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52049] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52050] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52051] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52052] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52053] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52054] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52055] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52056] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52057] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52058] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52059] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52060] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52061] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52062] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52063] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52064] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52065] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52066] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52067] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52068] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52069] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52070] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52071] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52072] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52073] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52074] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52075] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52076] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52077] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52078] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52079] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52080] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52081] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52082] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52083] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52084] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52085] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52086] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52087] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52088] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52089] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [52090] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71114] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71115] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71116] = {20111, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71117] = {20111, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71118] = {20112, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71119] = {20112, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71120] = {20113, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71121] = {20113, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71124] = {20114, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71125] = {20115, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71126] = {20116, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71127] = {20117, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71128] = {20118, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71137] = {20120, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71138] = {20121, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71139] = {20122, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71140] = {20123, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71141] = {20124, 0, 0, 0, 0, 0, 0, 60*24*7},
               [71142] = {20125, 0, 0, 0, 0, 0, 0, 60*24*7},
           }
           return mount_list[vnum][index]
       end
   end
end

 

 

 

Zdejmowanie pieczęci przyciskiem CTRL + G działa na pieczęciach od 71137 do 71142 Pozdrawiam, liczę na lajka.

Opublikowano

@up widze 3 raz ten quest i wiem czyj on jest, ale moze wkoncu ktos opisze co gdzie zmienic bo nasrane tego jest ze glowa boli..

 

		 when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use or 71124.use or 71125.use or 71126.use or
				 71127.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use or 52001.use or 52002.use or 52003.use or
				 52004.use or 52005.use or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use or 52011.use or 52012.use or 52013.use or 52014.use or
				 52015.use or 52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use or
				 52026.use or 52027.use or 52028.use or 52029.use or 52030.use or 52031.use or 52032.use or 52033.use or 52034.use or 52035.use or 52036.use or
				 52037.use or 52038.use or 52039.use or 52040.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or 52046.use or 52047.use or
				 52048.use or 52049.use or 52050.use or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or
				 52059.use or 52060.use or 52061.use or 52062.use or 52063.use or 52064.use or 52065.use or 52066.use or 52067.use or 52068.use or 52069.use or
				 52070.use or 52071.use or 52072.use or 52073.use or 52074.use or 52075.use or 52076.use or 52077.use or 52078.use or 52079.use or 52080.use or
				 52081.use or 52082.use or 52083.use or 52084.use or 52085.use or 52086.use or 52087.use or 52088.use or 52089.use or 52090.use with

To wszystko to ID pieczeci ?!

 

edit.

 

"71137 do 71142" to kur.. co to jest ?! 5 wierzchowcow tylko ?!

 

 

A to

 

						 [52001] = {20110, 0, 0, 0, 0, 0, 0, 60*24*7},

52001 = Id pieczeci

20110 = id wierzchowca

0, 0, 0, 0, 0, 0, = bony

60*24*7 = czas uzywania

 

I wystarczy to zmienic ?

 

ogarniam troche questy ale 1 razy widze zeby w quescie bylo tak pomieszane (chodzi mi o jakies function info(vnum, index) itp.)

athlonsygnaturka.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...