PDA

View Full Version : OciXCrom's Admin Chat - 2021 UPDATE!


OciXCrom
09-29-2015, 14:58
https://raw.githubusercontent.com/OciXCrom/AdminChat/master/version.png (https://github.com/OciXCrom/AdminChat)

OciXCrom's Admin Chat

☄ Description


A new and improved version of the default admin chat plugin that comes with its own configuration file that grants you full control over how the admin commands work, with a few added benefits and extra options.


☄ Pros and Cons


Pros:

Colored messages (with the ability to restore the original ones).
Ability to modify every single message.
Shortcuts for a more simple usage of the commands.
A console command for the admin chat (say_team @).
Console commands for all different HUD positions (say @/@@/@@@/@@@@).
Ability to send a message on the right side of the screen.
Ability to type in different colors.
Admins can read other players' private messages.
Added a sound when a player receives a private message.
Ability to set a different sound for each message type.
Ability to send DHUD messages.
Ability to send anonymous messages that don't include the sender's name.
Ability to change the effect in (D)HUD messages.
Random color when sending a (D)HUD message.
A new command to send a message to a specific team.
A new command to send center chat-style messages.
Ability to select the default (D)HUD message color.
Ability to change the (D)HUD message time.
Ability to use prefixes and option from other supported plugins.
A config file for quick and easy plugin configuration with a command for a instant reload.


Cons: 404: Not Found!


☄ Commands


amx_say <message> - (All Chat) Sends a message to all players.

Shortcut: say #<message>
Default flag: "i"


amx_asay <message> - (Admin Chat) Sends a message to all admins. The prefix depends on your admin level - admins get (ADMIN), VIPs (any flag) get (VIP) and normal players get a (PLAYER) prefix. All these prefixes can be changed in the configuration file.

Shortcut: say_team @<message>
Default flag: all players can use the command, but only the ones with flag "e" can read the messages


amx_chat <message> - (VIP Chat) Sends a message to all VIP users (players with any flag).

Shortcut: say_team !<message>
Default flag: "i"


amx_psay <player> <message> - (Private Message) Sends a private message to a player. The player also hears a sound, so he can pay attention to the received message.

Shortcut: say_team #<player> <message>
Default flag: players with flag "i" have access to the command, and players with flag "d" can read other players' messages


amx_tsay <color> <message> - (Left HUD) Sends a HUD message on the left side of the screen.

Shortcut: say @<color> <message>
Default flag: "i"


amx_csay <color> <message> - (Center HUD) Sends a HUD messagе on top of the screen.

Shortcut: say @@<color> <message>
Default flag: "i"


amx_bsay <color> <message> - (Bottom HUD) Sends a HUD message on the bottom of the screen..

Shortcut: say @@@<color> <message>
Default flag: "i"


amx_rsay <color> <message> - (Right HUD) Sends a HUD message on the right side of the screen..

Shortcut: say @@@@<color> <message>
Default flag: "i"


amx_tsay2 <color> <message> - (Left DHUD) Sends a DHUD message on the left side of the screen.

Shortcut: say &<color> <message>
Default flag: "d"


amx_csay2 <color> <message> - (Center DHUD) Sends a DHUD message on top of the screen.

Shortcut: say &&<color> <message>
Default flag: "d"


amx_bsay2 <color> <message> - (Bottom DHUD) Sends a DHUD message on the bottom of the screen.

Shortcut: say &&&<color> <message>
Default flag: "d"


amx_rsay2 <color> <message> - (Right DHUD) Sends a DHUD message on the right side of the screen.

Shortcut: say &&&&<color> <message>
Default flag: "d"


amx_teamsay <team> <message> - (Team Say) Sends a message to a specific team (you can use
t/c/s/terror/ct/spec/tt/counter/etc) - works only in Counter-Strike.

Shortcut: say_team &<team> <message>
Default flag: Players with flag "i" can use the command and those with flag "d' can read other teams' messages.


amx_centersay <message> - (Center Say) Sends a chat-syle message to all players in the center of the screen.

Shortcut: say !<message>
Default flag: "i"


amx_rawsay <message> - (Raw Say) Sends a unformatted chat message to all players.

Default flag: "l"


amx_speak <message> - (Speak) Attempts to speak out a sentence using "vox/fvox" or play a sound to all clients.

Default flag: "l"


ac_reload - Reloads the configuration file. Note: modifying sounds will take effect on mapchange.

Default flag: "l"




☄ List of extra options


Using "$" in a (D)HUD message will add a blinking effect to it.
Using "#" in a (D)HUD message will add a typewriter effect to it.
Using "!an" in a message will make it use "anonymous mode".
Using "&x04", "&x03" and "&x01" will change the text color if the player has the "COLORCHAT_FLAG" flag.
All of these can be modified from the configuration file.


☄ Plugin support

