Ir para conteúdo
  • Cadastre-se

Posts Recomendados

ALGUÉM SABE COMO EU ARRUMO ESSE BUG?

[2:39:48.305] [Error - MoveEvents Interface]

[2:39:48.305] data/movements/scripts/alters/alterstpthais.lua:onStepIn

[2:39:48.305] Description:

[2:39:48.305] (internalGetPlayerInfo) Player not found when requesting player info #6

REP + PARA QUEM AJUDAR

Link para o post
Compartilhar em outros sites

function onStepIn(cid, item, pos)

local ice = {x=32193, y=31419, z=2}

local earth = {x=32974, y=32224, z=7}

local fire = {x=32909, y=32338, z=15}

local energy = {x=33060, y=32711, z=5}

if getPlayerLookDir(cid) == 0 then

newdir = 2

newdir2 = 2

elseif getPlayerLookDir(cid) == 1 then

newdir = 3

newdir2 = 3

elseif getPlayerLookDir(cid) == 2 then

newdir = 0

newdir2 = 0

else

newdir = 1

newdir2 = 1

end

if item.actionid == 7801 then

if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,ice)

doSendMagicEffect(ice,10)

setPlayerStorageValue(cid, 15111, 1)

else

doCreatureSay(cid, "Only Premium Druids of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

elseif item.actionid == 7802 then

if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,earth)

doSendMagicEffect(earth,10)

setPlayerStorageValue(cid, 15123, 1)

else

doCreatureSay(cid, "Only Premium Druids of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

elseif item.actionid == 7803 then

if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,fire)

doSendMagicEffect(fire,10)

setPlayerStorageValue(cid, 15147, 1)

else

doCreatureSay(cid, "Only Premium Sorcerers of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

elseif item.actionid == 7804 then

if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,energy)

doSendMagicEffect(energy,10)

setPlayerStorageValue(cid, 15135, 1)

else

doCreatureSay(cid, "Only Premium Sorcerers of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

end

end

Link para o post
Compartilhar em outros sites


local ice = {x=32193, y=31419, z=2}

local earth = {x=32974, y=32224, z=7}

local fire = {x=32909, y=32338, z=15}

local energy = {x=33060, y=32711, z=5}


function onStepIn(cid, item, pos)

if not isPlayer(cid) then

return false

end


local new_dir, newdir2

if getPlayerLookDir(cid) == 0 then

newdir = 2

newdir2 = 2

elseif getPlayerLookDir(cid) == 1 then

newdir = 3

newdir2 = 3

elseif getPlayerLookDir(cid) == 2 then

newdir = 0

newdir2 = 0

else

newdir = 1

newdir2 = 1

end


if item.actionid == 7801 then

if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,ice)

doSendMagicEffect(ice,10)

setPlayerStorageValue(cid, 15111, 1)

else

doCreatureSay(cid, "Only Premium Druids of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

elseif item.actionid == 7802 then

if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,earth)

doSendMagicEffect(earth,10)

setPlayerStorageValue(cid, 15123, 1)

else

doCreatureSay(cid, "Only Premium Druids of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

elseif item.actionid == 7803 then

if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,fire)

doSendMagicEffect(fire,10)

setPlayerStorageValue(cid, 15147, 1)

else

doCreatureSay(cid, "Only Premium Sorcerers of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

elseif item.actionid == 7804 then

if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 and getPlayerLevel(cid) >= 30 and isPremium(cid) == TRUE then

doTeleportThing(cid,energy)

doSendMagicEffect(energy,10)

setPlayerStorageValue(cid, 15135, 1)

else

doCreatureSay(cid, "Only Premium Sorcerers of level 30 or higher are able to enter this portal", TALKTYPE_ORANGE_1)

doMoveCreature(cid, newdir)

doMoveCreature(cid, newdir2)

doSendMagicEffect(getCreaturePosition(cid),10)

end

end

return true

end


-"Supra Omnes Lux Lucis"

- Acima de todos brilha a Luz -

5VGnDyBz.png

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.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo