Ir para conteúdo

hrubesch

Membro
  • Registro em

  • Última visita

Tudo que hrubesch postou

  1. eu tirei man, so qe nao da pra comprar itens, ele fala qe precisa ser maior que 0 a quantidade o que eu faço ajuda ae
  2. Preciso de ajuda, meu gesior esta fazendo clonagem de pontos, quando a galera escolhe um item e coloca na quantidade do item 999999999, o os ponto buga pro infinito e o cara faz o que quer com os ponto por favor me ajuda !!!!
  3. ESSE BUG AI É COM UTEVO RES OU UTEVO RES INA NAO ME LEMBRO O NOME DO BIXO, PELO DEBUG AI VC CONSEGUE VER O ERRO OUTFIT E O NUMERO DELE, É SO IR PESQUISANDO PELO ID DO MONSTRO NO GOOGLE QUE VC ACHA O ID E O NOME CORRETO, AI VAI NA PASTA DO SEU OT EM MONSTERS E APAGA O MONSTRO LA
  4. Me ajudem estou rodando o servidor em uma maquina linux, porem quando eu abro o cast com comando !cast ou !cast on , ele diz que abriu tudo certo, ai eu vou tentar entrar no cast que eu abri nao entra fica carregando e nao vai me ajudem!
  5. hrubesch postou uma resposta no tópico em Formação de Equipe
    Sou Mapper, nao possuo posts meus, porem ja editei muitos servidor, para conhecidos e tals... me garanto! Tambem, posso ajudar com a parte do PHOTOSHOP... de uma olhada em meu servidor : www.nymeraglobal.com
  6. Me ajudem por favor, tem um player no meu servidor ele fica zoando o ot, ele fica causando DEBUG nos player e mata eles... qual quer local ele faz isso nao é em nenhum tile nem parede nem antipush nada, ele causa o DEBUG em qualquer lugar... podem me ajudar ?? PORFAVOR SEGUE A IMAGEM DO ERRO AO ABRIR O TIBIA :
  7. Voce poderia me ajudar a adicionar esse Html, no meu site gesior? Exemplo, eu adiciono ele no site e quando eu clikar pra ele abrir no site meu, igual o codigo de confirmação ele abre a pagina com a interface dos pagamentos para efetuar, sera qe deu pra entender? Vou tenta explicar com fotos : 1 - Se vc pudesse tipo ao em vez dessa imagem de confirmaçao ficar a imagem do pagamento que vc disponibilizou aii. 2 - pra quando clicar no nome "Doação Pagseguro" ser redirecionado para a pagina de pagamento que vc disponibilizou... imagem a baixo
  8. Amigo voce poderia me ajudar a instalar o Site dele, na maquina linux? estou com maquina do otpanel, e nao sei instalar usando linux poderia me ajudar? SEGUE OS ERRO ABAIXO : Error occured! Error ID: #E-7More info: Cannot load class ConfigPHP, file ./classes/class.configphp.php doesn't existFile: /home/otserv/www/system/load.init.php Line: 14File: Unknown Line: UnknownFile: /home/otserv/www/classes/website.php Line: 47File: /home/otserv/www/classes/website.php Line: 55File: /home/otserv/www/system/load.init.php Line: 22File: /home/otserv/www/index.php Line: 18
  9. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    Meu Battlefield Está Com Error Que Players Do Mesmo Time Podem Se Atacar Como Ageito isso?
  10. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    Tipo Como Faço Para Usar Imagens Do Meu Gesior No Latest News Vamos Supoer Que Quero Da Uma Noticia e Quero Por Uma Letra Do Meu Gesior tipo images/letter/s.gif qual comando uso para a letra pegar?
  11. Vlw Manoooh Ajudo Muito!!! Outra Dúvida Rápida Você Sabe Como Eu Faço Para Quando Passar Em Um Determinado Tile Ganhar Uma Determinada Storage?
  12. Alguem Pode Ajudar Rapidao Tipo Meu Quest Log Ta Pegando Tudo Certo Mais Queria Saber Combo Botar Mais De 1 Mission Dentro De Um Quest Tipo QUando Abrir Quest Log Vai Ter Quest Tal Você Entra Ai Vai Ter Mission 1 Mission 2 Meu Script e Esse : <quest name="Extra Quest" startstorageid="50038" startstoragevalue="1"> <mission name="KKs" storageid="50038" startvalue="1" endvalue="1"> <missionstate id="1" description="Voce Completou a Quest Extra!"/> </mission>
  13. hrubesch postou uma resposta no tópico em Suporte OTServer Derivados
    Tipo Estou Usando Quest Log Só Que Tem Quest Que Tem Vários Bau Tipo Poi Ai QUeria Botar Poi Quest Mission 1 Mission 2 e Por Ai Vai o Que Preciso Mudar Nesse Script? </quest> <quest name="1kk Quest" startstorageid="50038" startstoragevalue="1"> <mission name="KKs" storageid="50038" startvalue="1" endvalue="1"> <missionstate id="2" description="Voce Completou a Quest Extra!"/> </mission> </quest>
  14. Tipo Os Players Logam No Meu Ot e Mesmo Que Deslogue No Who Is Online Do Meu Gesior Eles Continua Mostrando Eles Online Mesmo Estando Offline Alguem Ajuda??? 2° Coisa o Sistema De Mostrar Recorde Players Online Do Meu Gesior Não Sai De 1 Está Bugado Alguem Ajuda?? Meu Who Is Online & Recorde Do Xampp Ta Aew : records.php whoisonline.php
  15. Resolvido! Vlw
  16. Quando Crio Guild No Gesior Com o Char Online Ela Buga Quando Relogo No Jogo Não Mostra Que Ele Tem Guild e o SIte Buga Também Alguem Ajuda Aew?? Esse e Meu Guilds.php : guilds.php
  17. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    então como posso mudar pra detectar a vip account como premium days?
  18. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    Tipo Uso o Sistema Vip Do Monk 100% Certo Mais Só Queria Que Quando o Player Logasse a Conta La Nos Characters Na Hora De Escolher o Personagem Aparecesse Quantos Dias De Vip Account Restam. Alguem Ajuda Aew?
  19. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    blz botei true ja agora como faço para na hora que logar o char aparecer quantos dias de vip account falta?
  20. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    Tipo No Meu Server Tem o Sistema De Vip Tudo Certo Mais Só Que Quando Loga a Conta Aparece Isso Quero Que a Vip Fique Gratis e Ali Apareça Os Dias De Vip Account Como Faço?
  21. Tipo Meu Shop Está Com Um Bug Horrivel Já Estou Tentando Resolver Isso a Dias e Nada Ja Vi Vários Tutoriais e Nenhum Funciona Quando Eu Compro Um Item No Shop Ele Vem Infinitas Vezes Não Para De Chegar Nunca, Fui Olhar No Historico De Compras Lá Mostra Que o Item Foi Comprando e Não Foi Entregue Por Isso Ele Fica Sendo Enviado Sem Parar Como Posso Resolver Isso??
  22. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    Tipo Esses 2 Script é o Exp Potion e Dodge Eles Estão Certos Mais Para Usar Ambos e Preciso Clicar No Item e Usa No Char Eu Quero Que Seja Use Direto Deu Use o Item Sumiu e o Player Usou Alguem Modifica Pra Mim?? DODGE : local limite = 100 -- limite de dodge local storagedodge = 48092 -- storage do dodge function onUse(cid, item, fromPosition, itemEx, toPosition) doSendMagicEffect(fromPosition, CONST_ME_POFF) if getPlayerStorageValue(cid, storagedodge) == -1 then doPlayerSetStorageValue(cid, storagedodge, (getPlayerStorageValue(cid, storagedodge)) + 2) doPlayerSendCancel(cid, " DodgeSKILL:["..getPlayerStorageValue(cid, storagedodge).."/"..limite.."].") elseif getPlayerStorageValue(cid, storagedodge) >= -1 and getPlayerStorageValue(cid, storagedodge) <= limite then doPlayerSetStorageValue(cid, storagedodge, (getPlayerStorageValue(cid, storagedodge)) + 1) doPlayerSendCancel(cid, " DodgeSKILL:["..getPlayerStorageValue(cid, storagedodge).."/"..limite.."].") doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "Voce ja chego no maximo.DodgeSKILL:["..getPlayerStorageValue(cid, storagedodge).."/"..limite.."]") end return true end EXP POTION : <?xml version="1.0" encoding="UTF-8"?> <mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="XTibia.com"> <!-- Configs and Functions --> <config name="PotionExpConfigs"><![CDATA[ ------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSE configs = { time = 60, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 1}, costmana = {TRUE, mana = 0}, addrate = 20, -- Exp que vai adicionar em % removeonuse = TRUE } function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end CreatureEventChecker = function(event, ...) -- Colex if isCreature(arg[1]) then event(unpack(arg)) end end creatureEvent = function(event, delay, ...) -- Colex addEvent(CreatureEventChecker, delay, event, unpack(arg)) end function getPlayerExtraExpRate(cid) -- By MatheusMkalo return (getPlayerRates(cid)[8]-1)*100 end ]]></config> <!-- exppotion.lua --> <action itemid="8205" event="script"><![CDATA[ domodlib('PotionExpConfigs') if getPlayerStorageValue(cid, 62164) >= 1 then return doPlayerSendCancel(cid, "You are already taking effect from this item.") end if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use this item.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level " .. configs.needlvl.level .. " to use this item.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then return doPlayerSendCancel(cid, "You need " .. configs.costmana.mana .. " mana to use this item.") else doCreatureAddMana(cid, -configs.costmana.mana) end end if configs.removeonuse then doRemoveItem(item.uid, 1) end for i = configs.time*60, 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == configs.time*60 then creatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) doPlayerSendTextMessage(cid, 22, "Agora voce ira receber mais exp por matar os mosntros.") setPlayerStorageValue(cid, 62164, os.time()) creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0) return TRUE ]]></action> <creaturescript type="login" name="ExpPotion" event="script"><![CDATA[ domodlib('PotionExpConfigs') local time = configs.time if os.time()-getPlayerStorageValue(cid, 62164) < time *60 then doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0) for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) then creatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end end return TRUE ]]></creaturescript> </mod>
  23. hrubesch postou uma resposta no tópico em Suporte Tibia OTServer
    Meu Shop Está Bugado Quando Entro No Site e Compro Algo No Shop O Item Fica Sendo Entregue Infinitas Vezes Fui Olhar No Histórico De Compras Isso Está Ocorrendo Pois Lá Está Falando Que o Item Ainda Não Foi Entregue Sendo Assim o Item Continua Enviando Como Ageito isso????? REP++
  24. Quando Compro Algo Pelo Shop Do Meu Gesior o Item Fica Entregando Sem Parar Infinitas Vezes Alguem AJuda Aew ?? REP++ Globalevents/Script/Shop.lua : -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end Globalevents.Xml : <globalevent name="shop" interval="30000" script="shop.lua"/> Tipo Se For Possivel Tambem Mandem Os Comandos Para Eu Executar Na Database Para Apaga e Re-Criar As Tabelas Que o Shop Usa.
  25. Globalevents/Script/Shop.lua : -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end Globalevents.Xml : <globalevent name="shop" interval="30000" script="shop.lua"/> Tipo Se For Possivel Tambem Mandem Os Comandos Para Eu Executar Na Database Para Apaga e Re-Criar As Tabelas Que o Shop Usa. iai??

Informação Importante

Confirmação de Termo