K Kamus Dev Pirate Registered LV 0 Joined May 16, 2026 Messages 21 Reaction score 0 Points 31 Jul 15, 2026 #1 Hello everyone, good evening. Could you help me with something? I need to set a limit on the guilds on my server; the current maximum is 80 players, and I want to reduce it. How can I do that?
Hello everyone, good evening. Could you help me with something? I need to set a limit on the guilds on my server; the current maximum is 80 players, and I want to reduce it. How can I do that?
zLuke Well-known Pirate Contributor Developer Registered LV 4 Joined Jan 29, 2026 Messages 114 Reaction score 106 Points 88 Age 41 Jul 15, 2026 #2 GameServer.cfg [Guild] guild_num = 40 // max in guild guild_try_num = 20 // allowed to register Reactions: Panda
K Kamus Dev Pirate Registered LV 0 Joined May 16, 2026 Messages 21 Reaction score 0 Points 31 Jul 15, 2026 #3 zLuke said: GameServer.cfg [Guild] guild_num = 40 // max in guild guild_try_num = 20 // allowed to register Click to expand... I set it up that way, but when I got into the game, it still shows 80.
zLuke said: GameServer.cfg [Guild] guild_num = 40 // max in guild guild_try_num = 20 // allowed to register Click to expand... I set it up that way, but when I got into the game, it still shows 80.
zLuke Well-known Pirate Contributor Developer Registered LV 4 Joined Jan 29, 2026 Messages 114 Reaction score 106 Points 88 Age 41 Jul 15, 2026 #4 UIGuildMgr.cpp C++: sprintf(buf,"%d/%d",CGuildData::GetMemberCount(),CGuildData::GetMaxMembers()); m_plabGuildMemberCount->SetCaption(buf); Data chain: 1. Opening the window → OnBeforeShow sends CM_GUILD_LISTTRYPLAYER() 2. Response → MC_GUILD_LISTTRYPLAYER (NetPkGuild.cpp) reads memnum / maxmem 3. NetMC_LISTTRYPLAYER_BEGIN writes them to CGuildData (guild_member_count / guild_member_max) 4. NetMC_LISTTRYPLAYER_END → ShowForm() → RefreshForm() → SetCaption on labNum The client's number source is only a package from the server!!! You may have edited the wrong cfg. You may not have restarted the GameServer. Reactions: Kamus Dev
UIGuildMgr.cpp C++: sprintf(buf,"%d/%d",CGuildData::GetMemberCount(),CGuildData::GetMaxMembers()); m_plabGuildMemberCount->SetCaption(buf); Data chain: 1. Opening the window → OnBeforeShow sends CM_GUILD_LISTTRYPLAYER() 2. Response → MC_GUILD_LISTTRYPLAYER (NetPkGuild.cpp) reads memnum / maxmem 3. NetMC_LISTTRYPLAYER_BEGIN writes them to CGuildData (guild_member_count / guild_member_max) 4. NetMC_LISTTRYPLAYER_END → ShowForm() → RefreshForm() → SetCaption on labNum The client's number source is only a package from the server!!! You may have edited the wrong cfg. You may not have restarted the GameServer.