Multumesc!
Cerere quest mount.
Salut as dori si eu un quest pentru mount dar fara bonusuri deoarece le-am facut din sursa. Am incercat eu sa modific un quest de pe acest forum dar nu stiu de ce imi spune "quest: must start with quest". Posibil sa fie o prostie ce am facut eu .
Multumesc!
Multumesc!
- [RaffaeL]
-

- Mesaje: 3223
- Membru din: 19 Mar 2016, 12:58
- Server: ...
- Aprecieri: 15
- Mulţumiri: 2502
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
nytro123 scrie:Nu ii dau de cap....
Un quest simplu:
Cod: Selectaţi tot
quest mount begin
state start begin
when 71114.use begin
if pc.is_polymorphed() then
syschat("Nu poti calarii in timp ce esti transformat.")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
pc.mount(20110)
else
pc.unmount()
end
end
end
endMultumesc! dar cum as putea face sa bag mai multe sigilii in acelasi quest ca sa nu fac un quest pentru fiecare sigiliu in parte?[RaffaeL] scrie:
Un quest simplu:Cod: Selectaţi tot
quest mount begin state start begin when 71114.use begin if pc.is_polymorphed() then syschat("Nu poti calarii in timp ce esti transformat.") elseif false == pc.is_riding() then if true == horse.is_summon() then horse.unsummon() end pc.mount(20110) else pc.unmount() end end end end
- [RaffaeL]
-

- Mesaje: 3223
- Membru din: 19 Mar 2016, 12:58
- Server: ...
- Aprecieri: 15
- Mulţumiri: 2502
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Poftim, si pentru mai multe sigilii:nytro123 scrie:[RaffaeL] scrie:
Un quest simplu:Multumesc! dar cum as putea face sa bag mai multe sigilii in acelasi quest ca sa nu fac un quest pentru fiecare sigiliu in parte?Cod: Selectaţi tot
quest mount begin state start begin when 71114.use begin [....]
Cod: Selectaţi tot
quest mount begin
state start begin
function mount(vnum)
mounturi = {
[71114] = {20110},
[71115] = {20110},
[71116] = {20111},
[71117] = {20111},
[71119] = {20112},
}
pc.mount(mounturi[vnum][1], mounturi[vnum][2])
end
when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use begin
if pc.is_polymorphed() then
syschat("Nu poti calarii in timp ce esti transformat.")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
mount.mount(item.vnum, 0)
else
pc.unmount()
end
end
end
endMultumesc mult de tot dar de ce apare "quest:1:must start with quest" chiar nu inteleg.[RaffaeL] scrie: Poftim, si pentru mai multe sigilii:Cod: Selectaţi tot
quest mount begin state start begin function mount(vnum) mounturi = { [71114] = {20110}, [71115] = {20110}, [71116] = {20111}, [71117] = {20111}, [71119] = {20112}, } pc.mount(mounturi[vnum][1], mounturi[vnum][2]) end when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use begin if pc.is_polymorphed() then syschat("Nu poti calarii in timp ce esti transformat.") elseif false == pc.is_riding() then if true == horse.is_summon() then horse.unsummon() end mount.mount(item.vnum, 0) else pc.unmount() end end end end
- [RaffaeL]
-

- Mesaje: 3223
- Membru din: 19 Mar 2016, 12:58
- Server: ...
- Aprecieri: 15
- Mulţumiri: 2502
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Sterge tot ce tine de questul "ride", din object/state si notarget, si eventual verifica si folderele cu codul sigiliilor(in aceeasi locatie), dupa care reinstaleaza questul.nytro123 scrie:Multumesc mult de tot dar de ce apare "quest:1:must start with quest" chiar nu inteleg.[RaffaeL] scrie: Poftim, si pentru mai multe sigilii:Cod: Selectaţi tot
quest mount begin state start begin function mount(vnum) mounturi = { [71114] = {20110}, [71115] = {20110}, [71116] = {20111}, [71117] = {20111}, [71119] = {20112}, } pc.mount(mounturi[vnum][1], mounturi[vnum][2]) end when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use begin if pc.is_polymorphed() then syschat("Nu poti calarii in timp ce esti transformat.") elseif false == pc.is_riding() then if true == horse.is_summon() then horse.unsummon() end mount.mount(item.vnum, 0) else pc.unmount() end end end end
Se instaleaza, si functioneaza ok.

