Ir para conteúdo
Banner com Efeitos

buloks

Membro
  • Registro em

  • Última visita

Tudo que buloks postou

  1. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    Como faço para configurar 2 dias premmy ao criar account pelo site do znote? eu tenho certo comando $config['site']['newaccount_premdays'] = 2; // how many days receive new account mais nao sei onde encaixa-lo
  2. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    !up
  3. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    Ea galera entao to com o seguinte problema servidor 10.37, a magia exura gran mas res ta healando bixos, já procurei em muitos lugares não achei solução quem poder ajudar vai ter meu rep+ grato
  4. ainda assim estou tendo dificuldades com a distro, está fechando em menos de 5 minutos e o vps é de 4gb de memoria conexão de 100mbs
  5. Estou com problemas para colocar meu servidor 10.37 online com o site znote aac: obs: se alguem souber algum outro website que funcione com a tfs 1.0 passar por favor.
  6. funcionou parceiro vlw, agora ta com esse segundo erro query: select 'reason', 'expires_at', (select 'name' from 'player' where 'id' = banned_by') as 'name' from 'ip_bans' where 'ip' = 16777343 message: table 'ot1037.ip_bans' doesn't exist.
  7. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    Estou com um problema no meu sistema de guild points, ele deveria efetuar um debito de 5 points para todos os players online no momento que o comando for usado, porém muitas vezes apenas 3,2 ou menos ganham os points, segue o script: GuildPointsConfigs = { ExecuteIntervalHours = 12, NeedPlayersOnline = 5, NeedDiferentIps = 5, MinLevel = 300, AddPointsForAcc = 5 } function getGuildPlayersValidAccIDS(GuildID, MinLevel) local RanksIDS = {} local AccsID = {} local ValidAccsID = {} Query1 = db.getResult("SELECT `id` FROM `guild_ranks` WHERE guild_id = '".. GuildID .."'") if(Query1:getID() == -1) then return ValidAccsID end for i = 1, Query1:getRows() do table.insert(RanksIDS, Query1:getDataInt("id")) Query1:next() end Query2 = db.getResult("SELECT `account_id` FROM `players` WHERE `rank_id` IN (".. table.concat(RanksIDS, ', ') ..") AND `level` >= ".. MinLevel .."") if(Query2:getID() == -1) then return ValidAccsID end for i = 1, Query2:getRows() do local AccID = Query2:getDataInt("account_id") if #AccsID > 0 then for k = 1, #AccsID do if AccID == AccsID[k] then AddAccList = false break end AddAccList = true end if AddAccList then table.insert(AccsID, AccID) end else table.insert(AccsID, AccID) end Query2:next() end Query3 = db.getResult("SELECT `id` FROM `accounts` WHERE `guild_points_stats` = 0 AND `id` IN (".. table.concat(AccsID, ', ') ..")") if(Query3:getID() == -1) then return ValidAccsID end for i = 1, Query3:getRows() do local AccID = Query3:getDataInt("id") if #ValidAccsID > 0 then for k = 1, #ValidAccsID do if AccID == ValidAccsID[k] then AddAccList = false break end AddAccList = true end if AddAccList then table.insert(ValidAccsID, AccID) end else table.insert(ValidAccsID, AccID) end Query3:next() end return ValidAccsID end function onSay(cid, words, param, channel) if(getPlayerGuildLevel(cid) == 3) then local GuildID = getPlayerGuildId(cid) Query = db.getResult("SELECT `last_execute_points` FROM `guilds` WHERE id = '".. GuildID .."'") if(Query:getID() == -1) then return true end if Query:getDataInt("last_execute_points") < os.time() then local GuildMembers = {} local GuildMembersOnline = {} local PlayersOnline = getPlayersOnline() for i, pid in ipairs(PlayersOnline) do if getPlayerGuildId(pid) == GuildID then if getPlayerLevel(pid) >= GuildPointsConfigs.MinLevel then table.insert(GuildMembersOnline, pid) end end end if #GuildMembersOnline >= GuildPointsConfigs.NeedPlayersOnline then local IPS = {} for i, pid in ipairs(GuildMembersOnline) do local PlayerIP = getPlayerIp(pid) if #IPS > 0 then for k = 1, #IPS do if PlayerIP == IPS[k] then AddIPList = false break end AddIPList = true end if AddIPList then table.insert(IPS, PlayerIP) end else table.insert(IPS, PlayerIP) end end if #IPS >= GuildPointsConfigs.NeedDiferentIps then local ValidAccounts = getGuildPlayersValidAccIDS(GuildID, GuildPointsConfigs.MinLevel) db.executeQuery("UPDATE `guilds` SET `last_execute_points` = ".. os.time() + (GuildPointsConfigs.ExecuteIntervalHours * 3600) .." WHERE `guilds`.`id` = ".. GuildID ..";") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "".. #ValidAccounts .." Players received points") if #ValidAccounts > 0 then db.executeQuery("UPDATE `accounts` SET `guild_points` = `guild_points` + " .. GuildPointsConfigs.AddPointsForAcc .. ", `guild_points_stats` = ".. os.time() .." WHERE `id` IN (" .. table.concat(ValidAccounts, ',') .. ");") for i, pid in ipairs(GuildMembersOnline) do local PlayerMSGAccID = getPlayerAccountId(pid) for k = 1, #ValidAccounts do if PlayerMSGAccID == ValidAccounts[k] then doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, "You received ".. GuildPointsConfigs.AddPointsForAcc .." guild points.") break end end end end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Only ".. #IPS .." players are valid, you need ".. GuildPointsConfigs.NeedDiferentIps .." players with different ips.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Has only ".. #GuildMembersOnline .." players online you need ".. GuildPointsConfigs.NeedPlayersOnline .." players online at least from level ".. GuildPointsConfigs.MinLevel ..".") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "The command can only be run once every ".. GuildPointsConfigs.ExecuteIntervalHours .." hours.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Only guild leader can request points.") end return true end
  8. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    eu dei /reload spells nao funcionou talvez derrube o servidor hoje ai direi se quando relogar a distro funcionou
  9. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    UP estou precisando muito disso, sei que deve ser facil arrumar.
  10. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    exatamente segue a magia no spells.lua: <instant name="Sharpshooter" words="utito tempo san" lvl="60" mana="450" prem="0" aggressive="0" selftarget="1" exhaustion="2000" groups="3,2000" icon="135" needlearn="0" event="script" value="support/sharpshooter.lua"> <vocation id="3;7"/> </instant>
  11. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    nao funcionou ;( meu servidor nao possui sources, hospedado em windows 64bits
  12. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    entao galera, essa magia funciona normalmente quanto a questao de aumento das skills, porem quando usada nao esta impossibilitando o jogador de healar, ou seja msm usando ela o jogador ainda consegue se curar, entao o que preciso é que quando usava trave o heal. darei rep+ a quem conseguir fazer isso, vlw; local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, 10000) setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCEPERCENT, 150) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setCombatCondition(combat, condition) local speed = createConditionObject(CONDITION_PARALYZE) setConditionParam(speed, CONDITION_PARAM_TICKS, 10000) setConditionFormula(speed, -0.7, 56, -0.7, 56) setCombatCondition(combat, speed) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
  13. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    Bom galera tudo certo? entao preciso de ajuda para manipular apenas a mana potion, quero que ela fique infinta, mais apenas ela e nao os demais potions, eu troquei no arquivo potions.lua o transforme de use para que depois que use ela volte a virar uma mana potion, mais esta bugando a distro depois de um certo tempo. entao queria ajuda no script dela para que a mana potion nao suma. local MIN = 100 local MAX = 160 local EMPTY_POTION = 7636 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) pot_count = getPlayerItemCount(cid, EMPTY_POTION) doPlayerRemoveItem(cid, EMPTY_POTION, pot_count) doPlayerAddItem(cid, EMPTY_POTION, pot_count) return TRUE end
  14. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    Galera Boa noite, eu encontrei esse script para colocar mounts no gesior LINK REMOVIDO Eu coloquei tudo certinho como mostra o script e não deu erro algum no meu site ( http://website-linesoft.servegame.com/ ), porem ele não aparece, creio que esteja faltando um condigo para adicionar nos layots.php, alguem pode me ajudar com isso ?
  15. Na verdade se eu deixa iscreature, todos os monstros bugam na hora de morrer.
  16. Creaturescripts: function onKill(cid, target, lastHit) local creature = questCreatures[getCreatureName(target):lower()] if creature then if isPlayer(target) or isSummon(target) then return true end -------------------------------------------------- Creaturescripts/killing_in_the_name_of function onKill(cid, target, lastHit) if(isPlayer(target) == true) then return true end
  17. Galera é o seguinte, nada no meu ot está contabilizando, quando eu pesso uma task pro grizzly adams ele a entrega certinho, mais quando eu mato algun monster especificado na task ela não atualiza é como se eu não tivesse matado nenhum, ja tentei criar outro npc com a mesma função fica tudo certo porem o mesmo erro ocorre. e quanto as frags na warsysten tmb, em uma war de 5 frags, pode passar 20 mortes que ele n contabiliza, alguem me ajuda por favor.
  18. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    up nao é possivel que ngn saiba fazer esse client ..................
  19. buloks postou uma resposta no tópico em Suporte Tibia OTServer
    preciso de 1 client 9.86 ip: linesoft.servegame.com so é necessario que o client tenha o ip acima se conseguir ja agradeço mt
  20. meu eu sei usar o client creator, mais ve se entende a versao é 9.86 da ERRRORRR! nao é possivel criar um client por ele 9.86 podi testar, eu quero alguem que consiga fazer um client proprio para tibia 9.86
  21. da erro no rsa a versao é 9.86
  22. meu preciso de uma ajuda para criar um cliente proprio para meu server, sendo ele na versao 9.86 se alguem tiver como fazer ou me mandar o programa, site, tutorial etc agradeço obs: versao do ot 9.86
  23. Galera, Boa tarde. Estou com um problema faltal em meu otserver 9.86 que itens de todos os tipos como crystal coins,bolts,e muitos outros estão indo para os slosts das mãos eu queria saber se tem como corrigir esse problema. Agradeço desde já !

Informação Importante

Confirmação de Termo