Stefan1200's Forum

Deutsch => Allgemeine Diskussionen => Topic started by: Tealk on September 24, 2016, 10:09:19 PM

Title: Falschmeldung? Channel Notify message is to long
Post by: Tealk on September 24, 2016, 10:09:19 PM
Hallo zusammen,

ich bekomme folgende Fehlermeldung obwohl meine Sätze nich tlänger als 100 Zeichen sind.

2016-09-24 14:47:21 Function channelnotify WARNING Channel Notify message is to long! Make sure that poke messages are not longer than 100 characters (including spaces and BBCode), check file: %apphome%config/anzahcraft/config/channelnotifymessages.cfg
2016-09-24 14:47:21 Function channelnotify WARNING Error while poking Client ID: 5
2016-09-24 14:47:21 Function channelnotify WARNING de.stefan1200.jts3serverquery.TS3ServerQueryException: ServerQuery Error 1541: invalid parameter size
2016-09-24 14:47:21 Function channelnotify WARNING Error while poking Client ID: 31
2016-09-24 14:47:21 Function channelnotify WARNING de.stefan1200.jts3serverquery.TS3ServerQueryException: ServerQuery Error 1541: invalid parameter size
2016-09-24 14:47:21 Function channelnotify WARNING Error while poking Client ID: 35
2016-09-24 14:47:21 Function channelnotify WARNING de.stefan1200.jts3serverquery.TS3ServerQueryException: ServerQuery Error 1541: invalid parameter size


channelnotifymessages.cfg
# JTS3ServerMod Config File
# Channel Notify message, specified clients get this message as chat or poke message.
# You can use the following keywords, which will be replaced:
# %CLIENT_NAME% - Client Name
# %CLIENT_NAME_CLICKABLE% - Clickable client name (many characters, not useful for poke messages!)
# %CLIENT_DBID% - Client Database ID
# %CLIENT_UNIQUEID% - Client Unique ID
# %CHANNEL_NAME% - Watched Channel Name
# %CHANNEL_NAME_CLICKABLE% - Clickable watched Channel Name (many characters, not useful for poke messages!)
# Typical BBCode like in Teamspeak 3 Client possible. You can use \n for a new line.
# Use the character sequence §+§ to split a long message into multiple messages.
User [b]%CLIENT_NAME_CLICKABLE%[/b] in %CHANNEL_NAME_CLICKABLE% braucht Support!

# Channel Notify message for the watched client.
# If enabled, clients joining the watched channel get this message as chat or poke message.
# You can use the following keywords, which will be replaced:
# %CLIENT_COUNT% - Number of target group clients who get informed about this client
# %CLIENT_NAMES% - List of names of target group clients who get informed about this client
# %CLIENT_NAMES_CLICKABLE% - List of clickable client names of target group clients who get informed about this client (many characters, not useful for poke messages!)
# %CHANNEL_NAME% - Watched Channel Name
# Typical BBCode like in Teamspeak 3 Client possible. You can use \n for a new line.
# Use the character sequence §+§ to split a long message into multiple messages.
Bitte warten, %CLIENT_COUNT% Admins sind online und werden dir sofort helfen.

# Channel Notify message for the watched client, if no target group client is online.
# If enabled, clients joining the watched channel get this message as chat or poke message.
# You can use the following keywords, which will be replaced:
# %CHANNEL_NAME% - Watched Channel Name
# Typical BBCode like in Teamspeak 3 Client possible. You can use \n for a new line.
# Use the character sequence §+§ to split a long message into multiple messages.
Es sind gerade keine Admins online, bitte schreibe uns ein Ticket.
Title: Re: Falschmeldung? Channel Notify message is to long
Post by: Stefan1200 on September 24, 2016, 10:22:30 PM
Dieser Text hier:
User [b]%CLIENT_NAME_CLICKABLE%[/b] in %CHANNEL_NAME_CLICKABLE% braucht Support!

wird umgewandelt in:
User [b][URL=client://0/mBbHRXwDAG7R19Rv3PorhMwbZW4=]Ein_sehr_langer_Clientname[/URL][/b] in [URL=channelid://123456]Ein_wirklich_sehr_langer_Channelname[/URL] braucht Support!

Dieses Beispiel wäre jetzt 176 Zeichen lang und ist weit über dem Limit von 100 Zeichen.
Nicht ohne Grund steht in der Beschreibung von %CLIENT_NAME_CLICKABLE% und %CHANNEL_NAME_CLICKABLE% der Hinweistext: (many characters, not useful for poke messages!)
Title: Re: Falschmeldung? Channel Notify message is to long
Post by: Tealk on September 24, 2016, 11:52:56 PM
wäre vielleicht hilfreich so ein beispiel in die Erklärung zu packen. Dann kann man sich ungefähr vorstellen wie lang das teil wird.
Title: Re: Falschmeldung? Channel Notify message is to long
Post by: Stefan1200 on September 25, 2016, 06:37:13 AM
Ist ja nicht notwendig, ich habe ja geschrieben, das es zu lang für Poke Nachrichten ist. Für Chat Nachrichten kein Problem.