Jump to content
Metin2 Network
Create New...

Leaderboard

Popular Content

Showing content with the highest reputation on 10/22/2024 in all areas

  1. Freebsd 13.2+ Mariadb 10.6.16 pkg install python3 Download: [Hidden Content]
    2 points
  2. Hi Guys, I'm sharing a performance system with you today. If you spawn a lot of mobs, you will get significant fps drops. Let me show you a GIF. Before/ : [Hidden Content] After/: [Hidden Content] Download: [Hidden Content]
    2 points
  3. Check if you have this, if not, add this system [Hidden Content] this system is generally available in martysama files. Open: imput_main.cpp #Add #include "../../common/PulseManager.h" //pulse manager sayesinde anticheat #In imput_main.cpp search int CInputMain::Analyze(LPDESC d, BYTE bHeader, const char * c_pData) { LPCHARACTER ch; if (!(ch = d->GetCharacter())) { sys_err("no character on desc"); d->SetPhase(PHASE_CLOSE); return (0); } int iExtraLen = 0; #Add under if (bHeader == HEADER_CG_CHARACTER_MOVE) { if (ch && !PulseManager::Instance().IncreaseCount(ch->GetPlayerID(), ePulse::GuildComment, std::chrono::milliseconds(500), !POINT_MOV_SPEED)) { // ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please stop anti-hack thank.1111111111111")); // ch->Move(pinfo->lX, pinfo->lY); ch->UpdatePacket();//anlik guncelleme // ch->UpdateSectree(); // ch->Update(); // ch->ComputePoints(); // ch->GetDesc()->DelayedDisconnect (7); return (iExtraLen); } } if (bHeader == HEADER_CG_ATTACK) { if (ch && !PulseManager::Instance().IncreaseCount(ch->GetPlayerID(), ePulse::CommandRequest, std::chrono::milliseconds(500), !POINT_ATT_SPEED)) { // ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please stop anti-hack thank.1111111111111")); // ch->Move(pinfo->lX, pinfo->lY); ch->UpdatePacket();//anlik guncelleme // ch->UpdateSectree(); // ch->Update(); // ch->ComputePoints(); // ch->GetDesc()->DelayedDisconnect (7); return (iExtraLen); } } #In this documents packet.h packet_info.cpp input_main.cpp input_login.cpp #Change HEADER_CG_MOVE #With HEADER_CG_CHARACTER_MOVE if you get an error, change it like this while building char.cpp input_main.cpp packet.h HEADER_GC_MOVE Change with HEADER_GC_CHARACTER_MOVE
    2 points
  4. import os import shutil source_folder = '/txt/src' target_folder = '/txt/src2' if not os.path.exists(target_folder): os.makedirs(target_folder) ifdef = '#ifdef ' ifndef = '#ifndef ' define = 'ENABLE_SWITCHBOT' def process_files(source_folder, target_folder): for entry in os.scandir(source_folder): if entry.is_file() and entry.name.endswith(('.cpp', '.h')): with open(entry.path, 'r', encoding='latin1') as file: new_file = None copy = False lines = file.readlines() line_num = 0 for line in lines: if ifdef + define in line or ifndef + define in line: copy = True if not new_file: new_file = open(os.path.join(target_folder, entry.name), 'w', encoding='latin1') for i in range(max(0, line_num - 30), line_num): new_file.write(lines[i]) if copy: new_file.write(line) if '#endif' in line: if copy: new_file.write("\n // =================== INNA FUNKCJA ================= \n \n") new_file.write("// ====== WYSZUKAJ: ") new_file.write(define) new_file.write("\n// Tutorial wygenerowany automatycznie przez Grzyb.ovh \n") new_file.write("\n \n") copy = False line_num += 1 if new_file: new_file.close() elif entry.is_dir(): new_target_folder = os.path.join(target_folder, entry.name) if not os.path.exists(new_target_folder): os.makedirs(new_target_folder) process_files(entry.path, new_target_folder) process_files(source_folder, target_folder)
    2 points
  5. Download: [Hidden Content]
    2 points
  6. Download: Martysama Download link.rar @SFX has fix for you search shop buttons position Fix: uiikashop.py For those who do not know how to install it, you have here the OVA and Game with Mysql tar.gz Download: Ova Download.rar Ova: User: root Password: password Navicat: (You need to create SSH Tunnel) User: root Password: password
    1 point
  7. Includes weapons, costumes, wings, does not have mounts or pets Also CITIES is here Download Costumes : Package 2.10.2024.rar
    1 point
  8. P2PSendSwitchbot: No switchbot found to transfer. (pid 28 source_port 13000 target_port 16000) error appears when you change ch,port etc new_switchbot.cpp 1 void CSwitchbotManager::Initialize() { m_map_Switchbots.clear(); } to void CSwitchbotManager::Initialize() { for (auto& it : m_map_Switchbots) { delete it.second; } m_map_Switchbots.clear(); } 2 void CSwitchbotManager::P2PSendSwitchbot(DWORD player_id, WORD wTargetPort) { CSwitchbot* pkSwitchbot = FindSwitchbot(player_id); if (!pkSwitchbot) { sys_err("No switchbot found to transfer. (pid %d source_port %d target_port %d)", player_id, mother_port, wTargetPort); return; } pkSwitchbot->Pause(); to void CSwitchbotManager::P2PSendSwitchbot(DWORD player_id, uint16_t wTargetPort) { CSwitchbot* pkSwitchbot = FindSwitchbot(player_id); if (!pkSwitchbot) { return; } pkSwitchbot->Pause(); m_map_Switchbots.erase(player_id); TPacketGGSwitchbot pack; pack.wPort = wTargetPort; pack.table = pkSwitchbot->GetTable(); delete pkSwitchbot; pkSwitchbot = nullptr; P2P_MANAGER::Instance().Send(&pack, sizeof(pack)); }
    1 point
  9. Before ddf1462c637f1d75e71f9805da2b71bd.mp4 After 29f70a73e797c42eb891258bf134b0fa.mp4 Open char.cpp and search : void CHARACTER::ComputePoints() SetMaxStamina(iMaxStamina); add after int iCurHP = this->GetHP(); int iCurSP = this->GetSP(); Search ComputeSkillPoints(); RefreshAffect(); CPetSystem* pPetSystem = GetPetSystem(); if (NULL != pPetSystem) { pPetSystem->RefreshBuff(); } for (TMapBuffOnAttrs::iterator it = m_map_buff_on_attrs.begin(); it != m_map_buff_on_attrs.end(); it++) { it->second->GiveAllAttributes(); } UpdatePacket(); } Repleace with this ComputeSkillPoints(); RefreshAffect(); if (IsPC()) { CPetSystem * pPetSystem = GetPetSystem(); if (pPetSystem) pPetSystem->RefreshBuff(); // @Fixed Hp/Mp mount/unmount if (this->GetHP() != iCurHP) this->PointChange(POINT_HP, iCurHP-this->GetHP()); if (this->GetSP() != iCurSP) this->PointChange(POINT_SP, iCurSP-this->GetSP()); } UpdatePacket(); }
    1 point
  10. 1 point
  11. Fixes in general all descriptions of items, kd, etc. if the text is too long, automatically changes the value. Item ToolTip Width Fix.zip
    0 points
×
×
  • Create New...

Important Information

Terms of Service

Write what you are looking for and press enter or click the search icon to begin your search