The plugin comes with built-in support for some of my plugins. The options automatically become active if the mentioned plugin is running in the server.
OciXCrom's Rank System (https://forums.alliedmods.net/showthread.php?t=308540) - ability to display the player's current rank and/or level in the messages
Chat Manager (https://forums.alliedmods.net/showthread.php?t=297952) - ability to display the player's custom name or admin prefix in the messages
Admin Groups (https://forums.alliedmods.net/showthread.php?t=296805) - ability to display the player's admin group in the messages

☄ Images

http://i.imgur.com/1kyCVVm.jpg
http://i.imgur.com/eVifyNZ.jpg
http://i.imgur.com/1HxM9K2.jpg
http://i.imgur.com/x3IWo2a.jpg

http://i.imgur.com/kLVNyPr.jpg

http://i.imgur.com/x7jivXI.jpg

☄ Changing settings and messages


All of the settings with a detailed explanation are located in the configs/AdminChat.ini file. Read each line carefully before changing it.
In the messages section you can find the default messages that will be used in normal circumstances, and the anonymous ones which will be used when the message is sent in anonymous mode or anonymous mode is active for all players.
You can assign a custom sound for each message by using the AMX_<COMMAND>_SOUND setting.
You can also control whether the sender can heart this sound by using the AMX_<COMMAND>_SOUND_NOSELF setting.
In the [Hud Colors] section you can view and modify the color shortcuts for (D)HUD messages. These can be used by typing in the shortcut as the first character in your message, e.g. @R will send a red message.


https://raw.githubusercontent.com/OciXCrom/PluginLab/master/images/topic_buttons/servers_using_this.png (http://www.gametracker.com/search/?search_by=server_variable&search_by2=crxadminchat&query=&loc=_all&sort=&order=)
https://raw.githubusercontent.com/OciXCrom/PluginLab/master/images/topic_buttons/plugin_lab.png (https://www.amxx-bg.info/pluginlab)
https://raw.githubusercontent.com/OciXCrom/PluginLab/master/images/topic_buttons/download_default.png (https://github.com/OciXCrom/AdminChat/archive/master.zip)

zombiesucker
09-30-2015, 07:38
thanks,, Been locking for this plugin Long Ago Thank You

addons_zz
09-30-2015, 07:52
The game was do dead and dark to admins, until now! This plugins brings the light and warmness lacking to server admins.

Those shortcuts are awesome!

Thank you, very much!

OciXCrom
09-30-2015, 17:11
Thank you. I'm planning to make a new version of the default admin commands, too.

vedant007
10-01-2015, 01:47
Very Nice plugin & idea,too. :)

smiley92
10-01-2015, 04:29
Thank you. I'm planning to make a new version of the default admin commands too.

Nice ideea to make commands colored.I searched so long ago, but without success.

That plugin look good.We are waiting with such plug-ins.

addons_zz
10-01-2015, 16:23
Hi, i have this idea about a annoying thing about the DHUD and HUD, they dont show up at the client's console, so if i could not read all the message, i lost i forever, then I added one line of code to you code to print it at console too.

If you feel the same bothering, could you update the plugin to the others?

359 if(dhud)
360 {
361 set_dhudmessage(g_HudValues[clr][R], g_HudValues[clr][G], g_HudValues[clr][B], g_Positions[type][X], position, 0, 6.0, 12.0, 0.5, 0.15)
362 show_dhudmessage(0, message)
363 }
364 else
365 {
366 set_hudmessage(g_HudValues[clr][R], g_HudValues[clr][G], g_HudValues[clr][B], g_Positions[type][X], position, 0, 6.0, 12.0, 0.5, 0.15, -1)
367 show_hudmessage(0, message)
368 }
369 client_print( 0, print_console , "%s", message )

HamletEagle
10-02-2015, 10:20
After every change made in the .sma file, you need to compile the plugin locally and replace the plugin with the new .amxx file.

No, just check AMXX_VERSION_NUM if lower than 1.8.3. If so include the inc file, else do nothing.


A new and improved version of the default admin chat plugin.

I did not read your code(so remember this, I am not talking about the modifications you made), but I can tell you it's a bad ideea to just take a default amxx plugin, edit and release it. You should instead make a pull request on github with your changes. This is because AMXX is updated from time to time and plugins are likely updated. This means that your plugin will be stuck in time and probably not compatible or missing new amxx version features. Take this as an example: https://forums.alliedmods.net/showthread.php?t=27855

redivcram
10-02-2015, 13:28
Sweet, my next server is gonna use this one! GJ

addons_zz
10-02-2015, 13:40
No, just check AMXX_VERSION_NUM if lower than 1.8.3. If so include the inc file, else do nothing.


I did not read your code(so remember this, I am not talking about the modifications you made), but I can tell you it's a bad ideea to just take a default amxx plugin, edit and release it. You should instead make a pull request on github with your changes. This is because AMXX is updated from time to time and plugins are likely updated. This means that your plugin will be stuck in time and probably not compatible or missing new amxx version features. Take this as an example: https://forums.alliedmods.net/showthread.php?t=27855

Lol, that example was a good plugin and went dead apparently, because there is a guy there at the thread end, complaining about it not working.

Then I have to think, why the official AMX would accept such pull request?
Because it was too good. Then go ahead OciXCrom, make the pull request if you can:):):)
I just looked quick the current adminchat.sma code there, and look like this would be a good trade.

Of course, was good too publish it here, so you and whoever will decide to accept the pull request, could see the modifications acceptance by the community. Hence, to be more precise, you could add a poll to this thread, asking if this is a AMX must default plugin. In my opinion it is.

HamletEagle
10-02-2015, 13:48
I don't know if it will be accepted or not, and I am not talking about this plugin especially, I'm talking in general.

addons_zz
10-02-2015, 13:58
I don't know if it will be accepted or not, and I am not talking about this plugin especially, I'm talking in general.

Sure, and definitely it was a good point to come up now, he says is planing to make more originals plugins modifications, then he could just work straight at AMX MOD X official repository with pull requests, or simply to be accepted as a official developer :)

OciXCrom
10-03-2015, 07:34
Hi, i have this idea about a annoying thing about the DHUD and HUD, they dont show up at the client's console, so if i could not read all the message, i lost i forever, then I added one line of code to you code to print it at console too.

If you feel the same bothering, could you update the plugin to the others?

Totally forgot about that. Added.

No, just check AMXX_VERSION_NUM if lower than 1.8.3. If so include the inc file, else do nothing.

I actually searched for something like that, but coulnd't find anything. Added now, thank you.

I did not read your code(so remember this, I am not talking about the modifications you made), but I can tell you it's a bad ideea to just take a default amxx plugin, edit and release it. You should instead make a pull request on github with your changes. This is because AMXX is updated from time to time and plugins are likely updated. This means that your plugin will be stuck in time and probably not compatible or missing new amxx version features. Take this as an example: https://forums.alliedmods.net/showthread.php?t=27855

Well, I didn't actually edit and release it. I totally rewrote it and made a brand new one with a lot of new options. I'm not familiar with what GitHub is or how it works, but I'll take a look later. Although AMXX is updated, I personally haven't seen any major changes to the default plugins so far, especially this one. Also, the thing with a plugin being stuck probably won't affect only this one, so it's more of a "global" issue. I doubt that they will implement something better than this, and if they do, I will probably update my plugin with more options.

Of course, was good too publish it here, so you and whoever will decide to accept the pull request, could see the modifications acceptance by the community. Hence, to be more precise, you could add a poll to this thread, asking if this is a AMX must default plugin. In my opinion it is.

All default plugins can use a refreshment. In my opinion the current codes can be written in much more better ways, and this is example of such a thing. It probably isn't the best way of coding it, but I'm sure that it's better than the default one. I'm expecting some advice for improving my code, if needed.

addons_zz
10-03-2015, 11:25
Well, I didn't actually edit and release it. I totally rewrote it and made a brand new one with a lot of new options. I'm not familiar with what GitHub is or how it works, but I'll take a look later. Although AMXX is updated, I personally haven't seen any major changes to the default plugins so far, especially this one. Also, the thing with a plugin being stuck probably won't affect only this one, so it's more of a "global" issue. I doubt that they will implement something better than this, and if they do, I will probably update my plugin with more options.

