Ir para conteúdo

kaleudd

Conde
  • Total de itens

    729
  • Registro em

  • Última visita

  • Dias Ganhos

    6

Tudo que kaleudd postou

  1. fez o que eu disse? -.-'
  2. abra seu rme,vá em file>import>clique em import mosters/npc logo depois isso você vai navegar atraves da aba que abriu até em pasta do seu servidor/data/mosters/scripts/e vc vai entra por exemplo na primeira geração e vai selecionar todos os pokémons dentro da pasta 1 geração,não sei o certo o nome da pasta correto,ou seja,você tem que importar todos os .xml do seu servidor,assim aparecerá. obs:logo dps que impórta tudo aperte f5.
  3. 1.0,1.1 e 1.2.
  4. daniel nem ta logando direito '-
  5. você deve usar usando dash,por isso tio,dash é todo diferente!
  6. fica em data>lib.
  7. é um evento para um amigo,ele usa pda by bolz.
  8. olá,gostaria de pedir um script de um evento jogo da velha automático. gostaria assim: o player ganha x storage,dai ele tem direito de mover um item que está no chão,e logo depois que mover a peça ele perde o storage,e passa para o advesario o storage,ou seja cada um pode mover x item que está no chão apenas 1x de cada. obrigado desde já.
  9. distancia da pokexgames,mais usam todas as sprites deles,ou quase todas e.e
  10. ja tem um projeto pareçido/igual,o kozmo...
  11. da print apresentada,não vi nada de diferente. apresente mais informações,do que você deseja,e como será o projeto,consiste no que?
  12. opa,obg por avisar. editado!
  13. créditos: Printer imagens: Comandos: !autoloot add, itemId or name -- Adicionando um item à lista !autoloot remove, itemId or name -- Remoção de um item da lista !autoloot show -- Mostrar a lista autoLoot !autoloot clear -- Limpa a lista autoLoot vá em data/global.lua e cole isso: -- AutoLoot config AUTO_LOOT_MAX_ITEMS = 5 -- Reserved storage AUTOLOOT_STORAGE_START = 10000 AUTOLOOT_STORAGE_END = AUTOLOOT_STORAGE_START + AUTO_LOOT_MAX_ITEMS -- AutoLoot config end vá em talkactions/talkactions.xml e cole essa linha: <talkaction words="!autoloot" separator=" " script="autoloot.lua"/> Depois disso vá para vá em talkactions/scripts e crie uma nova lua e nomeie para autoloot.lua e cole este código: function onSay(player, words, param) local split = param:split(",") local action = split[1] if action == "add" then local item = split[2]:gsub("%s+", "", 1) local itemType = ItemType(item) if itemType:getId() == 0 then itemType = ItemType(tonumber(item)) if itemType:getId() == 0 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "There is no item with that id or name.") return false end end local itemName = tonumber(split[2]) and itemType:getName() or item local size = 0 for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do local storage = player:getStorageValue(i) if size == AUTO_LOOT_MAX_ITEMS then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "The list is full, please remove from the list to make some room.") break end if storage == itemType:getId() then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, itemName .." is already in the list.") break end if storage <= 0 then player:setStorageValue(i, itemType:getId()) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, itemName .." has been added to the list.") break end size = size + 1 end elseif action == "remove" then local item = split[2]:gsub("%s+", "", 1) local itemType = ItemType(item) if itemType:getId() == 0 then itemType = ItemType(tonumber(item)) if itemType:getId() == 0 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "There is no item with that id or name.") return false end end local itemName = tonumber(split[2]) and itemType:getName() or item for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do if player:getStorageValue(i) == itemType:getId() then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, itemName .." has been removed from the list.") player:setStorageValue(i, 0) return false end end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, itemName .." was not founded in the list.") elseif action == "show" then local text = "-- Auto Loot List --\n" local count = 1 for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do local storage = player:getStorageValue(i) if storage > 0 then text = string.format("%s%d. %s\n", text, count, ItemType(storage):getName()) count = count + 1 end end if text == "" then text = "Empty" end player:showTextDialog(1950, text, false) elseif action == "clear" then for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do player:setStorageValue(i, 0) end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "The autoloot list has been cleared.") else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Use the commands: !autoloot {add, remove, show, clear}") end return false end agora,vá em creaturescripts/creaturescripts.xml e cole essa linha: <event type="kill" name="AutoLoot" script="autoloot.lua" /> Depois disso vá para vá em creaturescripts/scripts e crie uma nova lua e nomeie para autoloot.lua e cole este código: local function scanContainer(cid, position) local player = Player(cid) if not player then return end local corpse = Tile(position):getTopDownItem() if not corpse then return end if corpse:getType():isCorpse() and corpse:getAttribute(ITEM_ATTRIBUTE_CORPSEOWNER) == cid then for a = corpse:getSize() - 1, 0, -1 do local containerItem = corpse:getItem(a) if containerItem then for b = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do if player:getStorageValue(b) == containerItem:getId() then containerItem:moveTo(player) end end end end end end function onKill(player, target) if not target:isMonster() then return true end addEvent(scanContainer, 100, player:getId(), target:getPosition()) return true end agora vá em creaturescripts/scripts e abra login.lua e registre: player:registerEvent("AutoLoot")
  14. créditos: zbizucomandos: !exp: 23:54 You need 11719875 experience more, for 507 level. 23:54 Current rate: x18 (stamina bonus) !mana: 23:54 You need 403843 mana, for next magic level. instalação: talkactions.xml <talkaction words="!exp" script="expmana.lua"/> <talkaction words="!mana" script="expmana.lua"/> em talkactions>scripts>crie um lua com o nome ''expmana.lua'' function onSay(player, words, param) local p = player local s = function(p, lv) local k = Game.getExperienceStage(lv) local st = p:getStamina() if st > 2400 then return k*1.5 .. " (stamina bonus)" elseif st < 1 then return 0 .. " (out of stamina)" elseif st < 841 then return k*0.5 .. " (stamina penalty)" else return k end end if words == "!exp" then local lv = p:getLevel() p:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You need " .. ((50 * lv^3) - (150 * lv^2) + (400 * lv)) / 3 - p:getExperience() .. " experience more, for " .. lv+1 .. " level.") p:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Current rate: x" .. s(p, lv)) return false end p:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You have to spend " .. math.ceil((p:getVocation():getRequiredManaSpent(p:getBaseMagicLevel() + 1) - p:getManaSpent()) / configManager.getNumber(configKeys.RATE_MAGIC)) .. " mana more, for next magic level.") return false end
  15. opa,tmj =)
  16. esqueçeu da tag: <action itemid="id_do_item" script="nomedoarquivo.lua"/>
  17. Segura Meu Rep+²
  18. instalação: Em talkactions.xml adicione: <talkaction words="/commands" script="commands.lua" /> Em talkactions/scripts crie um arquivo chamado commands.lua e adicione: function onSay(cid, words, param) local p = Player(cid) local file = io.open("data/talkactions/talkactions.xml", "r+") local str = "" local text = "" for line in (file:lines()) do str = str.."\n"..line end file:close() for a in string.gmatch(str, '<talkaction words="(.-)"') do text = text..'\n'..a end p:showTextDialog(2160, text) return true end como funciona: créditos: Snowsz
  19. uehauea
  20. as sprites da agua,é uma delas...
  21. existe uma coisa chamada ''barra de pesquisa'' use e abuse dela,não fique esperando tudo na mão.
  22. kaleudd

    Ajuda Client Sprite

    recompila ele com a opção ''extended selecionada e desmarca a opção transparency''.
  • Quem Está Navegando   0 membros estão online

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