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ć ...
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.
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 ;]
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.
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
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.
[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 [...]