Ir para conteúdo

Summ

Membro
  • Registro em

  • Última visita

Tudo que Summ postou

  1. /\ Sim basta colocar o ID DO ITEM em itemid=""
  2. function onUse(cid, item) local t = { topos = {x = 163, y = 456, z = 7}, createpos = {x = 163, y = 457, z = 7}, tpid = 1387, segundos = 120, } doCreateTeleport(t.tpid, t.topos, t.createpos) broadcastMessage("O teleport foi aberto!!", MESSAGE_STATUS_WARNING) addEvent(function() doRemoveItem(getTileItemById(t.createpos, t.tpid).uid,1) end,1000*t.segundos) doRemoveItem(item.uid, 1) return true end
  3. @LucasMSouza tenta : function onUse(cid, item) local t = { topos = {x = 163, y = 456, z = 7}, createpos = {x = 163, y = 457, z = 7}, tpid = 1387, segundos = 120, } doCreateTeleport(t.tpid, t.topos, t.createpos) addEvent(function() doRemoveItem(getTileItemById(t.createpos, t.tpid).uid,1) end,1000*t.segundos) doRemoveItem(item.uid, 1) return true end
  4. Cloud é melhor que VPS, é só ler as especificações que tu vai saber a diferença ...
  5. 100 mbps é normal, nem ruim nem bom, é quase padrão vir assim com os VPS... Você tem que comprar um VPS que esteja dentro de suas condições e meta de players a entrar nele... quanto maior a meta melhor ele tem que ser e assim sucessivamente.
  6. Quando for comprar vai mostrar nas especificações a maioria varia entre : Uplink - 100Mbps e Uplink - 1000Mbps
  7. Não pois o hoster no caso sempre vai ficar online, sua net não interfere nele apenas da acesso ... Servesoft, weblara são ótimas empresas que vende VPS a um preço acessível.
  8. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    Faz assim : cria um arquivo.lua : function onStepIn(cid, item, position, fromPosition) local tp = {x=1114, y=798, z= 7} -- POS DO TEMPLO QUE VAI SER TELEPORTADO if isSummon(cid) or ehMonstro(cid) then doTeleportThing(cid, tp) end return true end <movevent type="StepIn" actionid="ACTIONID" event="script" value="ARQUIVO.lua"/> Lembre-se de colocar a mesma ACTIONID na tag no teleport do mapa...
  9. Summ postou uma resposta no tópico em Playground (Off-topic)
    up HUEHEUHE
  10. Não precisa liberar portar nem nada e sua net não vai interferir em nada no serve dentro do VPS... pode comprar sem medo de ter problemas
  11. em modules/client_entergame abra entergame.lua : basta coloca seu ip : server = "SEU IP" EnterGame.setUniqueServer(server, 7171, 854, 270, 210)
  12. function onUse(cid, item, toPos, itemEx, fromPos) local config = { -- HELMET [10789] = {itemid, 94564}, -- ID DO ITEM , STORAGE [10790] = {itemid, 94564}, [10791] = {itemid, 94564}, -- ARMOR [10792] = {itemid, 94565}, [10793] = {itemid, 94565}, [10794] = {itemid, 94565}, -- LEGS [10795] = {itemid, 94566}, [10796] = {itemid, 94566}, [10797] = {itemid, 94566}, } for bau, items in pairs(config) do if item.aid == bau then if getPlayerStorageValue(cid, items[2]) < 1 then doPlayerAddItem(cid, items[1], 1) doPlayerSendTextMessage(cid, 19, "Congratulations!!") setPlayerStorageValue(cid, items[2], 1) else doPlayerSendTextMessage(cid, 19, "Is empty") end end end return true end <action actionid="10789;10790;10791;10792;10793;10794;10795;10796;10797" event="script" value="ARQUIVO.lua"/> só configurar os id do item que vai ganhar no começo do script
  13. <?PHP # Account Maker Config $config['site']['serverPath'] = "/home/otserv/global1053/"; $config['site']['useServerConfigCache'] = false; $towns_list = array(1 => 'Venore', 2 => 'Thais', 3 => 'Kazordoon', 4 => 'Carlin', 5 => 'Ab/Dendriel', 6 => 'Rookgaard', 7 => 'Liberty Bay', 8 => 'Port Hope', 9 => 'Ankrahmun', 10 => 'Darashia', 11 => 'Edron', 12 => 'Svargrond', 13 => 'Yalahar', 14 => 'Farmine'); $config['site']['outfit_images_url'] = 'http://outfit-images...me/outfit.php'; $config['site']['item_images_url'] = 'images/items/'; $config['site']['item_images_extension'] = '.gif'; $config['site']['flag_images_url'] = 'images'; $config['site']['flag_images_extension'] = '.png'; # Create Account Options $config['site']['one_email'] = false; $config['site']['create_account_verify_mail'] = false; $config['site']['verify_code'] = false; $config['site']['email_days_to_change'] = 3; $config['site']['newaccount_premdays'] = 7; $config['site']['send_register_email'] = false; # Create Character Options $config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); $config['site']['newchar_towns'] = array(2); $config['site']['max_players_per_account'] = 4; # Emails Config $config['site']['send_emails'] = true; $config['site']['mail_address'] = "[email protected]"; $config['site']['smtp_enabled'] = true; $config['site']['smtp_host'] = "mail.tibiaold.org"; $config['site']['smtp_port'] = 25; $config['site']['smtp_auth'] = true; $config['site']['smtp_user'] = "[email protected]"; $config['site']['smtp_pass'] = "]!uX?SNaQ%nn"; # PAGE: whoisonline.php $config['site']['private-servlist.com_server_id'] = 0; /* Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature. To use this feature you must register on 'private-servlist.com' and add your server. Format: number, 0 [disable] or higher */ # PAGE: characters.php $config['site']['quests'] = array(); $config['site']['show_skills_info'] = false; $config['site']['show_vip_storage'] = 0; # PAGE: accountmanagement.php $config['site']['send_mail_when_change_password'] = true; $config['site']['send_mail_when_generate_reckey'] = true; $config['site']['generate_new_reckey'] = true; $config['site']['generate_new_reckey_price'] = 20; # PAGE: guilds.php $config['site']['guild_need_level'] = 100; $config['site']['guild_need_pacc'] = false; $config['site']['guild_image_size_kb'] = 50; $config['site']['guild_description_chars_limit'] = 250; $config['site']['guild_description_lines_limit'] = 6; $config['site']['guild_motd_chars_limit'] = 250; # PAGE: adminpanel.php $config['site']['access_admin_panel'] = 3; # PAGE: latestnews.php $config['site']['news_limit'] = 6; # PAGE: killstatistics.php $config['site']['last_deaths_limit'] = 50; # PAGE: team.php $config['site']['groups_support'] = array(2, 3, 4, 5, 6); # PAGE: highscores.php $config['site']['groups_hidden'] = array(2, 3, 4); $config['site']['accounts_hidden'] = array(1); # PAGE: shopsystem.php $config['site']['shop_system'] = true; # PAGE: lostaccount.php $config['site']['email_lai_sec_interval'] = 180; # Layout Config $config['site']['layout'] = 'tibiarl'; $config['site']['vdarkborder'] = '#505050'; $config['site']['darkborder'] = '#D4C0A1'; $config['site']['lightborder'] = '#F1E0C6'; $config['site']['download_page'] = true; $config['site']['serverinfo_page'] = true; ############################ ## PagSeguro/Paypal Email ## ############################ $config['pagseguro']['email'] = '[email protected]'; ## EMAIL PAGSEGURO ## $config['paypal']['email'] = '[email protected]'; ## EMAIL PAYPAL ## ## Formas de pagamento [1 = ativo | 0 = inativo] ## $config['site']['caixa'] = 1; $config['site']['paypal'] = 1; $config['site']['bonusPoints'] = 1; ##################### ## Nome do Produto ## ##################### $config['pagseguro']['produtoNome'] = 'Premium Points'; ############################# ######### C A I X A ######## ############################# #! Informações do pagamento com caixa economica federal !# $config['site']['CaixaCont'] = " Conta/Corrente: NUMERO Ag: NUMERO Favorecido: NOME OP: NUMERO "; ############################# ######### PAGSEGURO ######## ############################# // Seu email cadastrado no PagSeguro $config['pagseguro']['email'] = 'SEU E-MAIL DO PAGSEGURO'; // Nome do produto $config['pagseguro']['produtoNome'] = 'Premium Points'; // Valor de cada ponto // Exemplo de valores: // 100 = R$ 1,00 // 250 = R$ 2,50 $config['pagseguro']['produtoValor'] = '100';
  14. Summ postou uma resposta no tópico em Outros Jogos
    nem ligo, já zerei, já comi as vagaba, roubei tudo os carro, fiquei rico, matei us puliça e joguei online vlws flws...
  15. Usa esse : -- ### CONFIG ### -- 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 player = Player(tostring(result.getDataString(result_plr, "name"))) if player 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 local itemType = ItemType(itemtogive_id) if add_item_type == 'container' then if itemType:isRune() then items_weight = container_count * itemType:getWeight() else items_weight = container_count * itemType:getWeight(itemtogive_count) end full_weight = items_weight + ItemType(container_id):getWeight() else if itemType:isRune() then full_weight = itemType:getWeight() else full_weight = itemType:getWeight(itemtogive_count) end end local free_cap = player:getFreeCapacity() if full_weight <= free_cap then if add_item_type == 'container' then local new_container = Game.createItem(container_id, 1) local iter = 0 while iter ~= container_count do new_container:addItem(itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = player:addItemEx(new_container) else local new_item = Game.createItem(itemtogive_id, itemtogive_count) received_item = player:addItemEx(new_item) end if type(received_item) == 'number' and received_item == RETURNVALUE_NOERROR then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, 'You received >> '.. add_item_name ..' << from OTS 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 player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, '>> '.. 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 player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, '>> '.. 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 until not result.next(result_plr) result.free(result_plr) end return true end
  16. se sua dúvida foi sanada, marque o post que mais te ajudou como melhor resposta pro tópico ficar como resolvido.
  17. vai em index.php e no debug troca pra true, da F5 na pagina e vai aparecer o erro com mais detalhes ai posta aqui pra ver se tem como eu ajuda-lo.
  18. executa isso : ALTER TABLE `players` ADD `frags` INT NOT NULL DEFAULT '0'
  19. procura o arquivo, config.php e troca de true pra false, que vai retirar essa verificação, que é muito desnecessária ao meu ver... a forma que vai estar : $config['site']['verify_code'] = true; como deve ficar : $config['site']['verify_code'] = false; pronto...
  20. 1 - rode esse comando no phmyadmin : DROP TABLE IF EXISTS `guild_wars`; CREATE TABLE `guild_wars` ( `id` INT NOT NULL AUTO_INCREMENT, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT 0, `end` BIGINT NOT NULL DEFAULT 0, `frags` INT UNSIGNED NOT NULL DEFAULT 0, `payment` BIGINT UNSIGNED NOT NULL DEFAULT 0, `guild_kills` INT UNSIGNED NOT NULL DEFAULT 0, `enemy_kills` INT UNSIGNED NOT NULL DEFAULT 0, `status` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `status` (`status`), KEY `guild_id` (`guild_id`), KEY `enemy_id` (`enemy_id`), FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE, FOREIGN KEY (`enemy_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE ) ENGINE=InnoDB; 2 - verifique no respaw.xml do seu mapa, se existe o respaw desse monstro....
  21. Summ postou uma resposta no tópico em Playground (Off-topic)
  22. Summ postou uma resposta no tópico em Playground (Off-topic)
    http://www.kimiuso.jp/nodame/ [01:10:48] Flavio: salvem uma vida [01:10:50] Flavio: hermanos
  23. Parabéns aew pelo grande up no avanço do open tibia, xora mark , a galera que ta tendo dúvidas sobre que maquina ter pra rodar liso, por ser tfs 1.1 e não 1.0 o requerimento do processador vai ser menor ainda(o mapa sendo global padrão), então só usar 1 tendo como base o tfs 1.0 10.53... abrçs

Informação Importante

Confirmação de Termo