All default plugins can use a refreshment. In my opinion the current codes can be written in much more better ways, and this is example of such a thing. It probably isn't the best way of coding it, but I'm sure that it's better than the default one. I'm expecting some advice for improving my code, if needed.

I could not describe some step's detail very well, but its only a matter of google the step itself, to get it fully described.

0) Learn what is Version Control (https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control).

1) Its easy, even if you are not familiar with git. There is interface super awesome to use it, it is SmartGit (http://www.syntevo.com/smartgit/download), and is available to Windows, Linux and Mac. Install it.

1) Go to your Github webpage, log in to your github account, go to https://github.com/alliedmodders/amxmodx repository, Fork it to you account clicking at 'Fork' button.

2) Then go to 'Smartgit' program and clone you forked amxmodx, at some folder at you computer with the repository address:
https://github.com/yourgithubaccountname/amxmodx.git

3) After that, you will have the amxmodx code at your computer, then find the original 'adminchat.sma' and update it with you 'adminchat.sma'.

4) Then, go to 'Smargit', select the adminchat.sma, click at 'Commit' button and describe your changes at the code. It is good to link the plugin release alliedmodders' forum page, to them to see the community response.

5) Then click 'Commit' at the commit window. Then click 'Push' button at 'Smartgit' interface.

6) Get to know what is a git branch (https://git-scm.com/book/en/v1/Git-Branching-What-a-Branch-Is).

7) Get to know what is a pull request (https://help.github.com/articles/using-pull-requests/).

8) Follow the pull request steps (https://help.github.com/articles/creating-a-pull-request/).

9) Waits the AMX MOD X team, review your code changes and accept it or reject then. (if reject, probably they will tell you why)

10) To master git, see: Semantic Versioning (http://semver.org/).

Git branching and release management strategy (http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/http://) Obs, 'Smartgit' has the gitflow plugin built-in.

About Conflicts (http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions).

https://git-scm.com/doc Fits too, for those who don't like user interfaces.

OciXCrom
10-03-2015, 14:03
Well, that looks complicated. :) Maybe I'll try and see how it actually works these days, but I'll probably wait a bit more, since I'm planning to add more options to the plugin and if possible make some improvements. Some of the things I have in mind are a command for messaging a specific team (amx_teamsay), an option to change the default message color (for example use grey instead of team color) and more. I'm also expecting suggestions for adding some new things to it, so feel free to write here if you need something or you simply have a good idea.

addons_zz
10-05-2015, 15:50
Well, that looks complicated. :) Maybe I'll try and see how it actually works these days, but I'll probably wait a bit more, since I'm planning to add more options to the plugin and if possible make some improvements.

Don't worry, this is just bureaucratic, but really necessary steps. It seems complicated but is just a bunch of mouse clicks and some typing.

Some of the things I have in mind are a command for messaging a specific team (amx_teamsay), an option to change the default message color (for example use grey instead of team color) and more. I'm also expecting suggestions for adding some new things to it, so feel free to write here if you need something or you simply have a good idea.

As it will keep you code concise and very maintainable, just go ahead. To keep you code concise and very maintainable is a feature which is highly appreciated nowadays. See about software engineering:
The principle of modularity is a specialization of the principle of separation of concerns.
The principle of consistency is a recognition of the fact that it is easier to do things in a familiar context.
The principle of generality is closely related to the principle of anticipation of change.
http://www.d.umn.edu/~gshute/softeng/principles.html

If you changes are not concise, I recommend you to elaborate another plugin to do such new features. As it will keep you code concise and very maintainable.

For example, some days before, I saw you adminchat throwing a exception at my server console. After that I enabled debug mode, and I am waiting to see it again. I think the exception became afraid of to get caught and run away, but I will to keep seeking it. I won't let it run away so easy.

OciXCrom
10-05-2015, 17:24
I'm not planning to make any major changes that will make the plugin harder to work with, if that's what you're trying to tell me. I noticed some minor bugs these few days and I'm currently running a beta version of it in a server, so I can get reports of other problems as well. I already implemented some new options, and I'll probably release a final version soon.

addons_zz
10-05-2015, 20:00
I'm not planning to make any major changes that will make the plugin harder to work with, if that's what you're trying to tell me.

I'm talking about, for example, introduce changes/features beyond adminchat scope, like features applicable to normal players at adminchat plugin, change theirs color chat. Because, that is not the adminchat scope, admin chat should stay for admins. If someone disagrees with that, what I have on my behalf is the software engineering. Hence you problem is not with me, but with software engineering techniques.

OciXCrom
10-05-2015, 20:03
Yes, you're totally right. I'm not going to do such things, or at least not with this plugin. I'm sticking to its name - admin chat, so admin stuff only.

addons_zz
10-05-2015, 20:22
Yes, you're totally right. I'm not going to do such things, or at least not with this plugin. I'm sticking to its name - admin chat, so admin stuff only.

Hence, I am so happy to see someone else doing goods things as you then. Thank you very much for you good contribution to open source. Keep the good work :)

OciXCrom
10-07-2015, 15:41
I've updated the plugin. Here's what has been changed:


Added a command amx_teamsay <team> <message> which allows you to send a message to a specific team. You can use t/c/s/terror/ct/spec/terrorist/counter/etc. The shortcut command is say_team &<team> <message>.
The default (D)HUD message color is now random, instead of white.
I made it so the color of the (D)HUD message can be changed only with using a capital letter, because it is very easy to change the color unintentionally. Examples: @R, @G, @B; instead of @r, @g, @b.
Added symbols for changing the effect of (D)HUD messages: "$" for a blinking effect and "#" for a typewriter effect. You need to add one of the symbols in the message in order to use the given effect.
Sending a message through the server console won't use the server's name anymore, instead it will use the word "SERVER" in different colors.
Added a more convenient way for changing the default message color - see the code.
All so far noticed bugs and problems have been fixed.


I'm waiting for your comments about the changes and for an approver to take a look at the code.

addons_zz
10-07-2015, 19:33
The default (D)HUD message color is now random, instead of white.


Uhum, there is colors that are horrible to see depending on the current map light, like you are at de_dust2 or de_prodigy. I think it is not good to use random. Someone else thinks the same?

Hence, definitely will fit a cvar to active or not random colors to default (D)HUD message color. What does you think about that?

