Ir para conteúdo
  • Cadastre-se

Scripting Criação de Quest,Tile que mata o play se pisa nele


Posts Recomendados

.Qual servidor ou website você utiliza como base? 

Base Cyan 8.54 v1

Qual o motivo deste tópico? 

Galera queria a ajuda de vcs para fazer uma quest que em tal lugares eu coloque um ation e alguem passa em cima desse piso morra e se pisa no certo o chao mude de cor pretendo usa o piso preto e branco 

 Ajuda ai Manos <3

 

 

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626 Ve se é isso(não testei):

 

Em data/movements/scripts/ crie um arquivo chamado: tileEvent.lua

 

local config = {
actions = {1200, 1300}, -- Certo, Errado
tiles = {1200, 1300}, -- tile normal, tile diferente
}

function onStepIn(cid)

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Certo
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[1] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 then
				doTransformItem(getTileItemById(pos, config.tiles[1]).uid, config.tiles[2])
			end
		end
	end

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Errado
		local valor = getCreatureHealth(cid)
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[2] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 or getTileItemById(pos, config.tiles[2]).uid ~= 0 then
				doCreatureAddHealth(cid, -valor)
			end
		end
	end
 return true
 end

Tag:

 

<movevent type="StepIn" actionid="1200;1300" event="script" value="tileEvent.lua"/>

 

 

Link para o post
Compartilhar em outros sites
2 horas atrás, gabrielzika disse:

@louco3626 Ve se é isso(não testei):

 

Em data/movements/scripts/ crie um arquivo chamado: tileEvent.lua

 


local config = {
actions = {1200, 1300}, -- Certo, Errado
tiles = {1200, 1300}, -- tile normal, tile diferente
}

function onStepIn(cid)

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Certo
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[1] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 then
				doTransformItem(getTileItemById(pos, config.tiles[1]).uid, config.tiles[2])
			end
		end
	end

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Errado
		local valor = getCreatureHealth(cid)
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[2] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 or getTileItemById(pos, config.tiles[2]).uid ~= 0 then
				doCreatureAddHealth(cid, -valor)
			end
		end
	end
 return true
 end

Tag:

 


<movevent type="StepIn" actionid="1200;1300" event="script" value="tileEvent.lua"/>

 

 

 

onde esta o 1300

Editado por louco3626 (veja o histórico de edições)

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626

 

em actions:

 

1200 é a actions do tile certo a se pisar e 1300 do tile que vai te matar.

 

em tiles:

 

1200 é o id do tile normal e 1300 e do tile que ele vai virar quando pisar certo, só alterar aí é ir testando.. o resto deixa como está 

Link para o post
Compartilhar em outros sites
3 horas atrás, gabrielzika disse:

@louco3626

 

em actions:

 

1200 é a actions do tile certo a se pisar e 1300 do tile que vai te matar.

 

em tiles:

 

1200 é o id do tile normal e 1300 e do tile que ele vai virar quando pisar certo, só alterar aí é ir testando.. o resto deixa como está 

 

tipo a action 1200 eu coloco em um piso correto? por quer fiz tudo da forma que to achando que esta certo mais não ta funcionando  

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626 manda aí como tu quer q eu arrumo...

Link para o post
Compartilhar em outros sites

 

 

Tipo isso é uma quest e eu criei timo um enigma para chega ate la no portal ou seja...

 [1] Qual a cor de um ruby?    <---- Aqui o play vai ir do piso vermelho ate la e o id que tiver nos piso que tao na coordenada de baixo não vai mata ele.

 [2] 5  frente, 2  cima, 3  frente, 2  baixo,3  frente,2 baixo,4  frente,2  cima.

Quest.png

Melhor ainda esses que ta azul pode passa de boa, os que tiver sem a pintura é pra morre na hr que pisa.e se poder os que ta com a mancha azul é para troca de piso assim que pisa so pra saber que ta certo^^ se poder 

Quest2.png

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626Fala os ids dos pisos né mano, id do piso q ta ai e do piso q ele vai transformar

Link para o post
Compartilhar em outros sites
19 minutos atrás, gabrielzika disse:

@louco3626Fala os ids dos pisos né mano, id do piso q ta ai e do piso q ele vai transformar

 

Ta esse Black =id 407  vira esse White =id 406

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626

 

local config = {
actions = {10130, 10131}, -- Certo, Errado
tiles = {407, 406}, -- tile normal, tile diferente
}

function onStepIn(cid)

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Certo
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[1] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 then
				doTransformItem(getTileItemById(pos, config.tiles[1]).uid, config.tiles[2])
			end
		end
	end

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Errado
		local valor = getCreatureHealth(cid)
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[2] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 or getTileItemById(pos, config.tiles[2]).uid ~= 0 then
				doCreatureAddHealth(cid, -valor)
			end
		end
	end
 return true
 end

 

<movevent type="StepIn" actionid="10130;10131" event="script" value="tileEvent.lua"/>

 

Nos tiles que estão em azul ai na sua print, tu coloca a Action: 10130 e no Resto em volta tu poem 10131

