Ir para conteúdo

felipeomatad

Campones
  • Total de itens

    61
  • Registro em

  • Última visita

Tudo que felipeomatad postou

  1. felipeomatad

    Erro RME

    <p>Deu certo obrigado.</p>
  2. felipeomatad

    Erro RME

    Eu baixei um servidor daqui do Xtibia e quando vou abrir o Mapa para mim editá-lo ele aparece assim: Era para estar assim: Eu eu tentei mudar a versão do rme para 9.60 e mesmo assim continua do mesmo jeito o que posso fazer?
  3. Obrigado manow.
  4. Eu estava criando uns set's para as vocações do meu servidor aí eu criei um armor para uma vocação: <item id="8884" article="an" name="Drunou Armor"> <attribute key="weight" value="10000" /> <attribute key="armor" value="15" /> <attribute key="absorbPercentIce" value="5" /> <attribute key="absorbPercentEnergy" value="5" /> <attribute key="slotType" value="body" /> <attribute key="skillClub" value="15" /> <attribute key="skillShield" value="20" /> Eu queria colocar para á vocação Lord Drunou = 14. Obrigado
  5. felipeomatad

    VIP Tile

    Obrigado ^^
  6. felipeomatad

    VIP Tile

    -- Script SYtem vip 1.0 -- function onSay(cid, words, param) if(words == "!comprarvip10") then local price = 30 if doPlayerRemoveItem(cid, 6527, 30) == TRUE then local days = 10 local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você compro 10 dias de VIP e agora você têm ".. quantity .." dias de VIP.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não tem "..price.." Moedas VIP.") end elseif(words == "!vipdays") then local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP.") elseif(words == "/checkvip") then if getPlayerAccess(cid) == 5 then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(player, 13540) - timenow)/(24 * 60 * 60)) doPlayerPopupFYI(cid, "O jogador tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP no character.") return TRUE end elseif(words == "/addvip") then if getPlayerAccess(cid) == 5 then local t = string.explode(param, ",") if not t[2] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(t[1]) local days = t[2] local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end local daysvalue = days*3600*24 local storageplayer = getPlayerStorageValue(player, 13540) local timenow = os.time() local time = storageplayer <= 0 and (timenow + daysvalue) or (storageplayer + daysvalue) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Foram adicionados "..days.." dias de VIP.") setPlayerStorageValue(player, 13540, time) local quantity = math.floor((getPlayerStorageValue(player,13540) - timenow)/(3600*24)) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Você comprou "..quantity.." dias de VIP.") end elseif(words == "/delvip") then if getPlayerAccess(cid) == 5 then local dec = MESSAGE_INFO_DESCR if(param == "") then return TRUE,doPlayerSendTextMessage(cid,18,"Command param required.")end local C,t = {},string.explode(param, ",") C.pos = getPlayerPosition(cid) C.uid = getCreatureByName(t[1]) C.time = ((tonumber(t[2]) == nil) and 1 or tonumber(t[2]))*3600*24 --Tempo da vip por dia. C.days = (tonumber(t[2]) == nil) and 1 or tonumber(t[2]) --Dias de vip. local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end if(getPlayerStorageValue(C.uid,13540) < C.time)then doPlayerSendTextMessage(cid,dec,'O jogador '..t[1]..' não possui '..C.days..' dias de vip.') else doPlayerSendTextMessage(cid,dec,'Você removeu '..C.days..' dias de vip do player '..t[1]..'.') setPlayerStorageValue(C.uid,13540,getPlayerStorageValue(C.uid,13540)-C.time) end doSendMagicEffect(C.pos, math.random(28,30)) end end return TRUE end Poderia deixar explicado, tipo if item.actionid : server pra q?
  7. Preciso de um script de VIP TILE assim: Que você só passa nessa tile 9198 se você tiver vip, se você não tiver você será teletransportado para esse Pos: 1000 1000 7 Eu tentei vários scripts daqui nenhum funcionou no meu Servidor 8.6 Obrigado
  8. felipeomatad

    Comando !vida

    EDIT: Muito Obrigado Vodkart seu trabalho aqui no xtibia é muito bom, sempre quando preciso de alguma coisa sobre script você me ajuda Brigadão ae
  9. felipeomatad

    Comando !vida

    Não pego Versão do Tfs 0.3.6
  10. felipeomatad

    Comando !vida

    8.60
  11. felipeomatad

    Comando !vida

    Mesmo Erro: [24/08/2013 19:34:47] [Error - TalkAction Interface] [24/08/2013 19:34:47] data/talkactions/scripts/vida.lua:onSay [24/08/2013 19:34:47] Description: [24/08/2013 19:34:47] data/talkactions/scripts/vida.lua:3: attempt to call global 'getCreatureHealth' (a nil value) [24/08/2013 19:34:47] stack traceback: [24/08/2013 19:34:47] data/talkactions/scripts/vida.lua:3: in function <data/talkactions/scripts/vida.lua:1>
  12. O comando !vida do meu Servidor está bugado. Olhei vários tópicos e não funfo, aparece esse erro : [24/08/2013 02:14:24] [Error - TalkAction Interface] [24/08/2013 02:14:24] data/talkactions/scripts/vida.lua:onSay [24/08/2013 02:14:24] Description: [24/08/2013 02:14:24] data/talkactions/scripts/vida.lua:3: attempt to call global 'getCreatureHealth' (a nil value) [24/08/2013 02:14:24] stack traceback: [24/08/2013 02:14:24] data/talkactions/scripts/vida.lua:3: in function <data/talkactions/scripts/vida.lua:1> Script: function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nVida atual: " .. getCreatureHealth(cid) .. "\nVida máxima: " .. getCreatureMaxHealth(cid) .. "") return true end if isPremium(cid) == TRUE then local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "O jogador com o nome " .. param .. " não esta online ou não existe.") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nVida de [ " .. getCreatureName(pid) .. " ] atual: " .. getCreatureHealth(pid) .. "\nVida de [ " .. getCreatureName(pid) .. " ] máxima: " .. getCreatureMaxHealth(pid) .. "") return true else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores VIP podem utilizar este comando para visualizar informações de outros jogadores.") return true end end Me ajuda porfavor.
  13. Tem algum Servidor de naruto Online?
  14. Roksas, desculpe eu não sabia duvida sanada. Obrigado Omega.
  15. felipeomatad

    Wisland - RadBR

    VLw man
  16. No meu servidor, tem um comando !b que o vice-lider ou o lider da guild fala com todos os players. Más quando falo algo pelo !b, a mensagem aparece no default, tem como colocar para colocar só para aparecer de vermelho na tela, e só mente para os players da minha guild? Obrigado!
  17. felipeomatad

    Wisland - RadBR

    Não deu -'
  18. felipeomatad

    Wisland - RadBR

    Não estou conseguindo Baixar. Arruma ae!
  19. UP '-'
  20. Bom eu comprei uma host de 512MB o peso do ot é de 25mb e gostaria de saber qual é o melhor sistema operacional entre esses que eu citei abaixo: Windows Server 2003 Enterprise SP2 - 32bit (Português) Windows Server 2003 Enterprise SP2 - 64bit (Inglês) Windows Server 2008 R2 Enterprise 64-bit (Português) Windows XP Professional SP3 - 32bit (Português) Windows XP Professional SP2 - 64bit (Inglês) Linux CentOS 5.8 - 32bits Linux CentOS 5.8 - 64bit Linux Ubuntu 11.04 - 32bit Linux Ubuntu 11.04 - 64bit Linux Ubuntu 10.10 - 32bit Linux Ubuntu 10.10 - 64bit Linux Ubuntu 10.04 - 32bit Linux Ubuntu 10.04 - 64bit Linux Debian 6 - 32bit Linux Debian 6 - 64bit Eu estou usando porinquanto o 2003 sp2 = 32 bit Mais demora 1hora para abrir o OT. Qual seria melhor e mais abil para abrir o OT?
  21. Porque meu Ot de RadBR 8.6 os players level 1k estão na mesma velocidade de um player level 100? Como arruma ajudem pls REP++
  • Quem Está Navegando   0 membros estão online

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