Ir para conteúdo

Qwizer

Visconde
  • Total de itens

    351
  • Registro em

  • Última visita

  • Dias Ganhos

    9

Tudo que Qwizer postou

  1. abre o config.lua do seu ot e add passwordType = "sha1" abaixo do mysqlSock = ""
  2. depois do ultimo function onCastSpell(cid, var) add doPlayerSetPzLocked(cid, true) testei aqui e funcionou.
  3. local condition_infight = createConditionObject(CONDITION_INFIGHT) setConditionParam(condition_infight, CONDITION_PARAM_TICKS, -1) doAddCondition(cid, condition_infight) depois do oncastspell deve resolver.
  4. amigo você só entra pelo ip local, únicos que entra pelo fixo são os players externos.
  5. Qwizer

    Mw e Wild

    disponha, status mudado para resolvido.
  6. Qwizer

    Mw e Wild

    voce tem as sources ? se tiver e so abrir o const.h e procurar ITEM_MAGICWALL_SAFE e ITEM_WILDGROWTH_SAFE trocar pelo id que quer e compilar novamente.
  7. Qwizer

    Mw e Wild

    elas estão ficando com o scroll e a alavanca no chao e? kk
  8. Ultima atualização dessa versão saindo essa semana, próxima atualização já estará na versão 1.2.
  9. abaixo de : <?php if(!defined('INITIALIZED')) exit; add // top kills - guilds $main_content .= '<center><div class="NewsHeadline"> <div class="NewsHeadlineBackground" style="background-image:url(' . $layout_name . '/images/news/newsheadline_background.gif);"> <table border="0"> <tr> <td style="text-align: center; font-weight: bold;"> <font color="white">Most powerfull guilds</font> </td> </tr> </table> </div> </div> <table border="0" cellspacing="3" cellpadding="4" width="100%"><tr>'; foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, COUNT(`g`.`name`) as `frags` FROM `players` p LEFT JOIN `player_deaths` pd ON `pd`.`killed_by` = `p`.`name` LEFT JOIN `guild_membership` gm ON `p`.`id` = `gm`.`player_id` LEFT JOIN `guilds` g ON `gm`.`guild_id` = `g`.`id` WHERE `g`.`id` > 0 AND `pd`.`unjustified` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 4;') as $guild) $main_content .= '<td style="width: 25%; text-align: center;"><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '"><img src="guild_image.php?id=' . $guild['id'] . '" width="64" height="64" border="0"/> <br />' . $guild['name'] . '</a><br />' . $guild['frags'] . ' kills </td>'; $main_content .= '</tr></table></center>';
  10. Qwizer

    Spells

    function onSay(cid, words, param) local count = getPlayerInstantSpellCount(cid) local text = "" local t = {} for i = 0, count - 1 do local spell = getPlayerInstantSpellInfo(cid, i) if spell.level ~= 0 then if spell.manapercent > 0 then spell.mana = spell.manapercent .. "%" end table.insert(t, spell) end end table.sort(t, function(a, b) return a.level < b.level end) local prevLevel = -1 for i, spell in ipairs(t) do local line = "" if prevLevel ~= spell.level then if i ~= 1 then line = "\n" end line = line .. "Spells for Level " .. spell.level .. "\n" prevLevel = spell.level end text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n" end doShowTextDialog(cid, 2175, text) return TRUE end
  11. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_STUN) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 1.0, 0) function onCastSpell(cid, var) local target = variantToNumber(var) doTargetCombatCondition(0, target, exhausted, CONST_ME_MAGIC_RED) local exhausted = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhausted, CONDITION_PARAM_TICKS,4000) doCreatureSetNoMove(target, true) addEvent(doCreatureSetNoMove, 5000, target, false) return doCombat(cid, combat, var) end tente com isso.
  12. Qwizer

    Spells

    OT/data/talkactions/scripts cria um arquivo com nome spells.lua function onSay(cid, words, param) local count = getPlayerInstantSpellCount(cid) local text = "" local t = {} for i = 0, count - 1 do local spell = getPlayerInstantSpellInfo(cid, i) if spell.level ~= 0 then if spell.manapercent > 0 then spell.mana = spell.manapercent .. "%" end table.insert(t, spell) end end table.sort(t, function(a, b) return a.level < b.level end) local prevLevel = -1 for i, spell in ipairs(t) do local line = "" if prevLevel ~= spell.level then if i ~= 1 then line = "\n" end line = line .. "Spells for Level " .. spell.level .. "\n" prevLevel = spell.level end text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n" end doShowTextDialog(cid, 2175, text) return TRUE end depois registre no xml: <talkaction words="!spells" script="spells.lua" />
  13. Qwizer

    BUG SSA Charges

    você tem que ir no Monster dele e mudar a quantidade que vai dropar.
  14. amigo não tem muito segredo a forma mais simples disso e você editar o mapa na área do Boss você coloca zona pvp enf. mais pratico do que fazer script.
  15. da pra fazer isso nesse sistema ae, e só adicionar.
  16. http://www.xtibia.com/forum/topic/151636-simple-task-30/
  17. então usa, ja que o sistema dele não usa promotion e sim set vocation. $vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight', 5 => 'Master Sorcerer (vip)', 6 => 'Elder Druid (vip)', 7 => 'Royal Paladin (vip)', 8 => 'Elite Knight (vip)');
  18. --[[ by vodkart ]]-- function onLogin(cid) if isVip(cid) == TRUE then setPlayerPromotion(cid, 2) elseif isVip(cid) == FALSE and getVipTime(cid) == 0 then setPlayerPromotion(cid, 1) end return TRUE end ou se preferir $vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight', 9 => 'Master Sorcerer (vip)', 10 => 'Elder Druid (vip)', 11 => 'Royal Paladin (vip)', 12 => 'Elite Knight (vip)'); troque seu script lua por este.
  19. amigo verifica se o chares com vip estão com promotion 2 ou com as vocações das promotion.
  20. no seu config.php a parte das voc deixa assim $vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); $vocation_name[0][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); $vocation_name[0][2] = array(1 => 'Master Sorcerer (vip)', 2 => 'Elder Druid (vip)', 3 => 'Royal Paladin (vip)', 4 => 'Elite Knight (vip)');
  21. sim, por isso que recomendo linux, vou fazer umas verificações a conseguir umas dlls melhores para ele.
  22. a sim, ate temos ums ake funciona porem tem uns bot que se alterar o nome do exe pra Tibia volta a funciona estou procurando um meio de bloquear a alteração de nome do arquivo.
  • Quem Está Navegando   0 membros estão online

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