[8.1][OTS]Wasze pomysły na questy

 
Tibia.net.pl

Wróć   Tibia.net.pl > OpenTibia > Skrypty - pozostałe > Pomoc

#4 event Tibia.net.pl: W poszukiwaniu zgrania... (Start - Sobota, godz. 20:00)

#1 konkurs Tibia.net.pl: Czy jesteś gotów stoczyć walkę?


  Tibia.net.pl (#?)
[8.1][OTS]Wasze pomysły na questy

Dyskusja dotycząca tematu [8.1][OTS]Wasze pomysły na questy, który znajduje się w kategorii Skrypty - pozostałe (Pomoc oraz inne skrypty związane z OT.), na forum Pomoc (Miejsce na prośby oraz pomoc w utworzeniu skryptu.). Treść: Siemq All. Zbieram wasze pomysły na questy. I może twój quest znajdzie się na moim ots . Quest nie ma być ...



Zamknięty temat
 
12-04-2008, 14:39  
Początkujący
 
Użytkownik D@nio na Tibia.net.pl

[8.1][OTS]Wasze pomysły na questy


Siemq All. Zbieram wasze pomysły na questy. I może twój quest znajdzie się na moim ots. Quest nie ma być idż/zabij/weż nagrode/wróć/i się ciesz, tylko ma być bardziej rozbudowany czyli idź po to do skrzynki potem idz do tego npc on ci opowiada legende, idziesz do potworka zabijasz go wylatuje jakis specjalny item, zanosisz go do jakiegos npc a on ci za to daje cos, idziesz gdzies kladziesz to co ci dał i jesteś dopiero wtedy na queście.
 


12-04-2008, 15:42  
Fanatyk
 
Użytkownik Spekto na Tibia.net.pl

Fire quest by Spekto
Quest z mojego otsa xD

Trzeba tak przesuwać te lampiony aby się nie trapnąć nimi trzeba dobre coal basiny + najlepiej zrobić lawe po której można chodzić by potwory stały w miejscu bo stoją na tej lawie chociaż ludzie mogą chodzić bo wtedy potwory by przesuwały te lampiony ^^ Najlepiej wstawić potwory które walą z ognia ja wstawilem hellfire fightery, orshe i na końcu 2 apocalypsy ^^ Może się komuś przyda Ale trzeba uważać by się nie trapnąć tymi lampionami bo wtedy szopa ;] Na końcu są także 4 tp. 2 tp wysyłają na nagrody a 2 do temple ;]

Screen z kawałka questu ;D




Oceny plax
 
12-04-2008, 16:03  
Bywalec
 
Użytkownik Arak na Tibia.net.pl

Coś takiego - po trudnym queście jest tp do pokoju z nagrodami. Są w nim 4 posągi. Po kliknięciu na jeden z nich daje graczowi itema (każdy posąg - inny item, na posągach powinno być napisane) a potem teleportuje gracza do temple czy gdzieś tam. Kiedy quest się przejdzie jeszcze raz, teleport teleporuje od razu do temple. Mam to na swoim servie, działa w 100%, jak chcesz to ci dam na to skrypta.
 
12-04-2008, 17:01  
Fanatyk
 
Użytkownik Spekto na Tibia.net.pl

Nie dzięki wole swój pomysł ;]
 
12-04-2008, 17:52  
Gaduła

Arak, ja bym prosił o skrypta tego . I jak byś mógł to wstaw na speedshare razem z mapka. Albo daj screenów kilka żebym wiedział jak to wygląda.
 
12-04-2008, 17:54  
Bywalec
 
Użytkownik Arak na Tibia.net.pl

Ale mapka nie gotowa... Mam taką testową 1 miasto i tyle, ale skrypta dam.
data/actions/actions.xml
Kod:
<action uniqueid="9000" script="infernochest.lua" />
<action uniqueid="9001" script="infernochest.lua" />
<action uniqueid="9002" script="infernochest.lua" />
<action uniqueid="9003" script="infernochest.lua" />
data/actions/scripts/infernochest.lua
-- annihilator chests

