Jump to content

xkillmt2

Members
  • Posts

    49
  • Joined

  • Days Won

    4

xkillmt2 last won the day on August 28 2022

xkillmt2 had the most liked content!

About xkillmt2

  • Birthday 10/10/1990

Recent Profile Visitors

2,040 profile views

xkillmt2's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

514

Reputation

  1. Abra o arquivo captcha.php e substitua o código por: <?PHP session_start(); header("Content-Type: image/png"); // Sets the Content of this file to an PNG-Image // $ttf = "./franconi.ttf"; //Schriftart $_SESSION["captcha_id"] = ""; // Clears the old value $zufallszahl = mt_rand(50000,60000); // Generates a random number between 50000 and 60000 $_SESSION["captcha_id"] = $zufallszahl; // Sets the value of the session $bild = imagecreatefromgif("bg.gif"); // Creates a new image from background file $weisser = imagecolorallocate($bild, 255, 255, 255); // Sets white text color // imagettftext($bild, 11, 10, 5, 20, $weisser, $ttf, $_SESSION["captcha_id"]); imagestring($bild, 5, 8, 5, $_SESSION["captcha_id"], $weisser); // Prints the random number von the image ImagePNG($bild); // Output for the generated image imagedestroy($bild); ?>
  2. FreeBSD 12 funcional Compile OK Server OK
  3. Download - New Actions Official (BR) Senha: xkillmt2
  4. Talvez falte o pacote gettext: pkg install gettext Boa sorte!
  5. Está usando um locale que oferece suporte a linguagem br ? Exemplo: Config->locale_service: Portugal Conf.txt->locale:latin1 Caso esteja usando um locale que tenha suporte, o erro possivelmente está no seu compilador de protos ou na formatação dos protos. Obs: O cliente só busca no mysq o nome de itens em chat, itens mostrado no inventário é no itemproto.
  6. Sobre site recomendo o metin2cms , sobre o upload de arquivos talvez seja a parte do autopatcher que vai para o host de download web ou dedicado, algumas pessoas estão usando o apache no dedicado para por o itemshop ou até mesmo o site do servidor para poupar dinheiro! Recomendo instalação do apache e php no freebsd e por o site.
  7. Vá em Client->ScriptLib->PythonUtils.cpp e pesquise por: #include "PythonUtils.h" Adicione abaixo: // Python int too large to convert to C long #define PyLong_AsLong PyLong_AsLongLong #define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong
  8. Talvez seja problema na configuração do socket_connect verifique na game source à configuração de conexão com o ip definido ou use o BIND_IP para definir o ip de conexão. Obs: Não testei a versão 40k via DNS (Tenho o modem bloqueado), só via hamachi conexão 100%.
  9. Erro de configuração no arquivo RaceManager.cpp ou a montaria está no diretório incorreto. Verifique a linha de comando em game.py->>serverCommandList={ pois o servidor está enviando esse comando para o cliente. Não há necessidade de corrigir esse aviso basta ir na source cliente e pesquisa por: if (!LoadMonsterAreaInfo()) TraceError("CMapOutdoor::Load - LoadMonsterAreaInfo ERROR"); Altere por: #ifdef _DEBUG if (!LoadMonsterAreaInfo()) TraceError("CMapOutdoor::Load - LoadMonsterAreaInfo ERROR"); #endif
  10. Há source vanilla 70k clean contém erro na configuração do Makefile parte game. Makefile
  11. Não tenho muito o que falar, quem quiser usar a source martysama v4 fique à vontade. Contém: serverfiles, source cliente, source server e mysql. Info server: Info client: Download
  12. Porque não faz pela source ? Exemplo: Vá em UserInterface\InstanceBase.cpp e pesquise por: if (pItem->GetSubType() == CItemData::ARMOR_BODY) { DWORD vnum = pItem->GetIndex(); if (12010 <= vnum && vnum <= 12049) { __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL); __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL2); } } Depois crie uma nova linha em baixo da condição " if (12010 <= vnum && vnum <= 12049)" if (pItem->GetSubType() == CItemData::ARMOR_BODY) { DWORD vnum = pItem->GetIndex(); if (12010 <= vnum && vnum <= 12049) { __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL); __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL2); } // Novo efeito na armadura X if (20760 <= vnum && vnum <= 20959) { __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_SPECIAL3); } } Agora vá em UserInterface\InstanceBase.h e pesquise por: EFFECT_BODYARMOR_SPECIAL, // °©¿Ê 4-2-1 EFFECT_BODYARMOR_SPECIAL2, // °©¿Ê 4-2-2 Adicione abaixo: EFFECT_BODYARMOR_SPECIAL3, // 21 Parte cliente Vá em root->playersettingmodule.py e pesquise por: chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+19, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse") chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+20, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-4-2-2.mse") Adicione abaixo: chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+21, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-5-1.mse") ## Caminho onde está o efeito
  13. Vá em root->uiguild.py e pesquise por : JOB_NAME = { 0 : localeInfo.JOB_WARRIOR, 1 : localeInfo.JOB_ASSASSIN, 2 : localeInfo.JOB_SURA, 3 : localeInfo.JOB_SHAMAN, } Substitua por: JOB_NAME = { 0 : localeInfo.JOB_WARRIOR, 1 : localeInfo.JOB_ASSASSIN, 2 : localeInfo.JOB_SURA, 3 : localeInfo.JOB_SHAMAN, 4 : localeInfo.JOB_WOLFMAN, }
  14. Verifique seu root->uichat.py, talvez você tenha o sistema de bloquear comandos de GMs. Exemplo: commands = ("/set", "/sex", "/dick", "/big", "/uuu", "/purge") def __SendChatPacket(self, text, type): # Block other command in function chat import stringCommander get_table = stringCommander.commands if text in get_table: return if net.IsChatInsultIn(text): chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING) else: net.SendChatPacket(text, type)
×
×
  • Create New...