addons_zz
10-07-2015, 19:41
And my bad, i just go straight complaining and forgot to compliment, very cool update :)

OciXCrom
10-07-2015, 19:58
Well, white is also quite difficult to see on some maps, depending on where you're staring at, and I personally think that the color has become very boring in the HUD messages. However, when I think about it, it would be better to add a cvar which controls the default color, so you can choose from every available color to be set as default, or even better - apply a custom one.

zmd94
10-07-2015, 20:14
Would love to see video about below feature. ;)
Added symbols for changing the effect of (D)HUD messages: "$" for a blinking effect and "#" for a typewriter effect. You need to add one of the symbols in the message in order to use the given effect.

addons_zz
10-07-2015, 20:52
Well, white is also quite difficult to see on some maps, depending on where you're staring at, and I personally think that the color has become very boring in the HUD messages. However, when I think about it, it would be better to add a cvar which controls the default color, so you can choose from every available color to be set as default, or even better - apply a custom one.

:)

addons_zz
10-07-2015, 21:20
Would love to see video about below feature. ;)

Here is the video:

https://vid.me/rR7E

addons_zz
10-10-2015, 14:44
Some days before, I saw you adminchat throwing a exception at my server console. After that I enabled debug mode, and I am waiting to see it again. I think the exception became afraid of to get caught and run away, but I will to keep seeking it. I won't let it run away so easy.

Hi, today after have debug enable at admin chat, I catch the debug message. (my version is the lasted v1.1)
L 10/10/2015 - 15:20:16: [adminchat.amxx] [amx_tsay] tester : I SEE FULL DAY!!
L 10/10/2015 - 15:20:16: [adminchat.amxx] [amx_tsay] tester : FRIEND... GO OBJECTIVE!!!
L 10/10/2015 - 15:20:16: [adminchat.amxx] [amx_csay] tester : I SEE FULL DAY!!
L 10/10/2015 - 15:20:16: [adminchat.amxx] [amx_csay] tester : FRIEND... GO OBJECTIVE!!!
L 10/10/2015 - 15:20:33: [adminchat.amxx] [amx_tsay] tester : WATCHES STAB! Stung? HAVE TO SERVE!!!
L 10/10/2015 - 15:20:33: [adminchat.amxx] [amx_tsay] tester : HAHAHAHAHA HAHAHAHAHAHA
L 10/10/2015 - 15:20:33: [adminchat.amxx] [amx_tsay] tester : WATCHES STAB! Stung? HAVE TO SERVE!!!
L 10/10/2015 - 15:20:33: [adminchat.amxx] [amx_tsay] tester : HAHAHAHAHA HAHAHAHAHAHA
L 10/10/2015 - 15:20:39: [adminchat.amxx] [amx_tsay] tester : WATCHES STAB! Stung? HAVE TO SERVE!!!
L 10/10/2015 - 15:20:39: [adminchat.amxx] [amx_tsay] tester : HAHAHAHAHA HAHAHAHAHAHA
L 10/10/2015 - 15:20:39: [adminchat.amxx] [amx_tsay] tester : WATCHES STAB! Stung? HAVE TO SERVE!!!
L 10/10/2015 - 15:20:39: [adminchat.amxx] [amx_tsay] tester : HAHAHAHAHA HAHAHAHAHAHA
L 10/10/2015 - 15:20:40: [adminchat.amxx] [amx_tsay] tester : UHASUHASUHASUHASUHASUHASUHAS [ |-_-| ]
L 10/10/2015 - 15:20:40: [adminchat.amxx] [amx_tsay] tester : UHASUHASUHASUHASUHASUHASUHASUHAS [ |-_-| ]
L 10/10/2015 - 15:20:40: [adminchat.amxx] [amx_tsay] tester : UHASUHASUHASUHASUHASUHASUHASUHAS [ |-_-| ]
L 10/10/2015 - 15:20:40: [AMXX] Displaying debug trace (plugin "adminchat.amxx")
L 10/10/2015 - 15:20:40: [AMXX] Run time error 4: index out of bounds
L 10/10/2015 - 15:20:40: [AMXX] [0] adminchat.sma::cmd_hsay (line 451)

L 10/10/2015 - 15:50:38: [adminchat.amxx] [amx_tsay] [BRAZIL Server] Addons zz's Mul : UHASUHASUHASUHASUHASUHASUHAS [ |-_-
| ]
L 10/10/2015 - 15:50:38: [adminchat.amxx] [amx_tsay] [BRAZIL Server] Addons zz's Mul : UHASUHASUHASUHASUHASUHASUHASUHAS [
|-_-| ]
L 10/10/2015 - 15:50:38: [adminchat.amxx] [amx_tsay] [BRAZIL Server] Addons zz's Mul : UHASUHASUHASUHASUHASUHASUHASUHAS [
|-_-| ]
L 10/10/2015 - 15:50:38: [AMXX] Displaying debug trace (plugin "adminchat.amxx")
L 10/10/2015 - 15:50:38: [AMXX] Run time error 4: index out of bounds
L 10/10/2015 - 15:50:38: [AMXX] [0] adminchat.sma::cmd_hsay (line 451)
L 10/10/2015 - 15:50:41: [admincmd.amxx] Cmd: "tester<1><STEAM_0:0:xxxxxxxxx><>" execute cfg (file "admin/riso_M.cfg")
[AMXX] Succeeeded
L 10/10/2015 - 15:50:41: [adminchat.amxx] [amx_tsay] [BRAZIL Server] Addons zz's Mul : UHASUHASUHASUHASUHASUHASUHAS [ |-_-
| ]
L 10/10/2015 - 15:50:41: [adminchat.amxx] [amx_tsay] [BRAZIL Server] Addons zz's Mul : UHASUHASUHASUHASUHASUHASUHASUHAS [
|-_-| ]
L 10/10/2015 - 15:50:41: [adminchat.amxx] [amx_tsay] [BRAZIL Server] Addons zz's Mul : UHASUHASUHASUHASUHASUHASUHASUHAS [
|-_-| ]
L 10/10/2015 - 15:50:41: [AMXX] Displaying debug trace (plugin "adminchat.amxx")
L 10/10/2015 - 15:50:41: [AMXX] Run time error 4: index out of bounds
L 10/10/2015 - 15:50:41: [AMXX] [0] adminchat.sma::cmd_hsay (line 451)


