Jump to content
  • 0

Disable Guild Creation


Question

Posted

please help me how to disable creating a guild. I change the item requirement in guild.c and recompile but they still able to make a guild.I change this:

 if( battle_config.guild_emperium_check && pc_search_inventory(sd,714) == -1 )
{// item required
 clif_guild_created(sd,3);
 return 0;

5 answers to this question

Recommended Posts

Posted

but...if comment out the item from item_db...

it might lead to error message spamming in your mapconsole...

because you disabled that item that might drop from monster..

perhaps you can do a little modification on the code ??

something like changing the item required to make guild...from Emperium to other UnObtainable items there...

pc_search_inventory(sd,714)

to this

pc_search_inventory(sd,12345)

change the value "12345" to other items ( it is just an example )

Posted

Also to add: if you only need to disable guild creation on 1 map (like for an event),

you can use the guildlock mapflag. Mapflag#guildlock

This will block changes to guild: /guild, invite, leave, expel, add/delete Alliance/Opposition, @changegm and /breakguild.

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