• logo_cipsoft
    Nowe serwery zostały otwarte 27 Paź 2025:
    Idyllia (Optional PvP) Hostera (Open PvP) us_logo Dracobra (Open PvP)

Inquisition Quest + Skrypty

Odp: Inquisition Quest + Skrypty

Ja mam takie bledy jak zabije tego bossa i tp sie nie pokazuje tylko napisa jakis z next room in 3 minutes
[22/02/2010 22:19:11] Lua Script Error: [CreatureScript Interface]
[22/02/2010 22:19:11] data/creaturescripts/scripts/inquisitionPortals.lua:onDeath

[22/02/2010 22:19:11] luaDoCreateTeleport(). Tile not found
 

Our partners and their custom servers:

Odp: Inquisition Quest + Skrypty

@Up

1. Musz? by? te potwory kt?re masz w paczce.
2. Sprawd? czy masz poprawne wsp??rz?dne wpisane:

Kod:
function onDeath(cid, corpse, killer)

registerCreatureEvent(cid, "inquisitionPortals")

local creaturename = getCreatureName(cid)

--- positions where the teleports will be created:       [B][SIZE="4"]<- Gdzie ma powsta? Teleport[/SIZE][/B]

local ushuriel_in_pos = {x=363, y=385, z=12, stackpos=2}
local annihilon_in_pos = {x=754, y=504, z=13, stackpos=2}
local hellgorak_in_pos = {x=452, y=614, z=10, stackpos=2}
local madareth_in_pos = {x=457, y=494, z=13, stackpos=2}
local zugurosh_in_pos = {x=507, y=559, z=13, stackpos=2}
local brothers_in_pos = {x=622, y=378, z=13, stackpos=1}

--- positions where the teleports will be teleported you:      [B][SIZE="4"]<- Gdzie ten teleport ma teleportowa?[/SIZE][/B]

local ushuriel_to_pos = {x=289, y=596, z=13, stackpos=1}
local annihilon_to_pos = {x=405, y=715, z=13, stackpos=1}
local hellgorak_to_pos = {x=234, y=68, z=8, stackpos=1}
local madareth_to_pos = {x=527, y=445, z=13, stackpos=1}
local zugurosh_to_pos = {x=404, y=398, z=13, stackpos=1}
local brothers_to_pos = {x=429, y=508, z=13, stackpos=1}

local time_to_pass = 180 -- in seconds
local tpID = 5023
local doEffect = CONST_ME_ENERGYHIT
local message = "You now have 3 minutes to exit this room through the teleporter. It will bring you to the next room only during his time or the teleporter will disappear."

if creaturename == 'Ushuriel' then

teleport = doCreateTeleport(tpID, ushuriel_to_pos, ushuriel_in_pos)

doSendMagicEffect(ushuriel_in_pos, doEffect)

doCreatureSay(cid, message, TALKTYPE_ORANGE_1)

addEvent(removeTeleportInUshurielWard, (1000*time_to_pass))

elseif creaturename == 'Annihilon' then

teleport = doCreateTeleport(tpID, annihilon_to_pos, annihilon_in_pos)

doSendMagicEffect(annihilon_in_pos, doEffect)

doCreatureSay(cid, message, TALKTYPE_ORANGE_1)

addEvent(removeTeleportInAnnihilonWard, (1000*time_to_pass))

elseif creaturename == 'Madareth' then

teleport = doCreateTeleport(tpID, madareth_to_pos, madareth_in_pos)

doSendMagicEffect(madareth_in_pos, doEffect)

doCreatureSay(cid, message, TALKTYPE_ORANGE_1)

addEvent(removeTeleportInMadarethWard, (1000*time_to_pass))

elseif creaturename == 'Hellgorak' then

teleport = doCreateTeleport(tpID, hellgorak_to_pos, hellgorak_in_pos)

doSendMagicEffect(hellgorak_in_pos, doEffect)

doCreatureSay(cid, message, TALKTYPE_ORANGE_1)

addEvent(removeTeleportInHellgorakWard, (1000*time_to_pass))

elseif creaturename == 'Zugurosh' then

teleport = doCreateTeleport(tpID, zugurosh_to_pos, zugurosh_in_pos)

doSendMagicEffect(zugurosh_in_pos, doEffect)

doCreatureSay(cid, message, TALKTYPE_ORANGE_1)

addEvent(removeTeleportInZuguroshWard, (1000*time_to_pass))

elseif creaturename == 'Latrivan' then

teleport = doCreateTeleport(tpID, brothers_to_pos, brothers_in_pos)

doSendMagicEffect(brothers_in_pos, doEffect)

doCreatureSay(cid, message, TALKTYPE_ORANGE_1)

addEvent(removeTeleportInBrothersWard, (1000*time_to_pass))

end
end

