Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Solutions

  1. Fir3element's post in (Resolvido)Crash tfs 0.4 quando mudo o IP (127.0.0.1) was marked as the answer   
    é q utilizo openssl
    ta usando a distro compilada no visual studio ou dev c++?
  2. Fir3element's post in (Resolvido)Fail Compilation TFS 0.4 com nova function was marked as the answer   
    troca LuaScriptInterface por LuaInterface
  3. Fir3element's post in (Resolvido)Channels was marked as the answer   
      Esta é uma mensagem automática, este tópico foi movido para a área correta.
      Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680

    Este tópico foi movido:
    De: OTServ > Notícias e OTServ Geral
    Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  4. Fir3element's post in (Resolvido)Exausted was marked as the answer   
    config.lua -> stairhopDelay = 0
  5. Fir3element's post in (Resolvido)Como fazer o mapa aceitar acentos em placas? was marked as the answer   
    Por que não usam a função onLook?
     
    creaturescripts.xml
    <event type="look" name="look" event="script" value="look.lua"/> creaturescripts/login.lua
    registerCreatureEvent(cid, "look") creaturescripts/look.lua
    local PLACA = { [10112] = {"Café AMANHÃ café."}, } function onLook(cid, thing, position, lookDistance) for k, v in pairs(PLACA) do if (thing.uid == k) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você lê:\n" .. v[1]) return false end end return true end  
  6. Fir3element's post in (Resolvido)Erro ocorrendo ao instalar site, ajudem por favor. was marked as the answer   
    max_allowed_packet é o que define o tamanho máximo permitido em cada packet enviado do servidor ao cliente
    se quiser tirar o erro, é só executar isso no mysql: SET GLOBAL max_allowed_packet = 16776192;
  7. Fir3element's post in (Resolvido)[Remover] Fetching Blacklist! was marked as the answer   
    tem mais coisa pra cima, o code completo é isso aqui:
    std::cout << ">> Fetching blacklist" << std::endl; #if defined(WINDOWS) && !defined(__CONSOLE__) SendMessage(GUI::getInstance()->m_statusBar, WM_SETTEXT, 0, (LPARAM)">> Fetching blacklist"); #endif if(!g_game.fetchBlacklist()) { #if defined(WINDOWS) && !defined(__CONSOLE__) if(MessageBox(GUI::getInstance()->m_mainWindow, "Unable to fetch blacklist! Continue?", "Blacklist", MB_YESNO) == IDNO) #else std::cout << "Unable to fetch blacklist! Continue? (y/N)" << std::endl; char buffer = getchar(); if(buffer == 10 || (buffer != 121 && buffer != 89)) #endif startupErrorMessage("Unable to fetch blacklist!"); }  
  8. Fir3element's post in (Resolvido)Bug ataque player x player de Skull passa para Yellow was marked as the answer   
    Fiz um teste rápido aqui e parece que funcionou: https://github.com/Fir3element/3777/commit/721cf13fc02f8ce1839bb4190a14be785f7b3655
    Poderia testar melhor pra mim?
  9. Fir3element's post in (Resolvido)TFS 8.7 Windows was marked as the answer   
    https://github.com/DSpeichert/tfs/archive/78e5ed8116f0ef1dff2819d18061104decd19c4f.zip
  10. Fir3element's post in (Resolvido)consigo compilar o tfs 1.2 em 32bits mais em 64 nao was marked as the answer   
    fui tentar aqui e deu a msm coisa, atualizei a lib mpir e deu certo
    tenta ai: http://www.mediafire.com/download/m3mx2uq24hnf3nt/mpir.rar
  11. Fir3element's post in (Resolvido)[PEDIDO] Compilar TFS 0.4 was marked as the answer   
    não é 1, é L
     
    assim: std::endl;
  12. Fir3element's post in (Resolvido)[pedido] compilar source was marked as the answer   
    Manda ai.
  13. <?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'] = "[email protected]"; # 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'] = "[email protected]";  # 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;
  14. Fir3element's post in (Resolvido)Limite do Mapa (possivel aumentar?) . was marked as the answer   
    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;
  15. Fir3element's post in (Resolvido)[Erro] Apache não starta! was marked as the answer   
    Fecha o skype ou qualquer outro programa que use a porta 80 e tenta abrir.
  16. Fir3element's post in (Resolvido)[PEDIDO] Modificação Script Simples was marked as the answer   
    local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) setConditionFormula(condition, 0.3, -24, 0.3, -24) function onSay(cid, words, param)     local pos = getThingPos(cid)     local tempo = 5 -- em segundos     if (os.time() - getPlayerStorageValue(cid, "correr")) >= tempo then         setPlayerStorageValue(cid, "correr", os.time())         if(param == '') then             doSendMagicEffect(pos, 12)             doCreatureSay(cid, "Strong Haste", 20, false, 0, pos)             doAddCondition(cid, condition)         end         local t = string.explode(param, '"')         if(t[2]) then             doCreatureSay(cid, "".. t[2], 20, false, 0, pos)             doSendMagicEffect(pos, 12)             doAddCondition(cid, condition)         end     else         doPlayerSendCancel(cid, "You are exhausted.")     end     return true end
  17. Fir3element's post in (Resolvido)Problemas ao tentar logar em qualquer OTServer was marked as the answer   
    cmd -> ipconfig -> ipv4
     
    Pega esse IP, coloca no config.lua, liga o otserv e tenta entrar (no IP changer usa o ipv4 também).
  18. Fir3element's post in (Resolvido)duvida compilar com codeblocks was marked as the answer   
    Acho que essa source foi a que postei na otland, tem alguns bugs.
    Usa essa: https://github.com/fir3element/0.2.15/archive/master.zip
     
    Recomendo usar o Visual C++ 2010 pra compilar ela, não testei no Code::Blocks e acho que não vai funcionar mesmo se conseguir compilar.
  19. Fir3element's post in (Resolvido)Versão estável was marked as the answer   
    http://www.tibiaking.com/forum/topic/53099-1078-tfs-12-cast-system/
  20. Fir3element's post in (Resolvido)ip do servidor was marked as the answer   
    Port Forwarding
  21. Fir3element's post in (Resolvido)[AJUDA] erro aparecendo no distro was marked as the answer   
    CREATE TABLE "global_storage" (     "key" INTEGER NOT NULL,     "world_id" INTEGER NOT NULL DEFAULT 0,     "value" VARCHAR(255) NOT NULL DEFAULT '0',     UNIQUE ("key", "world_id") );
  22. Fir3element's post in (Resolvido)Erro ao compilar Crying Dansom v8.2 was marked as the answer   
    Tenta com essa source: https://github.com/fir3element/forgottenserver036
  23. Fir3element's post in (Resolvido)Anuncio was marked as the answer   
    Adiciona isso no login.lua
    local storage = "first_login" -- não mexe local msg = "msg aqui" -- muda a msg aqui if getPlayerStorageValue(cid, storage) == -1 then     setPlayerStorageValue(cid, storage, 0)     doPlayerPopupFYI(cid, msg) end
  24. Fir3element's post in (Resolvido)[Ajuda] Linux = mysql? was marked as the answer   
    SQLite funciona normalmente no Linux, se é o que quer saber.
    O erro aparece porque você configurou como MySQL e a database 'theforgottenserver' não existe.
     
    Na hora de compilar use isto: --enable-sqlite
  25. Fir3element's post in (Resolvido)[AJUDA] Aumentar speed do personagem was marked as the answer   
    creature.cpp, mude essa linha:
        baseSpeed = 220; Se quiser aumentar a velocidade de um player ou de um grupo, vai ter que fazer por lua mesmo.

Informação Importante

Confirmação de Termo