Junior Spellweaver
- Joined
- Oct 28, 2020
- Messages
- 131
- Reaction score
- 22
complicated with friend and club invitewhy is it complicated to merge on juver![]()
complicated with friend and club invitewhy is it complicated to merge on juver![]()
Easy to mergewhy is it complicated to merge on juver![]()
easy to merge even using vs 2003 but compiling so longEasy to merge
manage to merge but party finder search button not show....anyone have full gui for partyfinder?![]()
Thanks, it is a good function.Party Link Source
In fact, it should not show all maps' names on the list...
// PartyFinderWindow.h
#include <unordered_map>
...
VECPARTYSEARCH m_vecPartySearchView; // view container
std::unordered_map<int, SNATIVEID> m_mapNodes;
// PartyFinderWindow.cpp
void CPartyFinderWindow::InitPartySearch()
{
PartyResetInfo();
CString strTemp;
strTemp.Format( "%s", ID2GAMEWORD( "PARTYFINDER_AREAS") );
int nIndex = m_pListTextBox->AddText ( strTemp.GetString(), NS_UITEXTCOLOR::WHITE );
m_pListTextBox->SetTextData ( nIndex, 0 );
//! --------- loop all map enhancement | moon | 2 Sept 2023 ---------
m_mapNodes.clear();
auto i = 0;
auto f = [this, &nIndex](int _i, const SMAPNODE* _m) {
if (!_m) return;
nIndex = m_pListTextBox->AddText(_m->strMapName.c_str(), NS_UITEXTCOLOR::WHITE);
m_pListTextBox->SetTextData(nIndex, _i);
m_mapNodes[_i] = _m->sNativeID;
};
m_mapNodes[i++] = SNATIVEID(false);
auto m22 = GLGaeaClient::GetInstance().FindMapNode(SNATIVEID(22,0));
f(i++, m22);
for (const auto p : GLGaeaClient::GetInstance().GetMapList()) {
auto m = &(p.second);
f(i++, m);
}
....
}
...
void CPartyFinderWindow::SelectPartyArea ( int nIndex )
{
m_vecPartySearchView.clear();
m_nCurrentPage = 1;
m_vecPartySearch = GLGaeaClient::GetInstance().GetCharacter()->m_vecPartySearch;
/** TEST PUSH BACK **/
DWORD dwSIZE = static_cast<DWORD>(m_vecPartySearch.size());
int nCounter = 0;
for ( DWORD i=0; i<dwSIZE; ++i )
{
const PARTYLINKDATA &sParty = m_vecPartySearch[i];
m_vecPartySearch[i].dwIndex = nCounter;
m_mapPartySearch[sParty.dwPartyID] = sParty;
nCounter++;
}
//! --------- loop all map enhancement | moon | 2 Sept 2023 ---------
auto m = m_mapNodes[nIndex];
for( MAPPARTYSEARCH_ITER iter = m_mapPartySearch.begin();
iter != m_mapPartySearch.end(); ++iter )
{
PARTYLINKDATA& sPartyData = (*iter).second;
if (m.wMainID != SNATIVEID::ID_NULL && sPartyData.m_sMapID != m) continue;
...
}
}
Easy to merge
Yes, No missing code leads it simple. Just take two minutes to compile all by VS2022 lol.easy to merge even using vs 2003 but compiling so long![]()
Nah merge is hard for me idk what the solution of itThanks, it is a good function.
View attachment 241163
In fact, it should not show all maps' names on the list...
Perhaps someone also wants to know how to implement it.
Let me share how to do this to thank the author.
This is very easy to do.
Remark: You may need to change some keywords to support VS2003/VS2008.
C++:// PartyFinderWindow.h #include <unordered_map> ... VECPARTYSEARCH m_vecPartySearchView; // view container std::unordered_map<int, SNATIVEID> m_mapNodes; // PartyFinderWindow.cpp void CPartyFinderWindow::InitPartySearch() { PartyResetInfo(); CString strTemp; strTemp.Format( "%s", ID2GAMEWORD( "PARTYFINDER_AREAS") ); int nIndex = m_pListTextBox->AddText ( strTemp.GetString(), NS_UITEXTCOLOR::WHITE ); m_pListTextBox->SetTextData ( nIndex, 0 ); //! --------- loop all map enhancement | moon | 2 Sept 2023 --------- m_mapNodes.clear(); auto i = 0; auto f = [this, &nIndex](int _i, const SMAPNODE* _m) { if (!_m) return; nIndex = m_pListTextBox->AddText(_m->strMapName.c_str(), NS_UITEXTCOLOR::WHITE); m_pListTextBox->SetTextData(nIndex, _i); m_mapNodes[_i] = _m->sNativeID; }; m_mapNodes[i++] = SNATIVEID(false); auto m22 = GLGaeaClient::GetInstance().FindMapNode(SNATIVEID(22,0)); f(i++, m22); for (const auto p : GLGaeaClient::GetInstance().GetMapList()) { auto m = &(p.second); f(i++, m); } .... } ... void CPartyFinderWindow::SelectPartyArea ( int nIndex ) { m_vecPartySearchView.clear(); m_nCurrentPage = 1; m_vecPartySearch = GLGaeaClient::GetInstance().GetCharacter()->m_vecPartySearch; /** TEST PUSH BACK **/ DWORD dwSIZE = static_cast<DWORD>(m_vecPartySearch.size()); int nCounter = 0; for ( DWORD i=0; i<dwSIZE; ++i ) { const PARTYLINKDATA &sParty = m_vecPartySearch[i]; m_vecPartySearch[i].dwIndex = nCounter; m_mapPartySearch[sParty.dwPartyID] = sParty; nCounter++; } //! --------- loop all map enhancement | moon | 2 Sept 2023 --------- auto m = m_mapNodes[nIndex]; for( MAPPARTYSEARCH_ITER iter = m_mapPartySearch.begin(); iter != m_mapPartySearch.end(); ++iter ) { PARTYLINKDATA& sPartyData = (*iter).second; if (m.wMainID != SNATIVEID::ID_NULL && sPartyData.m_sMapID != m) continue; ... } }
Yes, No missing code leads it simple. Just take two minutes to compile all by VS2022 lol.
same problem with meWhenever I click the icon, nothing happens, the character just walks.
Any idea what to check?
View attachment 238822
you need to test it on live...same problem with me
Same problem with thisView attachment 238938
Stuck in 1 problem that needs to be fixed.
"overloaded" look at the hilightedSame problem with this
GoView attachment 238938
Stuck in 1 problem that needs to be fixed.
Thank you i will try to merge it againGo
GLParty.h
Find:
GLPARTY_FNET ( DWORD dwGaeaID, char* szName, EMCHARCLASS emClass, SNATIVEID sMapID )
replace:
GLPARTY_FNET ( DWORD dwGaeaID, char* szName, EMCHARCLASS emClass, SNATIVEID sMapID, WORD wLevel )

check source search PARTYSEARCH DELAY and also i don't want vps/rdpAny One Help me to my Error I'll Give VPS/RDP.
Please help me how to remove the one that always appears to be Chinese because I don't understand it. I hope someone can help me.
View attachment 241407
already Fix sircheck source search PARTYSEARCH DELAY and also i don't want vps/rdp
guigood day sirs can you help me with this GUI problem? please and thank you.
Problem: after pressing party finder button, it comes out like this no window.