Ir para conteúdo

VictorWEBMaster

Marquês
  • Total de itens

    1062
  • Registro em

  • Última visita

  • Dias Ganhos

    8

Histórico de Reputação

  1. Thanks
    VictorWEBMaster deu reputação a RigBy em Comando /attr - TFS 1.x   
    Ola, tava dando uma olhada no TFS 1.x e acabei percebendo que não tinha o comando /attr, então tinha decidido recriar, alguns comandos ja tava funcionando mas eu acabei achando esse na internet e resolvi trazer para ca.
     
    Exemplo: /attr action, 1231
     
    Então vamos la instalar:
    Em talkactions/talkactions.xml adicione essa tag:
    <talkaction words="/attr" separator=" " script="attributes.lua" /> Em talkactions/scripts, crie o arquivo attributes.lua e adicione isso:
    local itemFunctions = { ["actionid"] = { isActive = true, targetFunction = function (item, target) return item:setActionId(target) end }, ["action"] = { isActive = true, targetFunction = function (item, target) return item:setActionId(target) end }, ["aid"] = { isActive = true, targetFunction = function (item, target) return item:setActionId(target) end }, ["description"] = { isActive = true, targetFunction = function (item, target) return item:setAttribute(ITEM_ATTRIBUTE_DESCRIPTION, target) end }, ["desc"] = { isActive = true, targetFunction = function (item, target) return item:setAttribute(ITEM_ATTRIBUTE_DESCRIPTION, target) end }, ["remove"] = { isActive = true, targetFunction = function (item, target) return item:remove() end }, ["decay"] = { isActive = true, targetFunction = function (item, target) return item:decay() end }, ["transform"] = { isActive = true, targetFunction = function (item, target) return item:transform(target) end }, ["clone"] = { isActive = true, targetFunction = function (item, target) return item:clone() end } } local creatureFunctions = { ["health"] = { isActive = true, targetFunction = function (creature, target) return creature:addHealth(target) end }, ["mana"] = { isActive = true, targetFunction = function (creature, target) return creature:addMana(target) end }, ["speed"] = { isActive = true, targetFunction = function (creature, target) return creature:changeSpeed(target) end }, ["droploot"] = { isActive = true, targetFunction = function (creature, target) return creature:setDropLoot(target) end }, ["skull"] = { isActive = true, targetFunction = function (creature, target) return creature:setSkull(target) end }, ["direction"] = { isActive = true, targetFunction = function (creature, target) return creature:setDirection(target) end }, ["maxHealth"] = { isActive = true, targetFunction = function (creature, target) return creature:setMaxHealth(target) end }, ["say"] = { isActive = true, targetFunction = function (creature, target) creature:say(target, TALKTYPE_SAY) end } } local playerFunctions = { ["fyi"] = { isActive = true, targetFunction = function (player, target) return player:popupFYI(target) end }, ["tutorial"] = { isActive = true, targetFunction = function (player, target) return player:sendTutorial(target) end }, ["guildnick"] = { isActive = true, targetFunction = function (player, target) return player:setGuildNick(target) end }, ["group"] = { isActive = true, targetFunction = function (player, target) return player:setGroup(Group(target)) end }, ["vocation"] = { isActive = true, targetFunction = function (player, target) return player:setVocation(Vocation(target)) end }, ["stamina"] = { isActive = true, targetFunction = function (player, target) return player:setStamina(target) end }, ["town"] = { isActive = true, targetFunction = function (player, target) return player:setTown(Town(target)) end }, ["balance"] = { isActive = true, targetFunction = function (player, target) return player:setBankBalance(target + player:getBankBalance()) end }, ["save"] = { isActive = true, targetFunction = function (player, target) return target:save() end }, ["type"] = { isActive = true, targetFunction = function (player, target) return player:setAccountType(target) end }, ["skullTime"] = { isActive = true, targetFunction = function (player, target) return player:setSkullTime(target) end }, ["maxMana"] = { isActive = true, targetFunction = function (player, target) return player:setMaxMana(target) end }, ["addItem"] = { isActive = true, targetFunction = function (player, target) return player:addItem(target, 1) end }, ["removeItem"] = { isActive = true, targetFunction = function (player, target) return player:removeItem(target, 1) end }, ["premium"] = { isActive = true, targetFunction = function (player, target) return player:addPremiumDays(target) end } } function onSay(player, words, param) if(not player:getGroup():getAccess()) or player:getAccountType() < ACCOUNT_TYPE_GOD then return true end if(param == "") then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return false end local position = player:getPosition() position:getNextPosition(player:getDirection(), 1) local split = param:split(",") local itemFunction, creatureFunction, playerFunction = itemFunctions[split[1]], creatureFunctions[split[1]], playerFunctions[split[1]] if(itemFunction and itemFunction.isActive) then local item = Tile(position):getTopVisibleThing(player) if(not item or not item:isItem()) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Item not found.") return false end if(itemFunction.targetFunction(item, split[2])) then position:sendMagicEffect(CONST_ME_MAGIC_GREEN) else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You cannot add that attribute to this item.") end elseif(creatureFunction and creatureFunction.isActive) then local creature = Tile(position):getTopCreature() if(not creature or not creature:isCreature()) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Creature not found.") return false end if(creatureFunction.targetFunction(creature, split[2])) then position:sendMagicEffect(CONST_ME_MAGIC_GREEN) else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You cannot add that attribute to this creature.") end elseif(playerFunction and playerFunction.isActive) then local targetPlayer = Tile(position):getTopCreature() if(not targetPlayer or not targetPlayer:getPlayer()) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Player not found.") return false end if(playerFunction.targetFunction(targetPlayer, split[2])) then position:sendMagicEffect(CONST_ME_MAGIC_GREEN) else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You cannot add that attribute to this player.") end else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Unknow attribute.") end return false end Credito: Darkhaos, por ter adptado para lua WibbenZ, por ter adptado para TFS 1.x  
     
  2. Thanks
    VictorWEBMaster deu reputação a jb2 em [Gesior] Widget Top Level BOX   
    Atendendo ao pedido do usuário conforme o post:




    Para quem gostaria de ter um Widget BOX Igual a este em seu site:



    1º Baixe o arquivo:




    Virus Total:




    2º Extraia os arquivos na pasta do seu layout.

    3º Abra layout.php e procure por:


  3. Thanks
    VictorWEBMaster recebeu reputação de Holograma em Ao criar conta no site não conecta no servidor   
    ALTER TABLE `accounts` ADD `language` TEXT NOT NULL AFTER `id`; Execute isso no banco de dados (phpmyadmin) e veja se resolve.
  4. Thanks
    VictorWEBMaster recebeu reputação de Emooooo em [Resolvido] AJUDA NESSE RING   
    Pior que eu nao manjo, teria que ver source e perde um tempo... Queria ajudar, vamos ver alguém que saiba...
  5. Upvote
    VictorWEBMaster deu reputação a FlamesAdmin em [OPEN-SOURCE] POKEMASTERX   
    usa o 1.7.3 ou 1.7.4 @Kevin Vittar
  6. Upvote
    VictorWEBMaster recebeu reputação de Taiger em [OPEN-SOURCE] POKEMASTERX   
    Ví que muitos precisam do banco de dados mais leve. Então ai vai...
    pokemon2.rar
  7. Upvote
    VictorWEBMaster recebeu reputação de Vini Original em Ao criar conta no site não conecta no servidor   
    ALTER TABLE `accounts` ADD `language` TEXT NOT NULL AFTER `id`; Execute isso no banco de dados (phpmyadmin) e veja se resolve.
  8. Upvote
    VictorWEBMaster recebeu reputação de Walox em Como configurar o Znote para Poketibia   
    1 - Você precisa ver se ao criar o personagem com o account manager ele não gera nenhuma storage para o player e criando pelo site ele não atribua isto.
     
    2 - A paradinha do discord você precisa ver no console do navegador (inspecionar elemento -> console) veja se não gera nenhum erro quanto a isto.
     
    3 - Vá até o arquivo de estilo .css do seu layout, procure por body ou no estilo que atribua o background na página e coloque: background-size: cover;
  9. Thanks
    VictorWEBMaster deu reputação a Yan Liima em Ajuda Urgente (Alguem sabe?)   
    Além de scripts, mexo com sites também. Isso dai é bestera, só ajeitar direitinho que roda sem xD. E na pasta config do site já da pra por um .htaccess para proibir o acesso de terceiros. No caso dele, não estava no config...
    .htaccess.rar
  10. Upvote
    VictorWEBMaster recebeu reputação de andrefelphes em [MODERN ACC] Modern ACC - Latest Updates   
    Olá pessoal, hoje venho trazer o v3 da atualização do Modern AAC do ilustre Stian... Bom essas são as atualizações que faço para deixar "em dia" o mesmo. Ainda falta muitas coisas, mas com o layout e páginas 100%, agora começa as novidades... Atualizações toda semana! :3  
     
    Informações:
    v1
    Arrumado algumas páginas
    Layout modificado
    Bootstrap inserido
    Traduzido algumas partes do front end
    Mais leve
    Contém psd do topov2
    Páginas melhoradas
    Traduzido 85% da front end
    System Guild Fixed implantado NO ERROS
    System Shop Fixed implato NO ERROS
    Bugs encontrados retirados
    Melhorado quase 80% a mais do que na v0.1v3
    Páginas revisadas novamente
    Novo layout, fixado como padrão do Modern por Avuenja
    Shop revisado NO ERROS
    Guilds revisada NO ERROS
    Bootstrap atualizado e personalizado
    Códigos desnecessários retirados [alguns] 
    Imagens:


     
    Download:
    Modern V3 Scan:
    Modern V3 Créditos:
    Modern AAC Team Avuenja  
     
  11. Upvote
    VictorWEBMaster deu reputação a Marco Oliveira em Houses.php com images   
    Download: mega.nz
    houses.php: pastebin
  12. Upvote
    VictorWEBMaster recebeu reputação de worldboss em [GESIOR] VictorWEBMaster 2019v   
    REMOVIDO
  13. Thanks
    VictorWEBMaster recebeu reputação de Rafiinha18 em [GESIOR] VictorWEBMaster 2019v   
    REMOVIDO
  14. Upvote
    VictorWEBMaster recebeu reputação de Supot em [GESIOR] VictorWEBMaster 2019v   
    REMOVIDO
  15. Upvote
    VictorWEBMaster recebeu reputação de freezing em [MODERN ACC] Modern ACC - Latest Updates   
    Olá pessoal, hoje venho trazer o v3 da atualização do Modern AAC do ilustre Stian... Bom essas são as atualizações que faço para deixar "em dia" o mesmo. Ainda falta muitas coisas, mas com o layout e páginas 100%, agora começa as novidades... Atualizações toda semana! :3  
     
    Informações:
    v1
    Arrumado algumas páginas
    Layout modificado
    Bootstrap inserido
    Traduzido algumas partes do front end
    Mais leve
    Contém psd do topov2
    Páginas melhoradas
    Traduzido 85% da front end
    System Guild Fixed implantado NO ERROS
    System Shop Fixed implato NO ERROS
    Bugs encontrados retirados
    Melhorado quase 80% a mais do que na v0.1v3
    Páginas revisadas novamente
    Novo layout, fixado como padrão do Modern por Avuenja
    Shop revisado NO ERROS
    Guilds revisada NO ERROS
    Bootstrap atualizado e personalizado
    Códigos desnecessários retirados [alguns] 
    Imagens:


     
    Download:
    Modern V3 Scan:
    Modern V3 Créditos:
    Modern AAC Team Avuenja  
     
  16. Upvote
    VictorWEBMaster recebeu reputação de freezing em [Modern AAC] Dragon Ball 8.54   
    Muito obrigado por compartilhar conosco seus wesites Junior!!!
  17. Upvote
    VictorWEBMaster recebeu reputação de PobrePreto em [GESIOR] VictorWEBMaster 2019v   
    REMOVIDO
  18. Upvote
    VictorWEBMaster recebeu reputação de andrefelphes em [GESIOR] VictorWEBMaster 2019v   
    REMOVIDO
  19. Upvote
    VictorWEBMaster recebeu reputação de douglera21 em [GESIOR] VictorWEBMaster 2019v   
    REMOVIDO
  20. Upvote
    VictorWEBMaster recebeu reputação de Belmont em [Resolvido] Remover função do gesior   
    function noLeftClick() { if (event.button==1) { alert('You can NOT Left-Click on this page -- but you CAN Right-Click.') } } document.onmousedown=noLeftClick Cola dentro do <head></head> com a tag <script></script>
     
    google faz bem
  21. Thanks
    VictorWEBMaster deu reputação a Gengo em [Resolvido] Widget Castle Gesior   
    Bom o layout do Widget não é comigo, vou deixar para o mestre @VictorWEBMaster, mas para pegar o nome da Guild basta utilizar essa essa linha, do resto é só design.
    $guildName = $SQL->query('SELECT name FROM `guilds` WHERE id = (SELECT value FROM global_storage WHERE global_storage.key = 100006)')->fetch()['name'];  
  22. Thanks
    VictorWEBMaster deu reputação a Belmont em [Resolvido] Pedestal Online não estar sincronizado   
    Já consegui resolver brother. Para quem estar com o mesmo problema es aqui a solução.
    1 - layouts/tibiacom/layout.php:
    Verifique o seu código, substitua pelo código acima.
    O nome do monstro no pedestal é só alterar também no lugar de "/images/hellhound.gif".
    @VictorWEBMaster Se puder me ajudar neste tópico aqui 
     
  23. Thanks
    VictorWEBMaster deu reputação a Gengo em [Resolvido] Widget TopLevel Gesior   
    Acho que tenho o que você precisa, só vai faltar as outifit mostrando do lado.
    Para instalar creio que é bem simples, então vamos lá.
     
    1º Abra a pasta do seu gesior e vá em /layouts/tibiacom/layout.php, e caso você já tenha um TopLevel substitua por esse trecho:
     
    E já estará funcionando como no meu:

     
    Vou deixar o link das imagens utilizada para colocar no seu devido diretório:
     
    Se ficar meio confuso deixo aqui o meu arquivo layouts.php inteiro para você dar uma olhada e ver se orienta você.
     
    Bom acho que é isso que você quer, espero ter ajudado.
  24. Thanks
    VictorWEBMaster recebeu reputação de flaviorytor12 em [Modern Acc] Postando Noticia E Dando Erro [Ajuda]   
    Tente este, vi melhor..
    http://localhost/index.php/admin
     
    Caso não funcione novamente, verifique as paginas de administração do modern acc.
  25. Upvote
    VictorWEBMaster recebeu reputação de Stigal em [Resolvido] Account não salvando GesiorACC Ubuntu 16.04   
    Verifique o banco de dados se está completo compatível com a versão do site e também com o OT...
    Aconselho você rodar o Apache com a função debug ativa.

    Dica:
    Abra o index.php principal do site, após o <?PHP coloque 
    error_reporting(E_ALL); ini_set('display_errors', 1); Vai aparecer todas as imperfeições do site
  • Quem Está Navegando   0 membros estão online

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