Apparently is the content of the attached file (https://forums.alliedmods.net/attachment.php?attachmentid=148724&d=1444503328), that causes the index of bounds.


448 new dhud = (command[8] == '2') ? 1 : 0
449 new bool:rndm = (clr == 0) ? true : false
450
451 rndm ? send_hudmessage(dhud, random(255), random(255), random(255), type, message, effect) : send_hudmessage(dhud, g_HudValues[clr][R], g_HudValues[clr][G], g_HudValues[clr][B], type, message, effect)
452 client_print(0, print_console, "[%sHUD] %s", dhud ? "D" : "", message)
amxx cvars:
[ 24] CRXAdminChat 1.1 adminchat.amxx
[ 25] crxchat_anonymous 0 adminchat.amxx

amxx plugins:
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 9] Teleport Menu 1.8.2 AMXX Dev Team telemenu.amxx running
[ 10] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 11] OciXCrom's Admin Chat 1.1 OciXCrom adminchat.amxx debug
[ 12] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running
[ 13] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 14] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 15] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running
[ 16] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running
[ 17] Multi-Mod Server Core 1.0 Addons zz amx_ultra_core. running
[ 18] Multi-Mod Manager v1.0-rc1 Addons zz multi-mod_manag running
[ 19] Addons zz Menus 9.0 AMXX Dev Team multi-mod_menus running
[ 20] Multi-Mod Help 1.0 Addons zz multi-mod_help. running
[ 21] AdminListen 2.3x /dev/ urandom adminlisten.amx running
[ 22] Advanced Tracers 0.1 [email protected] advanced_tracer running
[ 23] Aimbot Detection 1.4beta2 bugsy aimbotdetect_14 running
[ 24] Exec 1.0 ToXiC amx_exec.amxx running
[ 25] POD-Bot Menu 1.3 g4s|figurE.09 amxx_podbotmenu running
[ 26] Auto Round Restart 1.6 SubStream autorr.amxx running
[ 27] c4 timer 1.1 cheap_suit c4timer_rnd.amx running
[ 28] C4 Sprites Timer 0.1.0 ConnorMcLeod c4timer_spr.amx running
[ 29] Weapons War 7.2 zmd94 cs_war.amxx running
[ 30] Chat Logger 2.1a Jim chat_logger.amx running
[ 31] Daily Changer 1.2 JustinHoMi & JGH daily_changer.a running
[ 32] Galileo Reloaded 1.0-alpha1 Brad Jones galileo_reloade running
[ 33] Golden Weapons 0.1 Addons zz GoldenWeapons.a running
[ 34] GHW Connect Messages 1.1 GHW_Chronic GHW_connect.amx running
[ 35] Weapon Model + Sound R 1.3 GHW_Chronic GHW_Weapon_Repl running
[ 36] Grentrail 1.3 AssKicR grentrail.amxx running
[ 37] Head Shot Locational A 0.9 {OmNi}Eternal head_shot_annou running
[ 38] Hostage Events 0.9.3 default hostage_events. paused
[ 39] Killer's view 0.1.0 ConnorMcLeod killer_view.amx running
[ 40] Knifekill Announcer 0.111 JustinHoMi knifekill_annou running
[ 41] Knifes Only 0.1 BillyTheKid knifes_only.amx running
[ 42] Last man bets 0.9.4 JGHG lastmanbets.amx paused
[ 43] MultiJump 1.1 twistedeuphoria multijump.amxx paused
[ 44] Pain Shock Free 1.0.0 Simon Logic pain_shock_free running
[ 45] AMXX Parachute 0.2.3 KRoT@L parachute4ever. running
[ 46] Real Nade Drops 0.4 VEN realnadedrops.a paused
[ 47] Restrict Weapons 1.8.2 AMXX Dev Team restmenu.amxx running
[ 48] ResetScore 0.2.0 aNNakin resetscore.amxx running
[ 49] Tuff kill Rewards 0.3 mongo rewards.amxx running
[ 50] SCU: Unlimited Money 1.0 Arkshine scu_unlimited_m running
[ 51] Server Rules 1.4 DoubleTap server_rules.am running
[ 52] Silly C4 1.2 Cheap_Suit sillyc4.amxx running
[ 53] SpecList 1.2a FatalisDK speclist.amxx running
[ 54] CS Stats Logging 1.8.2 AMXX Dev Team stats_logging.a running
[ 55] StatsX 1.8.2 AMXX Dev Team statsx.amxx running
[ 56] voteban menu 1.2 hjvl voteban1_2.amxx running
[ 57] AMX_Super Menu 0.8.1 Yami Kaitou amx_super_menu. running
[ 58] AMX Super 4.1.1 Nosp Bmann_420 amx_super.amxx running
[ 59] Round Terminator 1.0.1 Arkshine round_terminato running
[ 60] AMX Admin Model 1.1.1 whitemike amx_adminmodel. running
[ 61] Countdown Exec 1.3 SniperBeamer countdown_exec. running
[ 62] CS Misc. Stats UT 1.8.2 Ori, Amx Mod X D adv_miscstats.a running
[ 63] Ultimate KillStreak Ad 0.7 Ori, SAMURAI adv_killstreak. running
[ 64] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
64 plugins, 60 running


status:
hostname: [BRAZIL Server] Addons zz's Multi-Mod Server v1.0-alpha1
version : 48/1.0.0.3 6153 secure (80)
tcp/ip : xxx.xxx.xxx.xxx:xxxxx
map : de_prodigy at: 0 x, 0 y, 0 z
players : 1 active (20 max)

meta list:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.2 ini Start ANY
[ 2] Booster RUN - booster_mm.dll v2.40 ini Chlvl Pause
[ 3] POD-Bot mm RUN - podbot_mm.dll vV3B22 ini Chlvl ANY
[ 4] MySQL RUN - mysql_amxx.dll v1.8.2 pl1 ANY ANY
[ 5] SQLite RUN - sqlite_amxx.dll v1.8.2 pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.8.2 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx.dll v1.8.2 pl1 ANY ANY
[ 8] GeoIP RUN - geoip_amxx.dll v1.2.0-m pl1 ANY ANY
[ 9] Fun RUN - fun_amxx.dll v1.8.2 pl1 ANY ANY
[10] Engine RUN - engine_amxx.dll v1.8.2 pl1 ANY ANY
[11] Orpheu RUN - orpheu_amxx.dll v2.6.3 pl1 ANY ANY
[12] FakeMeta RUN - fakemeta_amxx.dl v1.8.2 pl1 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl1 ANY ANY
13 plugins, 13 running

