Cydh Posted October 21, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share Posted October 21, 2016 New Config StructureFor private channel creation private_channel: { allow: true // (bool) Allow playerto create own channel? color: "Default" // (string) Default color, see colors delay: 1000 // (int) Chat delay for each member max_member: 1000 // (int) Max member self_notif: true // (bool) Show message when you enter or leave the channel join_notif: false // (bool) Show message when player joined the channel leave_notif: false // (bool) Show message when player left the channel /* Moderation feature for channel owner, allowed to: */ ban: true // (bool) Ban player kick: true // (bool) Kick player color_override: false // (bool) Player allow color override for private channel change_delay: false // (bool) Change allow to change channel dealy } For public, ally, and map channel default configs. { name: "#channel" // (string) Channel name password: "" // (string) Password alias: "[Channel]" // (string) Message from this channel will be displayed with this name instead the channel name color: "Default" // (string) Color for this channel type: "CHAN_TYPE_PUBLIC" // (string) Channel type: CHAN_TYPE_PUBLIC, CHAN_TYPE_ALLY, CHAN_TYPE_MAP autojoin: false // (bool) Player will auto join channel delay: 1000 // (int) Chat delay for each player leave: true // (bool) Player is allowed to leave the channel chat: true // (bool) Player is allowed to chat on this channel color_override: false // (bool) Override channel color with personal color self_notif: true // (bool) Show message when you enter or leave the channel join_notif: false // (bool) Show message when player joined the channel leave_notif: false // (bool) Show message when player left the channel groupid: (0,..,99) // (list,int) Only player with there group ids allowed to join. Group with 'channel_admin' always can enter the channel. /// All values above are default settings }, // Use comma if followed by other channel New Script Commands!Just read it here Try it now for FREE! Main branch Changes (against my fork master) Diff file Patch file Want try mine?If you're asking how I test this change, I'll leave you link of my config file and the test NPCs here. Screenies...Just one here, better you experience it yourself 9 Quote Link to comment Share on other sites More sharing options...
Azeroth Posted October 21, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted October 21, 2016 Cydh, thank you <3 Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted October 21, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted October 21, 2016 WoW niceeeeeeeeeeee! Quote Link to comment Share on other sites More sharing options...
Mosaic Posted October 22, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 23 Reputation: 1 Joined: 08/08/16 Last Seen: April 13 Share Posted October 22, 2016 Awesome Quote Link to comment Share on other sites More sharing options...
Fratini Posted November 14, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 153 Reputation: 8 Joined: 07/01/14 Last Seen: May 3, 2018 Share Posted November 14, 2016 (edited) Awesome! Ty, @Cydh Edited November 14, 2016 by Fratini Quote Link to comment Share on other sites More sharing options...
Cydh Posted November 18, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Author Share Posted November 18, 2016 On 10/22/2016 at 0:26 AM, Azeroth said: Cydh, thank you <3 On 10/22/2016 at 0:52 AM, Kakaroto said: WoW niceeeeeeeeeeee! On 10/22/2016 at 0:47 PM, Mosaic said: Awesome On 11/15/2016 at 0:14 AM, Fratini said: Awesome! Ty, @Cydh Thank you guys for using this. Any feedback are welcome, and you can post your in-game SS while using the channel message maybe 1 Quote Link to comment Share on other sites More sharing options...
exneval Posted November 18, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 01/03/12 Last Seen: November 18, 2019 Share Posted November 18, 2016 Hope this can be seen in master branch? Channel System Refactor! Thank you for all the great work Quote Link to comment Share on other sites More sharing options...
Cydh Posted November 18, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Author Share Posted November 18, 2016 19 hours ago, exneval said: Hope this can be seen in master branch? Channel System Refactor! Thank you for all the great work one does not simply Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted November 20, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted November 20, 2016 On 17/11/2016 at 11:52 PM, Cydh said: Thank you guys for using this. Any feedback are welcome, and you can post your in-game SS while using the channel message maybe This expansion is simply wonderful. Congratulations on the work! 1 Quote Link to comment Share on other sites More sharing options...
DoriTos Nacho Posted November 21, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 11 Reputation: 1 Joined: 06/01/12 Last Seen: June 28, 2024 Share Posted November 21, 2016 Works in Hercules src? Quote Link to comment Share on other sites More sharing options...
Cydh Posted November 21, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Author Share Posted November 21, 2016 1 hour ago, DoriTos Nacho said: Works in Hercules src? Of course not, "the coding" is diffferent. Except if u can make it work, or ask Herc's guy who good at porting from rA to Herc. (I can't do that, Herc removed support for .sln 2010) Quote Link to comment Share on other sites More sharing options...
Anime s2 Posted November 21, 2016 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 68 Reputation: 6 Joined: 11/29/13 Last Seen: June 13, 2022 Share Posted November 21, 2016 Works in rAmod src? Quote Link to comment Share on other sites More sharing options...
anacondaq Posted November 21, 2016 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 1096 Reputation: 348 Joined: 02/26/12 Last Seen: May 30, 2023 Share Posted November 21, 2016 2 hours ago, Anime s2 said: Works in rAmod src? on old - no, because rAmod channel system very different to rAthena channel system, on latest revision - yes, because Zephyrus dropped support for his channel system and returned back rAthena classic channel system with implementation of new instance system. Quote Link to comment Share on other sites More sharing options...
Cydh Posted November 22, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Author Share Posted November 22, 2016 11 hours ago, Anime s2 said: Works in rAmod src? r254? I believe it works Quote Link to comment Share on other sites More sharing options...
Break Posted November 22, 2016 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 158 Reputation: 14 Joined: 07/07/12 Last Seen: 10 minutes ago Share Posted November 22, 2016 Before in the channel system was: if OnPcLoginEvent label add @join #main -> it is automatically inserted channel name in whisper message In this modification, it is envisaged? Since Ramod latest revision removed this feature... Quote Link to comment Share on other sites More sharing options...
Cydh Posted November 23, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Author Share Posted November 23, 2016 1 hour ago, Break said: In this modification, it is envisaged? Since Ramod latest revision removed this feature... It's simple, if they removed the rA's channel system, rAmod's users cannot use this mod. Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted November 27, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted November 27, 2016 @Cydh A small suggestion. As soon as the player enters the game, the channel name appears in the PM bar, so he does not need to enter the channel name. Players are lazy! Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted December 14, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted December 14, 2016 @Cydh Compiling in windows does not appear any error message, however compile in CentOS 7, the following alerts appear in the terminal: Quote Link to comment Share on other sites More sharing options...
Radian Posted January 7, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted January 7, 2017 @Cydh I am having issue while compiling the patch from the pservero.com im using the latest trunk right now.. 1>..\src\map\channel.c(1017): error C2198: 'map_nick2sd' : too few arguments for call and 1>..\src\map\script.c(22494): error C2198: 'map_nick2sd' : too few arguments for call Quote Link to comment Share on other sites More sharing options...
a91323 Posted January 8, 2017 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 99 Reputation: 10 Joined: 01/13/12 Last Seen: December 6, 2020 Share Posted January 8, 2017 https://github.com/rathena/rathena/commit/88aaa9be98c4e9f8494a2012cb3b7700d3b844f5 struct map_session_data *tsd = map_nick2sd(pname, false); if (!(tsd = map_nick2sd(conv_str(st, data), false))) { 1 Quote Link to comment Share on other sites More sharing options...
Radian Posted January 8, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted January 8, 2017 (edited) On 1/7/2017 at 9:04 PM, a91323 said: https://github.com/rathena/rathena/commit/88aaa9be98c4e9f8494a2012cb3b7700d3b844f5 struct map_session_data *tsd = map_nick2sd(pname, false); if (!(tsd = map_nick2sd(conv_str(st, data), false))) { Thank you bro you saved me. Edited January 8, 2017 by Radian Quote Link to comment Share on other sites More sharing options...
Break Posted January 8, 2017 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 158 Reputation: 14 Joined: 07/07/12 Last Seen: 10 minutes ago Share Posted January 8, 2017 On 23.11.2016 at 2:15 AM, Break said: Before in the channel system was: if OnPcLoginEvent label add @join #main -> it is automatically inserted channel name in whisper message In this modification, it is envisaged? Since Ramod latest revision removed this feature... On 27.11.2016 at 7:07 PM, Kakaroto said: @Cydh A small suggestion. As soon as the player enters the game, the channel name appears in the PM bar, so he does not need to enter the channel name. Players are lazy! So if you have rAmod, you can change this lines and it's work on latest revision /src/map/channel.c find channel_join } else if( channel->opt & CHAN_OPT_ANNOUNCE_JOIN ) { char message[60]; sprintf(message, "[ #%s ] '%s' has joined.",channel->name,sd->status.name); clif_channel_msg(channel,sd,message,channel->color); } and replace } else { char output[256]; char channel_name[256]; sprintf(channel_name, "#%s",channel->name); sprintf(output, msg_txt(sd, 760),sd->status.name, channel_name); clif_wis_message(sd->fd, channel_name, output, strlen(output) + 1); } script - script #channel_autojoin -1,{ OnPCLoginEvent: atcommand "@join #main"; end; } 1 Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted January 8, 2017 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted January 8, 2017 (edited) On 1/9/2017 at 1:13 AM, Break said: So if you have rAmod, you can change this lines and it's work on latest revision /src/map/channel.c find channel_join } else if( channel->opt & CHAN_OPT_ANNOUNCE_JOIN ) { char message[60]; sprintf(message, "[ #%s ] '%s' has joined.",channel->name,sd->status.name); clif_channel_msg(channel,sd,message,channel->color); } and replace } else { char output[256]; char channel_name[256]; sprintf(channel_name, "#%s",channel->name); sprintf(output, msg_txt(sd, 760),sd->status.name, channel_name); clif_wis_message(sd->fd, channel_name, output, strlen(output) + 1); } script - script #channel_autojoin -1,{ OnPCLoginEvent: atcommand "@join #main"; end; } Thx Man!!!!!!!!!!! #Work! Edited January 8, 2017 by Kakaroto Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted January 11, 2017 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted January 11, 2017 @Cydh How disable in-game channels without restarting the server? Quote Link to comment Share on other sites More sharing options...
Radian Posted January 15, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted January 15, 2017 On 12/13/2016 at 8:31 PM, Kakaroto said: @Cydh Compiling in windows does not appear any error message, however compile in CentOS 7, the following alerts appear in the terminal: I have this kind of warnings how can i fixed this? Quote Link to comment Share on other sites More sharing options...
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.