Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => Topic started by: NaTesTa10 on January 03, 2013, 08:08:47 PM

Title: Error with welcomemensage
Post by: NaTesTa10 on January 03, 2013, 08:08:47 PM
Hi,

I've got a problem.

I put the following code:

[b]Olá %CLIENT_NICKNAME%, bem-vindo(a) ao %SERVER_NAME% !
Servidor Online desde: %SERVER_UPTIME_DATE%.
[color=red]Leia as REGRAS[/color]
Seu IP %CLIENT_IP% foi registrado no Sistema por motivos de Segurança.
Estão conectados %SERVER_CLIENT_COUNT% usuários.[/b]


When you save and restart the bot, it reduces the message (automatically) to:

[b]Olá %CLIENT_NICKNAME%, bem-vindo(a) ao %SERVER_NAME% !
Servidor Online desde: %SERVER_UPTIME_DATE%.
[color=red]Leia as REGRAS[/color]
Seu IP %CLIENT_IP% foi registrado no Sistema por motivos de Segurança.
Estão conectados %SERVER_CLIENT_COUNT%


And the server appears:

[b]Olá NaTesTa10, bem-vindo(a) ao || GPB Premium GШ || ᴼᴿᴵᴳᴵᴻᴬᴸ !
Servidor Online desde: 2013-01-03 18:21:28.
Leia as REGRAS
Seu IP  foi registrado no Sistema por motivos de Segurança.
Estão conectados 2


The CLIENT_IP%% not working and he is not accepting 1023 caracters.

What should I do to change?

I have attached a photo.

Thank you,
Flavio.
Title: Re: Error with welcomemensage
Post by: Stefan1200 on January 05, 2013, 04:50:17 PM
The bot need the permission to read the client ip. Check your TS3 permissions.

Maybe the database column type only allow to save up to 255 characters. In this case the webinterface is not able to save all 1023 characters. Please change the database column type to VARCHAR(1023), if you use at least MySQL 5.
Title: Re: Error with welcomemensage
Post by: NaTesTa10 on January 07, 2013, 04:28:48 AM
Quote from: Stefan1200 on January 05, 2013, 04:50:17 PM
The bot need the permission to read the client ip. Check your TS3 permissions.

Maybe the database column type only allow to save up to 255 characters. In this case the webinterface is not able to save all 1023 characters. Please change the database column type to VARCHAR(1023), if you use at least MySQL 5.

Hello, how do I change?

I'll have to change one by one or have a way to change all at once?

Attached an image showing the current setting.

Thank you,
Flavio.
Title: Re: Error with welcomemensage
Post by: Stefan1200 on January 13, 2013, 07:50:11 AM
There is only the one thing you have to change. configvalue in the instance config table.
Title: Re: Error with welcomemensage
Post by: NaTesTa10 on January 15, 2013, 07:01:24 AM
Quote from: Stefan1200 on January 13, 2013, 07:50:11 AM
There is only the one thing you have to change. configvalue in the instance config table.

Thanks, it worked.