Ir para conteúdo

SkyDangerous

Lorde
  • Total de itens

    2098
  • Registro em

  • Última visita

  • Dias Ganhos

    16

Tudo que SkyDangerous postou

  1. ;D Que bom que gostaram, se pá posso postar uma versão beta do mapa aqui .D -= A lost island será retirada, será em breve um novo lugar. Pedaço da Smugled City
  2. ta aqui na minha cama. hAUH'
  3. Folspa. O sub-moderador é para treinamento, só que a diferença é que o cargo de moderar é bem mais complicado do que colaborador. Ai você já fica preparado para saber quando tem que banir, mudar títulos de tópicos, mover tópicos.. coisa que colaborador não faz e muita gente não sabe faze.
  4. Opa Vlw. Dei uma atualizada na montanha que tava inacabada ;D Qualquer sugestão pode falar ;D
  5. Bom sobre as lampadas naquele lugar, estava vendo uns show-off para fazer barcos, e me deparei com muitos barcos com isso, ai eu peguei e coloquei. Achei estranho também e irei retirar. Vlw. Verdade, eu coloquei as walls por cima sem querer da porta Sobre o peixe, usei auto-border para preencher os lixos jogados, nem vi o peixe. Mas seria interessante dizer algo como, um viajante passou pela ilha pescou um peixe e o jogou na floresta. KKK', to fazendo uma montanha agora onde terá um mistério
  6. UHA. Na verdade é uma praia Vou ver se tiro ela .. senão fica sem nexo uhUHA'
  7. vlw ;D Que bom que você curti meus mapas. Eu também gosto do seus ;D
  8. Lost Island Apresentar, algumas fotos de como está ficando a ilha. Comecei agora pouco a fazer Para meu projeto. ] Atualizado ~ Atualizado Montanha ~ Aceito Críticas, Elogios e Opiniões. Bugs No Mapa? Indique Onde. Até. !
  9. estava treinando funções. o intuito é de fazer uma função. \ha
  10. Essa função é bem simples, faz a potenciação do número e sua base. function GetPotenciacao(number,numberpo) local a , b, x , y= number, numberpo, a * b, 1 y = a * b print ("Resultado",y) end a = 5-- base b = 5 -- exponenciação return (GetPotenciacao(a,b)) Pronto, uma função simples porém muito utilizada na matemática ;D
  11. Ui, me impolgei em fazer funções .D Estudei como funciona fatoriamento de um número inteiro, e resolvi por em prática. Ta ai, pra usar ;D function GetFatorialNumber(fatorial) local a,b = fatorial,fatorial print (a,"*") while (b > 1) do b = b - 1 a = a*b if b == 1 then print (b,"=" , a) else print(b,"*") end end end a = 5 -- Aqui bota um numero inteiro para o fatoramento return (GetFatorialNumber(a)) Exemplo de Print: 5 * 4 * 3 * 2 * 1 = 120 Prontinho, rode sem problemas ;D Funfando 100% , e desenvolvido por mim
  12. Estava aqui parado sem fazer nada, odeio estudar tabuada, então eu disse, que tal eu criar uma ;D Aqui está a função que retorna uma tabuada ;D function GetTabuada(tab) local tabuadinha,z = tab,0 for i= 1,10 do print (tabuadinha, "*",i , "=", tabuadinha*i) end end tabuadinha = 5 -- Mude aqui para a tabuada que você quer return(GetTabuada(tabuadinha)) Exemplo de Print: 7 * 1 = 7 7 * 2 = 14 7 * 3 = 21 7 * 4 = 28 7 * 5 = 35 7 * 6 = 42 7 * 7 = 49 7 * 8 = 56 7 * 9 = 63 7 * 10 = 70 Espero que fazem um bom aproveito ;D
  13. Bem Legal a função. Parabéns manolo.
  14. Opa. Isso ai, tomara que surja novos membros experientes para ajudar o fórum. Iniciativa muito boa ;D Até.
  15. HUAHU. Tentei exemplificar e explicar o melhor possível. Claro que não sou nenhum expert, fiz com bases em meus conhecimentos que estudei e aprendi contigo. ;D
  16. faz um add event ;D addEvent(RemoveCreature,8*1000,cid) eu acho ;D
  17. #TROLL. Eu não tenho vida social. Fico no fórum pq não tenho amigos na real , só faço amizades no mundo virtual. uHAUha'
  18. Quando que vai ser aprovado? Postado 08 março 2012 - 08:52 .....
  19. Bom-Dia Galerinha EksTibianas !
  20. opa. Cadê os créditos? Vi esse script em outro fórum.
  21. caraca. criativo o mapa. Eu não jogaria, mas apoiaria .D
  22. Alguém pode dar arrumada no meu script, eu sei que ele ta muito pogzado, ultimamente não tenho querendo pensar em usar tabelas e for ;D Ai eu faço da maneira que eu encontrar mais facil e pensar menos ;D Quando eu falo hi , sword , yes .. ele só aceita o sword e não fala nada no yes. 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 local config = { skills = {club = 1, sword = 2, axe = 3, distance = 4, shield = 5}, item = 9971, count = 1 } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'sword') then if isInArray({4,8},getPlayerVocation(cid)) then selfSay('You want to buy a skill sword for 1 gold ingot.?', cid) talkState[talkUser] = 1 else selfSay('Only knight and elite knight can buy sword fighting.', cid) end elseif msgcontains(msg, 'club') then if isInArray({4,8},getPlayerVocation(cid)) then selfSay('You want to buy a skill club for 1 gold ingot?', cid) talkState[talkUser] = 2 else selfSay('Only knight and elite knight can buy club fighting.', cid) end elseif msgcontains(msg, 'mace') then if isInArray({4,8},getPlayerVocation(cid)) then selfSay('You want to buy a skill mace for 1 gold ingot.?', cid) talkState[talkUser] = 3 else selfSay('Only knight and elite knight can buy mace fighting.', cid) end elseif msgcontains(msg, 'axe') then if isInArray({4,8},getPlayerVocation(cid)) then selfSay('You want to buy a skill axe for 1 gold ingot.?', cid) talkState[talkUser] = 4 else selfSay('Only knight and elite knight can buy axe fighting.', cid) end elseif msgcontains(msg, 'shield') then if isInArray({4,3,7,8},getPlayerVocation(cid)) then selfSay('You want to buy a skill distance for 1 gold ingot.?', cid) talkState[talkUser] = 5 else selfSay('Only paladins ,royal paladins, knight and elite knight can buy shield fighting.', cid) end elseif msgcontains(msg, 'distance') then if isInArray({3,7},getPlayerVocation(cid)) then selfSay('You want to buy a skill distance for 1 gold ingot.?', cid) talkState[talkUser] = 6 else selfSay('Only paladins and royal paladins can buy distance fighting.', cid) end elseif msgcontains(msg, 'info')then selfSay('Você deseja ver suas informações?', cid) talkState[talkUser] = 7 elseif talkState[talkUser] == 1 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,config.item,item.count) then doPlayerAddSkill(cid,config.skills.sword,1) selfSay('You bought a sword skill.', cid) talkState[talkUser] = 0 else selfSay('You do not have the needed item', cid) end elseif talkState[talkUser] == 3 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,config.item,item.count) then doPlayerAddSkill(cid,config.skills.mace,1) selfSay('You bought a mace skill.', cid) talkState[talkUser] = 0 else selfSay('You do not have the needed item', cid) end elseif talkState[talkUser] == 4 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,config.item,item.count) then doPlayerAddSkill(cid,config.skills.axe,1) selfSay('You bought a axe skill.', cid) talkState[talkUser] = 0 else selfSay('You do not have the needed item', cid) end elseif talkState[talkUser] == 5 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,config.item,item.count) then doPlayerAddSkill(cid,config.skills.shield,1) selfSay('You bought a shield skill.', cid) talkState[talkUser] = 0 else selfSay('You do not have the needed item', cid) end elseif talkState[talkUser] == 6 then if msgcontains(msg, 'yes') then if doPlayerRemoveItem(cid,config.item,item.count) then doPlayerAddSkill(cid,config.skills.distance,1) selfSay('You bought a distance skill.', cid) talkState[talkUser] = 0 else selfSay('You do not have the needed item', cid) end elseif talkState[talkUser] == 7 then if msgcontains(msg, 'yes') then if isInArray({4,8},getPlayerVocation(cid)) then doShowTextDialog(cid, 5958, "•Skill Information:" .. "\n¤Sword: " .. getPlayerSkillLevel(cid, config.skills.sword) .. "\n¤Mace: " .. getPlayerSkillLevel(cid, config.skills.mace) .. "\n¤Axe: " .. getPlayerSkillLevel(cid, config.skills.axe) .. "\n¤Shield: " .. getPlayerSkillLevel(cid, config.skills.shield) .. "" ) talkState[talkUser] = 0 elseif isInArray({3,7},getPlayerVocation(cid)) then doSowTextDialog(cid, 5958, "•Skill Information:" .. "\n¤Distance: " .. getPlayerSkillLevel(cid, config.skills.distance) .. "\n¤Shield: " .. getPlayerSkillLevel(cid, config.skills.shield) .. "" ) end end end end end end end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Sempre tive dificuldade nisso ;D
  • Quem Está Navegando   0 membros estão online

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