OciXCrom
10-11-2015, 14:30
Good job! :)

This actually happens when you use an invalid color. You misspelled maroon and caused that error. I made it so if you enter an invalid color, it will automatically set it to "random". Thank you for detecting the problem. I'm glad to see that the number of servers using this plugin is rising everyday. Still waiting for an approver to take a look at the code.

addons_zz
10-11-2015, 20:29
Good job! :)

This actually happens when you use an invalid color. You misspelled maroon and caused that error. I made it so if you enter an invalid color, it will automatically set it to "random". Thank you for detecting the problem. I'm glad to see that the number of servers using this plugin is rising everyday. Still waiting for an approver to take a look at the code.

You are welcome.

I think about it, it would be better to add a cvar which controls the default color, so you can choose from every available color to be set as default, or even better - apply a custom one.

And is coming a cvar to choose a default color or choose to use a random one from a list? For example:


// Defines the default color as blue
amx_adminchatcolor blue

// Defines the default color as a random between blue and red
amx_adminchatcolor blue red

// Defines the default color as a random between blue, red and green
amx_adminchatcolor blue red green


And another thing, I always change the hud message time out from 6 to 12~15 inside the code, could be a cvar to do that?

OciXCrom
04-14-2016, 15:35
I finally found enough free time to update this plugin!


All of the variable names are changed with more acceptable ones (message => szMessage, name => szName etc)
Added a config file which makes the plugin configuartion fairly easy. You can now easily change all of the messages and most important settings without having to make changes to the source code itself.
Added an option to change the default (D)HUD message color, as requested.

; Default (D)HUD Messages Colors -- the color will be used when the player doesn't choose one
- random
Added an option to control the (D)HUD message time, as requested.

; (D)HUD Messages Time -- how long before the sent (D)HUD message dissapears from the screen
- 6.0
You now need to use @X for a random color, otherwise the plugin will use the "default" color (found in AdminChat.ini), unless you choose some other one - @R, @G, @B etc.


I would like this plugin to be reviewed by an approver. There are probably some things that can be done in more efficient ways. I haven't noticed any bugs so far, but please leave a reply if you find something.

siriusmd99
04-16-2016, 04:08
How the hell e wrote with yellow color in chat. Is that possible. I know that only green, blue and red s working.Are there more possible colours?

OciXCrom
04-16-2016, 09:03
Yellow color in chat? What are you exactly referring to? The color on the images is yellow because my default color is set to yellow (client cvar). If you're talking about the list of colors, they are only for (D)HUD messages, as clearly stated in the description.

siriusmd99
04-16-2016, 11:29
No , thanks. It's client side, I was thinking you changed color with amxx to player. Nevermind.

OciXCrom
05-07-2016, 16:16
Update 3.0:
The plugin is once again almost fully rewritten.
The configuration file has been completely changed for more convenient and easier usage.
I added the messages from the original admin chat in the file in case of someone wanting to use the "retro" style, which has no colors at all.

OciXCrom
08-20-2016, 08:01
This AdminChat.ini harms my Computer when it popup after download a file.

Then you should consider changing your antivirus. I don't see how a .ini file can be harmful to your computer.

KleinMarquez
08-21-2016, 04:43
Oh, i have no virus... i have to forgot disable Harm a file in chrome.

OciXCrom
08-21-2016, 08:39
Oh, ok then.

FalleN Angell
11-17-2016, 08:39
Nice iwill try it on my server

Craxor
12-10-2016, 12:19
Oxicrom, realy nice plugin but i have an idea .. can you add also the functionality of this (https://forums.alliedmods.net/showthread.php?p=2386287) one ?

Because if you add also an motd functionality my plugin can be unnaproved so would be better yours with all-in-one :D :)

OciXCrom
12-10-2016, 13:20
There a thousands of ways to display a message (print_center, console, motd, etc) and motd is not something an admin chat plugin should have by default. I may add an amx_speak command - using CS sounds to send messages, but nothing more. It's admin chat, so it should stick to chat things.

kristi
12-26-2016, 18:31
It would be cool if it was possible to tsay more faster like bind any key to messagemode3
Just like "say" ~ messagemode1 & "say_team" ~ messagemode2 :)

OciXCrom
12-26-2016, 19:30
Don't you know that you can bind any command like that?

bind key "messagemode amx_tsay"

Even without a bind, you can use it when you put @ as the first symbol in a "say" message, which is as easy at it can be

maxolahird
12-28-2016, 16:58
Awesome. Didnt see your other plugins before, Nice one! (I don't know why they are not approved already :()

OciXCrom
12-28-2016, 17:00
The approvers can be pretty lazy sometimes. :) Thanks.

Craxor
12-28-2016, 17:02
The approvers can be pretty lazy sometimes. :) Thanks.

I believe is just one approver ( Hamlet ) , he have tons of plugins to review + a life :twisted::twisted:

faKe91
01-12-2017, 02:42
Hello,
Can you please fix bug with localized strings in your plugin. If I use this console commands http://funkyimg.com/i/2njAe.png with the text for example #Spec_Help_Text Hello people!, all players will got CS crash. The big problem is that I allow the command amx_psay for all players, so they could send each other private message. If someone will use amx_psay <nick> #Spec_Help_Text Hello people! all server will got CS crash.

Many Thanks!

luckyy
05-12-2017, 12:17
how to remove this option "Admins can read other players' private messages." coz i need only admincolorchat with default cs chat system ..

OciXCrom
05-12-2017, 12:56
By putting it on a flag that nobody has.

Alber9091
11-17-2017, 04:54
If there are no quries to anyone, I believe, Plugin Approvers! Should just give review and approve it. :)
And I can see! Number of servers using it too.
Good Luck OciXCrom.

OciXCrom
11-17-2017, 07:30
No, they shouldn't actually. It needs a rewrite, even though it's working without any problems. It's one of my older plugins and the code can be written much better. I'll do that when I can.

WhiteFang1319
02-04-2018, 05:21
Hey, how can I change the way (ADMIN) is written for admin pvt chat? I know that I can change ADMIN from the config file but I want to change the "(" ")" too, also their colors.

OciXCrom
02-04-2018, 09:39
You can change the entire message formatting in the last lines of the .ini file.

WhiteFang1319
02-04-2018, 10:44
Oh, my bad. Thanks

WhiteFang1319
03-14-2018, 11:05
Hi, sometimes the admins/players are not able to say in the chat. It gives an error like this in the console