function removeTeleportInUshurielWard()
if getThingfromPos({[B][COLOR="Blue"]x=363, y=385, z=12,[/COLOR][/B] stackpos=1}).itemid == 5023 then
doRemoveItem(getThingfromPos({x=246, y=351, z=12, stackpos=1}).uid,1)
doSendMagicEffect({x=363, y=385, z=12, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

function removeTeleportInAnnihilonWard()
if getThingfromPos({x=754, y=504, z=13, stackpos=1}).itemid == 5023 then
doRemoveItem(getThingfromPos({x=637, y=472, z=13, stackpos=1}).uid,1)
doSendMagicEffect({x=754, y=504, z=13, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

function removeTeleportInHellgorakWard()
if getThingfromPos({x=452, y=614, z=10, stackpos=1}).itemid == 5023 then
doRemoveItem(getThingfromPos({x=335, y=581, z=10, stackpos=1}).uid,1)
doSendMagicEffect({x=452, y=614, z=10, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

function removeTeleportInMadarethWard()
if getThingfromPos({x=457, y=494, z=13, stackpos=1}).itemid == 5023 then
doRemoveItem(getThingfromPos({x=340, y=460, z=13, stackpos=1}).uid,1)
doSendMagicEffect({x=457, y=494, z=13, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

function removeTeleportInZuguroshWard()
if getThingfromPos({x=507, y=559, z=13, stackpos=1}).itemid == 5023 then
doRemoveItem(getThingfromPos({x=390, y=525, z=13, stackpos=1}).uid,1)
doSendMagicEffect({x=507, y=559, z=13, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

function removeTeleportInBrothersWard()
if getThingfromPos({x=622, y=378, z=13, stackpos=1}).itemid == 5023 then
doRemoveItem(getThingfromPos({x=505, y=345, z=13, stackpos=1}).uid,1)
doSendMagicEffect({x=622, y=378, z=13, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

To co masz zaznaczone na niebiesko wpisujesz tam wsp??rz?dne teleportu kt?re wpisywa?e? w "dziale" Gdzie ma powsta? teleport
 
Odp: Inquisition Quest + Skrypty

Siema uzylem tego skryptu na tfs 0.3.6
brak bledow w konsoli wszystko ladnie, pieknie na pierwszy rzut oka:>
Jedyny problem tkwi w tym, ze gdy zabije bossa nie pokazuje sie jego corpse a co sie z tym wiaze nie ma loota;/

Prosze o pomoc.
 
Odp: Inquisition Quest + Skrypty

hmm mo?na powiedzie?, ?e wszystko cacy tylko nie mog? wzi?? nagr?d ze skrzynki bo pisze:
14:45 You are not allowed to get rewards from quests.
 
Odp: Inquisition Quest + Skrypty

M?g?by kto? da? namiary na pocz?tkow? lokacj? questa, jak i nast?pne, bo s? tak rozmieszczone na mapie, ?e nie mog? znale??.
 
Odp: Inquisition Quest + Skrypty

witam, mam problem gdy zabije monsters'a nie pojawia si? teleport... ustawi?em te wsp??z?dnie i nic.. prosz? o pomoc!
 
Odp: Inquisition Quest + Skrypty

Dziekuje. Wszystko dziala super.
Moglbys podpowiedziec co mam zrobic w shadow nexus?
W zadnym skrypcie nei moge znalesc zadnego id itema np holy wate czy cos, by to wylac na m walla.
 
Odp: Inquisition Quest + Skrypty

Podpisuje sie pod pytaniem kolegi @up
oraz mam problem gdy? skopiowa?em mapke do swojej tyle, ?e pod innymi xyz co za tym idzie teleporty nie dzia?a?y ale ju? ponaprawiane wsp??rz?dne teraz zosta? problem z quest skrzynkami, sealami oraz nexusem gdy? wywala mi b??d w konsoli "[warning - event::Loadscript] cannot load script <lokalizacja do pliku> no such file od directory a wszystko mam wrzucone dodane wi?c nie wiem w czym problem? :/ .. :confused:
 
Odp: Inquisition Quest + Skrypty

@Rivex
Wysytarczy u?y? Magic Wall'a
@up
Jaka wersja silnika ? wklei?e? wszystkie skrypty dobrze ?
 
Odp: Inquisition Quest + Skrypty

@up
Mo?esz opisa? w czym tkwi? b??d ?
mo?e inni u?ytkownicy unikn? tego co ty :)

@topic
Widze, ?e to inq robi radoche u?ytkownikom na forum, ciesz? si? , ?e mog?em pomuc :P

Pozdrawiam, Dragonas
 
Odp: Inquisition Quest + Skrypty

Ja mam problem ,TP po zabiciu bossa si? pojawiaj? i dzia?aj? ,kiedy przejd? bossa i wejde w tp powinienem dosta? msg "You have saved the Crystal Caves." Wiadomo?ci nie mam i w tym TP roomie nadal nie mog? wej?? w drzwi ...
 
Odp: Inquisition Quest + Skrypty

@up
W tym skrypcie nie ma takiego zapisu ;)
W ka?dym nowym roomie znajduj? si? statua ...
Np. Blood Halls :
 
Odp: Inquisition Quest + Skrypty

M?g?bym prosi? o rehosta tej paczki ?? :> wiem, ?e to stary temat ale jest mi to bardzo niezb?dne do mojego projektu.
 
Back
Do góry Bottom