Editado por gabrielzika
erro de digitação (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

@louco3626 

	<movevent type="StepIn" actionid="11555;11556" event="script" value="tile.lua"/>
	<movevent type="StepOut" actionid="11555;11556" event="script" value="tile.lua"/>

 

local config = {
    
    fail_tile = 11555, -- ActionID do tile que matará
    right_tile = 11556, -- ActionID do tile certo
    new_tile_id = 406, -- Piso branco
    old_tile_id = 407 -- Piso preto
    
}

function onStepIn(cid, item, position, fromPosition)
    local pos = getCreaturePosition(cid)
    if isPlayer(cid) and not isPlayerGhost(cid) then
        if item.actionid == config.fail_tile then
            doCreatureAddHealth(cid, -getCreatureMaxHealth(cid))
            doSendMagicEffect(pos, CONST_ME_POFF)
            return true
        elseif item.actionid == config.right_tile then
            doTransformItem(item.uid, config.new_tile_id)
            doSendMagicEffect(pos, CONST_ME_TELEPORT)
            return true
        end
    end
    return true
end

function onStepOut(cid, item, position, fromPosition)
    local pos = getCreaturePosition(cid)
    if isPlayer(cid) and not isPlayerGhost(cid) then
        if item.actionid == config.right_tile then
            doTransformItem(item.uid, config.old_tile_id)
            doSendMagicEffect(pos, CONST_ME_POFF)
            return true
        end
    end
    return true
end

 

Link para o post
Compartilhar em outros sites

irei testa assim que chega em casa já agradeço pela atenção  <3

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

Deu esse erro ai os 2 deu erro.

Erroooooooooo.png

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites
9 minutos atrás, Storm disse:

@louco3626 Voce ta errando alguma coisa na hora de colocar no movements.xml

 

Colocando tudo certinho o primeiro que ele fez funciona só não ta matando :/ já os outro não abre nem o Servidor 

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626 qual funcionou? cita ai que eu arrumo pra tu 

Link para o post
Compartilhar em outros sites
Em 21/04/2019 em 19:11, gabrielzika disse:

@louco3626 Ve se é isso(não testei):

 

Em data/movements/scripts/ crie um arquivo chamado: tileEvent.lua

 


local config = {
actions = {1200, 1300}, -- Certo, Errado
tiles = {1200, 1300}, -- tile normal, tile diferente
}

function onStepIn(cid)

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Certo
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[1] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 then
				doTransformItem(getTileItemById(pos, config.tiles[1]).uid, config.tiles[2])
			end
		end
	end

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Errado
		local valor = getCreatureHealth(cid)
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[2] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 or getTileItemById(pos, config.tiles[2]).uid ~= 0 then
				doCreatureAddHealth(cid, -valor)
			end
		end
	end
 return true
 end

Tag:

 


<movevent type="StepIn" actionid="1200;1300" event="script" value="tileEvent.lua"/>

 

 

 

Esse pow ele abria de boa e funcionava mudando a cor do piso mais ele não matava quando pisava.

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites
29 minutos atrás, Storm disse:

@louco3626 Manda seu movements.xml, você ta errando alguma coisa nela. Não é nada na script, testei em um debugger e ela ta normal.

 

<?xml version="1.0" encoding="UTF-8"?>
<movements>

-- Icone System
     <movevent type="Equip" itemid="11826-11837;11737-11748;12826-12831;10975-10977;12621-12623;12861-13781;13797-13823;13836-13861;13902-13904;13919-13930;13933-13935;13937-13939;14020-14022;14015-14017;14033-14035;14038-14040;14043-14045;14086-14088;14091-14093;14096-14098;14101-14103;14106-14108;14111-14113;14116-14118;14121-14123;14126-14128;14136-14138;14141-14143;14157-14159;14163-14165;14173-14175;14081-14083;14190-14192;14178-14180;14193-14195;14199-14204;14223-14246;14262-14276;14287-14304;14340-14366;14491-14554;14578-14586;14593-14595;14598-14657;14663-14665;14667-14669;14673-14675;14649-14651;14676-14678;14680-14682;14685-14687;14690-14692;14047-14049" slot="feet" event="script" value="portrait.lua"/>
     <movevent type="DeEquip" itemid="11826-11837;11737-11748;12826-12831;10975-10977;12621-12623;12861-13781;13797-13823;13836-13861;13902-13904;13919-13930;13933-13935;13937-13939;14020-14022;14015-14017;14033-14035;14038-14040;14043-14045;14086-14088;14091-14093;14096-14098;14101-14103;14106-14108;14111-14113;14116-14118;14121-14123;14126-14128;14136-14138;14141-14143;14157-14159;14163-14165;14173-14175;14081-14083;14190-14192;14178-14180;14193-14195;14199-14204;14223-14246;14262-14276;14287-14304;14340-14366;14491-14554;14578-14586;14593-14595;14598-14657;14663-14665;14667-14669;14673-14675;14649-14651;14676-14678;14680-14682;14685-14687;14690-14692;14047-14049" slot="feet" event="script" value="portrait.lua"/>

-- Outland
    <movevent type="StepIn" actionid="25007" event="script" value="outlandtile.lua"/>
    <movevent type="StepIn" actionid="25000" event="script" value="outlandtile1.lua"/>

    <movevent type="StepIn" actionid="33691-33716" event="script" value="PVP/Trade_Go.lua"/>
    <movevent type="StepIn" actionid="33799;33800-33808" event="script" value="PVP/Trade_Back.lua"/>
    <movevent type="StepIn" uniqueid="15011-15014" event="script" value="shiny box.lua"/>
    <movevent type="StepIn" actionid="7001" event="script" value="tprandom.lua" />
    <movevent type="StepIn" actionid="7002-7004" event="script" value="tprandom1.lua" />
    <movevent type="StepIn" actionid="7005-7007" event="script" value="tprandom2.lua" />

    <movevent type="StepIn" uniqueid="13553-13555" event="script" value="entei quest.lua"/>

    <movevent type="StepIn" actionid="19456" event="script" value="premiumtile.lua" />


    <movevent type="AddItem" itemid="11826-11837;11737-11748;12325-12329;12332;12580;2391;10975-10977" event="script" value="UniqueItem.lua"/>
    <movevent type="RemoveItem" itemid="11826-11837;11737-11748;12325-12329;12332;12580;2391;10975-10977" event="script" value="UniqueItem.lua"/>

    <movevent type="StepIn" itemid="11777-11785;1533-1542;11809-11811;5303-5304;1111-1119;873-878;2703;2767;1036-1048;6436-6439" event="script" value="blockwall.lua"/>

    <movevent type="StepIn" actionid="25695-25698;24158" event="script" value="PVP/PVP_tile.lua"/>

    <!-- Decaying tiles -->
    <movevent type="StepIn" itemid="293" event="script" value="decay.lua"/>
    <movevent type="StepIn" itemid="461" event="script" value="decay.lua"/>

    <movevent type="StepIn" actionid="7300" script="StorageTile.lua"/>
    <movevent type="StepIn" actionid="7301" script="TileQuestInicial/TileHouseDelia.lua"/>
    <movevent type="StepIn" actionid="7302" script="TileQuestInicial/TileHouseClickFood.lua"/>
        <movevent type="StepIn" actionid="7303" script="ReturnPOS.lua"/>
    <movevent type="StepIn" actionid="7310" script="TileQuestInicial/Prof.RobertTILE.lua"/>

    <!-- Swimming -->
    <movevent type="StepIn" itemid="4828-4831" event="script" value="swimming.lua"/>
    <movevent type="StepIn" itemid="7943-7954" event="script" value="swimming.lua"/>

    <!-- Underwater drown -->
    <movevent type="StepIn" fromid="5405" toid="5410" event="script" value="drown.lua"/>
    <movevent type="StepOut" fromid="5405" toid="5410" event="script" value="drown.lua"/>

    <!-- (Depot & Level) tiles -->
    <movevent type="StepIn" itemid="416" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="417" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="426" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="425" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="446" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="447" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="3216" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="3217" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="3202" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="3215" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="11059" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="11060" event="script" value="tiles.lua"/>
    <!-- <movevent type="StepIn" itemid="8714" event="script" value="tiles.lua"/> -->

    <!-- Traps -->
    <movevent type="StepIn" itemid="1510" event="script" value="trap.lua"/>
    <movevent type="StepOut" itemid="1511" event="script" value="trap.lua"/>
    <movevent type="StepIn" itemid="1512" event="script" value="trap.lua"/>
    <movevent type="StepOut" itemid="1513" event="script" value="trap.lua"/>
    <movevent type="StepIn" itemid="2579" event="script" value="trap.lua"/>
    <movevent type="RemoveItem" itemid="2579" event="script" value="trap.lua"/>

    <!-- Walkback when walking on quest chest -->
    <movevent type="StepIn" itemid="1738" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1740" event="script" value="walkback.lua"/>
    <movevent type="StepIn" fromid="1746" toid="1749" event="script" value="walkback.lua"/>

    <!-- (Level & quest) doors -->
    <movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1230" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1246" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1248" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1260" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1262" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3541" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3550" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5104" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5113" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5122" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5131" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5293" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5295" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1224" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1226" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1242" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1244" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1256" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1258" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3543" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3552" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5106" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5115" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5124" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5133" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5289" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5291" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5746" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5749" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6203" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6205" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6207" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6209" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6260" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6262" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6264" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6897" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6899" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6906" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6908" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7039" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7041" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7048" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7050" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8552" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8554" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8556" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8558" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9176" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9178" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9180" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9182" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9278" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9280" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9282" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9284" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10279" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10281" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10283" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10285" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10474" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10476" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10483" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10485" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10780" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10782" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10789" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10791" event="script" value="closingdoor.lua"/>
    <movevent type="StepIn" itemid="1228" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1230" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1246" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1248" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1260" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1262" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3541" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3550" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5104" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5113" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5122" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5131" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5293" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5295" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1224" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1226" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1242" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1244" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1256" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1258" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3543" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3552" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5106" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5115" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5124" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5133" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5289" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5291" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5746" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5749" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6203" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6205" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6207" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6209" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6260" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6262" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6264" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6897" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6899" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6906" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6908" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7039" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7041" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7048" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7050" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8552" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8554" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8556" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8558" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9176" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9178" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9180" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9182" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9278" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9280" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9282" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9284" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10279" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10281" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10283" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10285" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10474" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10476" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10483" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10485" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10780" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10782" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10789" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10791" event="script" value="walkback.lua"/>

    <!-- Snow footprint tiles -->
    <movevent type="StepIn" itemid="670" event="script" value="snow.lua"/>
    <movevent type="StepIn" itemid="6594" event="script" value="snow.lua"/>

    <!-- Create bread movements -->
    <movevent type="AddItem" tileitem="1" itemid="1786" event="script" value="dough.lua"/>
    <movevent type="AddItem" tileitem="1" itemid="1788" event="script" value="dough.lua"/>
    <movevent type="AddItem" tileitem="1" itemid="1790" event="script" value="dough.lua"/>
    <movevent type="AddItem" tileitem="1" itemid="1792" event="script" value="dough.lua"/>

    <!-- Campfires -->
    <movevent type="StepIn" itemid="1423" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1423" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1424" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1424" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1425" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1425" event="function" value="onAddField"/>

    <!-- Fields -->
    <movevent type="StepIn" itemid="1487" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1487" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1488" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1488" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1489" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1489" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1490" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1490" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1491" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1491" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1492" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1492" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1493" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1493" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1494" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1494" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1495" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1495" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1496" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1496" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1497" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1497" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1498" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1498" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1499" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1499" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1500" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1500" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1501" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1501" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1502" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1502" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1503" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1503" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1504" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1504" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1505" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1505" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1506" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1506" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1507" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1507" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1508" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1508" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7359" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7359" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7360" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7360" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7465-7473" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7465-7473" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="11095" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="11095" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="11096" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="11096" event="function" value="onAddField"/>

    <!-- Other -->

     <movevent type="StepIn" actionid="9015" event="script" value="roupa.lua"/>

    <movevent type="StepIn" itemid="4820-4825;11756" event="script" value="surf.lua"/>
    <movevent type="StepOut" itemid="4820-4825;11756" event="script" value="surf.lua"/>
    <!-- <movevent type="StepIn" itemid="4632-4663;6627-6694" event="script" value="surfcancel.lua"/> -->

    <movevent type="StepIn" itemid="460;11675-11677" event="script" value="fly.lua"/>
    <movevent type="StepOut" itemid="460;11675-11677" event="script" value="fly.lua"/>

    <movevent type="StepIn" itemid="919" event="script" value="ghostwalk.lua"/>
    <movevent type="StepOut" itemid="8260" event="script" value="ghostwalk.lua"/>
    <movevent type="StepOut" itemid="11749-11751" event="script" value="under deep sea.lua"/>


</movements>

[27/04/2019 17:21:43] [Error - LuaScriptInterface::loadFile] data/movements/scripts/tile100.lua:2: unexpected symbol near 'ï'
[27/04/2019 17:21:43] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/tile100.lua)
[27/04/2019 17:21:43] data/movements/scripts/tile100.lua:2: unexpected symbol near 'ï'
[27/04/2019 17:21:43] [Error - LuaScriptInterface::loadFile] data/movements/scripts/tile100.lua:2: unexpected symbol near 'ï'
[27/04/2019 17:21:43] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/tile100.lua)
[27/04/2019 17:21:43] data/movements/scripts/tile100.lua:2: unexpected symbol near 'ï'

