Forum nie tylko o Tibii i OTS...

Nie tylko o Tibii i OTS...


#1 2007-07-17 14:20:21

Cinek

Zbanowany

2631184
Skąd: Zielona Góra
Zarejestrowany: 2007-07-16
Posty: 97
Nick: Tom The Brood
Profesja: Titania
Server: 125
WWW

Skrypt na Annihilator Quest!

Niesprawdzałem czy na tym forum jest już taki skrypt. Jeśli jest to prosze szanownego Admina o usunięcie tego tematu, a teraz to żeczy....
Skrypt zrobiłem sam i niejest to plagiat

Pewnie wielu was nieumie zrobić Annihilatora na swoim OTS, ale dzięki temu skryptowi będziecie mogli go zrobić.

W data/actions/actions.xml dodajemy wpis na samym dole w dziale "olther quest"

<action uniqueid="8000" script="anni.lua" />

nastepnie wchodzimy do folderu data/actions/scripts i dodajemy plik lua o nazwie anni ktory powinien zawierac taki wpis:

-- anni

function onUse(cid, item, frompos, item2, topos)

if item.uid == 8000 and item.itemid == 1945 then
player1pos = {x=194, y=106, z=9, stackpos=253}
player1 = getThingfromPos(player1pos)

player2pos = {x=193, y=106, z=9, stackpos=253}
player2 = getThingfromPos(player2pos)

player3pos = {x=192, y=106, z=9, stackpos=253}
player3 = getThingfromPos(player3pos)

player4pos = {x=191, y=106, z=9, stackpos=253}
player4 = getThingfromPos(player4pos)


if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 then
queststatus1 = getPlayerStorageValue(player1.uid,8000)
queststatus2 = getPlayerStorageValue(player2.uid,8000)
queststatus3 = getPlayerStorageValue(player3.uid,8000)
queststatus4 = getPlayerStorageValue(player4.uid,8000)

if queststatus1 == -1 and queststatus2 == -1 and queststatus3 == -1 and queststatus4 == -1 then
nplayer1pos = {x=194, y=106, z=10}
nplayer2pos = {x=193, y=106, z=10}
nplayer3pos = {x=192, y=106, z=10}
nplayer4pos = {x=191, y=106, z=10}

doSendMagicEffect(player1pos,2)
doSendMagicEffect(player2pos,2)
doSendMagicEffect(player3pos,2)
doSendMagicEffect(player4pos,2)

doTeleportThing(player1.uid,nplayer1pos)
doTeleportThing(player2.uid,nplayer2pos)
doTeleportThing(player3.uid,nplayer3pos)
doTeleportThing(player4.uid,nplayer4pos)

doSendMagicEffect(nplayer1pos,10)
doSendMagicEffect(nplayer2pos,10)
doSendMagicEffect(nplayer3pos,10)
doSendMagicEffect(nplayer4pos,10)

doTransformItem(item.uid,item.itemid+1)
else
doPlayerSendCancel(cid,"Somebody in your team has already done this quest.")
end
else
doPlayerSendCancel(cid,"You need four players for this quest.")
end

elseif item.uid ==8000 and item.itemid == 1946 then
if getPlayerAccess(cid) >= 0 then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry, not possible.")
end
else
return 0
end

return 1
end

Później w MAP EDITOR musimy zrobić dźwignie taką jak na RL i takie płytki jak na RL. Klikamy prawym na dźwignie i w obu okienkach wpisujemy 8000
Pomieszczenie z Questem musi być oczywiście piętro niżej ponieważ dźwigna przenosi PIĘTRO niżej!

Quest na 100% działa jęsli się go poprawnie zrobi później dodam Skrypt na skrzynki

UWAGA! na Tibia.org.pl jest podobny temat lecz z AnniII i jest zgapiosy odemnie ponieważ na Otfans.pl miałem ten temat, a twórca tematu na tibia.org.pl niepodał linku do orginalnego tematu


no daj minusa! na co czekasz? ulżyj sobie.

Offline

 

#2 2007-07-17 14:26:46

patryk12

