Jump to content
  • 0
Yoona

Changing Max Capacity of Guild Members!

Question

12 answers to this question

Recommended Posts

  • 0
On 11/23/2019 at 10:56 PM, gidzdlcrz said:

^ so does it work?

What you need to change :

src/char/int_guild about max capacity calculation initialization and also at guild extension code <

src/common/mmo.h for new calculation

If you're going to reduce the member capacity, better for you to wipe all related guild databases first including guild id in every character.

Link to comment
Share on other sites

  • 0

Just sharing my max guild capacity by 20

 

/src/common/mmo.h :

 

From 

#define MAX_GUILD 16+10*6 

 

to

#define MAX_GUILD 10+10*1 // increased max guild members +6 per 1 extension levels [Lupus]

 

and

/src/char/int_guild.c :

 

From

 g->max_member = 16 + guild_checkskill(g, GD_EXTENSION) * 6;

to

 g->max_member = 10 + guild_checkskill(g, GD_EXTENSION) * 1;

 

image.png.6f56b5c0ad00bb3962cc298881ad6087.png

Link to comment
Share on other sites

  • -2

after you do that you should clear the guild in your server .... since you already limited it to 20+ member...but your previous guild could have more member than 20 ...

btw...the guild expansion skill .... if not mistaken it will still affect your guild capacity ~

Link to comment
Share on other sites

after you do that you should clear the guild in your server .... since you already limited it to 20+ member...but your previous guild could have more member than 20 ...

btw...the guild expansion skill .... if not mistaken it will still affect your guild capacity ~

 

actually i already did that, then i create a new guild upgrade the Guild Extension that error pops out...

Link to comment
Share on other sites

perhap you can try edit the max skill level of that skill or disable it ?

 

where can i edit the Guild Extension effect?

Link to comment
Share on other sites

/src/char/int_guild.c , around line 838

// Set the max number of members, Guild Extention skill - currently adds 6 to max per skill lv.
        g->max_member = 16 + guild_checkskill(g, GD_EXTENSION) * 6;
  • Upvote 1
Link to comment
Share on other sites


 

I don't know if, I did something wrong but seeing this...

 

That's because your sql.. Make sure you did truncate related tables for this modifications.

 

 

These is what I've done for 36 (example) max guild members :

/src/common/mmo.h :
 

#define MAX_GUILD 16+10*6 // increased max guild members +6 per 1 extension levels [Lupus]
 


changed to
 

#define MAX_GUILD 16+20*1 // increased max guild members +6 per 1 extension levels [Lupus]
 

And

/src/char/int_guild.c :
 

 g->max_member = 16 + guild_checkskill(g, GD_EXTENSION) * 6;
 


changed to
 

 g->max_member = 16 + guild_checkskill(g, GD_EXTENSION) * 1;
 


And I'm referring this guide : http://rathena.org/board/topic/61039-help-max-guild-member/#entry89640


and this : http://www.eathena.ws/board/index.php?showtopic=222757&st=0

Edited by uDe
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.