Jump to content
  • 0

Changing Max Capacity of Guild Members!


Question

13 answers to this question

Recommended Posts

  • 0
Posted
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.

  • 0
Posted

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

  • Upvote 2
  • 0
Posted
On 9/13/2013 at 3:03 PM, Emistry said:

db/re/skill_db.txt#L1258

edit the skill max level

10004,0,0,0,0,0,0,10,0,no,0,0x10,0,none,0,0x0,	GD_EXTENSION,Guild Extension

if i changed the guild extension skill  max to 1 did it affect the max gcap example 16

my mmo
#define MAX_GUILD 6+10*1

int_guild
    // Set the max number of members, Guild Extention skill - currently adds 6 to max per skill lv.
    g->max_member = 6 + guild_checkskill(g, GD_EXTENSION) * 1;

    // Initialize guild property
    g->max_member=16;

  • -2
Posted

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 ~

Posted

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...

Posted

/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
Posted (edited)


 

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...