Jamais se desespere em meio as sombrias afeiçoes da sua vida, pois das nuvens mais negras cai água límpida e fecunda

Link para o post
Compartilhar em outros sites

@louco3626

 

tileEvent.lua

local config = {
actions = {10100, 10101}, -- Certo, Errado
tiles = {407, 406}, -- tile normal, tile diferente
}

function onStepIn(cid)

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Certo
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[1] then
			if getTileItemById(pos, config.tiles[1]).uid ~= 0 then
				doTransformItem(getTileItemById(pos, config.tiles[1]).uid, config.tiles[2])
			end
		end
	end

	if isPlayer(cid) and not isPlayerGhost(cid) then -- Errado
		local valor = getCreatureHealth(cid)
		local pos = getCreaturePosition(cid)
		if getTileInfo(pos).actionid == config.actions[2] then
			doCreatureAddHealth(cid, -valor)
		end
	end
return true
end

 

Movements.xml

<?xml version="1.0" encoding="UTF-8"?>
<movements>

    <!-- ICONE -->
     <movevent type="Equip" itemid="11826-11837;11737-11748;12826-12831;10975-10977;12621-12623;12861-13781;13797-13823;13836-13861;13902-13904;13919-13930;13933-13935;13937-13939;14020-14022;14015-14017;14033-14035;14038-14040;14043-14045;14086-14088;14091-14093;14096-14098;14101-14103;14106-14108;14111-14113;14116-14118;14121-14123;14126-14128;14136-14138;14141-14143;14157-14159;14163-14165;14173-14175;14081-14083;14190-14192;14178-14180;14193-14195;14199-14204;14223-14246;14262-14276;14287-14304;14340-14366;14491-14554;14578-14586;14593-14595;14598-14657;14663-14665;14667-14669;14673-14675;14649-14651;14676-14678;14680-14682;14685-14687;14690-14692;14047-14049" slot="feet" event="script" value="portrait.lua"/>
     <movevent type="DeEquip" itemid="11826-11837;11737-11748;12826-12831;10975-10977;12621-12623;12861-13781;13797-13823;13836-13861;13902-13904;13919-13930;13933-13935;13937-13939;14020-14022;14015-14017;14033-14035;14038-14040;14043-14045;14086-14088;14091-14093;14096-14098;14101-14103;14106-14108;14111-14113;14116-14118;14121-14123;14126-14128;14136-14138;14141-14143;14157-14159;14163-14165;14173-14175;14081-14083;14190-14192;14178-14180;14193-14195;14199-14204;14223-14246;14262-14276;14287-14304;14340-14366;14491-14554;14578-14586;14593-14595;14598-14657;14663-14665;14667-14669;14673-14675;14649-14651;14676-14678;14680-14682;14685-14687;14690-14692;14047-14049" slot="feet" event="script" value="portrait.lua"/>

    <!-- Outland -->
    <movevent type="StepIn" actionid="25007" event="script" value="outlandtile.lua"/>
    <movevent type="StepIn" actionid="25000" event="script" value="outlandtile1.lua"/>

    <movevent type="StepIn" actionid="33691-33716" event="script" value="PVP/Trade_Go.lua"/>
    <movevent type="StepIn" actionid="33799;33800-33808" event="script" value="PVP/Trade_Back.lua"/>
    <movevent type="StepIn" uniqueid="15011-15014" event="script" value="shiny box.lua"/>
    <movevent type="StepIn" actionid="7001" event="script" value="tprandom.lua" />
    <movevent type="StepIn" actionid="7002-7004" event="script" value="tprandom1.lua" />
    <movevent type="StepIn" actionid="7005-7007" event="script" value="tprandom2.lua" />

    <movevent type="StepIn" uniqueid="13553-13555" event="script" value="entei quest.lua"/>

    <movevent type="StepIn" actionid="19456" event="script" value="premiumtile.lua" />


    <movevent type="AddItem" itemid="11826-11837;11737-11748;12325-12329;12332;12580;2391;10975-10977" event="script" value="UniqueItem.lua"/>
    <movevent type="RemoveItem" itemid="11826-11837;11737-11748;12325-12329;12332;12580;2391;10975-10977" event="script" value="UniqueItem.lua"/>

    <movevent type="StepIn" itemid="11777-11785;1533-1542;11809-11811;5303-5304;1111-1119;873-878;2703;2767;1036-1048;6436-6439" event="script" value="blockwall.lua"/>

    <movevent type="StepIn" actionid="25695-25698;24158" event="script" value="PVP/PVP_tile.lua"/>

    <!-- Decaying tiles -->
    <movevent type="StepIn" itemid="293" event="script" value="decay.lua"/>
    <movevent type="StepIn" itemid="461" event="script" value="decay.lua"/>

    <movevent type="StepIn" actionid="7300" script="StorageTile.lua"/>
    <movevent type="StepIn" actionid="7301" script="TileQuestInicial/TileHouseDelia.lua"/>
    <movevent type="StepIn" actionid="7302" script="TileQuestInicial/TileHouseClickFood.lua"/>
        <movevent type="StepIn" actionid="7303" script="ReturnPOS.lua"/>
    <movevent type="StepIn" actionid="7310" script="TileQuestInicial/Prof.RobertTILE.lua"/>

    <!-- Swimming -->
    <movevent type="StepIn" itemid="4828-4831" event="script" value="swimming.lua"/>
    <movevent type="StepIn" itemid="7943-7954" event="script" value="swimming.lua"/>

    <!-- Underwater drown -->
    <movevent type="StepIn" fromid="5405" toid="5410" event="script" value="drown.lua"/>
    <movevent type="StepOut" fromid="5405" toid="5410" event="script" value="drown.lua"/>

    <!-- (Depot & Level) tiles -->
    <movevent type="StepIn" itemid="416" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="417" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="426" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="425" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="446" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="447" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="3216" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="3217" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="3202" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="3215" event="script" value="tiles.lua"/>
    <movevent type="StepIn" itemid="11059" event="script" value="tiles.lua"/>
    <movevent type="StepOut" itemid="11060" event="script" value="tiles.lua"/>
    <!-- <movevent type="StepIn" itemid="8714" event="script" value="tiles.lua"/> -->

    <!-- Traps -->
    <movevent type="StepIn" itemid="1510" event="script" value="trap.lua"/>
    <movevent type="StepOut" itemid="1511" event="script" value="trap.lua"/>
    <movevent type="StepIn" itemid="1512" event="script" value="trap.lua"/>
    <movevent type="StepOut" itemid="1513" event="script" value="trap.lua"/>
    <movevent type="StepIn" itemid="2579" event="script" value="trap.lua"/>
    <movevent type="RemoveItem" itemid="2579" event="script" value="trap.lua"/>

    <!-- Walkback when walking on quest chest -->
    <movevent type="StepIn" itemid="1738" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1740" event="script" value="walkback.lua"/>
    <movevent type="StepIn" fromid="1746" toid="1749" event="script" value="walkback.lua"/>

    <!-- (Level & quest) doors -->
    <movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1230" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1246" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1248" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1260" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1262" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3541" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3550" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5104" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5113" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5122" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5131" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5293" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5295" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1224" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1226" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1242" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1244" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1256" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="1258" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3543" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="3552" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5106" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5115" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5124" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5133" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5289" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5291" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5746" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="5749" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6203" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6205" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6207" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6209" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6260" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6262" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6264" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6897" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6899" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6906" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="6908" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7039" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7041" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7048" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="7050" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8552" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8554" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8556" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="8558" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9176" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9178" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9180" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9182" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9278" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9280" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9282" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="9284" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10279" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10281" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10283" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10285" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10474" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10476" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10483" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10485" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10780" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10782" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10789" event="script" value="closingdoor.lua"/>
    <movevent type="StepOut" itemid="10791" event="script" value="closingdoor.lua"/>
    <movevent type="StepIn" itemid="1228" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1230" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1246" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1248" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1260" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1262" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3541" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3550" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5104" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5113" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5122" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5131" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5293" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5295" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1224" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1226" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1242" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1244" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1256" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="1258" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3543" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="3552" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5106" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5115" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5124" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5133" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5289" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5291" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5746" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="5749" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6203" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6205" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6207" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6209" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6260" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6262" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6264" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6897" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6899" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6906" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="6908" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7039" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7041" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7048" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="7050" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8552" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8554" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8556" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="8558" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9176" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9178" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9180" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9182" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9278" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9280" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9282" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="9284" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10279" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10281" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10283" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10285" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10474" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10476" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10483" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10485" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10780" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10782" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10789" event="script" value="walkback.lua"/>
    <movevent type="StepIn" itemid="10791" event="script" value="walkback.lua"/>

    <!-- Snow footprint tiles -->
    <movevent type="StepIn" itemid="670" event="script" value="snow.lua"/>
    <movevent type="StepIn" itemid="6594" event="script" value="snow.lua"/>

    <!-- Create bread movements -->
    <movevent type="AddItem" tileitem="1" itemid="1786" event="script" value="dough.lua"/>
    <movevent type="AddItem" tileitem="1" itemid="1788" event="script" value="dough.lua"/>
    <movevent type="AddItem" tileitem="1" itemid="1790" event="script" value="dough.lua"/>
    <movevent type="AddItem" tileitem="1" itemid="1792" event="script" value="dough.lua"/>

    <!-- Campfires -->
    <movevent type="StepIn" itemid="1423" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1423" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1424" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1424" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1425" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1425" event="function" value="onAddField"/>

    <!-- Fields -->
    <movevent type="StepIn" itemid="1487" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1487" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1488" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1488" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1489" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1489" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1490" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1490" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1491" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1491" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1492" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1492" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1493" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1493" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1494" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1494" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1495" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1495" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1496" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1496" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1497" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1497" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1498" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1498" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1499" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1499" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1500" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1500" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1501" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1501" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1502" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1502" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1503" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1503" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1504" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1504" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1505" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1505" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1506" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1506" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1507" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1507" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1508" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1508" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7359" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7359" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7360" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7360" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7465-7473" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7465-7473" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="11095" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="11095" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="11096" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="11096" event="function" value="onAddField"/>

    <!-- Other -->

     <movevent type="StepIn" actionid="9015" event="script" value="roupa.lua"/>

    <movevent type="StepIn" itemid="4820-4825;11756" event="script" value="surf.lua"/>
    <movevent type="StepOut" itemid="4820-4825;11756" event="script" value="surf.lua"/>
    <!-- <movevent type="StepIn" itemid="4632-4663;6627-6694" event="script" value="surfcancel.lua"/> -->
	<movevent type="StepIn" actionid="10100;10101" event="script" value="tileEvent.lua"/>

    <movevent type="StepIn" itemid="460;11675-11677" event="script" value="fly.lua"/>
    <movevent type="StepOut" itemid="460;11675-11677" event="script" value="fly.lua"/>

    <movevent type="StepIn" itemid="919" event="script" value="ghostwalk.lua"/>
    <movevent type="StepOut" itemid="8260" event="script" value="ghostwalk.lua"/>
    <movevent type="StepOut" itemid="11749-11751" event="script" value="under deep sea.lua"/>