Server tried to send invalid command:"amx_asay retry karke dekh
"

This is me talking in another language to a friend in admin chat but the message wasn't printed

OciXCrom
03-14-2018, 15:22
There's no reason for that error to happen unless the admin/player has deliberately modified their game to block the command. The plugin forces the player to execute those commands (in your case amx_asay), and that command is not in the list of commands marked as slowhacking by Valve (https://developer.valvesoftware.com/wiki/Admin_Slowhacking), thus that error won't occur unless the game is modified to do so.

WhiteFang1319
03-19-2018, 07:37
There's no reason for that error to happen unless the admin/player has deliberately modified their game to block the command. The plugin forces the player to execute those commands (in your case amx_asay), and that command is not in the list of commands marked as slowhacking by Valve (https://developer.valvesoftware.com/wiki/Admin_Slowhacking), thus that error won't occur unless the game is modified to do so.

I've not modified my game to block commands, not even using cl_filterstuffcmd 1 except putting all files to read-only. This should not make this error happen though AFAIK. Also this error has happened to other admins/players. Pretty sure not all of them have modified their games..
Can you check, please?

OciXCrom
03-19-2018, 13:19
I don't see a reason why that would happen. I'm using the plugin in more than 10 servers, plus 150 others are using it at the moment and nobody reported such a thing. The plugin need a rewrite though which will include sending the messages without forcing the user to execute a command. I can't tell for sure when I'm going to do that. Anyways, the problem is not from the plugin. You may have some other plugin/protection that's causing this.

vase070
07-25-2018, 20:48
there is a bug where if a player has !g , !t , !n . in their nick name it will not show up fully when using amx_say or amx_asay

Elit59
11-30-2018, 07:38
GJ :)

Mark.uG
12-28-2018, 22:05
I've not modified my game to block commands, not even using cl_filterstuffcmd 1 except putting all files to read-only. This should not make this error happen though AFAIK. Also this error has happened to other admins/players. Pretty sure not all of them have modified their games..
Can you check, please?

This problem is present having the same issue.

EDIT:#1

My problem goes away if i don't use the word kill in a message.

Try with this bind OcixCrom

bind "kp_home" "say @ the objective is to defend the site or defuse the bomb (if planted), killing the T's is a bonus"

EDIT:#2

Default adminchat works with these words kill retry etc.
https://github.com/alliedmodders/amxmodx/blob/master/plugins/adminchat.sma

Mark.uG
12-29-2018, 01:21
Hi, sometimes the admins/players are not able to say in the chat. It gives an error like this in the console


Server tried to send invalid command:"amx_asay retry karke dekh
"

This is me talking in another language to a friend in admin chat but the message wasn't printed

His is coming from the word RETRY

OciXCrom
12-29-2018, 10:02
I'm aware of the issue. The plugin will be rewritten when I have time.

Mark.uG
12-29-2018, 10:05
I'm aware of the issue. The plugin will be rewritten when I have time.

oh ok no problem besides that is a great plugin!

Good Job!

OciXCrom
05-03-2019, 18:44
It already has color added by default. It's the "amx_chat" command - search for it in the configuration file. Did you even install the plugin?

OciXCrom
05-04-2019, 09:58
It's not added by the game, nor by the default AMXX admin chat plugin... The main purpose of this plugin is to add color to the admin chat messages and it's exactly what's it doing. Just look at the configuration file, you can modify the colors and styles however you prefer.

activex94
05-02-2020, 07:52
Hi,

I need help with the chat.

I use the AMX MATCH DELUXE plugin so I want to disable the option ADMINS to read the others team say_team...Please HELP


Thank YOu

OciXCrom
05-02-2020, 08:04
This plugin has nothing to do with the default say_team chat.

artYY
05-23-2020, 11:13
Nice plugin! Where is the file to translate?

OciXCrom
05-23-2020, 14:13
Nice plugin! Where is the file to translate?

Translate what?...

artYY
05-24-2020, 16:11
Translate what?...
Sorry, this plugin isn't necessary.

OciXCrom
05-24-2020, 17:12
Sorry, this plugin isn't necessary.

Huh? I'll assume you wanted to write something else with that English.

artYY
05-25-2020, 01:34
Huh? I'll assume you wanted to write something else with that English.Yeap! Sorry my English.

I meaned that it was not necessary to translate this plugin

Mohamed null
10-13-2020, 04:34
Set amx_say = admin name = green and saying = yellow

OciXCrom
10-13-2020, 07:47
Set amx_say = admin name = green and saying = yellow

Speak English.
The plugin has a configuration file - use it.

AC_MSG_SAY = "!g(ALL) !t%name% !n: !g%message%"

Avram
10-27-2020, 20:55
I used this before but had to give up on it since the main source of my player's kit had some sort of protection and they couldn't use adminchat at all , any thoughts on it , can that be fixed?

OciXCrom
10-28-2020, 08:14
I used this before but had to give up on it since the main source of my player's kit had some sort of protection and they couldn't use adminchat at all , any thoughts on it , can that be fixed?

Yes, I need to rewrite this to make it use a proper method.

Mmiicchhaaeell
11-23-2020, 22:17
I don't seem to find where I can edit this: when I type amx_say it say (ALL) I want to change it to [ALL] any suggestions plz? Thanks!

OciXCrom
11-24-2020, 08:17
I don't seem to find where I can edit this: when I type amx_say it say (ALL) I want to change it to [ALL] any suggestions plz? Thanks!

Did you open the configuration file? I think it's pretty obvious:

;amx_say -- Sends a message to all players.
;AC_MSG_SAY = "!n(ALL) %name% : %message%"
AC_MSG_SAY = "!g(ALL) !t%name% !n: !g%message%"
AC_AMSG_SAY = "!g(ALL) !n: !g%message%"
AC_CLR_SAY = 3

Mmiicchhaaeell
11-24-2020, 18:59
I was looking through .sma.... Thanks alot!

Mmiicchhaaeell
11-24-2020, 22:50
OciXCrom You got some serious plugins. You are one of the top best.

Thanks !

Avram
01-09-2021, 01:27
I was looking over this plugin recently and remembered about the svc_stufftest bug on some clients:
SVC_STUFFTEXT: Server tried to send invalid command : amx_asay test
Do you have time to fix it sir please ?:D

OciXCrom
01-09-2021, 08:00
I was looking over this plugin recently and remembered about the svc_stufftest bug on some clients:
SVC_STUFFTEXT: Server tried to send invalid command : amx_asay test
Do you have time to fix it sir please ?:D

