maynard Posted January 7, 2012 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 159 Reputation: 1 Joined: 12/21/11 Last Seen: April 20, 2014 Share 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 Link to comment Share on other sites More sharing options...
Arcenciel Posted January 7, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share 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 Link to comment Share on other sites More sharing options...
Brian Posted January 8, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
maynard Posted January 12, 2012 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 159 Reputation: 1 Joined: 12/21/11 Last Seen: April 20, 2014 Author Share Posted January 12, 2012 Solved, sorry for the late reply.Thanks everyone. Quote Link to comment Share on other sites More sharing options...
ngek202 Posted January 21, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted January 21, 2012 can you Share? 1 Quote Link to comment Share on other sites More sharing options...
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:
Link to comment
Share on other sites
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.