Kod:
function onUse(cid, item, frompos, item2, topos)
npos = {x=1000, y=1000, z=7} 
   	if item.uid == 9000 then
   		queststatus = getPlayerStorageValue(cid,5009)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,22,"Znalazles Avenger!")
   			doPlayerAddItem(cid,6528,1)
   			setPlayerStorageValue(cid,5009,1)
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   		else
   			doPlayerSendTextMessage(cid,22,"Jest puste.")
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   		end
   	elseif item.uid == 9001 then
   		queststatus = getPlayerStorageValue(cid,5009)
   		if queststatus == -1 then
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   			doPlayerSendTextMessage(cid,22,"Znalazles Arablest!")
   			doPlayerAddItem(cid,5803,1)
   			setPlayerStorageValue(cid,5009,1)
   		else
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   			doPlayerSendTextMessage(cid,22,"Jest puste.")
   		end
   	elseif item.uid == 9002 then
   		queststatus = getPlayerStorageValue(cid,5009)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,22,"Znalazles Infernal Bolt.")
   			doPlayerAddItem(cid,6529,1)
   			setPlayerStorageValue(cid,5009,1)
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   		else
   			doPlayerSendTextMessage(cid,22,"Jest puste.")
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   		end
   	elseif item.uid == 9003 then
		queststatus = getPlayerStorageValue(cid, 5009)
		if queststatus == -1 then
  			container = doPlayerAddItem(cid, 1990, 1)
			doContainerAddItem(container, 2400, 1)
			doPlayerSendTextMessage(cid, 22, "Znalazles Magic Sword.")
			setPlayerStorageValue(cid,5009,1)
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   		else
                        doTeleportThing(cid, npos) 
                        doSendMagicEffect(npos,15) 
                        doSendMagicEffect(topos,15) 
   			doPlayerSendTextMessage(cid,22,"Jest puste.")
   		end
	else
		return 0
   	end
   	return 1
end
data/movements/movements.xml
Kod:
<movevent event="StepIn" uniqueid="8989" script="infernotp.lua" />
data/movements/scripts/infernotp.lua
Kod:
function onStepIn(cid, item, pos)
npos = {x=1000, y=1000, z=7}
tpos = {x=1000, y=999, z=6}  
   	if item.uid == 8989 then
   		queststatus = getPlayerStorageValue(cid,5009)
   		if queststatus == -1 then
                        doTeleportThing(cid, tpos) 
                elseif queststatus > -1 then
                        doTeleportThing(cid, npos)
                end
        end     
end
npos - temple
tpos - pokój z nagrodami
1.Zrób w map editorze 4 posągi o unique id 9000, 9001, 9002 i 9003
2.Zrób w map editorze tp o unique id 8989 i niech teleportuje na
x-1 y-1 z-1
 
12-04-2008, 18:06  
Gaduła

Oki, dzięki a może chociaż SS, żebym wiedział jak zrobić tego Questa Kilka powinno wystarczyć.
 
12-04-2008, 18:32  
Wyjadacz
 
Użytkownik Kamil na Tibia.net.pl

mi się średnio podoba, chodzić po lawie w dodatku masa kominków ja nie skorzystam thx ale czekam na dalsze pomysły
 
12-04-2008, 18:35  
Fanatyk
 
Użytkownik Spekto na Tibia.net.pl

Chodzić po lawie? czemu nie? dużo kominków? o to chodzi by quest nie był łatwy ^^
 
12-04-2008, 19:05  
Gaduła

Mogę prosić o te SS-y Arak?? BO nie wiem jak zrobić tego "trudnego questa" BRAK POMYSŁÓW
 
12-04-2008, 23:00  
Fanatyk
 
Użytkownik Wawus na Tibia.net.pl

To ja proszę o quest liniowy:

1. Idziesz do NPC Barak, który wzamian za 1 demonic essence da Ci 5 scarab coin.

2. Idziesz do NPC Irack, który wzamian za 25 scarab coin da Ci fire mushroom.

3. Idziesz do NPC Quado, który za 2 fire mushroom teleportuje Cię do x=x y=y z=z (współrzędne do ustalenia)


Oczywiście odrazu proszę o skrypty na NPC
 
12-04-2008, 23:39  
Fanatyk
 
Użytkownik Kelo na Tibia.net.pl

