Ir para conteúdo

BrunooMaciell

Infante
  • Total de itens

    1919
  • Registro em

  • Última visita

  • Dias Ganhos

    7

Tudo que BrunooMaciell postou

  1. Eita quem ta vivo kkkkkkkkk numca mais vi vc no forum ^^ E irmao como sempre digo vc pode ter um determinado server que seja pode vender pelo preço que for eu sempre acho assim cada um da seu preço de seu devido projeto server que seja e paga quem quer!!! Unica coisa que sempre e bom esperar é que venda aquelo que esta prometendo. Tipo vender um server completo - po se o cara paga, quem esta vendendo que venda corretamente o server Full. Eu mesmo tive meus servers porem numca vendi pois acho que nao seja um server tipo que vale a pena vender nem nada. A servers a venda melhores KKK o meu sempre foi algo simples porem divertido kkk
  2. Estou com um BUG no autoloot. BUG [21/08/2020 23:13:54] [Error - Action Interface] [21/08/2020 23:13:54] data/actions/scripts/Autoloot.lua:onUse [21/08/2020 23:13:54] Description: [21/08/2020 23:13:54] data/actions/scripts/Autoloot.lua:11: attempt to perform arithmetic on a boolean value [21/08/2020 23:13:54] stack traceback: [21/08/2020 23:13:54] data/actions/scripts/Autoloot.lua:11: in function <data/actions/scripts/Autoloot.lua:5> SCRIPT local toloot = {11441, 11442, 11443, 11444, 11445, 11446, 11447, 11448, 11449,11450, 11451, 11452, 11453, 11454, 12618, 12232, 12244} -- PREFERENCIAL - SE QUISER APENAS COM ALGUNS ITENS local useSpecific = false --True para lotear somente os itens que estiverem na tabela toloot, false para todos os itens do corpse function onUse(cid, item, frompos, item2, topos) if getItemAttribute(item.uid, "corpseowner") ~= cid then doPlayerSendCancel(cid, "Você não é o proprietário.") return true end local items = {} for x = (getContainerSize(item.uid) - 1), 0, -1 do local k = getContainerItem(item.uid, x) table.insert(items, {i=k.itemid, q=k.type}) doRemoveItem(k.uid) end if #items == nil then return false end for y=1, #items do doPlayerAddItemStacking(cid, items[y].i, items[y].q) doPlayerSendTextMessage(cid, 20, "Looted "..items[y].q.."x "..getItemNameById(items[y].i)..".") end return true end --[[ AUTO LOOT BY GABRIEL SALES SE QUISER ATIVAR O AUTOLOOT APENAS PARA ALGUNS ITENS, ADICIONE OS IDS NA TABELA toloot E TIRE OS COMENTÁRIOS(--). --]] Rep++
  3. pse ta bem estranho tipo ultra ball com pokemon se da revive nele transforma em normal ball. E pra min o bug tava na script agora nao sei kkkkkkkkkkk
  4. Estou tendo um BUG no Revive. Tipo ele funciona normal nao gera ERRO no EXE do server. Porem em game ele da um BUG. Tipo: vc captura um pokemon com uma ultra ball aii caso vc use revive nele a ultra ball nele vira uma normal ball. Queria deixa certo. Tipo: uso revive em um pokemon capturado com ultra ball ele continua ultra ball normal. SCRIPT function onUse(cid, item, frompos, item2, topos) -- if getPlayerStorageValue(cid, 990) >= 1 then -- doPlayerSendCancel(cid, "You can't use revive during gym battles.") -- return true -- end -- if getPlayerStorageValue(cid, 52481) >= 1 then -- return doPlayerSendCancel(cid, "You can't do that while a duel.") --alterado v1.6 -- end if getPlayerStorageValue(cid, 17000) >= 1 then return doPlayerSendCancel(cid, "Nao pode usar revive enquanto esta no Fly") --alterado v1.6 end if getPlayerStorageValue(cid, 17001) >= 1 then return doPlayerSendCancel(cid, "Nao pode usar revive enquanto esta no Ride") --alterado v1.6 end if getPlayerStorageValue(cid, 63215) >= 1 then return doPlayerSendCancel(cid, "Nao pode usar revive enquanto esta no Surf") --alterado v1.6 end -- if item2.itemid <= 0 or not isPokeball(item2.itemid) then doPlayerSendCancel(cid, "Please, use revive only on pokeballs.") return true end for a, b in pairs (pokeballs) do if #getCreatureSummons(cid) <= 0 then doTransformItem(item2.uid, b.on) doSetItemAttribute(item2.uid, "hp", 1) for c = 1, 15 do local str = "move"..c setCD(item2.uid, str, 0) end setCD(item2.uid, "control", 0) setCD(item2.uid, "blink", 0) --alterado v1.6 doSendMagicEffect(getThingPos(cid), 13) doRemoveItem(item.uid, 1) doCureBallStatus(getPlayerSlotItem(cid, 8).uid, "all") doCureStatus(cid, "all", true) cleanBuffs2(item2.uid) --alterado v1.5 return true end end return true end Rep+++
  5. BrunooMaciell

    (Bug) NPC

    Foi vlw demais mano vlw mesmo ^^
  6. BrunooMaciell

    (Bug) NPC

    Deu este BUG [14/08/2020 12:56:11] [Error - Npc interface] [14/08/2020 12:56:11] data/npc/scripts/trade/Lucy.lua:onCreatureSay [14/08/2020 12:56:11] Description: [14/08/2020 12:56:11] data/npc/scripts/trade/Lucy.lua:71: attempt to index global 'talkState' (a nil value) [14/08/2020 12:56:11] stack traceback: [14/08/2020 12:56:11] data/npc/scripts/trade/Lucy.lua:71: in function 'callback' [14/08/2020 12:56:11] data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay' [14/08/2020 12:56:11] data/npc/scripts/trade/Lucy.lua:6: in function <data/npc/scripts/trade/Lucy.lua:6>
  7. BrunooMaciell

    (Bug) NPC

    Deu este BUG [14/08/2020 12:38:24] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/trade/Lucy.lua [14/08/2020 12:38:24] data/npc/scripts/trade/Lucy.lua:79: ')' expected near ',' [14/08/2020 12:38:26] [Error - LuaScriptInterface::loadFile] data/npc/scripts/trade/Lucy.lua:79: ')' expected near ',' [14/08/2020 12:38:26] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/trade/Lucy.lua [14/08/2020 12:38:26] data/npc/scripts/trade/Lucy.lua:79: ')' expected near ','
  8. BrunooMaciell

    Comando

    Eu queria por 2 comandos pra so premium account pode usar. Comando CORRER function onSay(cid, words, param) if exhaustion.get(cid, 501) then doPlayerSendCancel(cid, 'Você precisa espera 10 segundos para usar novamente.') return true end if getPlayerStorageValue(cid, 32001) == 1 then doPlayerSendCancel(cid, "Você não pode usar bike e correr ao mesmo tempo") return false end if getPlayerStorageValue(cid, 17000) == 1 then doPlayerSendCancel(cid, "Você não pode usar bike e correr ao mesmo tempo") return false end if getPlayerStorageValue(cid, 17001) == 1 then doPlayerSendCancel(cid, "Você não pode usar bike e correr ao mesmo tempo") return false end if isCreature(cid) then doCreatureSay(cid, "correr", TALKTYPE_ORANGE_1) setPlayerStorageValue(cid, 19000, 1) doChangeSpeed(cid, 1 * 5000) doSendMagicEffect(getPlayerPosition(cid), 1) exhaustion.set(cid, 501, 10) addEvent(function() setPlayerStorageValue(cid, 19000, 0) doRegainSpeed(cid) end, 15000) -- Tempo que vai durar a talkaction return true end end Comando LUZ local minutes = 15 -- Minutos function onSay(cid, words, param) if isPlayer(cid) then doSetCreatureLight(cid, 50000, 2000, minutes*60*1000) doSendAnimatedText(getCreaturePosition(cid), "Luz", math.random(1, 255)) end return true end REP+++
  9. BrunooMaciell

    (Bug) NPC

    Entao amigo. Eu nao entendi foi nada kkkkkkkkkkkkk se tu puder arruma pra min pois nao entendi nada kkkkkkk Bom este BUG ele sempre da quando vo fala com NPC so de FALA com NPC ele ja BUGA ele ja da isso
  10. Eu queria por a funçao premium account nesta script. Tipo ela e uma script de door so level 300+ pode passar so que queria por que o cara o player tem que ser premium account tbem SCRIPT function onUse(cid, item, frompos, item2, topos) local pos = {x=1411, y=1287, z=5} local need_lv = 300 if getPlayerLevel(cid) >= need_lv then doTeleportThing(cid, pos) doSendMagicEffect(pos, CONST_ME_TELEPORT) else return doPlayerSendCancel(cid, "Você precisa ser level "..need_lv.." para passar por esta porta.") end return 1 end Rep+++
  11. BrunooMaciell

    (Bug) NPC

    Estou com um BUG em um NPC relacionado a online point. BUG [09/08/2020 11:35:29] [Error - Npc interface] [09/08/2020 11:35:29] data/npc/scripts/trade/Lucy.lua:onCreatureSay [09/08/2020 11:35:29] Description: [09/08/2020 11:35:29] data/lib/050-function.lua:227: attempt to index a boolean value [09/08/2020 11:35:29] stack traceback: [09/08/2020 11:35:29] data/lib/050-function.lua:227: in function 'getItemNameById' [09/08/2020 11:35:29] data/npc/scripts/trade/Lucy.lua:65: in function 'callback' [09/08/2020 11:35:29] data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay' [09/08/2020 11:35:29] data/npc/scripts/trade/Lucy.lua:8: in function <data/npc/scripts/trade/Lucy.lua:8> SCRIPT local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid ------------------- Configuração dos Itens ----------------------- local items = {12683, 12682, 12684, 12681, 2365, 15600, 23828, 17069} -- ID dos Itens local nome = {'pokeball backpack', 'greatball backpack', 'superball backpack', 'facebook backpack', 'backpack of holding', 'love teddy', 'dogs house', 'music box'} ------------------- MESSAGES INICIAIS ---------------------------------------- if msgcontains(msg, nome[1]) then selfSay('Deseja comprar 1x {'..getItemNameById(items[1])..'} Por 10 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 1 elseif msgcontains(msg, nome[2]) then selfSay('Deseja comprar um {'..getItemNameById(items[2])..'} Por 12 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 2 elseif msgcontains(msg, nome[3]) then selfSay('Deseja comprar um {'..getItemNameById(items[3])..'} Por 15 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 3 elseif msgcontains(msg, nome[4]) then selfSay('Deseja comprar um {'..getItemNameById(items[5])..'} Por 20 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 4 elseif msgcontains(msg, nome[5]) then selfSay('Deseja comprar um {'..getItemNameById(items[6])..'} Por 25 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 5 elseif msgcontains(msg, nome[6]) then selfSay('Deseja comprar um {'..getItemNameById(items[7])..'} Por 30 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 6 elseif msgcontains(msg, nome[7]) then selfSay('Deseja comprar um {'..getItemNameById(items[8])..'} Por 40 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 7 elseif msgcontains(msg, nome[8]) then selfSay('Deseja comprar um {'..getItemNameById(items[9])..'} Por 50 online points?', cid) selfSay('Para saber quantos pontos possui digite {!opshop}.', cid) talkState[talkUser] = 8 elseif (msgcontains(msg, 'negociar') or msgcontains(msg, 'trade')) then selfSay('No momento tenho disponivel em meu estoque os seguintes itens: {'..getItemNameById(items[1])..'}, {'..getItemNameById(items[2])..'}, {'..getItemNameById(items[3])..'}, {'..getItemNameById(items[4])..'}, {'..getItemNameById(items[5])..'}, {'..getItemNameById(items[6])..'}, {'..getItemNameById(items[7])..'}, {'..getItemNameById(items[8])..'}, {'..getItemNameById(items[9])..'} e {'..getItemNameById(items[10])..'}.', cid) talkState[talkUser] = 0 ---------------------- NEGOCIAÇÃO ------------------------------- elseif talkState[talkUser] == 1 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then local qnt = 10 local bonuscoin = 5984548 if getPlayerStorageValue(cid, bonuscoin) >= qnt then setPlayerStorageValue(cid, bonuscoin, getPlayerStorageValue(cid, bonuscoin) - qnt) doPlayerAddItem(cid, items[1], 1) selfSay('Parabéns, voce acabou de adquirir 1x '..getItemNameById(items[1])..'!', cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Agora voce tem: " .. getPlayerStorageValue(cid,5984548) .. " Online Bonus.") else selfSay('Voce precisa de 10 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 2 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then local qnt = 12 local bonuscoin = 5984548 if getPlayerStorageValue(cid, bonuscoin) >= qnt then setPlayerStorageValue(cid, bonuscoin, getPlayerStorageValue(cid, bonuscoin) - qnt) doPlayerAddItem(cid, items[2], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[2])..'.', cid) else selfSay('Voce precisa de 13 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 3 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then local bonuscoin = 5984548 local qnt = 15 if getPlayerStorageValue(cid, bonuscoin) >= qnt then setPlayerStorageValue(cid, bonuscoin, getPlayerStorageValue(cid, bonuscoin) - qnt) doPlayerAddItem(cid, items[3], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[3])..'.', cid) else selfSay('Voce precisa de 15 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 4 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then if getPlayerStorageValue(cid, 5984548) >= 20 then setPlayerStorageValue(cid, 5984548, getPlayerStorageValue(cid, 5984548) - 10) doPlayerAddItem(cid, items[5], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[5])..'.', cid) else selfSay('Voce precisa de 20 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 5 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then if getPlayerStorageValue(cid, 5984548) >= 25 then setPlayerStorageValue(cid, 5984548, getPlayerStorageValue(cid, 5984548) - 10) doPlayerAddItem(cid, items[6], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[6])..'.', cid) else selfSay('Voce precisa de 30 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 6 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then if getPlayerStorageValue(cid, 5984548) >= 30 then setPlayerStorageValue(cid, 5984548, getPlayerStorageValue(cid, 5984548) - 10) doPlayerAddItem(cid, items[7], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[7])..'.', cid) else selfSay('Voce precisa de 35 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 7 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then if getPlayerStorageValue(cid, 5984548) >= 40 then setPlayerStorageValue(cid, 5984548, getPlayerStorageValue(cid, 5984548) - 10) doPlayerAddItem(cid, items[8], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[8])..'.', cid) else selfSay('Voce precisa de 40 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end elseif talkState[talkUser] == 8 then if (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) then if getPlayerStorageValue(cid, 5984548) >= 50 then setPlayerStorageValue(cid, 5984548, getPlayerStorageValue(cid, 5984548) - 10) doPlayerAddItem(cid, items[9], 1) selfSay('Parabens, voce acaba de adquirir um '..getItemNameById(items[9])..'.', cid) else selfSay('Voce precisa de 45 online bonus para adquirir esse item.', cid) talkState[talkUser] = 0 end end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) OBS: Caso precise de mais alguma script so fala que posto ^^ REP+++
  12. Nao funcionou =/ Nao deu ERRO nem nada porem quando crio ou uso o /cb ele cria com poke ball normal =/
  13. ue nao uso nao aqui ta sem icone ta normal kkkkkkkkkkkk mas vo testa sua script Deu Este BUG @Deadpool [08/08/2020 17:55:22] [Error - TalkAction Interface] [08/08/2020 17:55:22] data/talkactions/scripts/createpokeball.lua:onSay [08/08/2020 17:55:22] Description: [08/08/2020 17:55:22] data/talkactions/scripts/createpokeball.lua:13: attempt to index global 'typess' (a nil value) [08/08/2020 17:55:22] stack traceback: [08/08/2020 17:55:22] data/talkactions/scripts/createpokeball.lua:13: in function <data/talkactions/scripts/createpokeball.lua:1>
  14. Eu queria deixa o comando >> /cb quando o ADM usa-lo pra cria o pokemon dentro da ball que a ball vinha so de ultra ball. Tipo: /cb charizard Ai vinha um charizard dentro de uma ultra ball Quando o ADM ou STAFF que seja usar o comando ela so vinha com pokemons dentro de ultra ball Rep++ SCRIPT >> /CB function onSay(cid, words, param) local typess = { [1] = "normal", [2] = "great", [3] = "super", [4] = "ultra" } if param == "" then doPlayerSendCancel(cid, 'Command needs parameters, function structure: "/cb [Pokemon Name], [boost], [Gender]".') return 0 end local t = string.explode(param, ",") local name = "" local gender = 0 local btype = typess[math.random(1, 4)] --"normal" local typeee = typess[math.random(1, 4)] if t[1] then local n = string.explode(t[1], " ") local str = string.sub(n[1], 1, 1) local sta = string.sub(n[1], 2, string.len(n[1])) name = ""..string.upper(str)..""..string.lower(sta).."" if n[2] then str = string.sub(n[2], 1, 1) sta = string.sub(n[2], 2, string.len(n[2])) name = name.." "..string.upper(str)..""..string.lower(sta).."" end if not pokes[name] then doPlayerSendCancel(cid, "Sorry, a pokemon with the name "..name.." doesn't exists.") return true end print(""..name.." ball has been created by "..getPlayerName(cid)..".") end local genders = { ["male"] = 4, ["female"] = 3, ["1"] = 4, ["0"] = 3} if t[3] then if genders[t[3]] then gender = genders[t[3]] else local rate = newpokedex[name].gender if rate == 0 then gender = 3 elseif rate == 1000 then gender = 4 elseif rate == -1 then gender = 0 elseif math.random(1, 1000) <= rate then gender = 4 else gender = 3 end end else local rate = newpokedex[name].gender if rate == 0 then gender = 3 elseif rate == 1000 then gender = 4 elseif rate == -1 then gender = 0 elseif math.random(1, 1000) <= rate then gender = 4 else gender = 3 end end local mypoke = pokes[name] local happy = 255 local item = doCreateItemEx(2219) doItemSetAttribute(item, "poke", name) doItemSetAttribute(item, "hp", 1) if t[2] and tonumber(t[2]) > 0 and tonumber(t[2]) <= 50 then doItemSetAttribute(item, "boost", tonumber(t[2])) end doItemSetAttribute(item, "happy", happy) doItemSetAttribute(item, "gender", gender) if name == "Shiny Hitmonchan" or name == "Hitmonchan" then doItemSetAttribute(item, "hands", 0) end doItemSetAttribute(item, "description", "Contains a "..name..".") doItemSetAttribute(item, "addon", 0) doItemSetAttribute(item, "fakedesc", "Contains a "..name..".") local x = icons[getItemAttribute(item, "poke")] doPlayerAddItemEx(cid, item, true) doItemSetAttribute(item, "ball", "Icone") doItemSetAttribute(item, "icon", "yes") doItemSetAttribute(item, "morta", "no") doTransformItem(item, x.on) return 1 end Rep+++
  15. Testei deu bug aquele bug da barra de pokemons que aparece no lado e as mensagens continuo =/
  16. Bom ja este deu aquele bug de aparecer a barra de pokemons e as mensagens nao saiu kkkkkkkkk Mas se nao souber dboa o principal ja resolveu kkkkk ^^
  17. Deu certo \o/ Viu antes de finaliza so uma coisa caso saiba claro ^^ No account manager aparece estas frases um eu sei que e de sistema de exp pra vip e talz eu queria tira esta frase do account manager so quando o player loga. O outro nao sei se e bug e se tem como tira que e a frase de baixo.
  18. ok ? Eu mandei uma ultima aii e que dei uma editada ^^
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...