Ir para conteúdo

Antipush

Membro
  • Registro em

  • Última visita

  1. Rodrigo94 reagiu a uma resposta no tópico: [MODS] Cast on/off em OTX! 8.60
  2. mister kill lord começou a seguir Antipush
  3. Antipush reagiu a uma resposta no tópico: Mudar Script
  4. Antipush reagiu a uma resposta no tópico: GLOBAL SAVE [REINICIAR]
  5. Antipush reagiu a uma resposta no tópico: (Resolvido)TALKACTIONS 0.4
  6. já passei por esse erro, são as magias de conjure e uma configuração nas house tile
  7. apt-get install gdb cd /home/otserv/ gdb tfs run
  8. Antipush postou uma resposta no tópico em Suporte Tibia OTServer
    já estou testando.
  9. Antipush reagiu a uma resposta no tópico: Tfs 0.4
  10. Antipush reagiu a uma resposta no tópico: Derrubando meu ot!
  11. Antipush postou uma resposta no tópico em Suporte Tibia OTServer
    sim
  12. Antipush postou uma resposta no tópico em Suporte Tibia OTServer
    Alguém Sabe sobre algo ? Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff2aa6700 (LWP 25884)] 0x0000000000664358 in __gnu_cxx::__ops::_Iter_equals_val<Player const* const>::operator()<__gnu_cxx::__normal_iterator<Player* const*, std::vector<Player*, std::allocator<Player*> > > > (this=0x7ffff2aa57c0, __it=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/c++/4.9/bits/predefined_ops.h:191 warning: Source file is more recent than executable. 191 { return *__it == _M_value; } (gdb) Quit
  13. Antipush postou uma resposta no tópico em Suporte Tibia OTServer
    upgrade actions upgrand.lua tag <!--<action itemid="8300" event="script" value="upgrade.lua"/>-->
  14. Antipush postou uma resposta no tópico em Suporte Tibia OTServer
    --[[ PERFECT UPGRADE SYSTEM 2.0 Criado por Carlos É proibido a venda ou a cópia sem os devidos créditos desse script. ]]-- UpgradeHandler = { levels = { [1] = {100, false, false}, [2] = {90, false, false}, [3] = {75, false, false}, [4] = {60, true, false}, [5] = {45, true, false}, [6] = {30, true, false}, [7] = {25, true, false}, [8] = {20, true, false}, [9] = {15, true, false}, [10] = {5, true, false} }, broadcast = 7, attributes = { ["attack"] = 2, ["defense"] = 2, ["armor"] = 2 }, message = { console = "{Upgrade System} Refinando %s para o level adiante você tem %s%% de conseguir.", success = "{Upgrade System} Você conseguiu Refinar %s para o level +%s.", fail = "{Upgrade System} Você falhou a sua refinação.", downgrade = "{Upgrade System} Seu item %s voltou para o level +%s.", erase = "{Upgrade System} O level da refinação %s foi apagado.", maxlevel = "{Upgrade System} O item %s ja esta no level maximo.", notupgradeable = "{Upgrade System} Este item não é refinavel.", broadcast = "{Upgrade System} The player %s was successful in upgrading %s to level +%s.\nCongratulations!!", invalidtool = "{Upgrade System} Este não é um item de refinação valido.", toolrange = "{Upgrade System} Você so pode usar o refinamento do level +%s ate +%s." }, tools = { [8300] = {range = {0, 10}, info = {chance = 0, removeable = true}}, }, isEquipment = function(self) local weaponType = self:getItemWeaponType() return ((weaponType > 0 and weaponType < 7) or self.item.armor ~= 0) end, setItemName = function(self, name) return doItemSetAttribute(self.item.uid, "name", name) end, chance = function(self) local chances = {} chances.upgrade = (self.levels[self.item.level + 1][1] or 100) chances.downgrade = (self.item.level * 5) chances.erase = (self.item.level * 3) return chances end } function UpgradeHandler:new(item) local obj, ret = {} obj.item = {} obj.item.level = 0 obj.item.uid = item.uid for key, value in pairs(getItemInfo(item.itemid)) do obj.item[key] = value end ret = setmetatable(obj, {__index = function(self, index) if _G[index] then return (setmetatable({callback = _G[index]}, {__call = function(self, ...) return self.callback(item.uid, ...) end})) else return UpgradeHandler[index] end end}) if ret:isEquipment() then ret:update() return ret end return false end function UpgradeHandler:update() self.item.level = (tonumber(self:getItemName():match("%+(%d+)")) or 0) end function UpgradeHandler:refine(uid, item) if not self.item then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.notupgradeable) return "miss" end local tool = self.tools[item.itemid] if(tool == nil) then doPlayerSendTextMessage(uid, MESSAGE_EVENT_DEFAULT, self.message.invalidtool) return "miss" end if(self.item.level > #self.levels) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.maxlevel:format(self.item.name)) return "miss" end if(self.item.level < tool.range[1] or self.item.level >= tool.range[2]) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.toolrange:format(unpack(tool.range))) return "miss" end local chance = (self:chance().upgrade + tool.info.chance) doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.console:format(self.item.name, (self.item.level + 1), math.min(100, chance))) if(tool.info.removeable == true) then doRemoveItem(item.uid, 1) end if chance * 100 > math.random(1, 10000) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_ORANGE, self.message.success:format(self.item.name, (self.item.level + 1))) if (self.item.level + 1) >= self.broadcast then end self:setItemName((self.item.level > 0 and self:getItemName():gsub("%+(%d+)", "+".. (self.item.level + 1)) or (self:getItemName() .." +1"))) for key, value in pairs(self.attributes) do if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then doItemSetAttribute(self.item.uid, key, (self.item.level > 0 and getItemAttribute(self.item.uid, key) or self.item[key]) + value) end end return "success" else if(self.levels[self.item.level][3] == true and (self:chance().erase * 100) > math.random(1, 10000)) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.erase:format(self.item.name)) self:setItemName(self.item.name) for key, value in pairs(self.attributes) do if self.item[key] > 0 then doItemSetAttribute(self.item.uid, key, self.item[key]) end end elseif(self.levels[self.item.level][2] == true and (self:chance().downgrade * 100) > math.random(1, 10000)) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.downgrade:format(self.item.name, (self.item.level - 1))) self:setItemName((self.item.level == 1 and self.item.name or self:getItemName():gsub("%+(%d+)", "+".. (self.item.level - 1)))) for key, value in pairs(self.attributes) do if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then doItemSetAttribute(self.item.uid, key, (self.item[key] + value * (self.item.level - 1))) end end else doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.fail:format(self.item.name, (self.item.level + 1))) end return "fail" end end
  15. Antipush reagiu a uma resposta no tópico: Erro na distro ao logar
  16. Antipush reagiu a uma resposta no tópico: Erro ao compilar Source !
  17. Antipush reagiu a uma resposta no tópico: Esta dando Error ao salvar o servidor
  18. @ADM Argel sim ja configurei o config.php e ja ate troquei pelo que uso mas o erro continua poste seu config.lua por favor
  19. ao tenta instala ele Error occured! Error ID: #E-3More info: There is no key mysqlHost in server configErrors list: INFO - use server config cache: false File: /var/www/html/system/load.database.php Line: 15File: /var/www/html/index.php Line: 21
  20. Antipush postou uma resposta no tópico em Formação de Equipe
    @erilandio3 entra em contato
  21. local freeBlessMaxLevel = 150 function onLogin(cid) if not isPlayer(cid) then return true end if(getPlayerLevel(cid) <= freeBlessMaxLevel and not getPlayerBlessing(cid,1)) then for b=1, 5 do doPlayerAddBlessing(cid, b) end doCreatureSay(cid, 'Voce tem bless gratuita, porque seu level é menor que 150', TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPosition(cid), CONST_ME_HOLYDAMAGE) elseif(getPlayerBlessing(cid,1)) then doCreatureSay(cid, 'Você já tem bless!', TALKTYPE_ORANGE_1) else doCreatureSay(cid, 'Você não tem bless. Digite !bless cuidado pode dar exausted', TALKTYPE_ORANGE_1) end return true end
  22. Antipush postou uma resposta no tópico em Formação de Equipe
    Estou a Procura De Equipe Para Abrir Um Dos Dois Projetos Baiak Que Tenho conhecido como - [Realbaiak, e Tic Tac War] Os dois servidores possuem sistemas únicos e atualizados - interessado ? chama skype : antipush037 ou inbox
  23. memoria da vps é pouca para o mapa
  24. @helix758 ta na mão irmão tag
  25. helix758 reagiu a uma resposta no tópico: Sistema vip na conta toda com item!
  26. Da Rep+ se ajudei, vamos lá cria o arquivo em actions vip1dia.lua tag swebconect.com.br = melhores vps com suporte no opentibia. skype = antipush037

Informação Importante

Confirmação de Termo