lakasmonk Posted December 29, 2012 Posted December 29, 2012 how to change the required item on making a guild for example emperium is the default item i want to change it to may custom item 20101 and disable the /guild and use an NPC to create a guild the custom item name is Guild Permit Quote
Hyvraine Posted December 29, 2012 Posted December 29, 2012 (edited) Lol I'm using eAthena so try src/map/guild.c around line 410 or so.. or just look for this: Line 410: if( battle_config.guild_emperium_check && pc_search_inventory(sd,714) == -1 ) Line 437: pc_delitem(sd,pc_search_inventory(sd,714),1,0,0); // ƒGƒ“ƒyƒŠƒEƒ€�Á–Õ Use Notepad++, CTRL+F then Find in Files and put ",714" With the comma, yeah. Of course you'd have to put the correct directory P.S. I have no idea in source coding. Edited December 29, 2012 by kenshn111 Quote
Kyo Posted December 29, 2012 Posted December 29, 2012 The easiest you can do is go to src/map/guild.c, just as kenshn111 said, find the following if( battle_config.guild_emperium_check && pc_search_inventory(sd,714) == -1 ) Change it to the following if( battle_config.guild_emperium_check && pc_search_inventory(sd,55555) == -1 ) //Just use an item ID that doesn't exist, so people won't be able to make a guild. Then you create a NPC that requires your requested item to make a guild, after the guild was created via NPC delete it. Quote
lakasmonk Posted December 31, 2012 Author Posted December 31, 2012 ok ill try what if i use a custom item Quote
Question
lakasmonk
how to change the required item on making a guild
for example emperium is the default item i want to change it to may custom item 20101 and disable the /guild and use an NPC to create a guild
the custom item name is Guild Permit
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.