meneleos
Member-
Posts
48 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
meneleos last won the day on May 22 2022
meneleos had the most liked content!
About meneleos
Informations
-
Gender
Male
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
meneleos's Achievements
-
A necessary function for some systems that were added later.
-
meneleos started following BetaShield | AntiCheat Project , CAniImageBox Loading Optimized , Two music are playing at the same time. and 5 others
-
There is a problem with clearimages function. void CAniImageBox::ClearImages() { while (!m_ImageFileNames.empty()) m_ImageFileNames.pop(); for_each(m_ImageVector.begin(), m_ImageVector.end(), CGraphicExpandedImageInstance::DeleteExpandedImageInstance); m_ImageVector.clear(); } fixed.
-
Two music are playing at the same time.
meneleos replied to Tatsumaru's topic in Community Support - Questions & Answers
in game.py find this: netFieldMusicFileName = m2netm2g.GetFieldMusicFileName() if netFieldMusicFileName: snd.FadeInMusic("BGM/" + netFieldMusicFileName) elif musicInfo.fieldMusic != "": snd.FadeInMusic("BGM/" + musicInfo.fieldMusic) change: if (musicInfo.fieldMusic != "xmas.mp3"): netFieldMusicFileName = m2netm2g.GetFieldMusicFileName() if netFieldMusicFileName: snd.FadeInMusic("BGM/" + netFieldMusicFileName) elif musicInfo.fieldMusic != "": snd.FadeInMusic("BGM/" + musicInfo.fieldMusic) finally; [Hidden Content] -
Empire flag disappear - visual bug
meneleos replied to ReFresh's topic in Community Support - Questions & Answers
[Hidden Content] Instancebase.cpp/ ChangeArmor: add these two lines: [Hidden Content]- 1 reply
-
- 2
-
Delete TorrentPatch.pdb
-
-
Download Metin2 Download I cleaned official patcher source code, upgrade libraries and made it compilable with vs2013. You can upgrade to a higher version(15-17-19) if you wish. [Hidden Content]
- 1 reply
-
- 272
-
Display inviter name at question dialog
meneleos replied to ReFresh's topic in Community Support - Questions & Answers
sorry find this line p.size = sizeof(p) + sizeof(DWORD) + GUILD_NAME_MAX_LEN + 1; and change p.size = sizeof(p) + sizeof(DWORD) + GUILD_NAME_MAX_LEN + 1 + CHARACTER_NAME_MAX_LEN + 1; client change case GUILD_SUBHEADER_GC_GUILD_INVITE case GUILD_SUBHEADER_GC_GUILD_INVITE: { DWORD dwGuildID; if (!Recv(sizeof(dwGuildID), &dwGuildID)) return false; char szGuildName[GUILD_NAME_MAX_LEN+1]; if (!Recv(sizeof(szGuildName), &szGuildName)) return false; char szInviterName[CHARACTER_NAME_MAX_LEN+1]; if (!Recv(sizeof(szInviterName), &szInviterName)) return false; szGuildName[GUILD_NAME_MAX_LEN] = 0; szInviterName[CHARACTER_NAME_MAX_LEN] = 0; PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "RecvGuildInviteQuestion", Py_BuildValue("(iss)", dwGuildID, szGuildName, szInviterName)); Tracef(" <Guild Invite> %d, %s, %s\n", dwGuildID, szGuildName, szInviterName); break; } -
Display inviter name at question dialog
meneleos replied to ReFresh's topic in Community Support - Questions & Answers
Server/Game/guild.cpp DWORD gid = GetID(); TPacketGCGuild p; p.header = HEADER_GC_GUILD; p.size = sizeof(p) + sizeof(DWORD) + GUILD_NAME_MAX_LEN + 1 + CHARACTER_NAME_MAX_LEN + 1; p.subheader = GUILD_SUBHEADER_GC_GUILD_INVITE; TEMP_BUFFER buf; buf.write( &p, sizeof(p) ); buf.write( &gid, sizeof(DWORD) ); buf.write( GetName(), GUILD_NAME_MAX_LEN + 1 ); buf.write( pchInviter->GetName(), CHARACTER_NAME_MAX_LEN + 1 ); // send inviter name pchInvitee->GetDesc()->Packet( buf.read_peek(), buf.size() ); Client/UserInterface/PythonNetworkStreamPhaseGame.cpp case GUILD_SUBHEADER_GC_GUILD_INVITE: { DWORD dwGuildID; if (!Recv(sizeof(dwGuildID), &dwGuildID)) return false; char szGuildName[GUILD_NAME_MAX_LEN+1]; if (!Recv(sizeof(szGuildName), &szGuildName)) return false; char szInviterName[CHARACTER_NAME_MAX_LEN+1]; if (!Recv(sizeof(szInviterName), &szInviterName)) return false; szGuildName[GUILD_NAME_MAX_LEN] = 0; szInviterName[CHARACTER_NAME_MAX_LEN] = 0; PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "RecvGuildInviteQuestion", Py_BuildValue("(iss)", dwGuildID, szGuildName, szInviterName)); Tracef(" <Guild Invite> %d, %s, %s\n", dwGuildID, szGuildName, szInviterName); break; } root/game.py ## Guild def RecvGuildInviteQuestion(self, guildID, guildName, inviterName): guildInviteQuestionDialog = uicommon.QuestionDialog() guildInviteQuestionDialog.SetText(localeInfo.GUILD_DO_YOU_JOIN_NEW % (inviterName, guildName)) guildInviteQuestionDialog.SetAcceptEvent(lambda arg=True: self.AnswerGuildInvite(arg)) guildInviteQuestionDialog.SetCancelEvent(lambda arg=False: self.AnswerGuildInvite(arg)) guildInviteQuestionDialog.Open() guildInviteQuestionDialog.guildID = guildID self.guildInviteQuestionDialog = guildInviteQuestionDialog locale_game.txt GUILD_DO_YOU_JOIN_NEW %s has invited you to %s. Do you want to join? -
prt->material_count = 0; for (int i = 0; i < REFINE_MATERIAL_MAX_NUM; i++) { str_to_number(prt->materials[i].vnum, data[col++]); str_to_number(prt->materials[i].count, data[col++]); if (prt->materials[i].vnum != 0) prt->material_count++; }
-
[Hidden Content]
- 28 replies
-
- 39
-
PROBLEM WITH NEW BONUS (UNKNOW_VALUE)
meneleos replied to Asterix's topic in Community Support - Questions & Answers
TOOLTIP_RES_MOB Resistenza contro mostri +%d%% SA change -
'GetMapIndex' was not declared in this scope
meneleos replied to birender's topic in Community Support - Questions & Answers
? GetMapIndex() -->change to --> ch->GetMapIndex() -
can't I get a long long data type?
meneleos replied to enisina's topic in Community Support - Questions & Answers
arg1 & arg2 not int. try: ch->ChatPacket(CHAT_TYPE_INFO, "1. %s 2.%s", arg1, arg2 ); or : ch->ChatPacket(CHAT_TYPE_INFO, "1. %s 2.%s", atoi(arg1), atoi(arg2) );