TibiaFans! Forum Prawdziwego Tibijczyka

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

  • Nie jesteś zalogowany.

#1 2008-12-01 15:35:36

Luker

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

Zarejestrowany: 2008-11-30
Posty: 13

POTRZEBUJE !!

WITAM. POTRZEBUJE SKRYPT NA DZRZWI TYLKO DLA DANEJ PROFESJI NP: KNIGHT MOZE TYLKO PRZEZ NIE PRZEJSC


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

Offline

 

#2 2008-12-10 16:07:06

LukiS

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

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

Re: POTRZEBUJE !!

Mówisz i masz
Wchodzimy w Ots/data/Actions/scripts/leveldoors
i zmieniamy all na:

Kod:

function onUse(cid, item, frompos, item2, topos)
local enter = 0
if item.actionid >= 1000 then
   if getPlayerLevel(cid) >= item.actionid - 1000 then
   enter = 1
   else
   doPlayerSendTextMessage(cid, 22, "You need "..(item.actionid - 1000).." level to pass this door.")
   enter = 0
   end
elseif item.actionid > 100 and item.actionid < 110 then
   if getPlayerVocation(cid) == item.actionid - 100 then
   enter = 1
   else
   doPlayerSendTextMessage(cid, 22, "Your vocantion canot pass this door.")
   enter = 0
   end
end
           if enter == 1 then
				doTransformItem(item.uid, item.itemid + 1)
				playerpos = getPlayerPosition(cid)
				doorpos = {x = frompos.x, y = frompos.y, z = frompos.z, stackpos = 253}
				if playerpos.y == doorpos.y + 1 and playerpos.x == doorpos.x then
					doMoveCreature(cid, 0)
				elseif playerpos.x == doorpos.x - 1 and playerpos.y == doorpos.y then
					doMoveCreature(cid, 1)
				elseif playerpos.y == doorpos.y - 1 and playerpos.x == doorpos.x then
					doMoveCreature(cid, 2)
				elseif playerpos.y == doorpos.y and playerpos.x == doorpos.x + 1 then
					doMoveCreature(cid, 3)
				elseif playerpos.x == doorpos.x + 1 and playerpos.y == doorpos.y - 1 then
					doMoveCreature(cid, 4)
				elseif playerpos.x == doorpos.x - 1 and playerpos.y == doorpos.y - 1 then
					doMoveCreature(cid, 5)
				elseif playerpos.x == doorpos.x + 1 and playerpos.y == doorpos.y + 1 then
					doMoveCreature(cid, 6)
				elseif playerpos.x == doorpos.x - 1 and playerpos.y == doorpos.y + 1 then
					doMoveCreature(cid, 7)
				end
       else
       end
    return 1
end

Uwaga!
Dzwi levelowe działały tak: Wybierało sie dany level na dzwi np.
Na 10 lev wpisywalo sie 1010 na 100 to 1100.
Lecz po zmianie tego skryptu to będzie działało troche inaczej. Mianowicie:
Po wybraniu profy. wpisuje sie w action id tak np. dla sorka to 1001
(Sork:1 Drut:2 Pall:3 Knight:4 Master Sork:5 Elder Druid:6 Royal Pall:7 Elite Knight:8)
Może sie komuś przyda(ale nie mi) ;]
Dużo ludzi mi pisało czy jest możliwość zrobienia takich dzwi.
Wiec dałem wam skrypt.

Yours,
LukiS

Offline

 

#3 2009-02-22 16:47:39

OlafxD

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

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

Re: POTRZEBUJE !!

Przydał się skrypt


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.013 seconds, 8 queries executed ]


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