@up

1
Kod:
local focus = 0
local talk_start = 0
local target = 0
local days = 0
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
      if focus == cid then
          selfSay('Nara, ' .. creatureGetName(cid) .. '!')
          focus = 0
          talk_start = 0
      end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
      return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
      msg = string.lower(msg)
      if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
         selfSay('Elo ' .. creatureGetName(cid) .. '! Jestem Barak i wymieniam 1 demonic essence na 5 scarab coin.')
         focus = cid
         talk_start = os.clock()
    elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
          selfSay('Sorry, ' .. creatureGetName(cid) .. '! Pogadam z toba za minute.')
      elseif focus == cid then
        talk_start = os.clock()
        if msgcontains(msg, 'demonic essence') or msgcontains(msg, 'scarab coin') then
            selfSay('Chcesz zamienic 1 demonic essence na 5 scarab coin?')
            talk_state = 1
        elseif talk_state == 1 then
            if msgcontains(msg, 'yes') or msgcontains(msg, 'tak') then
                                if getPlayerItemCount(cid, 6500) >= 1 then            
                                        doPlayerRemoveItem(cid, 6500, 1)
                                        doPlayerAddItem(cid, 2159, 5)
                        selfSay('Prosze bardzo!')
                                else
                        selfSay('Nie masz demonic essence!')
                                end
             end
            talk_state = 0
          elseif msgcontains(msg, 'bye')  and getDistanceToCreature(cid) < 4 then
              selfSay('Good bye, ' .. creatureGetName(cid) .. '!')
              focus = 0
              talk_start = 0
          end
      end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
    doNpcSetCreatureFocus(focus)
      if (os.clock() - talk_start) > 30 then
          if focus > 0 then
              selfSay('Nastepny noob...')
          end
              focus = 0
      end
     if focus ~= 0 then
         if getDistanceToCreature(focus) > 5 then
             selfSay('Spadaj.')
             focus = 0
         end
     end
end
2
Kod:
local focus = 0
local talk_start = 0
local target = 0
local days = 0
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
      if focus == cid then
          selfSay('Nara, ' .. creatureGetName(cid) .. '!')
          focus = 0
          talk_start = 0
      end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
      return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
      msg = string.lower(msg)
      if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
         selfSay('Elo ' .. creatureGetName(cid) .. '! Jestem Irack i wymieniam 25 scarab coin na 1 fire mushroom.')
         focus = cid
         talk_start = os.clock()
    elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
          selfSay('Sorry, ' .. creatureGetName(cid) .. '! Pogadam z toba za minute.')
      elseif focus == cid then
        talk_start = os.clock()
        if msgcontains(msg, 'scarab coin') or msgcontains(msg, 'fire mushroom') then
            selfSay('Chcesz zamienic 25 scarab coin na 1 fire mushroom?')
            talk_state = 1
        elseif talk_state == 1 then
            if msgcontains(msg, 'yes') or msgcontains(msg, 'tak') then
                                if getPlayerItemCount(cid, 2159) >= 25 then            
                                        doPlayerRemoveItem(cid, 2159, 25)
                                        doPlayerAddItem(cid, 2788, 1)
                        selfSay('Prosze bardzo!')
                                else
                        selfSay('Nie masz scarab coins!')
                                end
             end
            talk_state = 0
          elseif msgcontains(msg, 'bye')  and getDistanceToCreature(cid) < 4 then
              selfSay('Good bye, ' .. creatureGetName(cid) .. '!')
              focus = 0
              talk_start = 0
          end
      end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
    doNpcSetCreatureFocus(focus)
      if (os.clock() - talk_start) > 30 then
          if focus > 0 then
              selfSay('Nastepny noob...')
          end
              focus = 0
      end
     if focus ~= 0 then
         if getDistanceToCreature(focus) > 5 then
             selfSay('Spadaj.')
             focus = 0
         end
     end
