Probleme Mount !
Nu stiu care poate fi problema la mounturi.. dar indiferent de ce mount folosesc in momentul in care apas click dreapata sa il echipez ( sa ma urc pe el ) , mountu se echipeaza in inventar,ma urc pe el si sta cam 2 secunde.. apoi ma da jos automat...
Este deja instalat un quest ride...
Cod: Selectaţi tot
-------------------------------
-- SERVERFILE BY Cryptex
-------------------------------
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, item.get_socket(2)*60, apply.DEF_GRADE_BONUS, 100, 75, false },
[71116] = { 20111, 5*60, apply.DEF_GRADE_BONUS, 100, 80, true },
[71117] = { 20111, item.get_socket(2)*60, apply.DEF_GRADE_BONUS, 150, 80, false },
[71118] = { 20112, 5*60, apply.DEF_GRADE_BONUS, 125, 85, true },
[71119] = { 20112, item.get_socket(2)*60, apply.DEF_GRADE_BONUS, 200, 85, false },
[71120] = { 20113, 5*60, apply.ATT_GRADE_BONUS, 200, 85, true },
[71121] = { 20113, item.get_socket(2)*60, apply.ATT_GRADE_BONUS, 300, 85, false },
[71124] = { 20114, item.get_socket(2)*60, apply.MOV_SPEED, 0, 1, false },
[71125] = { 20202, item.get_socket(2)*60, apply.ATTBONUS_MONSTER, 20, 20, false },
[71126] = { 20203, item.get_socket(2)*60, apply.CRITICAL_PCT, 10, 20, false },
[71127] = { 20110, item.get_socket(2)*60, apply.CRITICAL_PCT, 10, 20, false },
[71128] = { 20113, item.get_socket(2)*60, apply.MALL_DEFBONUS, 10, 20, false },
[71131] = { 20119, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false },
[71132] = { 20119, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false },
[71133] = { 20119, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false },
[71134] = { 20119, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false },
[71161] = { 20219, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71171] = { 20227, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71172] = { 20226, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
}
if pc.level < ride_info[vnum][5] then
syschat("Nivelul tău este prea mic.")
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
or 71171.use or 71172.use or 71161.use or 71131.use or 71132.use or 71133.use or 71134.use or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use begin
if pc.is_polymorphed() then
syschat("Nu poţi călări cât timp eşti transformat.")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
ride.Ride(item.vnum, 0)
else
syschat("Deja călăreşti un animal.")
end
end
end
endAm aceasi problema UP ... sau cer celui ce a deschis topicul sa posteze si rezolvarea rog mult 
Am avut si eu problema, trebuie modificat in item_proto. Momentan nu pot sa iti spun ce, sunt pe telefon.
[ Mesaj scris via Android ]
[ Mesaj scris via Android ]

Ultima oară modificat 15 Oct 2015, 09:07 de către REALSaiyajin, modificat 1 dată în total.
Te duci in item_proto, cauti codul sigiliului si unde ai socket0 , socket1 , socket2 , socket3 , socket4 , socket5 si socket_pct3 pui 0 .
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Bing [Bot], sanducatalin1 și 4 vizitatori






