TibiaFans! Forum Prawdziwego Tibijczyka

Tibia Fans-Czyli serwis o OTS i swiecie Tibia.com


#1 2008-05-17 17:37:26

LukiS

http://img153.imageshack.us/img153/8917/rangaadminyq2.png

12098422
Zarejestrowany: 2008-04-21
Posty: 362
WWW

Jak zrobić quest?

Czy ktoś jest w stanie wytłumaczyć Nam krok po krouk jak robi się quest pod downolnie jaką tibie..
Moge wam wtedy zapewnić 1p reputacji :d

Offline

 

#2 2008-05-20 13:16:20

Adix

http://img11.imageshack.us/img11/83/ranga20.jpg

11687313
Zarejestrowany: 2008-05-06
Posty: 44

Re: Jak zrobić quest?

Poradnika nie napiszę ale najprostszy skrypt to jest w mapedicie tnz. tak dajesz prawym na skrzynke i na dole w ramce wpisujesz id itemka a na górze dowlną liczbę ale może być tylko jedna taka na mapie xD


Twoja stara struga boty w Carlin © By Fragles

Offline

 

#3 2008-05-20 13:36:05

Bolmex

http://img26.imageshack.us/img26/6664/ranga50.jpg

6419636
Skąd: Włocławek
Zarejestrowany: 2008-05-05
Posty: 204
Pomóz Nam! Klik !: www.tibiafan.pun.pl
WWW

Re: Jak zrobić quest?

Ja tak zawsze robie ale myślałem że to nie jest poradnik ale jeśli ci to pomoże to możesz tak zrobić.


LeCe Bo ChCe LeCe Bo Pk GoNi MnIe, CzY sĄ bOhY cZy NiE lEcE bO pK gOnI mNiE.

Tibia jest Bogiem, Expienie nałogiem, skille podstawa, Pk zabawa.

Offline

 

#4 2008-05-20 14:22:27

Eqill

http://img11.imageshack.us/img11/83/ranga20.jpg

Zarejestrowany: 2008-05-20
Posty: 25

Re: Jak zrobić quest?

heh w niektorych silnikach mialem ze niedalo sie zrobic quest ;p

Offline

 

#5 2008-11-30 00:25:50

Luker

http://img23.imageshack.us/img23/6205/ranga10.jpg

Zarejestrowany: 2008-11-29
Posty: 13

Re: Jak zrobić quest?

Prosze oto skrypt "desert quest" nie jestem pewien czy do konca dziala ale niedlugo przetestuje i dam znac!


Kod:

