
Tudo que Johncore postou
-
Urgente war no meu otserv 10.94 não acaba nunca
up
-
URGENTE jogadores donataram e recebem mensagem sem parar
UP
-
URGENTE jogadores donataram e recebem mensagem sem parar
Antes de testar seu script ele tava recebendo o item sim, o problema em questão é que ele recebe sem parar a mensagem: 09:33 >> Tibia Coins << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about 30 seconds to get it. Já testei com um char novo comprar itens, montarias e addons, antes e depois do seu script, está recebendo normalmente. Se um jogador sem pontos nenhum tentar comprar itens no shop pode chegar essa mensagem?
-
URGENTE jogadores donataram e recebem mensagem sem parar
O pior que todos os itens que ele comprou foram entregues. ele donatou ontem e os itens foram todos entregues, mas ai ele ta recebendo mensagem a todo momento! como se o shop diz que o jogador nao recebeu determinado item, mas ele já recebeu kkkkk ele ta reclamando que recebe a mensagem a todo momento.
-
URGENTE jogadores donataram e recebem mensagem sem parar
Coloquei lá pra testar, se dêr certo vou te dar rep+ concerteza! Tenho mais 1 problema, as Guerras no meu otserv não acabam, estão infinitamente! você sabe corrigir no Startup.lua isso ? Os jogadores estão informando que continuam recebendo sem parar a mensagem, porém antes ela era vermelha e agora é branca. 09:33 Lisa Simpson [288]: 09:33 >> Tibia Coins << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about 30 seconds to get it.
-
URGENTE WAR NO MEU OT ESTA INFINITA
up
-
Urgente war no meu otserv 10.94 não acaba nunca
AS guerras no meu servidor nunca acabam, quero limitar a 1 hora de guerra. meu Startup.lua está desa forma, como posso colocar pra limitar a 1 hora de guerra? db.asyncQuery('DELETE FROM `guild_wars` WHERE `status` = 0') darei REP+ meu startup.lua: local startupGlobalStorages = {GlobalStorage.TheAncientTombs.AshmunrahSwitchesGlobalStorage, GlobalStorage.TheAncientTombs.DiprathSwitchesGlobalStorage, GlobalStorage.TheAncientTombs.ThalasSwitchesGlobalStorage} function onStartup() math.randomseed(os.mtime()) print('>> Servidor feito por MitSuig!') print(string.format('>> Loaded %d npcs and spawned %d monsters.\n>> Loaded %d towns with %d houses in total.', Game.getNpcCount(), Game.getMonsterCount(), #Game.getTowns(), #Game.getHouses())) for i = 1, #startupGlobalStorages do Game.setStorageValue(startupGlobalStorages, 0) end local time = os.time() db.asyncQuery('TRUNCATE TABLE `players_online`') db.asyncQuery('DELETE FROM `guild_wars` WHERE `status` = 0') db.asyncQuery('DELETE FROM `players` WHERE `deletion` != 0 AND `deletion` < ' .. time) db.asyncQuery('DELETE FROM `ip_bans` WHERE `expires_at` != 0 AND `expires_at` <= ' .. time) db.asyncQuery('DELETE FROM `market_history` WHERE `inserted` <= ' .. (time - configManager.getNumber(configKeys.MARKET_OFFER_DURATION))) -- Move expired bans to ban history local resultId = db.storeQuery('SELECT * FROM `account_bans` WHERE `expires_at` != 0 AND `expires_at` <= ' .. time) if resultId ~= false then repeat local accountId = result.getNumber(resultId, 'account_id') db.asyncQuery('INSERT INTO `account_ban_history` (`account_id`, `reason`, `banned_at`, `expired_at`, `banned_by`) VALUES (' .. accountId .. ', ' .. db.escapeString(result.getString(resultId, 'reason')) .. ', ' .. result.getNumber(resultId, 'banned_at') .. ', ' .. result.getNumber(resultId, 'expires_at') .. ', ' .. result.getNumber(resultId, 'banned_by') .. ')') db.asyncQuery('DELETE FROM `account_bans` WHERE `account_id` = ' .. accountId) until not result.next(resultId) result.free(resultId) end -- Check house auctions local resultId = db.storeQuery('SELECT `id`, `highest_bidder`, `last_bid`, (SELECT `balance` FROM `players` WHERE `players`.`id` = `highest_bidder`) AS `balance` FROM `houses` WHERE `owner` = 0 AND `bid_end` != 0 AND `bid_end` < ' .. time) if resultId ~= false then repeat local house = House(result.getNumber(resultId, 'id')) if house then local highestBidder = result.getNumber(resultId, 'highest_bidder') local balance = result.getNumber(resultId, 'balance') local lastBid = result.getNumber(resultId, 'last_bid') if balance >= lastBid then db.query('UPDATE `players` SET `balance` = ' .. (balance - lastBid) .. ' WHERE `id` = ' .. highestBidder) house:setOwnerGuid(highestBidder) end db.asyncQuery('UPDATE `houses` SET `last_bid` = 0, `bid_end` = 0, `highest_bidder` = 0, `bid` = 0 WHERE `id` = ' .. house:getId()) end until not result.next(resultId) result.free(resultId) end end
-
URGENTE jogadores donataram e recebem mensagem sem parar
Vou testar esse seu aqui O meu shop.lua é esse: -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 18 -- 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.storeQuery("SELECT * FROM z_ots_comunication") if(result_plr ~= false) then repeat local id = tonumber(result.getDataInt(result_plr, "id")) local action = tostring(result.getDataString(result_plr, "action")) local delete = tonumber(result.getDataInt(result_plr, "delete_it")) local cid = getPlayerByName(tostring(result.getDataString(result_plr, "name"))) if(cid) then local itemtogive_id = tonumber(result.getDataInt(result_plr, "param1")) local itemtogive_count = tonumber(result.getDataInt(result_plr, "param2")) local container_id = tonumber(result.getDataInt(result_plr, "param3")) local container_count = tonumber(result.getDataInt(result_plr, "param4")) local add_item_type = tostring(result.getDataString(result_plr, "param5")) local add_item_name = tostring(result.getDataString(result_plr, "param6")) local received_item = 0 local full_weight = 0 -- Script para addons e montaria full pelo Gesior -- if(add_item_type == 'mounts') then local player = Player(cid) if (getPlayerStorageValue(cid,itemtogive_id) == -1) then doPlayerAddMount(cid, itemtogive_id) setPlayerStorageValue(cid,itemtogive_id,1) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE) doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received '.. add_item_name ..' from Argel Shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid,25,"You Already have this Mount.") end return TRUE end -- fim do script -- -- Script para addons e montaria full pelo Gesior -- if(add_item_type == 'addons') then local player = Player(cid) if (getPlayerStorageValue(cid,itemtogive_id) == -1) then doPlayerAddOutfit(cid, itemtogive_id, 3) doPlayerAddOutfit(cid, container_id, 3) setPlayerStorageValue(cid,itemtogive_id,1) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE) doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received '.. add_item_name ..' from Argel Shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid,25,"You Already have this Outfit.") end return TRUE end -- fim do script -- if(add_item_type == 'container') then container_weight = getItemWeight(container_id, 1) if(isItemRune(itemtogive_id)) then items_weight = container_count * getItemWeight(itemtogive_id, 1) else items_weight = container_count * getItemWeight(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeight(itemtogive_id, itemtogive_count) if(isItemRune(itemtogive_id)) then full_weight = getItemWeight(itemtogive_id, 1) else full_weight = getItemWeight(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(type(received_item) == "number" and received_item == RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received '.. add_item_name ..' from Argel Shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("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 Th3 Insanity 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 ..' Argel 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 until not result.next(result_plr) result.free(result_plr) end return true end
-
URGENTE jogadores donataram e recebem mensagem sem parar
Jogadores donataram e recebem esta mensagem sem parar: 07:20 Tibia Coins from Servidor is waiting for you. Please make place for this item in your backpack/hands and wait about 30 seconds to get it. Porém eu nao utilizo tibia coins e sim Premium pontos pra serem usados no shop do site. o sistema store nao temos. TFS 1.2 Gersior mais atual 10.94
-
URGENTE WAR NO MEU OT ESTA INFINITA
Pior que ja pesquisei e muito mas não encontro nada! alguem me ajuda pf
-
Remere's Map Editor 10.94
Sim, eu tenho ele
-
URGENTE WAR NO MEU OT ESTA INFINITA
As guilds se enfrentam manda no site invite de war, ai começa a war mas ela nunca termina! li alguns tutoriais e dizem que é no data\globalevents\scripts\startup.lua porem minha função é diferente dizem pra eu trocar isso: db.asyncQuery('DELETE FROM `guild_wars` WHERE `status` = 0') por isso: db.executeQuery("UPDATE `guild_wars` SET `status` = 5, `end` = " .. os.time() .. " WHERE `status` = 1 AND `end` > 0 AND `end` < " .. os.time() .. ";") mas dar erro no meu executavel e nao muda nada. STARTUP.LUA: local startupGlobalStorages = {GlobalStorage.TheAncientTombs.AshmunrahSwitchesGlobalStorage, GlobalStorage.TheAncientTombs.DiprathSwitchesGlobalStorage, GlobalStorage.TheAncientTombs.ThalasSwitchesGlobalStorage} function onStartup() math.randomseed(os.mtime()) print('>> Servidor feito por MitSuig!') print(string.format('>> Loaded %d npcs and spawned %d monsters.\n>> Loaded %d towns with %d houses in total.', Game.getNpcCount(), Game.getMonsterCount(), #Game.getTowns(), #Game.getHouses())) for i = 1, #startupGlobalStorages do Game.setStorageValue(startupGlobalStorages, 0) end local time = os.time() db.asyncQuery('TRUNCATE TABLE `players_online`') db.asyncQuery('DELETE FROM `guild_wars` WHERE `status` = 0') db.asyncQuery('DELETE FROM `players` WHERE `deletion` != 0 AND `deletion` < ' .. time) db.asyncQuery('DELETE FROM `ip_bans` WHERE `expires_at` != 0 AND `expires_at` <= ' .. time) db.asyncQuery('DELETE FROM `market_history` WHERE `inserted` <= ' .. (time - configManager.getNumber(configKeys.MARKET_OFFER_DURATION))) -- Move expired bans to ban history local resultId = db.storeQuery('SELECT * FROM `account_bans` WHERE `expires_at` != 0 AND `expires_at` <= ' .. time) if resultId ~= false then repeat local accountId = result.getNumber(resultId, 'account_id') db.asyncQuery('INSERT INTO `account_ban_history` (`account_id`, `reason`, `banned_at`, `expired_at`, `banned_by`) VALUES (' .. accountId .. ', ' .. db.escapeString(result.getString(resultId, 'reason')) .. ', ' .. result.getNumber(resultId, 'banned_at') .. ', ' .. result.getNumber(resultId, 'expires_at') .. ', ' .. result.getNumber(resultId, 'banned_by') .. ')') db.asyncQuery('DELETE FROM `account_bans` WHERE `account_id` = ' .. accountId) until not result.next(resultId) result.free(resultId) end -- Check house auctions local resultId = db.storeQuery('SELECT `id`, `highest_bidder`, `last_bid`, (SELECT `balance` FROM `players` WHERE `players`.`id` = `highest_bidder`) AS `balance` FROM `houses` WHERE `owner` = 0 AND `bid_end` != 0 AND `bid_end` < ' .. time) if resultId ~= false then repeat local house = House(result.getNumber(resultId, 'id')) if house then local highestBidder = result.getNumber(resultId, 'highest_bidder') local balance = result.getNumber(resultId, 'balance') local lastBid = result.getNumber(resultId, 'last_bid') if balance >= lastBid then db.query('UPDATE `players` SET `balance` = ' .. (balance - lastBid) .. ' WHERE `id` = ' .. highestBidder) house:setOwnerGuid(highestBidder) end db.asyncQuery('UPDATE `houses` SET `last_bid` = 0, `bid_end` = 0, `highest_bidder` = 0, `bid` = 0 WHERE `id` = ' .. house:getId()) end until not result.next(resultId) result.free(resultId) end end @Absolute Só você pode me salvar irmao, dar essa mão pf. estou usando o Absolute Global tfs 1.2 + gersior mais atual 2015 War não acaba, fica infinita.
-
URGENTE WAR NO MEU OT ESTA INFINITA
War no meu ot serv inicia mas nao termina! ta infinitamente me ajudem pf TFS 1.2 GERSIOR MAIS NOVO GLOBAL 10.94
-
[GESIOR2012] War system com Escudos (TFS1.0)
no meu Startup ta assim: local time = os.time() db.asyncQuery('TRUNCATE TABLE `players_online`') db.asyncQuery('DELETE FROM `guild_wars` WHERE `status` = 0') db.asyncQuery('DELETE FROM `players` WHERE `deletion` != 0 AND `deletion` < ' .. time) db.asyncQuery('DELETE FROM `ip_bans` WHERE `expires_at` != 0 AND `expires_at` <= ' .. time) db.asyncQuery('DELETE FROM `market_history` WHERE `inserted` <= ' .. (time - configManager.getNumber(configKeys.MARKET_OFFER_DURATION))) quero que a war acabe em 1 hora e nao consigo.
-
Guerra não acaba no meu otserv
UP
-
Guerra não acaba no meu otserv
AS guerras no meu servidor nunca acabam, quero limitar a 1 hora de guerra. meu Startup.lua está desa forma, como posso colocar pra limitar a 1 hora de guerra? db.asyncQuery('DELETE FROM `guild_wars` WHERE `status` = 0') darei REP+
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
- [GESIOR2012] War system com Escudos (TFS1.0)
-
[10.93] Projeto Capernia, RL MAP
você pegou a items.xml dele? Nos Actions além de adicionar em actions/scripts/other/potions.lua você deve em na guia de Actions.xml, na parte <!-- Potions / Fluids --> você deve deixar assim: ai seu problema está resolvido, manda REP+ blz <!-- Potions / Fluids --> <action fromid="2005" toid="2009" script="other/fluids.lua" /> <action fromid="2011" toid="2015" script="other/fluids.lua" /> <action itemid="2023" script="other/fluids.lua" /> <action itemid="1775" script="other/fluids.lua" /> <action fromid="2031" toid="2034" script="other/fluids.lua" /> <action itemid="2562" script="other/fluids.lua" /> <action fromid="2574" toid="2577" script="other/fluids.lua" /> <action itemid="7588" script="other/potions.lua" /> <action itemid="7589" script="other/potions.lua" /> <action itemid="7590" script="other/potions.lua" /> <action itemid="7591" script="other/potions.lua" /> <action itemid="7618" script="other/potions.lua" /> <action itemid="7620" script="other/potions.lua" /> <action itemid="8472" script="other/potions.lua" /> <action itemid="8473" script="other/potions.lua" /> <action itemid="8474" script="other/potions.lua" /> <action itemid="8704" script="other/potions.lua" /> <action itemid="26029" script="other/potions.lua" /> <action itemid="26030" script="other/potions.lua" /> <action itemid="26031" script="other/potions.lua" /> <action itemid="7439" script="other/strengthening_potions.lua" /> <action itemid="7440" script="other/strengthening_potions.lua" /> <action itemid="7443" script="other/strengthening_potions.lua" />
-
[10.93] Projeto Capernia, RL MAP
Sim verdade, consegui corrigir. @gordonbays meu brother preciso urgente do executável 10.94 para Windows 64 bits, você tem como compilar para mim? pra rodar no seu global.
-
Argel Global 10.93 [RECRUTAMENTO E SELEÇÃO]
Ola! primeiramente gostaria de agradecer ao Tibia King pelo espaço e por contribuir imensamente com a comunidade Open Tibia, gostaria de apresentar as ideias do Argel-Global, o servidor foi lançado dia 20 de maio de 2016, corrigimos vários bugs, criamos uma nova cidade chamada Premia, novas hunts, temos um Client próprio disponível em nosso site. Tenho uma certa experiencia com servidores, trabalhei com servidores durante 8 anos, e já tive servidores que fizeram sucesso, exemplo: 500 players+. Procuro pessoas que possam ocupar os seguintes cargos: Suporte In-Game (1 Vaga) Tutor (2 Vagas) Que esteja com o intuito de crescer com o Argel Global e contribuir da melhor forma, para que possamos proporcionar uma boa diversão e desafios aos players . Você deve preencher o formulário da seguinte forma: x Nome: x Idade: x Que área deseja exercer: x Quanto tempo pode dedicar ao servidor: x Quanto tempo de experiencia tem na área: Quem deseja conferir o projeto Online, basta acessar o site: http://argel.servegame.com/ www.facebook.com/argelglobal Versão 10.93 Asura full Ascendant Quest New Potions Obrigado, ADM Madara
-
[10.93] Projeto Capernia, RL MAP
Os novos potions, consegui ativar em meu ot server, na actions/scripts/potions e nos items.xml, mas ingame ele não está usando nos jogadores, o que posso fazer para normalizar? urgente pf.
-
[v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
Estou consertando tudo e vou postar em breve a copia do meu projeto Global, com cidade nova chamada Premia, com muitos bugs corrigidos, com varias quests sem missões e com novidades, vou disponibilizar para todos, sei o que todos estão passando e não quero que passem o que passei com minha equipe, todas as quests principais estão bugadas em algo e de proposito. Até a Inquisition tem um teleport que ele tirou as coordenadas pra prejudicar as pessoas, lamentavel...
-
[LEIA] Apoio projetos promissores!
Ola! primeiramente, gostaria de apresentar as ideias do Argel-Global, o servidor foi lançado dia 20 de maio de 2016, corrigimos vários bugs, criamos uma nova cidade chamada Premia, novas hunts, temos um Client próprio disponível em nosso site. Tenho uma certa experiencia com servidores, trabalhei com servidores durante 8 anos, e já tive servidores que fizeram sucesso, exemplo: 500 players+. Procuro alguém que possa arcar com as despesas do Argel, como VPS, Host, Anti DDOS e que esteja com o intuito de criar um servidor que possa proporcionar uma boa diversão e desafios aos players, e um xp rate e drop rate não tão altos e nem tão baixos . Quem deseja conferir o projeto Online, basta acessar o site: http://argel.servegame.com/ Obrigado, ADM Madara
-
Argel Global 10.91 [RECRUTAMENTO E SELEÇÃO]
Ola! primeiramente, gostaria de apresentar as ideias do Argel-Global, o servidor foi lançado dia 20 de maio de 2016, corrigimos vários bugs, criamos uma nova cidade chamada Premia, novas hunts, temos um Client próprio disponível em nosso site. Tenho uma certa experiencia com servidores, trabalhei com servidores durante 8 anos, e já tive servidores que fizeram sucesso, exemplo: 500 players+. Procuro alguém que possa arcar com as despesas do Argel, como VPS, Host, Anti DDOS e que esteja com o intuito de criar um servidor que possa proporcionar uma boa diversão e desafios aos players, e um xp rate e drop rate não tão altos e nem tão baixos . Você deve preencher o formulário da seguinte forma: x Nome: x Idade: x Que área deseja exercer: x Quanto tempo pode dedicar ao servidor: x Quanto tempo de experiencia tem na área: Quem deseja conferir o projeto Online, basta acessar o site: http://argel.servegame.com/ Obrigado, ADM Madara