Hexer10 / HexTags

Customize tags & chat colors!
https://forums.alliedmods.net/showthread.php?p=2566623
GNU General Public License v3.0
54 stars 16 forks source link

Tags are being set on bots #74

Closed penalte closed 3 years ago

penalte commented 4 years ago

Describe the bug Tags are being set on bots, i use bots in my servers when a player joins a empty server he gets a bot to play with, the only server that is bother me is my surf server which uses surftimer, i have disable surftimer chat processor and scoreboard tags so i can use hextags and the replay bots have custom tags that tells users if it is a map/cp/bonus replay.

To Reproduce just using normaly.

To Fix probably checkin !fakeclient then set the tags?

Expected behavior Bots not having tags set by hextags.

thank you very much for this plugin.

PS: i could read the code and try to add those fakeclient check but i have no time if you could tell me where it is i can add it and make a pull request.

Hexer10 commented 4 years ago

This is by design; instead of disable the tags on the bots, I'd rather make a new selector for users that may want to set custom tags on bots or human players

Hexer10 commented 4 years ago

I just pushed a commit which add both "human" and "bot" selectors (you need to compile the latest version from this repository) and try to set the tags like this:

"HexTags"
{
  "human"
  {
     /* Tags go here*/
  }
}
penalte commented 4 years ago

wow you so fast thanks i will test it when i get home, will give feedback.

thank you

Hexer10 commented 3 years ago

Have you had the opportunity to test this?

penalte commented 3 years ago

Yes it is working perfect, sorry for the delay, i can even set a custom tag for bots in my others servers, thank you so much.