Ir para conteúdo

TonyHalk

Membro
  • Registro em

  • Última visita

Tudo que TonyHalk postou

  1. Não culpem Ninguem amigo. e também não é " falta de conhecimento " você mesmo não soube ajudar ..
  2. Não Luan a minha config.lua eu Refiz do 0, é um Ot que eu estou montando fais 2 meses. eu refiz tudo criei a pasta abaixar 1 distro baixei sistema por Sistema refiz tudo e to criando um Gesior agora 100% Original sem Layout do Tibia
  3. Não quero compartilhar pois quando eu peço ajuda ninguém se Disponibiliza. Obrigado
  4. TonyHalk postou uma resposta no tópico em Playground (Off-topic)
    EEE LINKOU. Se é gayzao mano kk brinks s2 da hora as caixinhas compro a onde
  5. TonyHalk postou uma resposta no tópico em Playground (Off-topic)
  6. localhost/phpmyadmin Entre na SUA Database vai em SQL la em Cima e Colocar no Código e Executar
  7. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    1° Vá em xampp/htdocs/layout e cole lá depois vá no seu index aperte control+f e procure por "tibiacom" e substitua pelo nome da pasta do layout baixado
  8. e TAMBÉM ! Criados por min, não quer alegar que esse é feito por min,
  9. Você colocou esse Código no Layout ? <?php include($layout_name.'/widget_rank.php'); ?>
  10. -- [( Script edited by: DoidinMapper )] - - Adicionado,
  11. Em Momento algum falei que o Sistema foi Criado Por Min.
  12. Como Disse no Tópico anterior veio no meu TFS. não sei o nome do Criador.
  13. Matheus esse Script veio no meu TFS. eu não criei ele Somente Tirei 3 bugs que estavam.
  14. TonyHalk postou uma resposta no tópico em Eventos de Mapping
    Concordo. Premios como 30 Posts + 50 posts + etc.. Reps eu to Conseguindo Diariamente 6 - 9 rsrsr
  15. Sim, mais esse é o meu Sistema que veio no meu TFS, estou postando eles para ajudar o pessoal. espero que entenda
  16. as Veses a pessoa Perde eu Modifica e da erro pode pegar o Sistema Novamente sem Edição
  17. Continuação do meu Tópico de Sistemas... ~~Changsex Sistema~~ \data\talkactions\scripts Crie uma Arquivo chamado changesex.lua -- [( Script edited by: DoidinMapper )] -- function onSay(cid, words, param, channel) local config = {costPremiumDays = 2} if(getPlayerSex(cid) >= 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You cannot change your gender.") return TRUE end if(getPlayerPremiumDays(cid) < config.costPremiumDays) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sorry, not enough premium time- changing gender costs " .. config.costPremiumDays .. " days.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE end if(getPlayerPremiumDays(cid) < 65535) then doPlayerAddPremiumDays(cid, -config.costPremiumDays) end if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then doPlayerSetSex(cid, PLAYERSEX_MALE) else doPlayerSetSex(cid, PLAYERSEX_FEMALE) end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have changed your gender and lost " .. config.costPremiumDays .. " days of premium time.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED) return TRUE end EM talkactions.XML adicione a Tag <talkaction words="!changesex;/changesex;!changender;/changender" script="changesex.lua" />
  18. Ola, nesses Tópicos que vou criar vou Postar os Sistemas Básicos de Actions de um Servidor, para a pessoa poder pesquisar e também como se fosse um "Backup" e também sistemas Criados Por Min, que servidores não possuem e podem estar Adicionando. ~~Jail Sistema~~ Em \data\talkactions\scripts Adicione um Arquivo chamada cadeia.lua default_jail = 30 grouprequired = 3 jailedstoragevalue_time = 1338 jailedstoragevalue_bool = 1339 jailpos = { x = 981, y = 1023, z =6 } unjailpos = { x = 1022, y = 1028, z =7 } 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 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 E Em TalkActions.xml Adicione <talkaction log="yes" words="/jail" access="3" event="script" value="Cadeia.lua"/>
  19. Tenho esse Script. tente Script do Frags: local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList = getBooleanFromString(getConfigValue('advancedFragList')) } function onSay(cid, words, param, channel) if(not config.useFragHandler) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end Tag do Frags: <talkaction words="!frags" event="script" value="frags.lua"/> Tudo isso no Talkactions.
  20. intão é problema em seu Otserv
  21. Tente executar esse comendo em sua Database SQL ALTER TABLE `player_id` ADD `player_storage` INT(11) NOT NULL DEFAULT 0;
  22. Procure em /guilds/default_logo.gif
  23. Sim, eu vi que foi Resolvido e também decidi postar um simples tutorial de como Executar a Tabela
  24. O Mapa continua o mesmo rs Mais muito obrigado por trazer

Informação Importante

Confirmação de Termo