Tudo que Orochi Elf postou
-
2 mega pedidos para ajudar
é possivel fazer um globalevent, que salva no player, uma storage a cada minuto que passou, assim contabilizando o tempo que ele ficou online
-
Catch Window v1.3
Sistema atualizado, versão 1.3 Log - Vídeo adicionado da versão 1.3 - Códigos reescritos. - Nova forma de configuração do Portrait (Ao invez do Sprite ID, agora é Item ID)
-
(Resolvido)Regeneração de Soul Points
Lembrando que também, o evento está com tempo para acontecer, não é só dar reload que ele vai acontecer, precisa esperar o intervalo que foi setado na tag.
-
Servidor de Pokemon
Salve galera, bom eu tenho uma sugestão para o pessoal que gosta de ficar editando os servidores de pokemons. Seguinte, eu como prometi pra galera, fui desenvolver o tal módulo do Pokedex, parecido com o da PXG, e fazer um update no catch window, porém eu fiquei aqui por umas meia hora procurando algum servidor de pokemon, para usar como base, e vi que com tantos servidores de pokemons postados aqui no fórum, todos são as mesmas coisas, tem os mesmos bugs, não são "usáveis" para mim. Bom, a galera que quer inovar, ou postar algo de boa qualidade, pense primeiro nos bugs galera, tente tirar os milhares de arquivos desnecessários que existem nas pastas do servidor, porque o pessoal que edita, só está criando novos e novos arquivos, deixando o servidor muito mais pesado do que o normal. Enfim, é isso galera, minha sugestão está ai
- Primeiras Sprites
-
(Resolvido)Script para Dar Cargos e Renomear os Nomes!
Não testei. local cargos = { ["tutor"] = {prefixNick = "[TUTOR]", group = 2}, ["gm"] = {prefixNick = "[GM]", group = 4}, ["cm"] = {prefixNick = "[GM]", group = 5}, ["adm"] = {prefixNick = "[ADM]", group = 6}, } function onSay(cid, words, param, channel) local t = string.explode(param, ",") if not isPlayer(getCreatureByName(t[1]:lower())) then doPlayerSendCancel(cid, "Este player não está online, ou não existe.") return true end local c = cargos[t[2]:lower()] if not c then doPlayerSendCancel(cid, "Cargo inexistente.") return true end db.executeQuery("UPDATE `players` SET `name` = '" .. c.prefixNick .. " ".. t[1]:lower() .. " ' WHERE name = '" .. t[1]:lower() .. "';") doPlayerSetGroupId(getCreatureByName(t[1]:lower(), c.group) addEvent(function(), if isPlayer(getCreatureByName(t[1]:lower())) then doRemoveCreature(getCreatureByName(t[1]:lower()), true) end, 5 * 1000, end) doPlayerSendTextMessage(getCreatureByName(t[1]:lower()), 27, "Voce sera kikado em 5 segundos.") return true end
-
Poketibia - [Error - CreatureScript Interface]
Identaçao porfavor amigo kk Não testei. function onAttack(cid, target) if isPlayer(target) then if #getCreatureSummons(target) >= 1 then if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(getCreatureSummons(cid)[1], getCreatureSummons(target)[1]) end end end return true end
-
Quero uma PokeDex desse Jeito! Me Ajuda?
Cara kkkk, eu comecei a desenvolver a layout desse módulo hoje kkk. Talvez amanhã ja saia algum "Preview".
- [TFS 0.4][8.54]Pokemon Dash Advanced (PDA) + Sources
- [TFS 0.4][8.54]Pokemon Dash Advanced (PDA) + Sources
- [TFS 0.4][8.54]Pokemon Dash Advanced (PDA) + Sources
- [TFS 0.4][8.54]Pokemon Dash Advanced (PDA) + Sources
-
Ai galera bem dific
Tem uma maneira. Se voce for usar alguma "DLL" que altere o seu client, coloque-o pra quando conectar ele executar a talkaction "!client", e então ele vai ter acesso, e depois põe pra quando deslogar, ele tirar o acesso. até entrar dnovo
-
(Resolvido)Limitar skills
Então o "return false", não está impedindo de avançar o level. Bom.. eu não sei se existe uma função, de setar a nova "rate" de magic level. então eu tou usando desta forma. teste ai. local skills = { [SKILL_SWORD] = {maxLevel = 171}, [SKILL_AXE] = {maxLevel = 171}, [SKILL_CLUB] = {maxLevel = 171}, [SKILL_DISTANCE] = {maxLevel = 171}, [SKILL_SHIELD] = {maxLevel = 171}, [SKILL_FISHING] = {maxLevel = 171}, [SKILL__MAGLEVEL] = {maxLevel = 171}, } function onAdvance(cid, skill, oldLevel, newLevel) local i = skills[skill] if i then if newLevel > i.maxLevel then doPlayerSetRate(cid, skill, 0.0) return false end end return true end
- Quest e Comando de Loop Effect
- Launcher AutoUpdate - Show
-
(Resolvido)Limitar skills
Bom.. é porque no caso a variavel "SKILL_FISH", não existe, agora que eu fui ver, eu fui me baseando no seu script. local skills = { [SKILL_SWORD] = {maxLevel = 171}, [SKILL_AXE] = {maxLevel = 171}, [SKILL_CLUB] = {maxLevel = 171}, [SKILL_DISTANCE] = {maxLevel = 171}, [SKILL_SHIELD] = {maxLevel = 171}, [SKILL_FISHING] = {maxLevel = 171}, [SKILL__MAGLEVEL] = {maxLevel = 171}, } function onAdvance(cid, skill, oldLevel, newLevel) local i = skills[skill] if i then if newLevel >= i.maxLevel then return false end end return true end
-
Catch Window v1.3
O que acontece, quando você tenta jogar ball novamente?
-
XP Não funciona
Passa o config.lua ai
-
(Resolvido)Limitar skills
Não testei. local skills = { [SKILL_SWORD] = {maxLevel = 171}, [SKILL_AXE] = {maxLevel = 171}, [SKILL_CLUB] = {maxLevel = 171}, [SKILL_DISTANCE] = {maxLevel = 171}, [SKILL_SHIELD] = {maxLevel = 171}, [SKILL_FISH] = {maxLevel = 171}, [SKILL__MAGLEVEL] = {maxLevel = 171}, } function onAdvance(cid, skill, oldLevel, newLevel) local i = skills[skill] if i then if newLevel >= i.maxLevel then return false end end return true end
-
(Resolvido)Sistema de Presente
Talvez seja porque as chances, não esteja dando nenhum item. Tente colocar um item com 100% de chance.
-
(Resolvido)Sistema de Presente
Bom amigo, eu não testei não. local items = { [2160] = {maxAmmount = 10, chance = 10}, [2158] = {maxAmmount = 100, chance = 20}, } function onUse(cid, item) for i, e in pairs(items) do if math.random(100) <= e.chance then local ammount = math.random(1, e.maxAmmount) doPlayerAddItem(cid, i, ammount) doPlayerSendTextMessage(cid, 27, "Voce ganhou "..ammount.."x "..getItemNameById(i)) end end doRemoveItem(item.uid) return true end
-
(Resolvido)Dúvida na função
Já existe as funçoes de exhaust. exhaust.get(cid, storage) < Retorna os segundos de exhaust. exhaust.set(cid, storage, value) < Seta um valor de segundos como exhaust.
- Launcher AutoUpdate C#
-
NPC que só teleporta sem battle
Não testei. 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 if(msgcontains(msg, 'destination')) then selfSay('Eu posso te levar para a Sala de Teleports por 100 gps. Voce deseja ir?', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if(doPlayerRemoveMoney(cid, 100)) then selfSay('Prontinho.', cid) else selfSay('Voce não tem 100 GPS', cid) end elseif(msgcontains(msg, 'no') and talkState[talkUser] == 1) then selfSay('Tudo bem então.', cid) return false end end return true end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())