http://i33.tinypic.com/21bk4jn.jpg

Skąd: Polska
Zarejestrowany: 2007-04-20
Posty: 158

Re: Skrypt na Annihilator Quest!

Offline

 

#3 2007-07-23 13:50:13

Cinek

Zbanowany

2631184
Skąd: Zielona Góra
Zarejestrowany: 2007-07-16
Posty: 97
Nick: Tom The Brood
Profesja: Titania
Server: 125
WWW

Re: Skrypt na Annihilator Quest!

Ale mój skrypt bliżej i wiele osób juz z niego skorzystało


no daj minusa! na co czekasz? ulżyj sobie.

Offline

 

#4 2007-07-23 13:57:10

Cinek

Zbanowany

2631184
Skąd: Zielona Góra
Zarejestrowany: 2007-07-16
Posty: 97
Nick: Tom The Brood
Profesja: Titania
Server: 125
WWW

Re: Skrypt na Annihilator Quest!

Dzisiaj dodam skrzynki

w data/actions/actions.xml dodajemy w olther quest wpisy

<action uniqueid="9000" script="annichest.lua" />
<action uniqueid="9001" script="annichest.lua" />
<action uniqueid="9002" script="annichest.lua" />
<action uniqueid="9003" script="annichest.lua" />

wchodziy do folderu data/actions/scripts twozymy plik lua o nazwie annichest

wpisujemy tam:


-- annihilator chests

function onUse(cid, item, frompos, item2, topos)