</movements>

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por cloudrun2023
      CloudRun - Sua Melhor Escolha para Hospedagem de OTServer!
      Você está procurando a solução definitiva para hospedar seu OTServer com desempenho imbatível e segurança inigualável? Não procure mais! Apresentamos a CloudRun, sua parceira confiável em serviços de hospedagem na nuvem.
       
      Recursos Exclusivos - Proteção DDoS Avançada:
      Mantenha seu OTServer online e seguro com nossa robusta proteção DDoS, garantindo uma experiência de jogo ininterrupta para seus jogadores.
       
      Servidores Ryzen 7 Poderosos: Desfrute do poder de processamento superior dos servidores Ryzen 7 para garantir um desempenho excepcional do seu OTServer. Velocidade e estabilidade garantidas!
       
      Armazenamento NVMe de Alta Velocidade:
      Reduza o tempo de carregamento do jogo com nosso armazenamento NVMe ultrarrápido. Seus jogadores vão adorar a rapidez com que podem explorar o mundo do seu OTServer.
       
      Uplink de até 1GB:
      Oferecemos uma conexão de alta velocidade com até 1GB de largura de banda, garantindo uma experiência de jogo suave e livre de lag para todos os seus jogadores, mesmo nos momentos de pico.
       
      Suporte 24 Horas:
      Estamos sempre aqui para você! Nossa equipe de suporte está disponível 24 horas por dia, 7 dias por semana, para resolver qualquer problema ou responder a qualquer pergunta que você possa ter. Sua satisfação é a nossa prioridade.
       
      Fácil e Rápido de Começar:
      Configurar seu OTServer na CloudRun é simples e rápido. Concentre-se no desenvolvimento do seu jogo enquanto cuidamos da hospedagem.
       
      Entre em Contato Agora!
      Website: https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
      Email: [email protected]
      Telefone: (47) 99902-5147

      Não comprometa a qualidade da hospedagem do seu OTServer. Escolha a CloudRun e ofereça aos seus jogadores a melhor experiência de jogo possível. Visite nosso site hoje mesmo para conhecer nossos planos e começar!
       
      https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
       
      CloudRun - Onde a Velocidade Encontra a Confiabilidade!
       

    • Por FeeTads
      SALVE rapaziada do TK, esses dias vim pensando em novos scripts pro meu OT, e em um deles eu precisava que determinada area não contasse frag pro player que matasse outros, PORÉM eu precisava que os players que morressem nessa area ainda assim tivessem as penalidades da sua morte, procurei por ai, achei alguns scripts que apenas tiravam o SKULL e não realmente o FRAG do player.

      **script atualizado 22/10/2023** - melhorado e otimizado, levei o script pra puxar as infos por .lua / creatureScripts

      vou disponibilizar o code aqui, e o que fazer pra determinada area não contar frag.

      SOURCE OTX 2 / TFS 0.x, Funciona em TFS 1.x mudando as tags e ajeitando as sintaxes.

      vá em creatureevent.cpp

      procure por:
      else if(type == "preparedeath") _type = CREATURE_EVENT_PREPAREDEATH;
      Adiciona abaixo:
      else if(type == "nocountfrag") _type = CREATURE_EVENT_NOCOUNTFRAG;

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "onPrepareDeath";  
      Adicione abaixo: 
      case CREATURE_EVENT_NOCOUNTFRAG: return "noCountFragArea";

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "cid, deathList";
      Adicione abaixo:
      case CREATURE_EVENT_NOCOUNTFRAG: return "cid, target";

      agora no mesmo arquivo, vá até o final do arquivo e adicione essa função:
      uint32_t CreatureEvent::executeNoCountFragArea(Creature* creature, Creature* target) { //noCountFragArea(cid, target) if(m_interface->reserveEnv()) { ScriptEnviroment* env = m_interface->getEnv(); if(m_scripted == EVENT_SCRIPT_BUFFER) { env->setRealPos(creature->getPosition()); std::ostringstream scriptstream; scriptstream << "local cid = " << env->addThing(creature) << std::endl; scriptstream << "local target = " << env->addThing(target) << std::endl; if(m_scriptData) scriptstream << *m_scriptData; bool result = true; if(m_interface->loadBuffer(scriptstream.str())) { lua_State* L = m_interface->getState(); result = m_interface->getGlobalBool(L, "_result", true); } m_interface->releaseEnv(); return result; } else { #ifdef __DEBUG_LUASCRIPTS__ std::ostringstream desc; desc << creature->getName(); env->setEvent(desc.str()); #endif env->setScriptId(m_scriptId, m_interface); env->setRealPos(creature->getPosition()); lua_State* L = m_interface->getState(); m_interface->pushFunction(m_scriptId); lua_pushnumber(L, env->addThing(creature)); lua_pushnumber(L, env->addThing(target)); bool result = m_interface->callFunction(2); m_interface->releaseEnv(); return result; } } else { std::clog << "[Error - CreatureEvent::noCountFragArea] Call stack overflow." << std::endl; return 0; } }

      agora vá em creatureevent.h

      procure por:
      CREATURE_EVENT_PREPAREDEATH
      adicione abaixo:
      CREATURE_EVENT_NOCOUNTFRAG

      procure por:
      uint32_t executePrepareDeath(Creature* creature, DeathList deathList);
      Adicione abaixo:
      uint32_t executeNoCountFragArea(Creature* creature, Creature* target);

      agora vá em player.cpp

      procure por:
      bool Player::onKilledCreature(Creature* target, DeathEntry& entry)
      abaixo de:
      War_t enemy; if(targetPlayer->getEnemy(this, enemy)) { if(entry.isLast()) IOGuild::getInstance()->updateWar(enemy); entry.setWar(enemy); }
      Adicione o seguinte código:
      if (targetPlayer){ CreatureEventList killEvents = getCreatureEvents(CREATURE_EVENT_NOCOUNTFRAG); for (const auto &event : killEvents) { if (!event->executeNoCountFragArea(this, target)) { return true; } } }

      //

      Feito isso, tudo completo na sua source, agora é necessário adicionar o creaturescript dentro do servidor

      vá até creaturescripts/scripts
      crie um arquivo chamado, "noCountFragInArea.lua"
      e dentro dele cole o código:
       
      --[[ script feito por feetads / TibiaKing ]]-- --[[ discord: feetads / FeeTads#0246 ]]-- -- Add positions here for which you do not want to count frags local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, -- from = area superior esquerda / to = area inferior direita (formando um quadrado) } local onlyKillerInArea = false -- only killer need to be in area? function noCountFragArea(cid, target) if not isCreature(cid) or not isCreature(target) then return true end local posKiller = getPlayerPosition(cid) local posTarget = getPlayerPosition(target) for i = 1, #areas do local area = areas[i] if isInArea(posKiller, area.from, area.to) then if onlyKillerInArea then return false elseif isInArea(posTarget, area.from, area.to) then return false end end end return true end
      agora em creaturescripts.xml
      <event type="nocountfrag" name="fragarea" event="script" value="noCountFragInArea.lua"/>
      agora em creaturescripts/scripts/login.lua
       procure por OU semelhante a esse:
      registerCreatureEvent(cid, "AdvanceSave")
      e abaixo adicione:
      registerCreatureEvent(cid, "fragarea")

      //


      Agora tudo certo, quando quiser adiciona uma area que não pega frag, vá até o script e apenas coloque a area, igual o demonstrado no script

      Exemplo:
      local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, [2] = {from = {x = 1000, y = 1000, z = 7}, to = {x = 1100, y = 1100, z = 7}}, }
      assim somente colocando a area no script e abrindo o server ou dando /reload, já funcionará a area como não pegar frag.
      Esse sistema pode ser bom pra areas de pvp ativo, onde você ainda quer que o player que morrer perca os atributos, como se fosse uma morte normal, porém não conta frag pra quem matar.
      Bom pra sistemas tipo castle 48h (guild war), onde há diversas mortes e risco de pegar red, atrapalhando a war.

      Façam bom proveito dos scripts, e deixem os créditos no script rsrs

      **Eu fiz as alterações e o simples código por isso vim disponibilizar, créditos meus**
    • Por Muvuka
      Abri canal a força creaturescript acho que funcione no creaturescript cria script creaturescript
       
      <channel id="9" name="HELP" logged="yes"/>
      <channel id="12" name="Report Bugs" logged="yes"/>
      <channel id="13" name="Loot" logged="yes"/>
      <channel id="14" name="Report Character Rules Tibia Rules" logged="yes"/>
      <channel id="15" name="Death Channel"/>
      <channel id="6548" name="DexSoft" level="1"/>
      <channel id="7" name="Reports" logged="yes"/>
       
      antes de 
              if(lastLogin > 0) then adicione isso:
                      doPlayerOpenChannel(cid, CHANNEL_HELP) doPlayerOpenChannel(cid, 1,  2, 3) = 1,2 ,3 Channels, entendeu? NÃO FUNCIONA EU QUERO UM MEIO DE ABRI SEM USA A SOURCE
       
      EU NÃO CONSEGUI ABRI EU NÃO TENHO SOURCE
       
       
    • Por bolachapancao
      Rapaziada seguinte preciso de um script que ao utilizar uma alavanca para até 4 jogadores.
      Os jogadores serão teleportados para hunt durante uma hora e depois de uma hora os jogadores serão teleportados de volta para o templo.
       
      Observação: caso o jogador morra ou saia da hunt o evento hunt é cancelado.

      Estou a base canary
      GitHub - opentibiabr/canary: Canary Server 13.x for OpenTibia community.
       
    • Por RAJADAO
      .Qual servidor ou website você utiliza como base? 
      Sabrehaven 8.0
      Qual o motivo deste tópico? 
      Ajuda com novos efeitos
       
      Olá amigos, gostaria de ajuda para introduzir os seguintes efeitos no meu servidor (usando o Sabrehaven 8.0 como base), adicionei algumas runas novas (avalanche, icicle, míssil sagrado, stoneshower & Thunderstorm) e alguns novos feitiços (exevo mas san, exori san, exori tera, exori frigo, exevo gran mas frigo, exevo gran mas tera, exevo tera hur, exevo frigo hur) mas nenhum dos efeitos dessas magias parece existir no servidor, alguém tem um link para um tutorial ou algo assim para que eu possa fazer isso funcionar?
      Desculpe pelo mau inglês, sou brasileiro.

      Obrigado!


      AVALANCHE RUNE id:3161 \/
      (COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE)

      STONESHOWER RUNE id:3175 \/
      (COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_STONES)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)

      THUNDERSTORM RUNE id:3202 \/
      (COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_E NERGYHIT)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)

      ICICLE RUNE id:3158 \/
      COMBAT_ICEDAMAGE
      CONST_ME_ICEAREA
      CONST_ANI_ICE

      SANTO MÍSSIL RUNA id:3182 \/
      (COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY)

      CONST_ME_PLANTATTACK (exevo gran mas tera)
      CONST_ME_ICETORNADO (exevo gran mas frigo)
      CONST_ME_SMALLPLANTS (exevo tera hur)
      CONST_ME_ICEAREA (exevo frigo hur)
      CONST_ME_ICEATTACK (exori frigo)
      CONST_ME_CARNIPHILA (exori tera)

      EXORI SAN \/
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLHOLY)
      CONST_ME_HOLYDAM IDADE

      EXEVO MAS SAN \/
      CONST_ME_HOLYAREA
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo