Forum KevlarSiteForum Strona Główna KevlarSiteForum
KevlarSiteForum


boots of wallwalking

 
Napisz nowy temat   Odpowiedz do tematu    Forum KevlarSiteForum Strona Główna -> Poradniki
Zobacz poprzedni temat :: Zobacz następny temat  
Administrator
Administrator



Dołączył: 16 Gru 2006
Posty: 33
Przeczytał: 0 tematów

Ostrzeżeń: 0/5

 PostWysłany: Czw 14:18, 28 Gru 2006    Temat postu: boots of wallwalking Back to top

morzna chodzic po scianie ale trzeba to robic ctrl i przez 1 kratke ale tu macie skrypt
data/actions/actionc.xml :

Cytat:

---------Borders of Boots of WaterWalking----
<action itemid="1025" script="wallwalking.lua" />
<action itemid="1026" script="wallwalking.lua" />
<action itemid="1027" script="wallwalking.lua" />
<action itemid="1028" script="wallwalking.lua" />
<action itemid="1029" script="wallwalking.lua" />
<action itemid="1030" script="wallwalking.lua" />
<action itemid="1031" script="wallwalking.lua" />
<action itemid="1032" script="wallwalking.lua" />
<action itemid="1033" script="wallwalking.lua" />
<action itemid="1034" script="wallwalking.lua" />
<action itemid="1035" script="wallwalking.lua" />
<action itemid="1036" script="wallwalking.lua" />
<action itemid="1037" script="wallwalking.lua" />
<action itemid="1038" script="wallwalking.lua" />
<action itemid="1039" script="wallwalking.lua" />
<action itemid="1040" script="wallwalking.lua" />
<action itemid="1041" script="wallwalking.lua" />
<action itemid="1042" script="wallwalking.lua" />
<action itemid="1043" script="wallwalking.lua" />
<action itemid="1044" script="wallwalking.lua" />
<action itemid="1045" script="wallwalking.lua" />
<action itemid="1046" script="wallwalking.lua" />
<action itemid="1047" script="wallwalking.lua" />
<action itemid="1048" script="wallwalking.lua" />
<action itemid="1049" script="wallwalking.lua" />
<action itemid="1050" script="wallwalking.lua" />
<action itemid="1051" script="wallwalking.lua" />
<action itemid="1052" script="wallwalking.lua" />
<action itemid="1053" script="wallwalking.lua" />
<action itemid="1054" script="wallwalking.lua" />
<action itemid="1055" script="wallwalking.lua" />
<action itemid="1056" script="wallwalking.lua" />
<action itemid="1057" script="wallwalking.lua" />
<action itemid="1058" script="wallwalking.lua" />
<action itemid="1059" script="wallwalking.lua" />
<action itemid="1060" script="wallwalking.lua" />
<action itemid="1061" script="wallwalking.lua" />
<action itemid="1062" script="wallwalking.lua" />
<action itemid="1063" script="wallwalking.lua" />
<action itemid="1064" script="wallwalking.lua" />
<action itemid="1065" script="wallwalking.lua" />
<action itemid="1066" script="wallwalking.lua" />
<action itemid="1067" script="wallwalking.lua" />
<action itemid="1068" script="wallwalking.lua" />
<action itemid="1069" script="wallwalking.lua" />
<action itemid="1070" script="wallwalking.lua" />
<action itemid="1089" script="wallwalking.lua" />
<action itemid="1090" script="wallwalking.lua" />
<action itemid="1091" script="wallwalking.lua" />
<action itemid="1092" script="wallwalking.lua" />
<action itemid="1093" script="wallwalking.lua" />
<action itemid="1094" script="wallwalking.lua" />
<action itemid="1095" script="wallwalking.lua" />
<action itemid="1096" script="wallwalking.lua" />
<action itemid="1097" script="wallwalking.lua" />
<action itemid="1098" script="wallwalking.lua" />
<action itemid="1099" script="wallwalking.lua" />
<action itemid="5009" script="wallwalking.lua" />
<action itemid="1100" script="wallwalking.lua" />
<action itemid="1101" script="wallwalking.lua" />
<action itemid="1102" script="wallwalking.lua" />
<action itemid="1103" script="wallwalking.lua" />
<action itemid="1104" script="wallwalking.lua" />
<action itemid="1105" script="wallwalking.lua" />
<action itemid="1106" script="wallwalking.lua" />
<action itemid="1107" script="wallwalking.lua" />
<action itemid="1108" script="wallwalking.lua" />
<action itemid="1109" script="wallwalking.lua" />
<action itemid="1110" script="wallwalking.lua" />
<action itemid="1111" script="wallwalking.lua" />
<action itemid="1112" script="wallwalking.lua" />
<action itemid="1113" script="wallwalking.lua" />
<action itemid="1114" script="wallwalking.lua" />
<action itemid="1115" script="wallwalking.lua" />
<action itemid="1116" script="wallwalking.lua" />
<action itemid="1117" script="wallwalking.lua" />
<action itemid="1118" script="wallwalking.lua" />
<action itemid="1119" script="wallwalking.lua" />
<action itemid="1128" script="wallwalking.lua" />
<action itemid="1129" script="wallwalking.lua" />
<action itemid="1130" script="wallwalking.lua" />
<action itemid="1131" script="wallwalking.lua" />
<action itemid="1132" script="wallwalking.lua" />
<action itemid="1133" script="wallwalking.lua" />
<action itemid="1134" script="wallwalking.lua" />
<action itemid="1135" script="wallwalking.lua" />
<action itemid="1136" script="wallwalking.lua" />
<action itemid="1137" script="wallwalking.lua" />
<action itemid="1138" script="wallwalking.lua" />
<action itemid="1139" script="wallwalking.lua" />
<action itemid="1140" script="wallwalking.lua" />
<action itemid="1141" script="wallwalking.lua" />
<action itemid="1142" script="wallwalking.lua" />
<action itemid="1143" script="wallwalking.lua" />
<action itemid="1144" script="wallwalking.lua" />
<action itemid="1145" script="wallwalking.lua" />
<action itemid="1146" script="wallwalking.lua" />
<action itemid="1147" script="wallwalking.lua" />
<action itemid="1148" script="wallwalking.lua" />
<action itemid="1149" script="wallwalking.lua" />
<action itemid="1150" script="wallwalking.lua" />
<action itemid="1151" script="wallwalking.lua" />
<action itemid="1152" script="wallwalking.lua" />
<action itemid="1153" script="wallwalking.lua" />
<action itemid="1154" script="wallwalking.lua" />
<action itemid="1155" script="wallwalking.lua" />
<action itemid="1156" script="wallwalking.lua" />
<action itemid="1157" script="wallwalking.lua" />
<action itemid="1164" script="wallwalking.lua" />
<action itemid="1165" script="wallwalking.lua" />
<action itemid="1166" script="wallwalking.lua" />
<action itemid="1167" script="wallwalking.lua" />
<action itemid="1168" script="wallwalking.lua" />
<action itemid="1169" script="wallwalking.lua" />
<action itemid="1170" script="wallwalking.lua" />
<action itemid="1171" script="wallwalking.lua" />
<action itemid="1172" script="wallwalking.lua" />
<action itemid="1173" script="wallwalking.lua" />
<action itemid="1174" script="wallwalking.lua" />
<action itemid="1175" script="wallwalking.lua" />
<action itemid="1176" script="wallwalking.lua" />
<action itemid="1177" script="wallwalking.lua" />
<action itemid="1178" script="wallwalking.lua" />
<action itemid="1179" script="wallwalking.lua" />
<action itemid="1180" script="wallwalking.lua" />
<action itemid="1181" script="wallwalking.lua" />
<action itemid="1182" script="wallwalking.lua" />
<action itemid="1183" script="wallwalking.lua" />
<action itemid="1184" script="wallwalking.lua" />
<action itemid="1185" script="wallwalking.lua" />
<action itemid="1186" script="wallwalking.lua" />
<action itemid="1187" script="wallwalking.lua" />
<action itemid="1188" script="wallwalking.lua" />
<action itemid="1189" script="wallwalking.lua" />
<action itemid="1190" script="wallwalking.lua" />
<action itemid="1191" script="wallwalking.lua" />
<action itemid="1192" script="wallwalking.lua" />
<action itemid="1193" script="wallwalking.lua" />
<action itemid="1194" script="wallwalking.lua" />
<action itemid="1195" script="wallwalking.lua" />
<action itemid="1196" script="wallwalking.lua" />
<action itemid="1197" script="wallwalking.lua" />
<action itemid="1198" script="wallwalking.lua" />
<action itemid="1199" script="wallwalking.lua" />
<action itemid="1200" script="wallwalking.lua" />
<action itemid="1201" script="wallwalking.lua" />
<action itemid="1202" script="wallwalking.lua" />
<action itemid="1203" script="wallwalking.lua" />
<action itemid="1204" script="wallwalking.lua" />
<action itemid="5012" script="wallwalking.lua" />
<action itemid="1516" script="wallwalking.lua" />
<action itemid="1517" script="wallwalking.lua" />
<action itemid="1518" script="wallwalking.lua" />
<action itemid="1519" script="wallwalking.lua" />
<action itemid="1520" script="wallwalking.lua" />
<action itemid="1521" script="wallwalking.lua" />
<action itemid="1522" script="wallwalking.lua" />
<action itemid="1523" script="wallwalking.lua" />
<action itemid="1524" script="wallwalking.lua" />
<action itemid="1525" script="wallwalking.lua" />
<action itemid="1526" script="wallwalking.lua" />
<action itemid="1527" script="wallwalking.lua" />
<action itemid="1528" script="wallwalking.lua" />
<action itemid="1529" script="wallwalking.lua" />
<action itemid="1530" script="wallwalking.lua" />
<action itemid="1531" script="wallwalking.lua" />
<action itemid="1532" script="wallwalking.lua" />
<action itemid="1533" script="wallwalking.lua" />
<action itemid="1534" script="wallwalking.lua" />
<action itemid="1535" script="wallwalking.lua" />
<action itemid="1536" script="wallwalking.lua" />
<action itemid="1537" script="wallwalking.lua" />
<action itemid="1538" script="wallwalking.lua" />
<action itemid="1539" script="wallwalking.lua" />
<action itemid="1540" script="wallwalking.lua" />
<action itemid="1541" script="wallwalking.lua" />
<action itemid="1542" script="wallwalking.lua" />
<action itemid="1543" script="wallwalking.lua" />
<action itemid="1544" script="wallwalking.lua" />
<action itemid="1545" script="wallwalking.lua" />
<action itemid="1546" script="wallwalking.lua" />
<action itemid="1547" script="wallwalking.lua" />
<action itemid="1562" script="wallwalking.lua" />
<action itemid="1563" script="wallwalking.lua" />
<action itemid="1564" script="wallwalking.lua" />
<action itemid="1565" script="wallwalking.lua" />
<action itemid="1566" script="wallwalking.lua" />
<action itemid="1567" script="wallwalking.lua" />
<action itemid="1568" script="wallwalking.lua" />
<action itemid="1569" script="wallwalking.lua" />
<action itemid="1570" script="wallwalking.lua" />
<action itemid="1571" script="wallwalking.lua" />
<action itemid="1572" script="wallwalking.lua" />
<action itemid="1573" script="wallwalking.lua" />
<action itemid="1574" script="wallwalking.lua" />
<action itemid="1575" script="wallwalking.lua" />
<action itemid="1576" script="wallwalking.lua" />
<action itemid="1577" script="wallwalking.lua" />
<action itemid="3361" script="wallwalking.lua" />
<action itemid="3362" script="wallwalking.lua" />
<action itemid="3363" script="wallwalking.lua" />
<action itemid="3364" script="wallwalking.lua" />
<action itemid="3365" script="wallwalking.lua" />
<action itemid="3366" script="wallwalking.lua" />
<action itemid="3367" script="wallwalking.lua" />
<action itemid="3368" script="wallwalking.lua" />
<action itemid="3369" script="wallwalking.lua" />
<action itemid="3370" script="wallwalking.lua" />
<action itemid="3371" script="wallwalking.lua" />
<action itemid="3372" script="wallwalking.lua" />
<action itemid="3373" script="wallwalking.lua" />
<action itemid="3374" script="wallwalking.lua" />
<action itemid="3375" script="wallwalking.lua" />
<action itemid="3376" script="wallwalking.lua" />
<action itemid="3377" script="wallwalking.lua" />
<action itemid="3378" script="wallwalking.lua" />
<action itemid="3379" script="wallwalking.lua" />
<action itemid="3380" script="wallwalking.lua" />
<action itemid="3381" script="wallwalking.lua" />
<action itemid="3382" script="wallwalking.lua" />
<action itemid="3383" script="wallwalking.lua" />
<action itemid="3384" script="wallwalking.lua" />
<action itemid="3385" script="wallwalking.lua" />
<action itemid="3386" script="wallwalking.lua" />
<action itemid="3387" script="wallwalking.lua" />
<action itemid="3404" script="wallwalking.lua" />
<action itemid="3405" script="wallwalking.lua" />
<action itemid="3406" script="wallwalking.lua" />
<action itemid="3407" script="wallwalking.lua" />
<action itemid="3408" script="wallwalking.lua" />
<action itemid="3409" script="wallwalking.lua" />
<action itemid="3410" script="wallwalking.lua" />
<action itemid="3411" script="wallwalking.lua" />
<action itemid="3412" script="wallwalking.lua" />
<action itemid="3454" script="wallwalking.lua" />
<action itemid="3455" script="wallwalking.lua" />
<action itemid="3456" script="wallwalking.lua" />
<action itemid="3457" script="wallwalking.lua" />
<action itemid="3458" script="wallwalking.lua" />
<action itemid="3459" script="wallwalking.lua" />
<action itemid="3460" script="wallwalking.lua" />
<action itemid="3461" script="wallwalking.lua" />
<action itemid="3462" script="wallwalking.lua" />
<action itemid="3463" script="wallwalking.lua" />
<action itemid="3464" script="wallwalking.lua" />
<action itemid="3465" script="wallwalking.lua" />
<action itemid="3466" script="wallwalking.lua" />
<action itemid="3467" script="wallwalking.lua" />
<action itemid="3468" script="wallwalking.lua" />
<action itemid="3469" script="wallwalking.lua" />
<action itemid="3470" script="wallwalking.lua" />
<action itemid="3471" script="wallwalking.lua" />
<action itemid="3472" script="wallwalking.lua" />
<action itemid="3473" script="wallwalking.lua" />
<action itemid="3474" script="wallwalking.lua" />
<action itemid="3475" script="wallwalking.lua" />
<action itemid="2644" script="wallwalking.lua" /> ---id butow
</actions>


