

klbkevinklb
Campones-
Total de itens
44 -
Registro em
-
Última visita
-
Dias Ganhos
3
Tudo que klbkevinklb postou
-
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
coloquei esse codigo que vc mando, no lugar do outro codigo citado acima, mas nao funciono -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
ta beleza, ele funcionou, mas eu quero que ele fique pra fora da ball, pq imagina se o player entra em uma quest? e o pokemon voltar pra ball? tem como isso? -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
[28/10/2018 16:11:38] [Error - MoveEvents Interface] [28/10/2018 16:11:38] data/movements/scripts/teleportAction.lua:onStepIn [28/10/2018 16:11:38] Description: [28/10/2018 16:11:38] data/movements/scripts/teleportAction.lua:7: attempt to index local 'pokeball' (a number value) [28/10/2018 16:11:38] stack traceback: [28/10/2018 16:11:38] data/movements/scripts/teleportAction.lua:7: in function <data/movements/scripts/teleportAction.lua:1> up -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
ainda nada [28/10/2018 16:05:48] [Error - MoveEvents Interface] [28/10/2018 16:05:49] data/movements/scripts/teleportAction.lua:onStepIn [28/10/2018 16:05:49] Description: [28/10/2018 16:05:49] data/movements/scripts/teleportAction.lua:5: attempt to index field '?' (a nil value) [28/10/2018 16:05:49] stack traceback: [28/10/2018 16:05:49] data/movements/scripts/teleportAction.lua:5: in function <data/movements/scripts/teleportAction.lua:1> -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
boa noite, coloquei a tag em movevents e em xml tbm, ta dando esse erro... [28/10/2018 15:45:16] [Error - MoveEvents Interface] [28/10/2018 15:45:16] data/movements/scripts/teleportAction.lua:onStepIn [28/10/2018 15:45:16] Description: [28/10/2018 15:45:16] data/movements/scripts/teleportAction.lua:5: attempt to index field '?' (a nil value) [28/10/2018 15:45:16] stack traceback: [28/10/2018 15:45:16] data/movements/scripts/teleportAction.lua:5: in function <data/movements/scripts/teleportAction.lua:1> -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
Em todos tp? N tem um jeito sem fazer pelo rme? -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
Terei que colocar em qual arquivo? Ou em todos tp colocar isso? -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
Onde coloca? -
pedido scripts Pokemon morre ao passar pelo teleport
pergunta respondeu ao klbkevinklb de klbkevinklb em Scripts
bom dia, então é o pokémon...assim que passa pelo tp ele bate as botas kkkk -
opa galera boa noite, bom eu sei que eu peço as coisas aqui, mas assim...sao coisas que nao consigo arrumar, entao o problema é assim, o player passa com poke pra fora da ball no teleport e ele morre, alguem poderia me ajudar?
-
Gente boa tarde queria sber se alguem me desse um caminho, ou disponibilizasse o sistema de icone de teleport, igual do otp, eu achei um em um servidor, porem eu copiei e colei e nao apareceu no meu client, eu uso a base dxp huatson...pfv me ajudem
-
@Marshmello bom dia, eu ainda estou testando o sistema, mas percebi uma coisa, antes tava 50 em rate, e aumentava só 60 da exp total, agr coloquei 400 e aumenta apenas 120, pode ajudar?
-
galera boa noite, eu to com um script aqui de double potion, era pra ela fica 1 hora e depois acabar, porem ela nao acaba... local config = { rate = 50, time = 60, -- AQUI É QUANTOS MINUTOS VAI FICAR O DOUBLE storage = 21002 } local function endExpRate(cid) if isPlayer(cid) == TRUE then doPlayerSetRate(cid, SKILLLEVEL, 1) setPlayerStorageValue(cid, config.storage, -1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "O efeito da Double Exp Potion acabou!") end end function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerStorageValue(cid, config.storage) < 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Sua experiencia foi dobrada durante ".. config.time .." minutos.") doSendMagicEffect(getPlayerPosition(cid), 28) doCreatureSay(cid,'Double Experience Actived!', TALKTYPE_ORANGE_1) doPlayerSetRate(cid, SKILLLEVEL, config.rate) setPlayerStorageValue(cid, config.storage, os.time() + config.time * 60) addEvent(endExpRate, 60 * 60 * 1000, cid) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você ainda está sob o efeito da Double Exp Potion, espere acabar o tempo para usa-la novamente.") end return TRUE end esse é o script dela, por favor me ajudem.
-
OLÁ GALERA, BOM DOMINGO A TODOS, SEGUINTE EU QUERIA UM COMANDO QUE FUNCIONASSE ASSIM: O PLAYER FALAR !EXP, E RETIRAR UMA QUANTIA X DO ITEM 2145, E DEPOIS DE RETIRAR ELE AUMENTASSE 20% A EXP QUE ELE TA RECEBENDO POR 20 MINUTOS, DEPOIS DISSO APARECER UMA MENSAGEM PRA ELE FALANDO QUE O EFEITO TINHA ACABADO, E PRA ELE COMPRAR NOVAMENTE... SE PUDEREM ME AJUDAR...AGRADEÇO MUITO DE CORAÇÃO.
-
GALERA, BOA TARDE, EU ESTOU COM UM PROBLEMINHA EM 2 SCRIPTS...VOCE PODERIAM ME AJUDAR? 1 SCRIPT BIKE: QUERIA POR 10 SEGUNDOS PRA USAR DE NOVO... local function BikeSpeedOn(cid, t) local agora = os.time() local tempo = 1 -- Quanta horas ele vai usar o comando novamente ? ali está 2 = 2 horas. local config = tempo * (30*30) local somatempo = agora + config setPlayerStorageValue(cid, t.s, t.speed) doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, t.speed) end local function BikeSpeedOff(cid, t) setPlayerStorageValue(cid, t.s, -1) doRegainSpeed(cid) end local t = {text='Mount, Hoverboard!', dtext='Demount, Hoverboard!', s=5700, speed = 7000} function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getThingPos(cid) if getPlayerStorageValue(cid, 17001) >= 1 or getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 75846) >= 1 or getPlayerStorageValue(cid, 6598754) >= 1 or getPlayerStorageValue(cid, 6598755) >= 1 then --alterado v1.9 return doPlayerSendCancel(cid, "You can't do that right now.") end if getPlayerStorageValue(cid, t.s) <= 0 then doSendMagicEffect(pos, 177) doCreatureSay(cid, t.text, 19) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Voce montou no hoverboard.') BikeSpeedOn(cid, t) if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid, {lookType = 2169}, -1) else doSetCreatureOutfit(cid, {lookType = 2168}, -1) end else doSendMagicEffect(pos, 177) doCreatureSay(cid, t.dtext, 19) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Voce saiu do hverboard.') BikeSpeedOff(cid, t) doRemoveCondition(cid, CONDITION_OUTFIT) end return true end E O FLY...TAMBÉM QUERIA PRA PODER USAR DE NOVO EM 10 SEGUNDOS.... function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if isMonster(cid) and not isSummon(cid) then if isInArray(WATER_BORDERS, item.itemid) then if getCreatureTarget(cid) >= 1 then doTeleportThing(cid, getMarkedSpawnPos(cid)) doSendMagicEffect(getThingPos(cid), 10) return true end doTeleportThing(cid, fromPosition) end return true elseif isSummon(cid) then if isInArray(WATER, item.itemid) then doTeleportThing(cid, getThingPos(getCreatureMaster(cid))) setMoveSummon(getCreatureMaster(cid), false) return true end end if (isFly(cid)) then ---- fly local toPos = toPosition toPos.stackpos = 0 if not flyBlackSQM then toPos.z = 7 doCreateTile(toPos) if getThingFromPos(toPos).itemid < 1 or getThingFromPos(toPos).itemid == ITEM_FLYTILE then doTeleportThing(cid, fromPosition) return true end toPos.z = toPosition.z end if nonFlyableBorder and type(nonFlyableBorder) == "table" then for i = toPos.z, 14 do toPos.z = i toPos.stackpos = 1 doCreateTile(toPos) if isInArray(nonFlyableBorder, getThingFromPos(toPos).itemid) then doTeleportThing(cid, fromPosition) return true end end toPos.z = getCreaturePosition(cid).z toPos.stackpos = 0 end for _, area in ipairs(getArea(toPos, RANGEX, RANGEY)) do doCreateTile(area) local thing = getThingFromPos(area) if thing.itemid < 1 or thing.itemid == ITEM_FLYTILE then local itemFly = doCreateItem(ITEM_FLYTILE, 1, area) doItemSetAttribute(itemFly, "flyOrder", getCreatureName(cid)) elseif thing.itemid == ITEM_WATERTILE or isInArray(WATER, thing.itemid) then doTransformItem(thing.uid, ITEM_WATERTILE) doItemSetAttribute(thing.uid, "flyOrder", getCreatureName(cid)) end end return true end if isPlayer(cid) then -- surf if isInArray(WATER, item.itemid) then ---//// Seguranças \\\\--- if isSurf(cid) then return true end ---//// Seguranças \\\\--- if #getCreatureSummons(cid) == 0 then doPlayerSendCancel(cid, "Você não pode andar sobre a água.") doTeleportThing(cid, fromPosition, false) return true end local poke = getCreatureSummons(cid)[1] local name = string.lower(getPokeName(poke)) local habilidades = getPokemonSkills(name) if not string.find(habilidades, "surf") then if isInArray(WATER, item.itemid) then doPlayerSendCancel(cid, "Seu pokemon não tem a habilidade de surfar.") doTeleportThing(cid, fromPosition, false) return true end end if isFight(cid) then -- Edição pra ficar igual pxg.. nao dar fly ou ride com fight doPlayerSendCancel(cid, "Você não pode surfar se estiver em batalha.") doTeleportThing(cid, fromPosition, false) return true end if not isSurf(cid) then doSendMagicEffect(toPosition, 53) setPlayerStorageValue(cid, orderTalks["surf"].storage, 1) local outfit = getPokemonOutfitToSkill(name) local speed = getPokemonSpeedToSkill(name) doSetCreatureOutfit(cid, {lookType = outfit}, -1) doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, speed) doPlayerSay(cid, getCreatureName(poke)..orderTalks["surf"].talks[math.random(#orderTalks["surf"].talks)]) doRemoveCreature(poke) end end return true end return true end local function doSendMagicEffecte(pos, effect) addEvent(doSendMagicEffect, 50, pos, effect) end function onStepOut(cid, item, position, lastPosition, fromPosition, toPosition, actor) if isInArray({460, 11675, 11676}, item.itemid) then doRemoveItem(item.uid) end local area = getAreaToRemove(fromPosition, toPosition) if isMonster(cid) and not isSummon(cid) then if isInArray(WATER_BORDERS, item.itemid) then doTeleportThing(cid, toPosition) end return true end if isFly(cid) or isSurf(cid) then local direffects = {84, 85, 86, 87} if isInArray(WATER, item.itemid) then if getCreatureLookDir(cid) == NORTH then fromPosition.y = fromPosition.y +1 end doSendMagicEffecte(fromPosition, direffects[getCreatureLookDir(cid) + 1]) -- efeito end end if isSurf(cid) and #getCreatureSummons(cid) == 0 then local pPos = toPosition pPos.stackpos = 0 local pos = getThingFromPos(pPos) if isInArray(WATER, item.itemid) and not isInArray(WATER, pos.itemid) then local ball = getPlayerSlotItem(cid, 8) doGoPokemonInOrder(cid, ball, false) doRemoveCondition(cid, CONDITION_OUTFIT) doPlayerSay(cid, getCreatureName(getCreatureSummons(cid)[1]) .. orderTalks["downability"].talks[math.random(#orderTalks["downability"].talks)]) doRegainSpeed(cid) setPlayerStorageValue(cid, orderTalks["surf"].storage, -1) doSendMagicEffect(fromPosition, 53) end return true end for _, arear in ipairs(area) do doCreateTile(arear) local thing = getThingFromPos(arear) if thing.itemid == ITEM_FLYTILE or isInArray({460, 11675, 11676}, thing.itemid) then if getItemAttribute(thing.uid, "flyOrder") == getCreatureName(cid) then doRemoveItem(thing.uid) end elseif thing.itemid == ITEM_WATERTILE then doTransformItem(thing.uid, WATER[1]) end end return true end POR FAVOR ME AJUDEM...DESDE JA AGRADEÇO.
-
o meu tem icon mas nao uso...oq posso fazer? eu adicionei sh lucario e sh nite e foi de boa...apenas o mega steelix ta dando isso
-
GALERA, BOA NOITE, EU ADICIONEU RECENTEMENTE O MEGA STEELIX...ELE APARECE NORMAL, MAS QUANDO EU VOU SOLTAR ELE APARECE ISSO... OBS: NA CONFIGURATION.LUA EU COPIEI O EFFECT DO STEELIX NORMAL ASSIM: ["steelix"] = {effect = 188, on = 13671, use = 13672, off = 13673, all = {13671, 13672, 13673}}, ["Mega steelix"] = {effect = 188, on = 13671, use = 13672, off = 13673, all = {13671, 13672, 13673}}, O ERRO É ESSE: [10/10/2018 20:50:11] [Error - TalkAction Interface] [10/10/2018 20:50:11] data/talkactions/scripts/move1.lua:onSay [10/10/2018 20:50:11] Description: [10/10/2018 20:50:11] (luaDoItemSetAttribute) Item not found O QUE PODE SER? DESDE JÁ AGRADEÇO.
-
OLA GALERA, PEÇO DESCULPA SE FOR A AREA ERRADA...SEGUINTE EU PEGO UM POKE COM MB DE BOA, ELE SAI NORMAL E VOLTA, MAS QUANDO MORRE N CONSIGO ARRASTA A BALL, NEM PRA FORA E NEM DENTRO DA BAG...ALGUEM PODERIA ME AJUDAR? BASE DXP HUATSON... OBRIGADO.
-
Gente, muitos aqui devem conhecer o famoso sistema de boost stone do otp, de 1 à 4 stones não da erro, adiciona mais 500 e vida, de 5 à 7 tem uma certa % de dar fail, de 8 à 10 pode dar fail e voltar a +5. o máximo seria boost +10, e quando atingir +10 na frente do nome aparecer [Full Power]. alguem pra me ajudar? lembrando que o boost seria no player
-
- boos stone
- system stone
-
(e 2 mais)
Tags:
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.