Fixing it means rewriting it completely. I will do that when I have time since the code is old anyways.
Those clients are 1 in 1000. The game should not block custom AMXX commands. It's their fault for enabling such protections.

Avram
01-09-2021, 10:10
Fixing it means rewriting it completely. I will do that when I have time since the code is old anyways.
Those clients are 1 in 1000. The game should not block custom AMXX commands. It's their fault for enabling such protections.

Biggest romanian masterserver has such protector :(

OciXCrom
01-09-2021, 14:45
Biggest romanian masterserver has such protector :(

I don't see what that has to do with someone's game.

OciXCrom
03-06-2021, 09:21
https://img.shields.io/badge/update-v4.0 @ 06.03.2021-green.svg

The long awaited rewrite is here! The plugin has been rewritten from scratch; the code is majorly improved and completely optimized.
Please note that the old configuration file is no longer compatible with the new version as it is also fully remade with new options and additions. You must replace the entire file when updating.
The plugin no longer uses "client_cmd" to send admin commands. This means that commands will work for everyone and you will no longer see a "Server tried to send invalid command" warning.
Added protection against chat exploits with '#' and '%' symbols.
You can now fully change the command shortcuts directly from the .ini file.
The plugin's filename has been changed to "crx_adminchat". It will now automatically detect if "adminchat.amxx" is running and force stop it if it is.
Added a new command "amx_centersay" that sends a chat-style message to all players in the center of the screen.
Added a command for instantly reloading the .ini file - "ac_reload". Bear in mind that sound changes will take effect on mapchange.
The plugin now uses the "cromchat" library instead of a built-in colorchat. This means that the old color symbols (!g, !t, !n) have been replaced with &x04, &x03 and &x01.
Players can change their message color by using these symbols if they have the "COLORCHAT_FLAG" flag set in the .ini file.
You can now set a unique sound for each command. You can also control whether the message sender can hear the sound or only those who receive it.
Sounds now use "precache_generic" instead of "precache_sound", meaning they no longer take up precious resource space.
Added a language file.
Added a new setting ALLOW_EMPTY_MESSAGES that controls if players can send empty messages.
Added the ability to use a custom log file or to disable logging completely.
Added an option to display the server's actual hostname when the messages are sent through the server's console.
Added built-in support for some of my plugins: OciXCrom's Rank System, Chat Manager & Admin Groups. You can use some of their options in the admin command, e.g. player rank, admin prefix, level, admin group, custom name.
Random quotes no longer show with "amx_psay" and "amx_teamsay".
Each (D)HUD message now uses a separate channel position, meaning they won't randomly shift on the screen.
Added an option to set a channel for HUD messages. This can be used in servers that have a lot of HUD messages on the screen. By setting a channel, only 1 HUD message will appear on the screen at a time. This will also make the message stay in one place instead of moving up and down.
Added the ability to change the XY positions of (D)HUD messages.
You can now fully adjust the (D)HUD message colors from the .ini file. I also added an option to assign a random color value.
The default (D)HUD message color has been changed from fully random to green-yellowish random. This is represented by the symbol Y in the colors section instead of the previous X one.
Added an admin flag for using (D)HUD message effects. They can now also be changed from the .ini file.
Added full (D)HUD message control, including FX time, hold time, movement, maximum movement positions, etc.
Separated the flags for reading "amx_psay" and "amx_teamsay" messages of other players/teams.

OciXCrom
03-07-2021, 09:49
https://img.shields.io/badge/update-v4.1 @ 07.03.2021-green.svg

Added support for all games! The plugin no longer works only in Counter-Strike. The only difference you will see in other games is the lack of colors in messages and "amx_teamsay" will be unavailable.
Removed protection against "#" chat exploits thanks to the built-in protection in the new CromChat version.

OciXCrom
03-13-2021, 14:38
https://img.shields.io/badge/update-v4.2 @ 13.03.2021-green.svg

Added a new command "amx_rawsay" that sends an unformatted chat message to all players.
Added a new command "amx_speak" that attempts to speak out a message using "vox/fvox" or play a sound to all players.
Added a safety check for empty filenames set in the .ini file that prevents a server crash.
Fixed $customname$ not working when sending a message via the server's console.
Empty messages can no longer be sent by using spaces.
Removed player/server name colors in (D)HUD/center/console messages.
The server now shows in the logs if a command was issued through the server's console.
amx_centersay messages now appear in the client's console same way (D)HUD ones do.
Enabled "amx_teamsay" and colorchat support for Counter-Strike: Condition Zero.
Added a new setting "NEWLINE_SHORTCUT". When this shortcut is added in a message, it will move the text on a new line.

To update from the previous version you only need to update crx_adminchat.sma/amxx and add the new setting in AdminChat.ini:

# Using this in a message will transfer it on the next line.
NEWLINE_SHORTCUT = !n

shayan123
03-20-2021, 07:29
//// crx_adminchat.sma
// E:\counterstrike\cstrike\addons\amxmodx\scrip ting\crx_adminchat.sma(1148) : error 017: undefined symbol "CC_RemoveExploits"
//
// 1 Error.
// Could not locate output file E:\counterstrike\cstrike\addons\amxmodx\scrip ting\compiled\crx_adminchat.amx (compile failed).
//
// Compilation Time: 0.37 sec
// ----------------------------------------

Press enter to exit ...

OciXCrom
03-20-2021, 09:27
Update cromchat.inc with the one from the archive.

shayan123
03-20-2021, 20:55
alread added then not work

OciXCrom
03-20-2021, 21:31
You clearly added it in the wrong compiler or didn't add it at all.

If you updated cromchat.inc and the file contains the CC_RemoveExploits function, it wouldn't say it's missing, would it?

per4shK
01-24-2022, 13:45
Ay bro, I have got the AMXMODX Version 1.9 and I can't compile the crx_chatmanager because of the fatal error code 111, I tried to convert it from every single online web compiler but I couldn't success it every time I try to compile it I get this error: "crx_chatmanager.sma(13) : fatal error 111: user error: Your "cromchat.inc" is outdated. Please replace it with the one attached in the archive." I have readen the error and I couldn't find any file called "cromchat.ini", I changed it from a websitee but still the same, I also replaced it with the same exact location and still same, could you send me the solution file?

Thanks!

OciXCrom
01-24-2022, 14:03
The solution is not using an online compiler. How do you expect to compile something that requires multiple files by uploading only one file to a website?