-
Posts
22 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Suzar
-
-
What in this case? return true; or return false; ?
File: PythonNetworkStreamPhaseGame.cpp
Spoilerbool CPythonNetworkStream::__SendCRCReportPacket()
{
/*
DWORD dwProcessCRC = 0;
DWORD dwFileCRC = 0;
CFilename exeFileName;
//LPCVOID c_pvBaseAddress = NULL;GetExeCRC(dwProcessCRC, dwFileCRC);
CFilename strRootPackFileName = CEterPackManager::Instance().GetRootPacketFileName();
strRootPackFileName.ChangeDosPath();TPacketCGCRCReport kReportPacket;
kReportPacket.header = HEADER_CG_CRC_REPORT;
kReportPacket.byPackMode = CEterPackManager::Instance().GetSearchMode();
kReportPacket.dwBinaryCRC32 = dwFileCRC;
kReportPacket.dwProcessCRC32 = dwProcessCRC;
kReportPacket.dwRootPackCRC32 = GetFileCRC32(strRootPackFileName.c_str());if (!Send(sizeof(kReportPacket), &kReportPacket))
Tracef("SendClientReportPacket Error");return SendSequence();
*/
return true;
} -
Where is true in packet_info.cpp I get errors. For example:
packet_info.cpp:210:71: error: no matching function for call to 'CPacketInfoCG::Set(<unnamed enum>, unsigned int, const char [9], bool)'
Set(HEADER_CG_TIME_SYNC, sizeof(TPacketCGHandshake), "TimeSync", true); -
3 hours ago, Owsap said:
If you are rendering the frames while the client is minimized, then maybe try to disable it.
/// 1. @ Source/Client/UserInterface/PythonApplication.cpp // Search if (m_isMinimizedWnd) { canRender = true; } // Replace with if (m_isMinimizedWnd) { canRender = false; }
Also, update your DirectX: https://www.microsoft.com/en-us/download/details.aspx?id=35
StateManager files without the macros.
If you say it runs well on Debug build then use the macros set for it on Release and Distribute builds.
Hi! Yes, at the very beginning with the code work I added this fix for rendering with minimized window, so I just changed back from true to false and the problem is gone! I don't know what it had to do with this problem not appearing on Debug, but the problem can be considered solved, thank you very much for the hint!
- 1
- 1
- 2
-
-
3 minutes ago, Denizeri24 said:
delete d3d8.dll in game binary folder. windows already support old directx versions(system32/d3d8thk.dll)
I do not have d3d8.dll in the game folder, nor in the Source Client.
PS: PS: As I said, on other servers (also those where Clienta starts as Administrator) there is no this problem
-
EDIT: I noticed that this event only appears when I run any AS ADMINISTRATOR application. Whether it's metin or not, if I enable anything as administrator, my Client metin2 closes. Additionally, while debugging the Client according to the Martysama tutorial, I registered these "bugs". (Before I did not know that it is possible to debug the release or distribution version in live visual studio at all, in the post above there was no Martysama tutorial, only "Attach to Process".) I compared all lines with sources that do not have this problem and of course everything is 1: 1 ...
-
12 hours ago, Denizeri24 said:
just debug, we dont need pdb for d3d8 library. we only need to find the broken code..
But what do you mean exactly? There is no such problem on the application in the debug version (Metin2Dev_Debug.exe).
-
8 minutes ago, SergiuAndreiM said:
czy masz
#ifndef ENABLE_SHOW_LIDER_AND_GENERAL_GUILD
#define ENABLE_SHOW_LIDER_AND_GENERAL_GUILD
#define ENABLE_SHOW_LIDER_AND_GENERAL_GUILD_VALUE1 "[Lider]"
#define ENABLE_SHOW_LIDER_AND_GENERAL_GUILD_VALUE2 "[Ogólny]"
#endifjeśli tak, istnieją różne wersje, jedna z nich powoduje Twój problem,
jeśli nie… dobrze, powodzenia
No, I didn't add this system.
PS: I have this error from the beginning (it was also on the clean source), but only now I figured out how to trigger it.
Edit: As for the Debug bin this problem does not occur, in Visual Studio I chose "Attach in Process" for the first Client and when trying to start the next Client, the former crashed, and Visual Studio showed just the following about d3d8. Does anyone know what this might be? I compared the Extern directory with other sources and everything is 1: 1 ...
-
12 minutes ago, Denizeri24 said:
debugowanie z Visual Studio..
This problem does not occur when debugging.
-
Hello, I have a problem. I turn on the game, log in, minimize the Client and when I try to turn on the next Client, the first Client automatically turns off. Syserr i i Syslog - 0. This is not the problem for sure as I checked it (and have it done) https://metin2.dev/board/topic/24715-questionrandom-client-crash-with-no-syserr I only get ErrorLog, which is ALMOST the same as when I normally shut down the Client, but with a difference, it also points to some problem with directx. Has anyone had a similar problem? (PS: Sorry, but I'm using translator.)
PS: This only happens with my server, there is no problem on other servers.
-
Instead: if( !m_pCSHybridCryptPolicy->DecryptMemory(std::string(filename), static_cast<const BYTE*>(*data), index->data_size, *zObj) )
I have it 2x: if( !m_pCSHybridCryptPolicy->DecryptMemory(string(filename), static_cast<const BYTE*>(*data), index->data_size, *zObj) )
Instead: if( !m_pCSHybridCryptPolicy->GetSupplementaryDataBlock(std::string(filename), pSDBData, iSDBSize) )
I have it 2x: if( !m_pCSHybridCryptPolicy->GetSupplementaryDataBlock(string(filename), pSDBData, iSDBSize) )
and 1x: if( !m_pCSHybridCryptPolicy->GetSupplementaryDataBlock(string(index->filename), pSDBData, iSDBSize) )
This: else if (COMPRESSED_TYPE_PANAMA == index->compressed_type) { CLZObject * zObj = new CLZObject; __Decrypt_Panama(filename, static_cast<const BYTE*>(*data), index->data_size, *zObj); out_file.BindLZObjectWithBufferedSize(zObj); *data = zObj->GetBuffer(); }
I have it 2x.
So how do you add it correctly? Under every found?
- 1
-
it's not sorting, it's stacking
-
int analyze_protect;
int analyze_protect_count;
where do I add to in char.h?
-
13 hours ago, nazox said:
The guide as a base is very good, but you have to do many more things, In my case have to change extern, boost, change more lines, add others that I did not have, in short, it depends a lot on the source you have, you will have to do half source or just change things xD, keep trying, I was +6 months.
Personally, I recommend it to "beginners" GCC7. Fewer complications compared to Clang.
-
if you have problems with libserverkey compilation - use: pkg install -y openssl
-
I do not recommend it, it causes a lot of inconvenience.
- 1
-
where is rar? xd
-
not working.
-
this is bait?
-
On 19.04.2020 at 15:45, AKUROS said:
Great offline shop ->
VirusTotal:
Fix 1:
Fix 2:
Fix 3:
#include "../libgame/include/grid.h" // Aratılır. #include "../../libgame/include/grid.h" //Şeklinde değiştirilir.
#ifdef SHOP_ONLY_ALLOWED_INDEX bool block = (shop_max > 0 ? (get_offline_shops_count() >= shop_max): false); #else bool block = (get_offline_shops_count() >= shop_max); #endif if (block) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("SHOP_MAP_MAX")); return; } } // Aratılır. {char.cpp} bool block = false; #ifdef SHOP_ONLY_ALLOWED_INDEX if (shop_max > 0) { #else if (shop_max == 0) block = true; else { #endif std::auto_ptr <SQLMsg> pkMsg(DBManager::instance().DirectQuery("SELECT map_index from player_shop WHERE channel=%d and status='OK' and map_index=%d", g_bChannel, GetMapIndex())); SQLResult* pRes = pkMsg->Get(); if (pRes->uiNumRows >= shop_max) block = true; } if (block) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("SHOP_MAP_MAX")); return; } } // Şeklinde değiştirilir.
Odradzam inne systemy. Poproszą cię o pieniądze za ten sklep specjalnie tylko estetycznie, dodając kilka funkcji.
Używam tego systemu na swoim serwerze od 2018 roku.
These are all fixes, has anything changed by then? PS: Can you have a reupload?
- 9
- 1
- 1
- 5
- 1
-
Where is python code?
Fix unknown header 100% server: 1k player online francec
in Bug Fixes
Posted
No offense, but I find this tutorial very inaccurate, you can get very confused .. If you had the time it would be nice if you shared the .cpp / .h files that are already edited, I think a lot of people would be grateful and there would be no questions