data/actions/scripts utwarzamy nowy plik o nazwie wallwalking.lua :


Cytat:

--Boots of wallwalking by OtsFan--
function onUse(cid, item, frompos, item2, topos)

tempo = 10

tempo2 = tempo + 60
pos = getPlayerPosition(cid)
tilepos = {x=pos.x, y=pos.y, z=pos.z, stackpos=0}
tile = getThingfromPos(tilepos)
storage = 1533
storage2 = 1534
storage3 = 1535
bow = getPlayerStorageValue(cid,storage2)
bow2 = getPlayerStorageValue(cid,storage3)
timer1 = getPlayerStorageValue(cid,storage)
timer2 = os.time()

time = os.difftime(timer2, timer1)

add = timer2 + 1

if item.itemid == 2644 then
if bow2 == -1 then
setPlayerStorageValue(cid,storage,add)
setPlayerStorageValue(cid,storage2,-1)
setPlayerStorageValue(cid,storage3,1)
doRemoveItem(item.uid,1)
else
doPlayerSendCancel(cid,"You are already using Boots of WallWalking.")
end
return 1
end

if item.itemid ~= 2644 then
if timer1 >= 0 then
if time <= tempo then
doTeleportThing(cid,topos)
else
doPlayerSendTextMessage(cid,22,"time out! Please use the boots of wallwalking again if you want to continue.")
if bow > -2 then
doPlayerAddItem(cid,2644,1)
setPlayerStorageValue(cid,storage2,-2)
setPlayerStorageValue(cid,storage3,-1)
end
if time >= tempo2 then
if tile.itemid >= 1025 and tile.itemid <= 1025 then
doTeleportThing(cid,getPlayerMasterPos(cid))
doPlayerSendTextMessage(cid,22,"time out")
setPlayerStorageValue(cid,storage,-1)
setPlayerStorageValue(cid,storage2,-1)
else
doPlayerSendTextMessage(cid,22,"time out")
setPlayerStorageValue(cid,storage,-1)
setPlayerStorageValue(cid,storage2,-1)
end
end
end
else
return 0
end
end
return 1
end


trzeba to robic ctrl i przez 1 kratke aby przchodzic przez sciane


Post został pochwalony 0 razy
 
Zobacz profil autora
Wyświetl posty z ostatnich:   
Napisz nowy temat   Odpowiedz do tematu    Forum KevlarSiteForum Strona Główna -> Poradniki Wszystkie czasy w strefie EET (Europa)
Strona 1 z 1

 
Skocz do:  
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach