Ir para conteúdo

tetelol

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    tetelol deu reputação a TioDoLeite em (Resolvido)Shredder Team - Em Outros Pokes, Como?   
    Bom primeiro vá em C:\Users\pc\Desktop\Server\data\lib do seu servidor, procure por Pokémon Moves.lua abra-o com o bloco de notas, aperte Ctrl+f e procure por "elseif spell == "Shredder Team" then", aparecera isso
    elseif spell == "Shredder Team" then --alterado v1.8 \/ local team = { ["Scyther"] = "ScytherTeam", ["Shiny Scyther"] = "Shiny ScytherTeam", ["Scizor"] = "ScizorTeam", } local function RemoveTeam(cid) if isCreature(cid) then doSendMagicEffect(getThingPosWithDebug(cid), 211) doRemoveCreature(cid) end end local function sendEff(cid, master, t) if isCreature(cid) and isCreature(master) and t > 0 and #getCreatureSummons(master) >= 2 then doSendMagicEffect(getThingPosWithDebug(cid), 86, master) addEvent(sendEff, 1000, cid, master, t-1) --alterado v1.9 end end if getPlayerStorageValue(cid, 637500) >= 1 then return true end local master = getCreatureMaster(cid) local item = getPlayerSlotItem(master, 8) local life, maxLife = getCreatureHealth(cid), getCreatureMaxHealth(cid) local name = getItemAttribute(item.uid, "poke") local pos = getThingPosWithDebug(cid) local time = 21 doItemSetAttribute(item.uid, "hp", (life/maxLife)) local num = getSubName(cid, target) == "Scizor" and 4 or 3 local pk = {} doTeleportThing(cid, {x=4, y=3, z=10}, false) if team[name] then pk[1] = cid for b = 2, num do pk[b] = doSummonCreature(team[name], pos) doConvinceCreature(master, pk[b]) end for a = 1, num do addEvent(doTeleportThing, math.random(0, 5), pk[a], getClosestFreeTile(pk[a], pos), false) addEvent(doAdjustWithDelay, 5, master, pk[a], true, true, true) doSendMagicEffect(getThingPosWithDebug(pk[a]), 211) end sendEff(cid, master, time) --alterado v1.9 setPlayerStorageValue(master, 637501, 1) addEvent(setPlayerStorageValue, time * 1000, master, 637501, -2) ----- setPlayerStorageValue(pk[2], 637500, 1) addEvent(RemoveTeam, time * 1000, pk[2]) ----- setPlayerStorageValue(pk[3], 637500, 1) addEvent(RemoveTeam, time * 1000, pk[3]) ---- if getSubName(cid, target) == "Scizor" then setPlayerStorageValue(pk[4], 637500, 1) addEvent(RemoveTeam, time * 1000, pk[4]) end end Nessa parte, é só você adicionar o pokémon que você que tenha esse ataque, eu vou usar o Alakazam (exemplo). adicione uma nova tag abaixo e coloque o nome do pokémon ficando assim:
     
    local team = {
    ["Scyther"] = "ScytherTeam",
    ["Shiny Scyther"] = "Shiny ScytherTeam",
    ["Scizor"] = "ScizorTeam",
    ["Alakazam"] = "AlakazamTeam",
    }
     
    Salve o arquivo, depois vá em C:\Users\pc\Desktop\Server\data\monster\pokes\Shredder Team. copie e cole um arquivo .xml, renomeie para o nome do novo pokémon que vai ter o ataque (Alakazam), abra ele com o bloco de notas, e edite com o do pokémon e o id da roupa dele, assim :
    <?xml version="1.0" encoding="UTF-8"?> <monster name="Alakazam" nameDescription="a Alakazam" race="bug" experience="1044" speed="177" manacost="0"> <health now="110" max="110"/> <look type="569" head="75" body="85" legs="95" feet="113" corpse="0"/> <targetchange interval="10000" chance="0"/> <strategy attack="100" defense="0"/> <flags> depois va em C:\Users\pc\Desktop\Server\data\monster, e abra o arquivo monsters.xml, aperte Ctrl+f e procure por Shredder Team, quando encontrar você ira adicionar uma nova tag abaixo com o nome do pokémon que você quer que tenha o ataque (Alakazam), ficando assim :
    <!-- Shredder Team --> <monster name="ScytherTeam" file="pokes/Shredder Team/Scyther.xml"/> <monster name="Shiny ScytherTeam" file="pokes/Shredder Team/Shiny Scyther.xml"/> <monster name="ScizorTeam" file="pokes/Shredder Team/Scizor.xml"/> <monster name="XatuTeam" file="pokes/Shredder Team/Xatu.xml"/> <monster name="YanmaTeam" file="pokes/Shredder Team/Yanma.xml"/> <monster name="AlakazamTeam" file="pokes/Shredder Team/Alakazam.xml"/> <!-- fim -->                                                         Pronto, Agora é só testar la no servidor
     
  2. Gostei
    tetelol deu reputação a rickzsilvaa em Galera me ajudem com o meu Mapa !   
    Você usa o RME ? Se usa faz assim...
     
    Em seu RME vá em File/Preferences/Client Version e desmarque a opção [ ] Check file signarutes.
    Em Seguida...
     
    vá na pasta do seu server...
    server/data/items  e copie os 2 arquivos, um com o nome de items.otb e o outro items...
     
    feito isso vá na pasta do seu RME, vá em data e procure a versão do seu server e passe os 2 arquivo la pra dentro...
    Abra seu mapa pela pasta do seu server...
     
    Se tiver alguma duvida me avise...
     
  3. Gostei
    tetelol deu reputação a ViitinG em [talkactions] Adicionar item para todos players online   
    Para quem não sabe como funciona o script é o seguinte o ADM pode usar o comando para adicionar um item para todos os players online no servidor.
     
    • Adicionando o script •
     
    Em "data/talkactions/talkactions.xml" adicione está tag :
    <talkaction log="yes" words="/additem" access="5" event="script" value="additem.lua"/> Em "data/talkactions/scripts" crie um arquivo lua com o nome "additem" e adicione este script nele :
    function onSay(cid, words, param, channel) local t = string.explode(param, ",") if t[1] ~= nil and t[2] ~= nil then local list = {} for i, tid in ipairs(getPlayersOnline()) do list[i] = tid end for i = 1, #list do doPlayerAddItem(list[i],t[1],t[2]) doBroadcastMessage(getPlayerName(cid) .. " Acabou de dar: " .. t[2] .." ".. getItemNameById(t[1]) .. " para todos os players online!") end else doPlayerPopupFYI(cid, "No parm...\nSend:\n /itemadd itemid,how_much_items\nexample:\n /itemadd 2160,10") end return true end • Configurando •
     
     

Informação Importante

Confirmação de Termo