end
3
Kod:
local focus = 0
local talk_start = 0
local target = 0
local days = 0
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
      if focus == cid then
          selfSay('Nara, ' .. creatureGetName(cid) .. '!')
          focus = 0
          talk_start = 0
      end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
      return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
      msg = string.lower(msg)
      if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
         selfSay('Elo ' .. creatureGetName(cid) .. '! Jestem Quado moge cie zabraz ze soba na isle za 2 red mushroom.')
         focus = cid
         talk_start = os.clock()
    elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
          selfSay('Sorry, ' .. creatureGetName(cid) .. '! Pogadam z toba za minute.')
      elseif focus == cid then
        talk_start = os.clock()
        if msgcontains(msg, 'isle') then
            selfSay('Chcesz mi dac te 2 red mushroom?')
            talk_state = 1
        elseif talk_state == 1 then
            if msgcontains(msg, 'yes') or msgcontains(msg, 'tak') then
                                if getPlayerItemCount(cid, 2788) >= 2 then            
                                        doPlayerRemoveItem(cid, 2788, 2)
                    travel(cid, x, y, z)
                        selfSay('Dzieki!')
                                else
                        selfSay('Nie masz grzybkow!')
                                end
             end
            talk_state = 0
          elseif msgcontains(msg, 'bye')  and getDistanceToCreature(cid) < 4 then
              selfSay('Good bye, ' .. creatureGetName(cid) .. '!')
              focus = 0
              talk_start = 0
          end
      end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
    doNpcSetCreatureFocus(focus)
      if (os.clock() - talk_start) > 30 then
          if focus > 0 then
              selfSay('Nastepny noob...')
          end
              focus = 0
      end
     if focus ~= 0 then
         if getDistanceToCreature(focus) > 5 then
             selfSay('Spadaj.')
             focus = 0
         end
     end
end
Nazwa miejsca transportu.
Współrzędne miejsca.
Oczywiście może być jakiś błąd ponieważ jest późno i jest to obszerny kod.
 


Zamknięty temat

Narzędzia tematu
Wygląd

Podobne wątki

[Inne] Questy... - Witam, mam problem z questami tzn, zmienilem mapkę z evo na evo ale przeobione i questy nie działaja jak sie naciska na skrzynkę pisze ze nie moge... supergosc, 14-10-2008 [8.10] [B-Fox] Questy - Witam. Mam silnik B-Fox i ostatnio przeżuciłem mape na ten silnik. Zauważyłem ,że questy nie działają... Mają UinquedID wpisane poprawnie, ale kiedy... Mateusz7125, 28-08-2008 Prosze o jakieś pomysły na zrobienie jakiegoś fajnego expowiska. - Prosze o jakieś pomysły na zrobienie jakiegoś fajnego expowiska, czyli napiszcie mi jakies fajne pomysły bo mi się skończyły. Meni Virne, 18-08-2008 [8.1] Jak zrobic acc manager na voc 0 ? + jak questy zrobić ? - Witam. Mam 2 problemy. 1. Czy wie ktoś co odpowiada za Account Managera ? Wiem że players i accounts ale dokładniej o skrypt którym tworzy... Irys, 04-07-2008


Tibia.net.pl: Pomoc (Miejsce na prośby oraz pomoc w utworzeniu skryptu.)
Temat: [8.1][OTS]Wasze pomysły na questy Siemq All. Zbieram wasze pomysły na questy. I może twój [...]


Npc Bless [evobysentil][8.10] POMOCY - wagery12 (2) 03-12-2008 17:44 Chciałbym się dowiedzieć - sebolak (0) 02-12-2008 14:41 [8.31]Jak zrobić exp na level - Dyzajasz (0) 01-12-2008 10:14 [8.31]TalkActions-Kupowanie Bp potow - ziemba193 (0) 30-11-2008 16:36 [8.31][TFS][Gesior Acc 0.31 Prosze o POMOC - spongebob123 (0) 30-11-2008 16:22 [Pomoc]ACcmaker - Pawlacz741 (0) 30-11-2008 08:42 Proszę o Pomoc w TFS 8.11 - ultraas00 (0) 29-11-2008 01:15 8.1 Nowy Wand - Virtua3 (0) 29-11-2008 00:30 HonorTransform... - Macck (16) 29-11-2008 12:02 własne itemy - Azaris (8) 28-11-2008 12:30


Czasy w strefie GMT +1. Teraz jest 04:10.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.2.0 © 2008, Crawlability, Inc.