Search the Community
Showing results for tags 'channel'.
Found 3 results
-
Version 1.0
57 downloads
With this plugin you be able to set required Zeny and/or Items to players be able to send messages on channels. The idea came from this post, thank you @blaze. How to configure channels: // FIXME: make a better way to add fee on channels (directly on channels.conf) const struct { char name[HCS_NAME_LENGTH]; int zeny; int nameid; int amount; } channels_fee[] = { // -- Add channels with fee like the example: {"name", zeny, item id, item count}; {"main" , 1000, 0 , 0}, // #main - 1000z and no item }; Find 'channels_fee[]' declaration, and add an element just like the example. If you find any bugs please report them! Hope you enjoy it.- 1 review
-
- channel system
- channel
-
(and 3 more)
Tagged with:
-
In the following code in channel.c, when your tick is not at 0 it will direct you to message 1455, "You're talking too fast!" if (sd && chan->msg_delay != 0 && DIFF_TICK(sd->hchsysch_tick + chan->msg_delay*1000, timer->gettick()) > 0 && !pc_has_permission(sd, PC_PERM_HCHSYS_ADMIN)) { clif->messagecolor_self(sd->fd, COLOR_RED, msg_sd(sd,1455)); return; } I wish to display the remaining ticks (seconds) instead of a static message. E.g. message 1455, "You cannot send a message to this channel for another %d seconds." Thanks.
-
View File Channel Fee Plugin With this plugin you be able to set required Zeny and/or Items to players be able to send messages on channels. The idea came from this post, thank you @blaze. How to configure channels: // FIXME: make a better way to add fee on channels (directly on channels.conf) const struct { char name[HCS_NAME_LENGTH]; int zeny; int nameid; int amount; } channels_fee[] = { // -- Add channels with fee like the example: {"name", zeny, item id, item count}; {"main" , 1000, 0 , 0}, // #main - 1000z and no item }; Find 'channels_fee[]' declaration, and add an element just like the example. If you find any bugs please report them! Hope you enjoy it. Submitter Murilo BiO' Submitted 02/04/17 Category Plugins
-
- channel system
- channel
-
(and 3 more)
Tagged with: