Euphy

r17228: Channel System (replacement for @main)

Recommended Posts

how to disable command @main create to player?

 

 

because i just wanna to implen @join , @main list, @main leave, @main bindto, @main Unbind

 

Please Help me

 

 

how to Input That command in groups.conf

 

 

i got warning when I input @main list: true (Warning: Syntax error)

Share this post


Link to post
Share on other sites
[Warning]: atcommand_config_read: can not set alias for non-existent command channel (conf/atcommand_athena.conf:59)
[status]: Done reading '60' command aliases in 'conf/atcommand_athena.conf'.
[Warning]: pc_groups:read_config: non-existent command name 'channel', removing... (conf/groups.conf:130)
[Warning]: pc_groups:read_config: non-existent command name 'channel', removing... (conf/groups.conf:174)
[Warning]: pc_groups:read_config: non-existent command name 'channels', removing... (conf/groups.conf:308)
[Warning]: pc_groups:read_config: non-existent permission name 'channel_admin', removing... (conf/groups.conf:320)

but i have channel.conf

im using the latest rAthena

Make sure you update your sources respectively (and don't forget to recompile) .. channel command and channel_admin permission are located in map/pc_groups.h and map/atcommand.c files - try to locate them here to make sure your files are up to date.

  • Upvote 1

Share this post


Link to post
Share on other sites

 

[Warning]: atcommand_config_read: can not set alias for non-existent command channel (conf/atcommand_athena.conf:59)
[status]: Done reading '60' command aliases in 'conf/atcommand_athena.conf'.
[Warning]: pc_groups:read_config: non-existent command name 'channel', removing... (conf/groups.conf:130)
[Warning]: pc_groups:read_config: non-existent command name 'channel', removing... (conf/groups.conf:174)
[Warning]: pc_groups:read_config: non-existent command name 'channels', removing... (conf/groups.conf:308)
[Warning]: pc_groups:read_config: non-existent permission name 'channel_admin', removing... (conf/groups.conf:320)

but i have channel.conf

im using the latest rAthena

Make sure you update your sources respectively (and don't forget to recompile) .. channel command and channel_admin permission are located in map/pc_groups.h and map/atcommand.c files - try to locate them here to make sure your files are up to date.

Oh thanks.

And i know why this happen. Haha.

Im using eAmod as well

Share this post


Link to post
Share on other sites

how to disable command @main create to player?

trunk/conf/channels.conf
	/* Allow users to create their own (private) channels through @channels command? */
	/* (must also allow players to use @channels in groups.conf) */
	allow_user_channel_creation: true

Share this post


Link to post
Share on other sites

how to disable command @main create to player?

trunk/conf/channels.conf
	/* Allow users to create their own (private) channels through @channels command? */
	/* (must also allow players to use @channels in groups.conf) */
	allow_user_channel_creation: true

ok thx euphy :D

Share this post


Link to post
Share on other sites

How about using NPC to send message (not globalmes) to channel with colors

Share this post


Link to post
Share on other sites

I seem to be having an issue where in #ally i can see all my allies chatting but for some reason my ally chat only shows up to my guildmates.  Is anyone else having this issue?

Share this post


Link to post
Share on other sites

@Geinz you maybe just accept the alliance, deco reco and it should be fine.

Share this post


Link to post
Share on other sites

Just a short question as im currently working on an login setting script.

 

Does a player leave all channels he joined once he logs out?

Aka do players have to use @join each time they login to rejoin a channel?

Share this post


Link to post
Share on other sites

I've already tried breaking the alliance and reforming, and even had both myself and the other guild leader form the alliance I'm still having the same issue.

Share this post


Link to post
Share on other sites

@Reynard

for logout yes,

for logon rejoin they do except for map and ally who could be autojoined, but it could be something we work on like add favorite channel to join on relog

 

@Greinz

was this with r17285+ ? I tryed lot of case for those in the new version and it seem to work fine.

please let me know.

 

nb:

as from r17285 chan system is extended and now offer the possibility of banning people and set some option on chat. (like msg_delay)

tough msg_delay might be reworked in future cause it affect all chan atm.

Share this post


Link to post
Share on other sites

Ahh, thank you kindly, so i better go add some channel join function into my login autocommand =)


(In case your wondering why the heck i just didnt test it my self: my root is currently occupied with something else... damn clan matches.)

Share this post


Link to post
Share on other sites

Updated topic according to r17284 (sorry it's late!).

Share this post


Link to post
Share on other sites

Hi!

 

Is it possible to make players join to the #main channel by default when they log in?

 

It would be also nice if the status of #<channels> would be stored for every player (joined / not joined), but this is only a nice-to-have :)

Edited by Antares

Share this post


Link to post
Share on other sites

Is it possible to make players join to the #main channel by default when they log in?

-	script	#channel_autojoin	-1,{
OnPCLoginEvent:
	atcommand "@join #main";
	end;
}

It would be also nice if the status of #<channels> would be stored for every player (joined / not joined), but this is only a nice-to-have :)

I don't know what you mean by this.

Share this post


Link to post
Share on other sites

Maybe he wants to store the status of the latest connected room for every character with a global char var, so the player don't have to rejoin every room he has joined in previous session.

Share this post


Link to post
Share on other sites

Wow, thanks for the script!! I didn't think of that.

 

Yes, I mean to store the channels the player joined, because as from now #main will be joined automaticall upon logon (with your script), but we don't want to annoy people wo don't want main chat and leaves it. So join by default, but if someone leaves, don't join main upon further logons. But with the use of scripts, I think I'll be able to do something like this. Thanks again!

Share this post


Link to post
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
Reply to this topic...

×   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.

Loading...