Jump to content
  • 0

Channel System


Nullifier

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  140
  • Reputation:   11
  • Joined:  09/28/14
  • Last Seen:  

Hello im having a problem in @Cydh channel system i already applied the patch thanks to @Akkarin the problem is whenever i login it wont join the channels or if i typed in @join #trade it will say Unknown Channel '#trade' and same with others too here's the this just to be detailed.

The error on applying the patch
error patch.png

When i tried @Cydh NPC
npc error.png
Here's the link of the said NPC: https://gist.github.com/cydh/e1a27566cd830ff4ecb2e89fbc8ecd6a

And here's my channels.conf
 

// Channel System Configuration File
channel_config: {

	/* Colors available */
	colors: {
		Default: "0xffffff" /* Custom channels will use the first in the list unless a color is selected through @channel. */
		Red: "0xff0000"
		Blue: "0x83cfe9"
		Orange: "0xe57c00"
		Cyan: "0x00b89d"
		Yellow: "0xffff90"
		Green: "0x28bf00"
		Normal: "0x00ff00"
		/* Add as many colors as you'd like. */
	}

	/**
	 * Private channel config
	 * - Always CHAN_TYPE_PUBLIC
	 * - Always displayed in chat log as "#channel_name: <name>: <chat>"
	 * - ID of private channels are started from 1000
	 **/
	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
	}

	/**
	 * Default server channels
	 **/
	channels: (
	/**
	 * Structure
	{
		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: true			 // (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
	 **/
	{
		name: "#global"
		alias: "[World]"
		color: "Orange"
		type: "CHAN_TYPE_PUBLIC"
		delay: 1000
		autojoin: true
		leave: false
	},
	{
		name: "#support"
		alias: " "
		color: "Blue"
		type: "CHAN_TYPE_PUBLIC"
		delay: 1000
		autojoin: true
	},
	{
		name: "#trade"
		alias: "[Trade]"
		color: "Red"
		type: "CHAN_TYPE_PUBLIC"
		delay: 1000
		autojoin: true
	},
	{
		// Why don't post your event notification on this channel?
		name: "#event"
		alias: "[Event]"
		color: "Cyan"
		type: "CHAN_TYPE_PUBLIC"
		delay: 1000
		autojoin: true
		chat: false
		leave: false
	},

	// Specific channel, autojoin by group_id
	{
		// Autojoin for staff groups
		name: "#staff"
		alias: "[Staff]"
		color: "Normal"
		type: "CHAN_TYPE_PUBLIC"
		delay: 1000
		autojoin: false
		leave: false
		groupid: (2,3,4,10,99)
	},
	{
		// Autojoin while you're VIP
		name: "#vip"
		alias: "[VIP]"
		color: "Normal"
		type: "CHAN_TYPE_PUBLIC"
		delay: 1000
		autojoin: true
		leave: false
		groupid: (5)
	}
	)

	/**
	 * Channel config for guild alliance
	 * For the structure, see the 'channels' above
	 **/
	ally: {
		name: "#ally"
		alias: "[Guild]"
		color: "Green"
		type: "CHAN_TYPE_ALLY" // DO NOT CHANGE THIS VALUE
		delay: 1000
		autojoin: true
		leave: true
		chat: true
	}

	/**
	 * Channel config for map channel
	 * For the structure, see the 'channels' above
	 **/
	map: {
		name: "#map"
		alias: "[Area]"
		color: "Yellow"
		type: "CHAN_TYPE_MAP" // DO NOT CHANGE THIS VALUE
		delay: 1000
		autojoin: true
		leave: true
		chat: true
	}
}

 

Link to comment
Share on other sites

1 answer to this question

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.

Guest
Answer this question...

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