Edit: Ai grija la asezare. M-am uitat acum peste questul tau, si ai "end"-uri care inchid aiurea...Poftim:
Cod: Selectaţi tot
quest mount begin
state start begin
function mount(vnum)
mounturi = {
[71115] = {20110},
[71116] = {20111},
[71118] = {20112},
[71120] = {20113},
[71124] = {20114},
[71125] = {20115},
[71126] = {20116},
[71127] = {20117},
[71128] = {20118},
[71137] = {20120},
[71138] = {20121},
[71139] = {20122},
[71140] = {20123},
[71141] = {20124},
[71142] = {20125},
[71131] = {20221},
[71132] = {20222},
[71161] = {20224},
[71171] = {20227},
[71172] = {20226},
}
pc.mount(mounturi[vnum][1], mounturi[vnum][2])
end
when 71115.use or 71116.use or 71117.use or 71118.use or 71120.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 71131.use or 71132.use or 71161.use or 71171.use or 71172.use begin
if pc.is_polymorphed() then
syschat("Nu poti calarii in timp ce esti transformat.")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
mount.mount(item.vnum, 0)
else
pc.unmount()
end
end
end
endNu mai inteleg nimic, in object nu am sigiliile, de ce face asa?[RaffaeL] scrie: Sterge tot ce tine de questul "ride", din object/state si notarget, si eventual verifica si folderele cu codul sigiliilor(in aceeasi locatie), dupa care reinstaleaza questul.
Se instaleaza, si functioneaza ok.
Edit: Ai grija la asezare. M-am uitat acum peste questul tau, si ai "end"-uri care inchid aiurea...
Poftim:Cod: Selectaţi tot
quest mount begin state start begin function mount(vnum) mounturi = { [71115] = {20110}, [71116] = {20111}, [71118] = {20112}, [71120] = {20113}, [71124] = {20114}, [71125] = {20115}, [71126] = {20116}, [71127] = {20117}, [71128] = {20118}, [71137] = {20120}, [71138] = {20121}, [71139] = {20122}, [71140] = {20123}, [71141] = {20124}, [71142] = {20125}, [71131] = {20221}, [71132] = {20222}, [71161] = {20224}, [71171] = {20227}, [71172] = {20226}, } pc.mount(mounturi[vnum][1], mounturi[vnum][2]) end when 71115.use or 71116.use or 71117.use or 71118.use or 71120.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 71131.use or 71132.use or 71161.use or 71171.use or 71172.use begin if pc.is_polymorphed() then syschat("Nu poti calarii in timp ce esti transformat.") elseif false == pc.is_riding() then if true == horse.is_summon() then horse.unsummon() end mount.mount(item.vnum, 0) else pc.unmount() end end end end
https://imgur.com/a/hWUW7Aw
Vina mea, trebuia sa il aranjez. Quest-ul este functional dar la unicorni am aceasta problema: cand dau CTR+G sa ma dau jos, disparea de sub mine dar sigiliie raman in casuta, mentionez ca au type 16.
Ma urc folosind ctrl+g: https://imgur.com/a/Ie4IgGF
si cand ma dau jos: https://imgur.com/a/ZWs9qCP
EDIT: cred ca am aceasta problema pentru ca nu sunt setati ca mount-uri, nu pot ataca de pe ei. O sa rezolv aceasta problema mai tarziu.
Quest perfect functional.
Ma urc folosind ctrl+g: https://imgur.com/a/Ie4IgGF
si cand ma dau jos: https://imgur.com/a/ZWs9qCP
EDIT: cred ca am aceasta problema pentru ca nu sunt setati ca mount-uri, nu pot ataca de pe ei. O sa rezolv aceasta problema mai tarziu.
Quest perfect functional.
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 4 vizitatori




