Cydh Posted August 31, 2014 Posted August 31, 2014 (edited) Actually as follow up of my Pull: 86 and some idea from rAthena Guild Conf RequestConfig Updates: Changes 'emblem_woe_change' to 'disable_change_emblem' & added some options Added 'create_guild' to enable/disable guild creation by player. Added 'break_guild' to enable/disable break a guild by player. Added 'disable_invite' to enable/disable guild invitation by player. Added 'disable_expel' to enable/disable guild expulsion by player. Script Command Updates Added 'guild_info' to retrieve specified guild information from a given guild (name or ID). The available info by type are: Get guild information by given 'type': GINFO_NAMEID :If guild_id used, returns "guild name" or "" if not found. If "guild name" used, returns guild_id or -1 if not found GINFO_LEVEL : Guild level GINFO_ONLINE : Connected member GINFO_MAX : Max members GINFO_AVERAGE : Average member level GINFO_ALLY : Allies number, also returns .@ginfo_ally_id[] Ally Guild IDs .@ginfo_ally_name$[] Ally Guild Names GINFO_ENEMY : Enemy number, also returns .@ginfo_enemy_id[] Enemy Guild ID .@ginfo_enemy_name$[] Enemy Guild Name GINFO_CASTLE : Castles, also returns .@ginfo_castle_id[] Castle ID .@ginfo_castle_name$[] Castle Name Added 'guild_create' to create a new guild. (Ignore 'create_guild' config value) Added 'guild_addmember' to add new member to a guild. (Ignore 'disable_invite' config value) Added 'guild_delmember' to remove/kick/expel a guild member from a guild. (Ignore 'guild_expel' config value) Added 'guild_changegm' to change guild master from a guild. Added 'guild_break' to break a guild. Like @breakguild or /breakguild, guild must be empty first. (Ignore 'break_guild' config value) Download: Git Hash: 870273e : script_guild-rA-870273e4.diff Edited January 10, 2017 by Cydh 5 Quote
Radian Posted December 15, 2014 Posted December 15, 2014 Is it possible to add this kind of system? // Guild Classified = yes/no // If Set to 1/Yes it will activate this system. // If Guild Leader is Transcendent Class it will check everytime a guild leader/member invite someone on a guild // example : Player A (Trans) Invite > Player B 3rd Class it will display [ Player B is not allowed to enter a Transcendent Guild. ] // another example : Player A (Third Job) Invite > Player B Transcendent Class it will display [ Player B is not allowed to enter a Transcendent Guild. ] // Default : no guild_classified: no Quote
Radian Posted December 20, 2014 Posted December 20, 2014 paid request? I pm'ed you about that. @offtopic on your signature what's the meaning of that? build failing? Quote
Cydh Posted December 20, 2014 Author Posted December 20, 2014 paid request? I pm'ed you about that. @offtopic on your signature what's the meaning of that? build failing? it's success now. rAthena Build Status in TravisCI Quote
Radian Posted December 20, 2014 Posted December 20, 2014 paid request? I pm'ed you about that. @offtopic on your signature what's the meaning of that? build failing? it's success now. rAthena Build Status in TravisCI Nice. is it done? Quote
Radian Posted December 21, 2014 Posted December 21, 2014 @Cydh I am having warnings while compiling.. clif.c: In function ‘clif_sub_guild_invite’: clif.c:12784: warning: ‘return’ with no value, in function returning non-void CC date.c CC duel.c CC elemental.c CC guild.c guild.c: In function ‘guild_created’: guild.c:377: warning: ‘return’ with a value, in function returning void guild.c: In function ‘guild_invite’: guild.c:556: warning: ‘return’ with a value, in function returning void Related to this clif.c: In function ‘clif_sub_guild_invite’: clif.c:12784: warning: ‘return’ with no value, in function returning non-void what I did was I change this return 0; into this return 1; then about this one guild.c: In function ‘guild_created’: guild.c:377: warning: ‘return’ with a value, in function returning void i change this line return 0; into this return; and then this one guild.c: In function ‘guild_invite’: guild.c:556: warning: ‘return’ with a value, in function returning void I changed this return 0; into this return; Please tell me if I changed it wrong... Quote
SyncMaster Posted November 14, 2015 Posted November 14, 2015 (edited) So many errors. I cannot deal they. . There are any other new version or anything that I can put at an script that put someone inside a guild? Edited November 14, 2015 by SyncMaster Quote
Cydh Posted November 16, 2015 Author Posted November 16, 2015 So many errors. I cannot deal they. . There are any other new version or anything that I can put at an script that put someone inside a guild? I can try update this mod for recent rAthena. 1 Quote
SyncMaster Posted November 17, 2015 Posted November 17, 2015 (edited) I can try update this mod for recent rAthena. It will make my life way more easy. If you intend do that, please, tell me. Edited November 17, 2015 by SyncMaster Quote
Cydh Posted November 17, 2015 Author Posted November 17, 2015 I can try update this mod for recent rAthena. It will make my life way more easy. If you intend do that, please, tell me. There the updated file on first post 1 Quote
Radian Posted May 21, 2016 Posted May 21, 2016 Actually as follow up of my Pull: 86 and some idea from rAthena Guild Conf Request Config Updates: Changes 'emblem_woe_change' to 'disable_change_emblem' & added some options Added 'create_guild' to enable/disable guild creation by player. Added 'break_guild' to enable/disable break a guild by player. Added 'disable_invite' to enable/disable guild invitation by player. Added 'disable_expel' to enable/disable guild expulsion by player. Script Command Updates Added 'guild_info' to retrieve specified guild information from a given guild (name or ID). The available info by type are:0: If guild_id used, returns "guild name" or "" if not found. If "guild name" used, returns guild_id or -1 if not found 1: Returns a guild level 2: Returns a number of connected members 3: Returns a number of max members 4: Returns a number of average member level 5: Returns a number of allies number. Also $@guildallies_id[] & $@guildallies_name$[] array for Ally IDs & Names 6: Returns a number of enemy number. Also $@guildenemies_id[] & $@guildenemies_name$[] array for Enemy IDs & Names 7: Returns a number of castles owned. Also $@guildcastles_id[] & $@guildcastles_name$[] array for Castle IDs & Names Added 'guild_create' to create a new guild. (Ignore 'create_guild' config value) Added 'guild_addmember' to add new member to a guild. (Ignore 'disable_invite' config value) Added 'guild_delmember' to remove/kick/expel a guild member from a guild. (Ignore 'guild_expel' config value) Added 'guild_changegm' to change guild master from a guild. Added 'guild_break' to break a guild. Like @breakguild or /breakguild, guild must be empty first. (Ignore 'break_guild' config value) Download: 8c360c9a875496630e56a54ef0e565cbab6b1380: script_guild-rA-20151117-8c360c.diff Cydh? On this part : // Allow to create a new guild (bitmask) // 0: Disable // 1: Enable via client // 2: Enable via atcommand create_guild: 2 I can still use /guild even tho i set it for 2 there is no error while compiling. maybe update for the recent rA? Quote
Cydh Posted August 4, 2016 Author Posted August 4, 2016 @Radian, try again. Updated for 4e137d30 Changes on guild_info On newer diff, type for guild_info now using constants, and THE VARIABLES to store Allies, Enemies, and Castles are changed! 2 Quote
Cydh Posted January 10, 2017 Author Posted January 10, 2017 Updated for 870273e48f306d7af76dce976ec756bb3c8a409d 1 Quote
Radian Posted April 3, 2017 Posted April 3, 2017 Maybe we can suggest this to be added on the main branch? this is such a feature. Quote
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.