Ir para conteúdo

LorD Sybian

Campones
  • Total de itens

    92
  • Registro em

  • Última visita

Tudo que LorD Sybian postou

  1. Olha amigo o monstro está muito bom mais está um pouco esagerado d+ Servidor para OTServ Zuaado... Crie um para servidor serio tbm e para zuado tbm (Denovo) =P Aprovado # :button_ok:
  2. 1) Esse npc não e feito por ele *ele falou* 2) Esse npc ja vem traduzido 3) Isso e seção de npcs nao de (Dowloads de NPC) Mais atenção na proxima esK~
  3. Desculpa pela demora xD. @post. Você fez um bom uso da Temple Rune , mais você poderia reforma o topico bota code , para deixa o topico mais bonito para as pessoas entenderem melhor. Obrigado Mesmo assim o script ta bom: Aprovado # :button_ok:
  4. Oquê eu gostaria de ser : Moderador. Quantos anos :12 Nome : Leonardo Cidade: Niteroi - RJ Porquê gostaria de ser moderador ? pois eu sou capaz de controlar o xtibia ajudando as pessoas fechando topicos errados e momento topicos em lugares errados e etc... Qntas hrs fiko no pc : em media 13,15h OBS: não fiko esse tempo todo no xtibia fiko tambme no cs e no msn *fusillan_OT@hotmail.com* Intaum , tomare que e seja moderador... vlwos galera
  5. ------------------------------- Nome: Change Access Versão: 8.42 Tipo do script: Talk Action Servidor Testado: The Forgotten Server 0.3.4 Patch Level 2 Autor: KutyKutyx3 Bugs : esK~ ------------------------------- Bom, este é um script em que você pode mudar o 'access' de algum player, sem precisar ir ao seu banco de dados. Abra a pasta ~/data/talkactions/scripts e crie um arquivo chamado changeaccess.lua: function onSay(cid, words, param) local Data = string.explode(param, ",") local player = getPlayerByName(Data[1]) local Target = db.getResult("SELECT `name` FROM `players` WHERE `name` = " .. db.escapeString(Data[1]) .. ";") if Data then if (Target:getID() ~= -1) then if Data[2] then if tonumber(Data[2]) > 6 then doPlayerSendCancel(cid, "You cannot add an access higher than 6.") else setPlayerGroupId(player, Data[2]) group = getGroupInfo(getPlayerGroupId(player)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have changed the "..Data[1].." access. Now he is member of '"..group.name.."' group.") doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Admin has changed you access. Now you are member of '"..group.name.."' group.") end else doPlayerSendCancel(cid, "Insert an access.") end else doPlayerSendCancel(cid, "Player '".. Data[1] .."' doesn't exist.") end else doPlayerSendCancel(cid, "Insert player name.") end return TRUE end Agora em ~/data/talkactions/ abra o arquivo talkactions.xml e adicione essa tag: <talkaction log="yes" access="5" words="/changeaccess" event="script" value="changeaccess.lua"/> E pronto, agora bastar falar o seguinte para mudar o 'access' do player: /changeaccess Playername, access Por exemplo, para mudar o access do player "esK", de player para god, eu faria o seguinte: /changeaccess Skazi, 6 OBS : Esse comando existia a muito tempo em apenas um ot, dai nao foi pra fente,e o KutyKutyx3 fez denovo e eu retirei uns bugs.
  6. ------------------------------- Nome: Add Premium Points Versão: 8.42 Tipo do script: TalkAction Servidor Testado: The Forgotten Server 0.3.4 Patch Level 2 Autor: KutyKutyx3 Bugs : esK~ ------------------------------- Este script server para você adicionar Premium Points à conta de um certo player sem precisar ir ao database. Abra a pasta data/talkactions/scripts e crie um arquivo chamado addpoints.lua, e coloque isso nele: function onSay(cid, words, param) local Data = string.explode(param, ",") if Data then local Target = db.getResult("SELECT `name` FROM `players` WHERE `name` = " .. db.escapeString(Data[1]) .. ";") if Data then if (Target:getID() ~= -1) then if Data[2] then if (words:sub(2, 2) == "a") then if isNumber(Data[2]) == TRUE then db.executeQuery("UPDATE `accounts` SET `premium_points` = ".. Data[2] .." WHERE `accounts`.`id` = ".. getAccountIdByName(Data[1]) .." LIMIT 1;") doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foi adicionado ".. Data[2] .." premium points ao player ".. Data[1] ..".") else doPlayerSendCancel(cid, "Insira apenas numeros.") end else doPlayerSendCancel(cid, "Para verificar uma vip não presisa inserir os dias.") end else if (words:sub(2, 2) == "c") then if premiumPointsByName(Data[1]) == 0 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "O player ".. Data[1] .." não tem pontos vip.") elseif premiumPointsByName(Data[1]) == 1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "O player ".. Data[1] .." tem ".. vipDaysByName(Data[1]) .." premium point.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "O player ".. Data[1] .." tem ".. vipDaysByName(Data[1]) .." premium points.") end else doPlayerSendCancel(cid, "Insira a quantidade de dias que vai adicionar de vip ao player.") end end else doPlayerSendCancel(cid, "Este player ".. Data[1] .." não existe.") end end else doPlayerSendCancel(cid, "Insira um nome.") end return TRUE end Agora em data/talkactions/ abra o arquivo talkactions.xml e adicione as tags: <talkaction log="yes" words="/addpoints" access="5" event="script" value="addpoints.lua"/> <talkaction log="yes" words="/checkpoints" access="5" event="script" value="addpoints.lua"/> Agora em data/lib/ abra o arquivo data.lua e adicione: function premiumPointsByName(cid) local Query = db.getResult("SELECT `premium_points` FROM `accounts` WHERE `accounts`.`id` = ".. getAccountIdByName(cid) ..";") local premium_points = Query:getDataInt("premium_points") return premium_points end Para adicionar basta falar : /addpoints Nomedoplayer, points E para ver quantos pontos o player tem: /checkpoints Playername OBS : Fiz um bom uso de LuaSQL. OBS : Estava com bugs e retirei alguns. (Créditos KutyKutyx3) Bugs ?Reporte
  7. Padrão de Postagem : Nome : Guild Broadcast Testado : TFS 0.2 Versão : 8.31+ Autor : desconheçido Bug retirado : esK~ Descrição : Esté scripts faz que você fala um comando !bg o (vice-lider , lider só que poderam falar.)Depois irar aparecer uma mengassem para guild. Vomos lá ao scripts ? Vai em data/talkaction/scripts Crie um arquivo .lua com o nome guildcast.lua e lá dentro bote. function onSay(cid, words, param) local playerGuild = getPlayerGuildId(cid) if playerGuild > 0 then local playerGuildLevel = getPlayerGuildLevel(cid) if playerGuildLevel >= GUILDLEVEL_VICE then local players = getOnlinePlayers() local message = "[Guild " .. getPlayerGuildName(cid) .. "] " .. getCreatureName(cid) .. " [" .. getPlayerLevel(cid) .. "]:\n" .. param; for i,playerName in ipairs(players) do local player = getPlayerByName(playerName); if getPlayerGuildId(player) == playerGuild then doPlayerSendTextMessage(player, MESSAGE_STATUS_WARNING, message); end end doPlayerSendCancel(cid, "Message sent to whole guild."); else doPlayerSendCancel(cid, "You have to be at least Vice-Leader to guildcast!"); end else doPlayerSendCancel(cid, "Sorry, you're not in a guild."); end return TRUE end Depois você irar em data/talkaction.xml e lá bote a tag : <talkaction words="!bg" script="guildcast.lua"/> Depois você fala !bg "Fale oque quer
  8. Não estou em nem 1 equipe não #
  9. hehehe 2 fan das minhas scripts Ainda fiko famoso xD esK~
  10. Arquivo Limpo Aprovado esK~
  11. Cara isso e criativo e não e simples não demorei uns 4 dias para fazer ele para tirar bug , so para trazer com exclusividade para o XTIBIA #E você ainda fala bem simples quero ver você fazer os scripts que eu faço isso sim... kero ver # esK~
  12. Olá galera eu sou #esK~ # *Mapper e Scripts* Do XTIBIA # Hoje estou aqui para trazer meu mapa "esK~ 5.0 xD" Criado : esK~ Versão : 8.40x Tamanho : 41 KB Bugs ? Reporte Dowload Clicando ~~>#<~~ Foto de CIMA do Mapa : Cordenadas : 1060/1130/7 Espero que gostem by : esK~ Vlwo XTIBIA
  13. Olá XTIBIA.com.br #eu sou esK~# Mapper e Scripts do XTIBIA #... Agora irei falar do meu mapa esK~ 4.0 # Versão 8.40x CASAS NÂO CONFIGURADAS # Quantidade de Casas : 29 CASAS Mapa : esK~ Versão : 8.40 By : esK~ Tamanho : 50KB Bugs ? Reporte # Dowload clicando ~~>Aqui<~~ Foto de Cima do MAPA: Cordenadas : 1111 / 1130 / 7 Obrigado galera espero que gostem... Dúvidas ? Criaticas ? Sugestoes para a versão 6.0 # Falem no pelo meu e-mail e MSN : fusillan_OT@hotmail.com Flwo galera :smile_positivo:
  14. Aprovado , magia criativa :button_ok: esK~
  15. Jail System Este Systema Permite Que Voce Prenda Um Jogador Por Um Determinado Tempo Por Exemplo /jail "tempo,nome do player O Player Ficara Determinado Tempo Na Cadeia Muito Simples E Totalmente Configuravel Abra a pasta data/Talkactions/script e adicione isso em um arquivo lua: -- Default jail time in seconds -- default_jail = 30 -- The permission you need to jail someone -- grouprequired = 3 -- StorageValue that the player gets -- jailedstoragevalue_time = 1338 jailedstoragevalue_bool = 1339 -- POSIcaO DA CADEIA: -- jailpos = { x = POSX, y = posY, z =posz } -- POSICAO DO TEMPLO: -- unjailpos = { x = 1029, y = 1005, z =7 } -- auto kicker, dont edit jail_list = {} jail_list_work = 0 function checkJailList(param) addEvent(checkJailList, 1000, {}) for targetID,player in ipairs(jail_list) do if isPlayer(player) == TRUE then if getPlayerStorageValue(player, jailedstoragevalue_time) < os.time() then doTeleportThing(player, unjailpos, TRUE) setPlayerStorageValue(player, jailedstoragevalue_time, 0) setPlayerStorageValue(player, jailedstoragevalue_bool, 0) table.remove(jail_list,targetID) doPlayerSendTextMessage(player,MESSAGE_STATUS_CONSOLE_ORANGE,'You were kicked from jail! See you later ') end else table.remove(jail_list,targetID) end end end </FONT></P> <P><FONT color=#007700>function onSay(cid, words, param) if jail_list_work == 0 then jail_list_work = addEvent(checkJailList, 1000, {}) end if param == '' and (words == '!unjail' or words == '/unjail') then if getPlayerStorageValue(cid, jailedstoragevalue_time) > os.time() then doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'You are jailed until ' .. os.date("%H:%M:%S", getPlayerStorageValue(cid, jailedstoragevalue_time)) .. ' (now is: ' .. os.date("%H:%M:%S", os.time()) .. ').') else if getPlayerStorageValue(cid, jailedstoragevalue_bool) == 1 then table.insert(jail_list,cid) doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'You will be kicked from jail in one second.') else doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'You are not jailed.') end end return TRUE end local jail_time = -1 for word in string.gmatch(tostring(param), "(%w+)") do if tostring(tonumber(word)) == word then jail_time = tonumber(word) end end local isplayer = getPlayerByName(param) if isPlayer(isplayer) ~= TRUE then isplayer = getPlayerByName(string.sub(param, string.len(jail_time)+1)) if isPlayer(isplayer) ~= TRUE then isplayer = getPlayerByName(string.sub(param, string.len(jail_time)+2)) if isPlayer(isplayer) ~= TRUE then isplayer = getPlayerByName(string.sub(param, string.len(jail_time)+3)) end end end if jail_time ~= -1 then jail_time = jail_time * 60 else jail_time = default_jail end if words == '!jail' or words == '/jail' then if getPlayerGroupId ( cid ) >= grouprequired then if isPlayer(isplayer) == TRUE then doTeleportThing(isplayer, jailpos, TRUE) setPlayerStorageValue(isplayer, jailedstoragevalue_time, os.time()+jail_time) setPlayerStorageValue(isplayer, jailedstoragevalue_bool, 1) table.insert(jail_list,isplayer) doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'You jailed '.. getCreatureName(isplayer) ..' until ' .. os.date("%H:%M:%S", getPlayerStorageValue(isplayer, jailedstoragevalue_time)) .. ' (now is: ' .. os.date("%H:%M:%S", os.time()) .. ').') doPlayerSendTextMessage ( isplayer, MESSAGE_INFO_DESCR, 'You have been jailed by '.. getCreatureName(cid) ..' until ' .. os.date("%H:%M:%S", getPlayerStorageValue(isplayer, jailedstoragevalue_time)) .. ' (now is: ' .. os.date("%H:%M:%S", os.time()) .. ').') return TRUE else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Player with this name doesn\'t exist or is offline.") return FALSE end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You don't have access to unjail other players.") return FALSE end elseif words == '!unjail' or words == '/unjail' then if getPlayerGroupId ( cid ) >= grouprequired then if isPlayer(isplayer) == TRUE then doTeleportThing(isplayer, unjailpos, TRUE) setPlayerStorageValue(isplayer, jailedstoragevalue_time, 0) setPlayerStorageValue(isplayer, jailedstoragevalue_bool, 0) table.remove(jail_list,targetID) doPlayerSendTextMessage(isplayer,MESSAGE_STATUS_CONSOLE_ORANGE,getCreatureName(cid) .. ' let you go out from jail! See you later') doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'You unjailed '.. getCreatureName(isplayer) ..'.') else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Player with this name doesn\'t exist or is offline.") return FALSE end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You don't have access to unjail other players.") return FALSE end end return FALSE end Pronto Feito Isso Edite No Começo Do Script O Que Esta Em Vermelho Logo Apos Configurar Va Em Data/talkactions/Talkactions.xml E Adciona Isso Depois Da Tag <talkactions> Para Usar Basta Dar Os Commands /jail "Tempo,Nomedoplayer /unjail "NomeDoPlayer SO FUNCIONA EM TFS
  16. Você ja pensou em algum dia entrar no seu server mandar uma broadcast e você ter 2 ou mais servers e a broadcast aparecesse nos 2? Agora isso é possivel!!!!!! Graças a um sistema que eu fiz (nao usa lua socket) você precisa de 3 coisas: Sistema de Comunicação by : esK~ Versão : 8.40x Testado em : TFS 0.3.1+ Xega de explicação vamos começar!!!! Provavelmente você tem 1 server só entao desiste :smile_positivo: se você tem 2 tudo bem se vc tem 3 ai complica mais da de boa. o primeiro passo é você executar a função setLibTables() para que todas as tabelas nesessarias funcionem! segundo abrir as 2 pastas dos seus servidores! vá nas 2 pastas globalevents e nos 2 global events adcione essa tag: No server 1 vá la em globalevents em scripts crie o comunication.lua dentro dele ponha isso: Agora vá em talkactions.xml crie essa tag:< Bom agora crie o send.lua e ponha isso dentro: Salve e pode fechar, e abrir seu ot. No server 2 vá em globalevents a diferença do 1º para o segundo são 2 numeros. Agora a sua talk é esta: Abra os 2 servers e divirta-se :smile_positivo: Ta! que seja eu sei que você nao entendeu bulhufas do script entao vou da uma luz. Normalmente você so pensa no seu ot e nao no outro quando se meche com isso você tem que pensar nos 2, e uma coisa que funde o cerebro de alguns.
  17. Como meu prometido # Se coloca-se uma ss estarei aprovando intaum ta aew. Aprovado :button_ok: esK~
  18. muito bom explica bem !!! Aprovado esK~
  19. Aprovado esK~ Criativo #
  20. Aprovado esK~
  21. Sem Comentarios --- Aprovado esK~
  22. isso não e seção de pedidos não reportado #
  23. muito bom , explica bem Aprovado esK~
  24. hehe muito bom cara bem criativo a roupa dele Aprovado :button_ok: esK~
  • Quem Está Navegando   0 membros estão online

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