
Tudo que Skydangerous postou
-
[anime] Guilty Crown
não curto anime. só aquele coisa que tem anime..
- [Ajuda] Site
- [Ajuda] Site
-
[Dúvida] Aonde eu posso fazer uma galeria com meus Scripts ?
Sua galeria? Bom, é melhor postar um script em cada tópico. Fazer galerias fica ruim, amontoa muito scripts em um tópico e fica ruim. -= Vou mover para seção de atendimento.
-
[Resolvido] [Pedido] Talkaction [Importante]
Primeiro: Qual o sistema que você está utilizando o Vip Premium Account? Só passar o nome que possamos te ajudar, pois não temos bola de cristal
-
[Show] Jared Leto
Bem-Vindo ! Sinta-se em casa
-
[Mapa Rozinx]
sim. existe o map tracker, que copia. porém ja tentei copiar o mapa pra fazer uma alterações .. não tive sucesso ..
-
[Resolvido] [Pedido] Sala Restrita'
Estou no celular. Usa setGlobalStorage(value) Na porta e checa get. e para retirAR A storGe faz um movement ou creaturescript
-
Votação AdP #4 Ed.
1° Lugar Vivi 2° Lugar Vittu 3° Lugar maxmillerxd
- [Suporte] OtItemEditor v0.3.9 and v0.5.1
- [Resolvido] [Duvida] Alavanca e Loot de monstre
- [DUVIDA] TalkAction nao funcionou
-
[Resolvido] Fórmula de dano por level
mas se você não usar. setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas") não dará. Quando tiver a dúvida respondida reporte por favor. Tópico Resolvido. A postagem de um post após o tópico ser resolvido será considerado flood, a não ser que o dono do tópico tiver algo a mais para perguntar e esqueceu ou algum membro tem a mesma dúvida e queira perguntar sem a necessidade de criar outro tópico.
- {AJUDA}Dash dos players...
-
[Resolvido] [Dúvida] Distância do NPC'
Tópico Resolvido. A postagem após o tópico resolvido será considerado flood, a não ser que o dono do tópico esqueceu de algo, ou se algum membro tiver a dúvida semelhante. Até.
- [ Talkaction ] !guild List
- Bug Guild
-
[Resolvido] [Pedido] Saque Máximo - NPC Bank
Toma preguiçosinho uhauh, 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 --------------------MESSAGES------------------------------------------------------------------------------ if (msgcontains(msg, 'deposit') or msgcontains(msg, 'depositar')) then selfSay('Digite quanto deseja depositar.', cid) talkState[talkUser] = 1 elseif (msgcontains(msg, 'withdraw') or msgcontains(msg, 'sacar')) then selfSay('Digite quanto deseja sacar.', cid) talkState[talkUser] = 3 elseif (msgcontains(msg, 'help') or msgcontains(msg, 'ajuda')) then selfSay('Digite {balance} ou {extrato} para ver seu saldo em conta.', cid) selfSay('Digite {deposit} ou {depositar} para depositar dinheiro a sua conta.', cid) selfSay('Digite {withdraw} ou {sacar} para sacar dinheiro de sua conta (Limite de 100 reais a cada 15 minutos).', cid) selfSay('Para {transferir}, {trocar notas},{trocar moedas} ou {sacar} sem limite de valor, precisara de um Cartao de Debito.', cid) talkState[talkUser] = 15 elseif (msgcontains(msg, 'balance') or msgcontains(msg, 'extrato')) then n = getPlayerBalance(cid) selfSay('Voce possui '..n..' centavos em sua conta.', cid) talkState[talkUser] = 0 ----------------------DEPOSIT------------------------------------------------------- elseif talkState[talkUser] == 1 then if (msgcontains(msg, 'all') or msgcontains(msg, 'tudo')) then n = getPlayerMoney(cid) selfSay('Tem certeza que deseja depositar '..n..' centavos?', cid) talkState[talkUser] = 2 else n = getNumber(msg) selfSay('Tem certeza que deseja depositar '..n..' centavos?', cid) talkState[talkUser] = 2 end if getPlayerMoney(cid) >= n then elseif talkState[talkUser] == 2 then if (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) then doPlayerDepositMoney(cid,n) selfSay('Deposito efetuado com sucesso.', cid) selfSay('EXTRATO BANCARIO: Sua conta possui ' ..getPlayerBalance(cid)..' centavos disponiveis.', cid) talkState[talkUser] = 0 else selfSay('Voce nao tem esta quantidade de dinheiro.', cid) end else selfSay('Volte sempre.', cid) end ----------------------WITHDRAW------------------------------------------------------------------------------------- local storage = 25000 elseif talkState[talkUser] == 3 then if (msgcontains(msg, 'all') or msgcontains(msg, 'tudo')) then n = getPlayerBalance(cid) selfSay('Tem certeza que deseja sacar '..n..' centavos?', cid) talkState[talkUser] = 4 else n = getNumber(msg) selfSay('Tem certeza que deseja sacar '..n..' centavos?', cid) talkState[talkUser] = 4 end elseif talkState[talkUser] == 4 then if (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) then if getPlayerBalance(cid) >= n then if (n < 10000) then if (getPlayerStorageValue(cid, storage) <= os.time()) then doPlayerWithdrawMoney(cid, n) setPlayerStorageValue(cid, storage, os.time()+60) selfSay(''..n..' centavos sacados com sucesso.', cid) selfSay('EXTRATO BANCARIO: Sua conta possui ' ..getPlayerBalance(cid)..' centavos disponiveis.', cid) talkState[talkUser] = 0 else selfSay('Você só pode retirar outro valor daqui 60 segundos',cid) end else selfSay('Voce só pode retirar 10000 por vez',cid) end else selfSay('Saldo insuficiente.', cid) end else selfSay('Volte sempre.', cid) end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -- function maded by Gesior-- function getNumber(txt) --return number if its number and is > 0, else return 0 x = string.gsub(txt,"%a","") x = tonumber(x) if x ~= nill and x > 0 then return x else return 0 end end Tava com preguiça, de fazer perfeito .. ai eu fiz de qualquer jeito
-
[Resolvido] [Pedido] Saque Máximo - NPC Bank
UHAUH, Percebi. 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 --------------------MESSAGES------------------------------------------------------------------------------ if (msgcontains(msg, 'deposit') or msgcontains(msg, 'depositar')) then selfSay('Digite quanto deseja depositar.', cid) talkState[talkUser] = 1 elseif (msgcontains(msg, 'withdraw') or msgcontains(msg, 'sacar')) then selfSay('Digite quanto deseja sacar.', cid) talkState[talkUser] = 3 elseif (msgcontains(msg, 'help') or msgcontains(msg, 'ajuda')) then selfSay('Digite {balance} ou {extrato} para ver seu saldo em conta.', cid) selfSay('Digite {deposit} ou {depositar} para depositar dinheiro a sua conta.', cid) selfSay('Digite {withdraw} ou {sacar} para sacar dinheiro de sua conta (Limite de 100 reais a cada 15 minutos).', cid) selfSay('Para {transferir}, {trocar notas},{trocar moedas} ou {sacar} sem limite de valor, precisara de um Cartao de Debito.', cid) talkState[talkUser] = 15 elseif (msgcontains(msg, 'balance') or msgcontains(msg, 'extrato')) then n = getPlayerBalance(cid) selfSay('Voce possui '..n..' centavos em sua conta.', cid) talkState[talkUser] = 0 ----------------------DEPOSIT------------------------------------------------------- elseif talkState[talkUser] == 1 then if (msgcontains(msg, 'all') or msgcontains(msg, 'tudo')) then n = getPlayerMoney(cid) selfSay('Tem certeza que deseja depositar '..n..' centavos?', cid) talkState[talkUser] = 2 else n = getNumber(msg) selfSay('Tem certeza que deseja depositar '..n..' centavos?', cid) talkState[talkUser] = 2 end if getPlayerMoney(cid) >= n then elseif talkState[talkUser] == 2 then if (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) then doPlayerDepositMoney(cid,n) selfSay('Deposito efetuado com sucesso.', cid) selfSay('EXTRATO BANCARIO: Sua conta possui ' ..getPlayerBalance(cid)..' centavos disponiveis.', cid) talkState[talkUser] = 0 else selfSay('Voce nao tem esta quantidade de dinheiro.', cid) end else selfSay('Volte sempre.', cid) end ----------------------WITHDRAW------------------------------------------------------------------------------------- elseif talkState[talkUser] == 3 then if (msgcontains(msg, 'all') or msgcontains(msg, 'tudo')) then n = getPlayerBalance(cid) selfSay('Tem certeza que deseja sacar '..n..' centavos?', cid) talkState[talkUser] = 4 else n = getNumber(msg) selfSay('Tem certeza que deseja sacar '..n..' centavos?', cid) talkState[talkUser] = 4 end elseif talkState[talkUser] == 4 then if (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) then if getPlayerBalance(cid) >= n then if (n < 10000) then doPlayerWithdrawMoney(cid, n) selfSay(''..n..' centavos sacados com sucesso.', cid) selfSay('EXTRATO BANCARIO: Sua conta possui ' ..getPlayerBalance(cid)..' centavos disponiveis.', cid) talkState[talkUser] = 0 else selfSay('Voce só pode retirar 10000 por vez',cid) end else selfSay('Saldo insuficiente.', cid) end else selfSay('Volte sempre.', cid) end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -- function maded by Gesior-- function getNumber(txt) --return number if its number and is > 0, else return 0 x = string.gsub(txt,"%a","") x = tonumber(x) if x ~= nill and x > 0 then return x else return 0 end end toma
-
[Resolvido] [Pedido] Saque Máximo - NPC Bank
Esse npc ai ta estranho. O isso significa? if getPlayerBalance(cid) &--#62;= n then
-
[8.6] Mapa Baiak
Esse servidor contém mape e datapacks né? Irei mover para seção correta.
-
[Resolvido] Fórmula de dano por level
assim mais ou - function getCombatFormulas(cid, lv) local min_damage = (lv*0.5) local max_damage = (lv*1.5) return min_damage,max_damage end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas") Mais ou menos assim
-
[Dúvida] Website
Tem uma vídeo-aula. http://tibiaking.com/forum/topic/8861-como-criar-um-site-para-seu-servidor/
-
[Resolvido] [Pedido] Como Criar Raid
crie um arquivo em xml com um nome qualquer , exemplo oceanus.xml e cola isso <?xml version="1.0" encoding="UTF-8"?> <raid> <announce delay="0" type="warning" message="Dark evil is coming our way..." /> <announce delay="10000" type="event" message="Morgaroth has stepped out of the shadows in town!" /> <singlespawn delay="11000" name="Oceanus" x="501" y="831" z="7" /> </raid> no arquivo raids.xml cola isso <raid name="Oceanus Raid" file="oceanus.xml" interval2="30" margin="1000" enabled="yes"/> Depois você edita as mensagens e vai explorando as funções, não dá para falar todas.
-
[Resolvido] [Ajuda] Invasao !
Então cara, não está saindo pelo simples motivo. Você criou 1 variável para 10 monstros, deve-se criar 1 variável para cada monstro. -- 1º script de invasao para sql, por Raells Undead-- function onSay(cid, words, param) monstro = "elf scout"---Nome do bicho monstro2 = "elf"---Nome do bicho monstro3 = "elf arcanist"---Nome do bicho monstro4 = "Mr. Gracious"---Nome do bicho monstro5 = "captain jackson"---Nome do bicho monstro6 = "pirate hatcheteer"---Nome do bicho monstro7 = "pirate ravager"---Nome do bicho monstro8 = "lost pirate"---Nome do bicho monstro9 = "pirate meddler"---Nome do bicho monstro10 = "pirate scavenger"---Nome do bicho pos1 = {x=517, y=833, z=7}----Local onde ele vai nacer pos2 = {x=509, y=846, z=7}----local onde o segundo monstro vai nacer pos3 = {x=500, y=815, z=7}----local onde o terceiro monstro vai nacer pos4 = {x=544, y=824, z=7}----local onde o quarto monstro vai nacer pos5 = {x=529, y=856, z=7}----local onde o quinto monstro vai nacer pos6 = {x=578, y=814, z=7}----local onde o sexto monstro vai nacer if getPlayerAccess(cid) >= 1 then --so GM e GOD pode usar esse comando doSummonCreature(monstro, pos1) doSummonCreature(monstro2, pos2) doSummonCreature(monstro3, pos3) doSummonCreature(monstro4, pos4) doSummonCreature(monstro5, pos5) doSummonCreature(monstro6, pos6) broadcastMessage("Raell's Undead Invasion In Center Cit Come Frozen Guardians Kill Protect Cit !", MESSAGE_EVENT_ADVANCE)----mensagem que vai apareser end end Pronto, só falta preencher as posições para nascer dos 4 que sobraram.