Page 1 of 1

[Mod] Server Helper: In-game bot [v1.2]

PostPosted: Wed Sep 07, 2016 01:04
by Tmanyo
Description: This mod is a great public server tool and can be used as a chat moderator. It has many helpful features. There are also 4 settings included that can be changed in the config.lua that allow you to change the bots actions depending on the server rules. So if your server allowed foul language, you would go change the language_control setting to false. People could curse freely without punishment.

Features:
  • Language Control
  • Cap usage control
  • Time change control
  • Punctuation control
  • If a player dies in survival they will be asked if they want to be teleported to their bones.
  • If a player chats that they are stuck they will be asked if they want to be teleported to spawn.
  • Other friendly conversational abilities.

Note: Does not deal at all with IRC.

Credits:
NathanS21 helped figure out issues with the code.

License: LGPL 2.1

Download: V1.2
Github: https://github.com/Tmanyo/server_helper

Re: [Mod] Server Helper: In-game bot

PostPosted: Wed Sep 07, 2016 01:37
by MineYoshi
+100!

Re: [Mod] Server Helper: In-game bot

PostPosted: Wed Sep 07, 2016 09:56
by azekill_DIABLO
+1 too!

Re: [Mod] Server Helper: In-game bot

PostPosted: Thu Sep 08, 2016 17:26
by cd2
Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.

Re: [Mod] Server Helper: In-game bot

PostPosted: Thu Sep 08, 2016 22:06
by Tmanyo
cd2 wrote:Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.


Hmmm, I have tested it out on a public server and specifically told people to use all caps and it was said more than 5 times in a row by multiple people. When one person finally used it enough times they were kicked, I made sure and counted every ones messages. If that is what you are getting at. I don't believe there is a problem there. If you want to do further testing and get back with me on the results that would be great. :) I would also prefer a screenshot of all the text.

Re: [Mod] Server Helper: In-game bot

PostPosted: Fri Sep 09, 2016 12:13
by cd2
Tmanyo wrote:
cd2 wrote:Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.


Hmmm, I have tested it out on a public server and specifically told people to use all caps and it was said more than 5 times in a row by multiple people. When one person finally used it enough times they were kicked, I made sure and counted every ones messages. If that is what you are getting at. I don't believe there is a problem there. If you want to do further testing and get back with me on the results that would be great. :) I would also prefer a screenshot of all the text.


The problem is that "b" will be kicked but he only used caps once. "a" wont be kicked.

Re: [Mod] Server Helper: In-game bot

PostPosted: Sat Sep 10, 2016 02:23
by Tmanyo
cd2 wrote:
Tmanyo wrote:
cd2 wrote:Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.


Hmmm, I have tested it out on a public server and specifically told people to use all caps and it was said more than 5 times in a row by multiple people. When one person finally used it enough times they were kicked, I made sure and counted every ones messages. If that is what you are getting at. I don't believe there is a problem there. If you want to do further testing and get back with me on the results that would be great. :) I would also prefer a screenshot of all the text.


The problem is that "b" will be kicked but he only used caps once. "a" wont be kicked.


Ok I have found the issue and will fix it. :) Thank you for bringing it to my attention.

Re: [Mod] Server Helper: In-game bot

PostPosted: Mon Sep 12, 2016 02:30
by Tmanyo
Version 1.1 Release!
Change-log -------
Fixed the caps control and language control variable issue.
  • A player could use all caps 4 times in a row and another player could use all caps once and the second player would be kicked.
  • So now it keeps track of each player.

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Mon Oct 10, 2016 19:40
by Krock
Is there any way to disable these comments when they're too annoying in-game? I've seen this mod on a server and it wasn't helpful to me at all. It rather made it more complicated to read the chat logs. Also while chatting it notified me to explain the matter with the message like "need help?" or to not use caps when I began with the nickname "YuGiOhJCJ, ...". Another time it printed my IP on my screen - just - why?
It is a nice idea to make the life of server admins easier but in its current state I'd rather want to mute these messages.

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Wed Oct 12, 2016 23:30
by Tmanyo
An easy way to disable this is to go the configure button on the client that is running the server and to deselect server_helper. There is also a config lua file that has settings that can be set to false, which when set certain things are no longer checked for. I am aware of the IP bug and I am sorry you are unhappy. I will try to fix the issues as soon as possible. :)

Edit:
The reason it told you to not use caps while typing the name was that many people try to "get around" the caps issue with putting a space or some other character in between the caps.

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Thu Oct 13, 2016 14:31
by Nathan.S
It would be easy enough to make the messages about using caps, etc to only be shown to the player that used them, using chat_send_player rather than chat_send_all.

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Thu Oct 13, 2016 14:40
by Krock
Tmanyo wrote:An easy way to disable this is to go the configure button on the client that is running the server and to deselect server_helper.

Bad luck, I'm not the server admin. I'm asking this from the perspective of a regular player on a server who would like to disable these messages just for himself.

Nathan.S wrote:[..] using chat_send_player rather than chat_send_all.

In my opinion, this could be also done for the greeting message after "hello" and rule notifications.

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Fri Oct 14, 2016 00:41
by Tmanyo
Krock wrote:
Tmanyo wrote:An easy way to disable this is to go the configure button on the client that is running the server and to deselect server_helper.

Bad luck, I'm not the server admin. I'm asking this from the perspective of a regular player on a server who would like to disable these messages just for himself.

Just out of curiosity, what server was this? I would like to talk with the administrator, and see what he/she thinks for further analysis.

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Fri Oct 14, 2016 08:13
by Krock
Tmanyo wrote:Just out of curiosity, what server was this? I would like to talk with the administrator, and see what he/she thinks for further analysis.

Fine, you can start with the self-study. It is your server with Vault as admin.
EDIT: If you wish to move this discussion to IRC - try to catch me in the InchraNet channel :)

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Sat Oct 15, 2016 14:36
by ManElevation
wow this is awesome but im using this on my server, i dont really like the "want to get teleported to your bones?"

Re: [Mod] Server Helper: In-game bot [v1.1]

PostPosted: Sat Oct 15, 2016 22:58
by Tmanyo
ManElevation wrote:wow this is awesome but im using this on my server, i dont really like the "want to get teleported to your bones?"

Is there a bug, or you just don't like the feature?