Ir para conteúdo
  • Cadastre-se

Yan Liima

Héroi
  • Total de itens

    394
  • Registro em

  • Última visita

  • Dias Ganhos

    25

Tudo que Yan Liima postou

  1. Você tem a source? não né. Você teria que procurar uma na internet de preferencia uma igual a sua. Após isso você iria abrir ela no programa Dev Cpp. Na biblioteca game.cpp você iria procurar por: if(int(text.find(" ou isto: if (int(text.find(" Você iria achar com a palavra que está bloqueando no seu servidor, após achar é só remover a função. Compilar,mexer com sources pode parecer díficil para algumas pessoas. Mais seguindo os tutorais e tals é díficil não, e logo pega o jeito. Se preferir invez de sources procure uma distro já pronta que não t
  2. Procure no seu talkactions.xml: illegalWords Se não tiver amigo, concerteza está implementada na source. Você precisaria das sources para fazer a alteração.
  3. Deve ser no config.lua, procura lá que você acha. Acho que vai estar assim: advertisingBlock
  4. Estranho acabei de testar aqui e está funcionando perfeitamente. Ele conta todos os frags que houve no servidor, talvez no seu site não conta totalmente todos os frags...
  5. Bom era só trocar o level por frags. Vou ver o que posso fazer. Com base no script do @Vodkart, Tenta ai: Data/globalevents/script topfrags.lua function onThink(interval, lastExecution) local max, query = 5, db.getResult("SELECT `p`.`name` AS `name`, COUNT(`p`.`name`) as `frags` FROM `killers` k LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id` LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id` WHERE `k`.`unjustified` = 1 GROUP BY `name` ORDER BY `frags` DESC;") local str = "TOP "..max.." Frags:\n\n" if (query:getID() ~= -1) then k = 1
  6. Entendo, de qualquer forma está ai... Qualquer coisa só me chamar
  7. Apaga os 3 ultimos e só deixa o primeiro: /*Names of vocations as in database as samples. First key is world id and second vocation id.*/ $config['newchar_vocations'][0][1] = "Naruto Sample";
  8. Oks... Colocou ele no config.php? Exemplo: $config['newchar_vocations'][0][1] = "Naruto Sample"; // PRIMEIRO O MUNDO DEPOIS O ID DA VOCAÇÃO E O NOME.
  9. é só editar no create.php por o ID da vocação e o nome. system\application\views\create.php
  10. @helix758 Só por doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, 0)
  11. ??? Desnecessário esse comentário, se você sabe ele não é obrigado a saber. Pra isso que existe a área de Suporte. E serve para ajudar, não caçoar.
  12. No seu SQLITE execute essa Query: DROP TABLE IF EXISTS shop_history; CREATE TABLE shop_history ( `id` int(11) NOT NULL auto_increment, `to_name` varchar(255) NOT NULL default '0', `to_account` int(11) NOT NULL default '0', `from_nick` varchar(255) NOT NULL, `from_account` int(11) NOT NULL default '0', `price` int(11) NOT NULL default '0', `offer_id` int(11) NOT NULL default '0', `trans_state` varchar(255) NOT NULL, `trans_start` int(11) NOT NULL default '0', `trans_real` int(11) NOT NULL default '0', PRIMARY KEY (`id`) );
  13. O dele é uma alteração simples, o que eu te mandei foi da maneira que você queria, da algum erro na distro? Tente esse:
  14. Em movements/scripts/ crie um arquivo .lua e cole isto dentro: local teleport = { level = 1, posição = {x = 255, y = 255, z = 7} } function onStepIn(cid, item, position, fromPosition) if getPlayerLevel(cid) < teleport.level then doPlayerSendCancel(cid, 'Apenas jogadores level '.. teleport.level ..' podem entrar no teleport.') doTeleportThing(cid, fromPosition) else doTeleportThing(cid, teleport.posição) doPlayerSay(cid, "Bem Vindo a Sala de Hunts", TALKTYPE_ORANGE_1) end return true end Em movements.xml adicione: <movevent type="
  15. Simples: function onStepIn(cid, item, position, fromPosition) if isPlayer (cid) then doCreatureAddHealth (cid, -getCreatureHealth(cid)/100*99) doCreatureAddMana (cid, -getCreatureMana(cid)/100*99) end return true end
  16. Tenta ai: function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, 21, "Digite o comando correto.") return true end local t = string.explode(param, ",") player = getPlayerByName(t[1]) local condition = createConditionObject(CONDITION_MUTED) if(not t[2] or t[2] == '') then doPlayerSendTextMessage(cid, 21, "Digite o comando correto.") end if t[2] then time = tonumber(t[2]*60000) -- 10*1000 é 10 segundos. if(isPlayer(player) == TRUE and getPlayerGroupId(cid) > getPlayerGroupId(player) and getPlayerFlagValue(player, PLAYERFLAG_CANNOTBEMUTED) == false)
  17. @Talesigorvr ah é verdade, no caso teria que por para remover mais... Daquia pouco dou uma olhada @EDIT Concerteza o seu dara certo, desculpe. Quando eu tinha visto o seu eu acho que estava errado, mais tu editou e ficou correto. Eu também não conhecia essa função, tenho uma lista com 1140 funções. Essa concerteza vai entrar pra lista.
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo