Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Tudo que Fir3element postou

  1. <?PHP # Account Maker Config $config['site']['serverPath'] = "C:\Users\Administrator\Desktop\tibiaking\"; $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', 15 => 'Gray Beach', 16 => 'Roshamuul'); $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'] = 'http://flag-images.ots.me/'; $config['site']['flag_images_extension'] = '.png'; # Create Account Options $config['site']['one_email'] = true; $config['site']['create_account_verify_mail'] = false; $config['site']['verify_code'] = true; $config['site']['email_days_to_change'] = 3; $config['site']['newaccount_premdays'] = 365; $config['site']['send_register_email'] = false; # Create Character Options $config['site']['newchar_vocations'] = array(0 => 'Rook Sample'); $config['site']['newchar_towns'] = array(6); $config['site']['max_players_per_account'] = 4; # Emails Config $config['site']['lost_acc'] = true; # LOST ACC? SIM (TRUE) OU NÃO (FALSE) $config['site']['send_emails'] = false; # ENVIAR EMAILS? SIM (TRUE) OU NÃO (FALSE) $config['site']['mail_address'] = "no-reply@tibiaold.org"; # SEU EMAIL (TEM QUE SER GMAIL) $config['site']['smtp_enabled'] = true; # NÃO MUDAR $config['site']['smtp_host'] = "mail.tibiaold.org"; # COLOCAR 'smtp.gmail.com' $config['site']['smtp_port'] = 25; # tenta a 25 mesmo, se não der tenta 465 $config['site']['smtp_auth'] = true; # não mudar $config['site']['smtp_user'] = "no-reply@tibiaold.org"; # SEU EMAIL (TEM QUE SER GMAIL) $config['site']['smtp_pass'] = "@ZP?+PF]L@*="; # sua senha # PAGE: whoisonline.php $config['site']['private-servlist.com_server_id'] = 1; /* 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'] = true; $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'] = false; $config['site']['generate_new_reckey_price'] = 500; # 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'] = 2000; $config['site']['guild_description_lines_limit'] = 6; $config['site']['guild_motd_chars_limit'] = 250; # PAGE: adminpanel.php $config['site']['access_admin_panel'] = 9999; # PAGE: latestnews.php $config['site']['news_limit'] = 6; # PAGE: killstatistics.php $config['site']['last_deaths_limit'] = 40; # 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'] = 'tibiacom'; $config['site']['vdarkborder'] = '#505050'; $config['site']['darkborder'] = '#D4C0A1'; $config['site']['lightborder'] = '#F1E0C6'; $config['site']['download_page'] = false; $config['site']['serverinfo_page'] = true;
  2. local config = { [9033] = {flamePosition = {x = 33097, y = 32816, z = 13}, toPosition = {x = 33093, y = 32824, z = 13}}, [9034] = {flamePosition = {x = 33293, y = 32742, z = 13}, toPosition = {x = 33299, y = 32742, z = 13}}, [9035] = {flamePosition = {x = 33073, y = 32590, z = 13}, toPosition = {x = 33080, y = 32588, z = 13}}, [9036] = {flamePosition = {x = 33240, y = 32856, z = 13}, toPosition = {x = 33246, y = 32850, z = 13}}, [9037] = {flamePosition = {x = 33276, y = 32553, z = 14}, toPosition = {x = 33271, y = 32553, z = 14}}, [9038] = {flamePosition = {x = 33234, y = 32692, z = 13}, toPosition = {x = 33234, y = 32687, z = 13}}, [9039] = {flamePosition = {x = 33135, y = 32683, z = 12}, toPosition = {x = 33130, y = 32683, z = 12}}, [9040] = {flamePosition = {x = 33162, y = 32831, z = 10}, toPosition = {x = 33158, y = 32832, z = 10}} } function onAddItem(moveitem, tileitem, position) local targetCoalBasin = config[tileitem.uid] if not targetCoalBasin then return true end if moveitem.itemid ~= 2159 then doSendMagicEffect(position, CONST_ME_POFF) return true end doRemoveItem(moveitem.uid) doSendMagicEffect(position, CONST_ME_HITBYFIRE) doRelocate(targetCoalBasin.flamePosition, targetCoalBasin.toPosition) doSendMagicEffect(targetCoalBasin.toPosition, CONST_ME_TELEPORT) return true end
  3. Testei aqui e ta normal, depende do protectionLevel e só funciona se o player tiver vocação.
  4. Tem uma tag chamada walkStack, você usa na config do tile (items.xml): <attribute key="walkStack" value="0" /> TFS 0.4 é só adicionar a tag, se for 0.3.6 tem que fazer isso aqui também:
  5. player.cpp, função canWalkthrough: TFS 0.3.6: TFS 0.4:
  6. Tem que modificar uma função na source.
  7. Bom o video, mas recomendo utilizar a versão mais atualizada, tem bastante correções
  8. Em nome da comunidade do TK muito obrigado pela contribuição! Seu tópico de conteúdo foi aprovado e será movido para a seção adequada. Você ganhou 1 REP+!
  9. Aprovado e movido para a área correta.
  10. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Acho que esse erro já foi fixado faz tempo. Qual seu TFS?
  11. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    O script parece correto, posta seu vocations.xml aqui.
  12. Teoricamente está errado (não tenho certeza). vocation->getBaseSpeed() vai retornar 220 (que é a baseSpeed). Somar com (2 * (level - 1)) é uma fórmula para a velocidade do player. Alterar a baseSpeed seria mudar o valor da variável baseSpeed no arquivo creature.cpp Mas na prática, fazer o que você disse vai funcionar também. Aprovado e movido para a área correta.
  13. Não consegui editar o outro post... Arrumei algumas coisas:
  14. Troca seu script por esse: local FOODS = { [2362] = {5, "Crunch."}, -- carrot [2666] = {15, "Munch."}, -- meat [2667] = {12, "Munch."}, -- fish [2668] = {10, "Mmmm."}, -- salmon [2669] = {17, "Munch."}, -- northern pike [2670] = {4, "Gulp."}, -- shrimp [2671] = {30, "Chomp."}, -- ham [2672] = {60, "Chomp."}, -- dragon ham [2673] = {5, "Yum."}, -- pear [2674] = {6, "Yum."}, -- red apple [2675] = {13, "Yum."}, -- orange [2676] = {8, "Yum."}, -- banana [2677] = {1, "Yum."}, -- blueberry [2678] = {18, "Slurp."}, -- coconut [2679] = {1, "Yum."}, -- cherry [2680] = {2, "Yum."}, -- strawberry [2681] = {9, "Yum."}, -- grapes [2682] = {20, "Yum."}, -- melon [2683] = {17, "Munch."}, -- pumpkin [2684] = {5, "Crunch."}, -- carrot [2685] = {6, "Munch."}, -- tomato [2686] = {9, "Crunch."}, -- corncob [2687] = {2, "Crunch."}, -- cookie [2688] = {2, "Munch."}, -- candy cane [2689] = {10, "Crunch."}, -- bread [2690] = {3, "Crunch."}, -- roll [2691] = {8, "Crunch."}, -- brown bread [2695] = {6, "Gulp."}, -- egg [2696] = {9, "Smack."}, -- cheese [2787] = {9, "Munch."}, -- white mushroom [2788] = {4, "Munch."}, -- red mushroom [2789] = {22, "Munch."}, -- brown mushroom [2790] = {30, "Munch."}, -- orange mushroom [2791] = {9, "Munch."}, -- wood mushroom [2792] = {6, "Munch."}, -- dark mushroom [2793] = {12, "Munch."}, -- some mushrooms [2794] = {3, "Munch."}, -- some mushrooms [2795] = {36, "Munch."}, -- fire mushroom [2796] = {5, "Munch."}, -- green mushroom [5097] = {4, "Yum."}, -- mango [6125] = {8, "Gulp."}, -- tortoise egg [6278] = {10, "Mmmm."}, -- cake [6279] = {15, "Mmmm."}, -- decorated cake [6393] = {12, "Mmmm."}, -- valentine's cake [6394] = {15, "Mmmm."}, -- cream cake [6501] = {20, "Mmmm."}, -- gingerbread man [6541] = {6, "Gulp."}, -- coloured egg (yellow) [6542] = {6, "Gulp."}, -- coloured egg (red) [6543] = {6, "Gulp."}, -- coloured egg (blue) [6544] = {6, "Gulp."}, -- coloured egg (green) [6545] = {6, "Gulp."}, -- coloured egg (purple) [6569] = {1, "Mmmm."}, -- candy [6574] = {5, "Mmmm."}, -- bar of chocolate [7158] = {15, "Munch."}, -- rainbow trout [7159] = {13, "Munch."}, -- green perch [7372] = {2, "Yum."}, -- ice cream cone (crispy chocolate chips) [7373] = {2, "Yum."}, -- ice cream cone (velvet vanilla) [7374] = {2, "Yum."}, -- ice cream cone (sweet strawberry) [7375] = {2, "Yum."}, -- ice cream cone (chilly cherry) [7376] = {2, "Yum."}, -- ice cream cone (mellow melon) [7377] = {2, "Yum."}, -- ice cream cone (blue-barian) [7909] = {4, "Crunch."}, -- walnut [7910] = {4, "Crunch."}, -- peanut [7963] = {60, "Munch."}, -- marlin [8112] = {9, "Urgh."}, -- scarab cheese [8838] = {10, "Gulp."}, -- potato [8839] = {5, "Yum."}, -- plum [8840] = {1, "Yum."}, -- raspberry [8841] = {1, "Urgh."}, -- lemon [8842] = {7, "Munch."}, -- cucumber [8843] = {5, "Crunch."}, -- onion [8844] = {1, "Gulp."}, -- jalapeño pepper [8845] = {5, "Munch."}, -- beetroot [8847] = {11, "Yum."}, -- chocolate cake [9005] = {7, "Slurp."}, -- yummy gummy worm [9114] = {5, "Crunch."}, -- bulb of garlic [9996] = {0, "Slurp."}, -- banana chocolate shake [10454] = {0, "Your head begins to feel better."}, -- headache pill [11246] = {15, "Yum."}, -- rice ball [11370] = {3, "Urgh."}, -- terramite eggs [11429] = {10, "Mmmm."}, -- crocodile steak [12415] = {20, "Yum."}, -- pineapple [12416] = {10, "Munch."}, -- aubergine [12417] = {8, "Crunch."}, -- broccoli [12418] = {9, "Crunch."}, -- cauliflower [12637] = {55, "Gulp."}, -- ectoplasmic sushi [12638] = {18, "Yum."}, -- dragonfruit [12639] = {2, "Munch."}, -- peas [13297] = {20, "Crunch."}, -- haunch of boar [15405] = {55, "Munch."}, -- sandfish [15487] = {14, "Urgh."}, -- larvae [15488] = {15, "Munch."}, -- deepling filet [16014] = {60, "Mmmm."}, -- anniversary cake [18397] = {33, "Munch."}, -- mushroom pie [19737] = {10, "Urgh."}, -- insectoid eggs [20100] = {15, "Smack."}, -- soft cheese [20101] = {12, "Smack."} -- rat cheese } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local food = FOODS[item.itemid] if food == nil then return false end local condition = player:getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT) if condition and math.floor(condition:getTicks() / 1000 + food[1]) >= 1200 then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You are full.") else player:feed(food[1] * 12) player:say(food[2], TALKTYPE_MONSTER_SAY) item:remove(1) end return true end
  15. Botão direito no jogador ~> Rule Violation ~> Seleciona a opção "IP Address Banishment".
  16. Scan: https://www.virustotal.com/pt/file/07780dbe3349c0b623138a1ffdc7c379d71d88484cca7c86ebbe04ced37d2fc7/analysis/1432909420/ Aprovado e movido para a área correta.
  17. Não é problema no script, posta seu actions.xml inteiro aqui (coloca num spoiler).
  18. Na source do map editor, edite o 65000 para qual você quer. \rme-master\source\common_windows.cpp Line 98: wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 256, 65000), wxSizerFlags(1).Expand() Line 103: wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 256, 65000), wxSizerFlags(1).Expand() Line 463: if(import_x_offset < -65000 || import_x_offset > 65000) Line 463: if(import_x_offset < -65000 || import_x_offset > 65000) Line 465: gui.PopupDialog(this, wxT("Error"), wxT("The specified x offset needs to be in the range -65000 to 65000"), wxOK); Line 465: gui.PopupDialog(this, wxT("Error"), wxT("The specified x offset needs to be in the range -65000 to 65000"), wxOK); Line 468: if(import_y_offset < -65000 || import_y_offset > 65000) Line 468: if(import_y_offset < -65000 || import_y_offset > 65000) Line 470: gui.PopupDialog(this, wxT("Error"), wxT("The specified y offset needs to be in the range -65000 to 65000"), wxOK); Line 470: gui.PopupDialog(this, wxT("Error"), wxT("The specified y offset needs to be in the range -65000 to 65000"), wxOK); \rme-master\source\map.cpp Line 366: if(new_width > 65000) Line 367: width = 65000; Line 376: if(new_height > 65000) Line 377: height = 65000;
  19. Tag: <action uniqueid="0000" script="script.lua"/> Script: function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getStorageValue(66666) == 1 then return player:sendTextMessage(MESSAGE_INFO_DESCR, "Gamemasters are not able to collect rewards from the quests.") elseif player:getStorageValue(60365) == 1 then return player:sendTextMessage(MESSAGE_INFO_DESCR, "The chest is empty.") end player:addItem(2392, 1) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have found a firesword!") fromPosition:sendMagicEffect(CONST_ME_BUBBLES) player:setStorageValue(60365, 1) return true end
  20. Não entendo muito de sprites, mas achei foda Boa sorte com seu objetivo.
  21. Fir3element postou uma resposta no tópico em Eventos de Scripting
    Voto no 2º script, acredito que vai ter uma performance melhor...

Informação Importante

Confirmação de Termo