if item.uid == 9000 then
queststatus = getPlayerStorageValue(cid,5010)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Magic LongSword.")
doPlayerAddItem(cid,2310,1)
setPlayerStorageValue(cid,5010,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 9001 then
queststatus = getPlayerStorageValue(cid,5010)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Great Axe.")
doPlayerAddItem(cid,2415,1)
setPlayerStorageValue(cid,5010,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 9002 then
queststatus = getPlayerStorageValue(cid,5010)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Golden Boots.")
doPlayerAddItem(cid,2646,1)
setPlayerStorageValue(cid,5010,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 9003 then
queststatus = getPlayerStorageValue(cid,5010)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Eleven Legs.")
doPlayerAddItem(cid,2507,1)
setPlayerStorageValue(cid,5010,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end

return 1
end



następnie robimy w map editor 4 skrzynki questowe klikamy na nie prawym i na link na samym dole i w drugie okienko (uniqueid) wpisujemy.

w pierwszą 9000
w drugą 9001
w trzecią 9002
w czwartą 9003


i Jest cool


no daj minusa! na co czekasz? ulżyj sobie.

Offline

 

#5 2007-07-23 18:01:11

SirChiracle

Zbanowany

Zarejestrowany: 2006-10-27
Posty: 1132
WWW

Re: Skrypt na Annihilator Quest!

Taki quest to mozna skopiować z byle jakiego otsa, który posiada Annihilator


WYJEBANE W TO FORUM - - -- - -- - - - -- -- -- --  -- ---------------------------------------------------------------------------------------------------------------------------------------------------

Offline

 

#6 2007-07-23 18:25:14

PiotrJasiewicz

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2007-07-22
Posty: 4

Re: Skrypt na Annihilator Quest!

DZIENKI SZUKALEM TEGO SKRYPTU

WITAM ZAPRASZAM NA MOJEGO OTS POD TIBIE 8.0 NIESTETY HAMACHI ALE NIEDLUGO BEZ !
-------------------------------------------------------------------------
NAZWA SIECI :Piterots
HASLO SIECI : piterots
IP :xxx
--------------------------------------------------------------------------
ACC: 111111/TIBIA
-------------------------------------------------------------------------
O OTSIE :

EXP : X9
SKILS : X80
MLVL : X 30
--------------------------------------------------------------------------

ZAPRASZAM SERDECZNIE 1 GRACZ OTRZYMUJE GM`A


JAKBY COS MOJE GG 5158878

Offline

 

#7 2007-07-24 12:57:55

wojtek15

http://i36.tinypic.com/25zpd2c.gif

Zarejestrowany: 2007-07-03
Posty: 349

Re: Skrypt na Annihilator Quest!

@up nie w tym temacie

Offline

 

#8 2007-11-24 09:30:16

dzido

http://i33.tinypic.com/21bk4jn.jpg

2652955
Skąd: Rejowiec Fabryczny
Zarejestrowany: 2007-11-17
Posty: 150
Nick: Dzido
Profesja: Jamera
Server: 81

Re: Skrypt na Annihilator Quest!

a jak umnie jest ,,Simple quests"to tam tez moge?? bo umnie nie ma ,,olther Quest"

Offline

 

#9 2007-12-30 12:05:31

MariJuana

http://i37.tinypic.com/2dqpohz.gif

Skąd: Worcław
Zarejestrowany: 2007-12-29
Posty: 23

Re: Skrypt na Annihilator Quest!

OK Zrobiłem Tego Questa Ani wszystko ładnie chodzi ale Gdy biore z krzyni np magic long sworda to Pisze mi "You Have Magic Long Sword" czyli ze go wzielem, ale w BP i nigdzie w miejsach na EQ go nie ma... Wiec co z tym mam zrobic?


http://r3.fodey.com/160e57a65c3e14a6e9cea063bc9f0a246.1.gif

Offline

 

#10 2008-02-09 18:40:33

Maestro

Minusikowy chłopczyk

Zarejestrowany: 2008-02-08
Posty: 125
Profesja: w budowie

Re: Skrypt na Annihilator Quest!

mi tez cos nie działa

Offline

 

#11 2008-02-10 14:33:56

Mapper

http://i34.tinypic.com/28ko5qb.gif

1391972
Skąd: Luboń
Zarejestrowany: 2008-02-10
Posty: 59
Nick: Nie pamiętam
Profesja: coś na Ć
Server: milion pięćset sto dziewięćset
WWW

Re: Skrypt na Annihilator Quest!

A jak mam dodać demony? Bo w map edytorze wybieram demona i nie mogę go ustawić

Offline

 

#12 2008-02-10 15:22:57

Maestro

Minusikowy chłopczyk

Zarejestrowany: 2008-02-08
Posty: 125
Profesja: w budowie

Re: Skrypt na Annihilator Quest!

a zrobiłes spawn ??? a anihilator działa bez zarzutu

Offline

 

#13 2008-02-10 15:43:56

Mapper

http://i34.tinypic.com/28ko5qb.gif

1391972
Skąd: Luboń
Zarejestrowany: 2008-02-10
Posty: 59
Nick: Nie pamiętam
Profesja: coś na Ć
Server: milion pięćset sto dziewięćset
WWW

Re: Skrypt na Annihilator Quest!

Nie zrobiłem spawnu, bo jestem początkujący. Wielkie dzięki!

Offline

 

#14 2008-02-10 20:55:02

Mapper

http://i34.tinypic.com/28ko5qb.gif

1391972
Skąd: Luboń
Zarejestrowany: 2008-02-10
Posty: 59
Nick: Nie pamiętam
Profesja: coś na Ć
Server: milion pięćset sto dziewięćset
WWW

Re: Skrypt na Annihilator Quest!

Mam problem, bo u mnie nie ma Other Quest. Jak już to Simple Quest. W tym mogę dopisać?

Offline

 

#15 2008-08-03 19:08:32

walusprax

http://i37.tinypic.com/sb1sbd.jpg

Zarejestrowany: 2008-08-03
Posty: 173
Nick: Dark Alkas
Profesja: Harmonia
Server: 123
WWW

Re: Skrypt na Annihilator Quest!

Nie moge znalesc tych kafelek jak na rl gdzie one sa??? POMOCY  dajcie + ja nowy xd

Ostatnio edytowany przez walusprax (2008-08-05 12:50:19)


Za duża sygnatura. CLICK
CLIK BŁAGAM!!!!

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.costam.pun.pl www.mojeklasy.pun.pl www.ligipilkarskie.pun.pl www.bleachfani.pun.pl www.radiotopmusic.pun.pl