Jump to content
  • 0

how to change the guild requirement


lakasmonk

Question


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  231
  • Reputation:   23
  • Joined:  12/18/11
  • Last Seen:  

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

how to added Zeny Requirement too?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  133
  • Reputation:   14
  • Joined:  12/23/11
  • Last Seen:  

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 by kenshn111
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  231
  • Reputation:   23
  • Joined:  12/18/11
  • Last Seen:  

Not working

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   12
  • Joined:  08/22/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  231
  • Reputation:   23
  • Joined:  12/18/11
  • Last Seen:  

ok ill try what if i use a custom item

Link to comment
Share on other sites

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.

×
×
  • Create New...