function onUse(cid, item, frompos, item2, topos)
	-- Item ID and Uniqueid --
	switchUniqueID = 16000
	switchID = 1945
	switch2ID = 1946
	swordID	= 7449
	crossbowID = 3982
	appleID	= 2185
	spellbookID	= 2188
 
 
	-- Level to do the quest --
	questlevel = 35
 
 
	piece1pos = {x=883, y=640, z=9, stackpos=1} -- Where the first piece will be placed
	getpiece1 = getThingfromPos(piece1pos)
 
	piece2pos = {x=883, y=646, z=9, stackpos=1} -- Where the second piece will be placed
	getpiece2 = getThingfromPos(piece2pos)
 
	piece3pos = {x=887, y=643, z=9, stackpos=1} -- Where the third piece will be placed
	getpiece3 = getThingfromPos(piece3pos)
 
	piece4pos = {x=879, y=643, z=9, stackpos=1} -- Where the fourth piece will be placed
	getpiece4 = getThingfromPos(piece4pos)
 
	player1pos = {x=883, y=641, z=9, stackpos=253} -- Where player1 will stand before pressing lever
	player1 = getThingfromPos(player1pos)
	player2pos = {x=883, y=645, z=9, stackpos=253} -- Where player2 will stand before pressing lever
	player2 = getThingfromPos(player2pos)
	player3pos = {x=880, y=643, z=9, stackpos=253} -- Where player3 will stand before pressing lever
	player3 = getThingfromPos(player3pos)
	player4pos = {x=886, y=643, z=9, stackpos=253} -- Where player4 will stand before pressing lever
	player4 = getThingfromPos(player4pos)
 
	knightvoc = getPlayerVocation(player1.uid)   -- The vocation of player1
	paladinvoc = getPlayerVocation(player2.uid)  -- The vocation of player2
	druidvoc = getPlayerVocation(player3.uid)    -- The vocation of player3
	sorcerervoc = getPlayerVocation(player4.uid) -- The vocation of player4
 
	nplayer1pos = {x=891, y=625, z=9} -- The new position of player1
	nplayer2pos = {x=891, y=625, z=9} -- The new position of player2
	nplayer3pos = {x=891, y=625, z=9} -- The new position of player3
	nplayer4pos = {x=891, y=625, z=9} -- The new position of player4
 
 
	player1level = getPlayerLevel(player1.uid) -- Checking the level of player1
	player2level = getPlayerLevel(player2.uid) -- Checking the level of player2
	player3level = getPlayerLevel(player3.uid) -- Checking the level of player3
	player4level = getPlayerLevel(player4.uid) -- Checking the level of player4
 
 
	-- Check if all players has the correct vocation
	if knightvoc == 4 or knightvoc == 8 and
	paladinvoc == 3 or paladinvoc == 7 and
	druidvoc == 2 or druidvoc == 6 and
	sorcerervoc == 1 or sorcerervoc == 5 then	
 
 
	-- Check if all players are standing on the correct positions
	if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 then
		if player1level >= questlevel and player2level >= questlevel and player3level >= questlevel and	player4level >= questlevel then
			if item.uid == switchUniqueID and item.itemid == switchID and getpiece1.itemid == swordID and getpiece2.itemid == crossbowID and getpiece3.itemid == appleID and getpiece4.itemid == spellbookID then
				doSendMagicEffect(player1pos,2)
				doTeleportThing(player1.uid,nplayer1pos)
				doSendMagicEffect(nplayer1pos,10)
				doRemoveItem(getpiece1.uid,1)
 
				doSendMagicEffect(player2pos,2)
				doTeleportThing(player2.uid,nplayer2pos)
				doSendMagicEffect(nplayer2pos,10)
				doRemoveItem(getpiece2.uid,1)
 
				doSendMagicEffect(player3pos,2)
				doTeleportThing(player3.uid,nplayer3pos)
				doSendMagicEffect(nplayer3pos,10)
				doRemoveItem(getpiece3.uid,1)
 
				doSendMagicEffect(player4pos,2)
				doTeleportThing(player4.uid,player4pos)	
				doSendMagicEffect(nplayer4pos,10)
				doRemoveItem(getpiece4.uid,1)
 
				doTransformItem(item.uid,item.itemid+1)
			elseif item.uid == switchUniqueID and item.itemid == switch2ID then
				doTransformItem(item.uid,item.itemid-1)
			else
				doPlayerSendCancel(cid,"Sorry, you need to put the correct stuffs at the correct places.")
			end
			else
			return 0
			end
		else
			doPlayerSendCancel(cid,"Sorry, all players i your team must to be level " .. questlevel .. ".")
		end
	else
		doPlayerSendCancel(cid,"Sorry, all 4 players must be on right positions.")
	end
	return 1
end

Pozdrawiam!


Najlepsze otki pvp ;d zapraszam!
Black History
http://signatures.otservlist.org/687588_4.png
http://signatures.otservlist.org/674044_2.png

Offline

 

#6 2008-11-30 11:33:11

LukiS

http://img153.imageshack.us/img153/8917/rangaadminyq2.png

12098422
Zarejestrowany: 2008-04-21
Posty: 362
WWW

Re: Jak zrobić quest?

jakbys napisal gdzie co dac dalbym reputa XD
(btw. ja wiem gdzie co wkleic ale dal innych )

Offline

 

#7 2009-02-22 10:09:37

OlafxD

http://img11.imageshack.us/img11/83/ranga20.jpg

Skąd: Świnoujście
Zarejestrowany: 2009-01-31
Posty: 49
WWW

Re: Jak zrobić quest?

Najłatwiejszy sposób na zrobienie qwesta.
Stawiasz skrzynke i naciskasz prawym na skrzynke i naciskasz Properties i w unique id wpisujesz id itemka.
Id skrzyni 1740.

Pomogłem daj reputa


http://www.kushii.za.pl/jajo3.gif
http://www.kushii.za.pl/jajo1.gif
http://www.kushii.za.pl/jajo2.gif

Offline

 
Licznik TOP50 Gry Najlepsze strony w Polsce Najlepsze Polskie Strony Top Lista Stron  TYPERS Toplista MMORPG!
eurobiznes.net | Twoja skuteczna reklama
Wszystkie Prawa Zastrzeżone Łukasz Baryła ©

Stopka forum

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

[ Generated in 0.092 seconds, 10 queries executed ]


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.robaki.pun.pl www.dianne-forum.pun.pl www.haxball.pun.pl www.shahrukh-juhi.pun.pl www.adapciak.pun.pl