Warning! This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on GitHub Issues.
Issue information
Issue ID
#7228
Status
Fixed
Severity
None
Started
memoryss
May 9, 2013 16:12
Last Post
Ind
May 9, 2013 19:23
Confirmation
N/A
memoryss - May 9, 2013 16:12
1. opposed guild members would also join the channel.
2. guild members wouldn't join/leave ally channel when alliance change.
Ind - May 9, 2013 16:31
[quote]
1. opposed guild members would also join the channel.[/quote]how can I reproduce that? I mean how can they join the channel?
memoryss - May 9, 2013 16:34
[code=auto:0]
for (i = 0; i < MAX_GUILDALLIANCE; i++) {
if( sg->alliance[i].guild_id == sd->status.guild_id ) { //without opposition checking
clif->chsys_join(channel,sd);
break;
}
}
[/code]
Ind - May 9, 2013 16:37
o__O you can have a allied guild be in the opposition guild?
memoryss - May 9, 2013 16:40
when sg->alliance[i].opposition==1 ??
how about using guild_isallied?
This post has been edited by
memoryss
on May 9, 2013 16:41
Ind - May 9, 2013 16:45
ooh o.o~ I didn't know that, thank you! :D
memoryss - May 9, 2013 16:46
ur welcome :)
Ind - May 9, 2013 19:23
Thank you again
[url="https://github.com/HerculesWS/Hercules/commit/cd2f5e4a687b2abbdb9d795e5c91b874aa0d2546"]https://github.com/HerculesWS/Hercules/commit/cd2f5e4a687b2abbdb9d795e5c91b874aa0d2546[/url]