Jump to content

r17228: Channel System (replacement for @main)


Euphy

Recommended Posts


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

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   8
  • Joined:  05/12/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

 

[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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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


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

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  02/23/13
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   9
  • Joined:  09/22/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  02/23/13
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   9
  • Joined:  09/22/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

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!

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

×
×
  • Create New...