maynard Posted January 7, 2012 Posted January 7, 2012 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; Quote
Arcenciel Posted January 7, 2012 Posted January 7, 2012 To accomplish this without using source just comment out the item_db entry for emperium and disable the command @guild. Quote
Emistry Posted January 8, 2012 Posted January 8, 2012 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 ) Quote
Brian Posted January 8, 2012 Posted January 8, 2012 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. Quote
maynard Posted January 12, 2012 Author Posted January 12, 2012 Solved, sorry for the late reply.Thanks everyone. Quote
Question
maynard
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:
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.