Raised This Month: $13 Target: $400
 3% 

Chat Manager [Admin Prefix & Color Chat]


Post New Thread Reply   
 
Thread Tools Display Modes
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 05-25-2020 , 16:11   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #161

Quote:
Originally Posted by OciXCrom View Post
setinfo vip "[Prefix]"
Yeah, but I was thinking that I can change it in sma, not type it in directly. Is there any way to achieve this?
supertrio17 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-25-2020 , 16:27   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #162

Quote:
Originally Posted by supertrio17 View Post
Yeah, but I was thinking that I can change it in sma, not type it in directly. Is there any way to achieve this?
That's what the previous one I gave you did. Start reading the replies to your questions.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 05-25-2020 , 20:58   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #163

Quote:
Originally Posted by OciXCrom View Post
setinfo vip "[Prefix]"
I tried that too, but in my amx_plugins list im getting this
unknown unknown unknown crx_chatmanager bad load
supertrio17 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-25-2020 , 21:45   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #164

Because you used an online compiler.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
UNU_
New Member
Join Date: Jan 2015
Old 06-06-2020 , 11:09   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #165

I have a chat color name problem linux server, the name of the player stays on the same team color and dont update on team change.

[ 1] Reunion RUN - reunion_mm_i386. v0.1.75 ini Start Never
[ 2] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 3] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 4] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 5] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl4 ANY ANY
[ 6] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl4 ANY ANY
[ 7] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl4 ANY ANY
[ 8] Engine RUN - engine_amxx_i386 v1.9.0.5 pl4 ANY ANY
[ 9] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl4 ANY ANY
[10] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl4 ANY ANY
[11] GeoIP RUN - geoip_amxx_i386. v1.10.0. pl4 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl4 ANY ANY
[13] ReAimDetector RUN - reaimdetector_am v0.2.2 pl4 ANY Never
[14] NetDB RUN - netdb_amxx_i386. v1.1 pl4 ANY ANY
UNU_ is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-30-2020 , 18:49   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #166

amxx 1.10.5402

PHP Code:
L 06/23/2020 21:56:25Start of error session.
L 06/23/2020 21:56:25Info (map "de_dust2") (file "addons/amxmodx/logs/error_20200623.log")
L 06/23/2020 21:56:25String formatted incorrectly parameter 4 (total 3)
L 06/23/2020 21:56:25: [AMXXDisplaying debug trace (plugin "crx_chatmanager.amxx"version "4.5.1")
L 06/23/2020 21:56:25: [AMXXRun time error 25parameter error 
L 06
/23/2020 21:56:25: [AMXX]    [0cromchat.inc::CC_SendMatched (line 264)
L 06/23/2020 21:56:25: [AMXX]    [1crx_chatmanager.sma::Hook_Say (line 752)
L 06/23/2020 21:56:29String formatted incorrectly parameter 4 (total 3)
L 06/23/2020 21:56:29: [AMXXDisplaying debug trace (plugin "crx_chatmanager.amxx"version "4.5.1")
L 06/23/2020 21:56:29: [AMXXRun time error 25parameter error 
L 06
/23/2020 21:56:29: [AMXX]    [0cromchat.inc::CC_SendMatched (line 264)
L 06/23/2020 21:56:29: [AMXX]    [1crx_chatmanager.sma::Hook_Say (line 752
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
iceeedr is offline
Send a message via Skype™ to iceeedr
alferd
Veteran Member
Join Date: Dec 2019
Old 07-01-2020 , 04:01   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #167

Quote:
Originally Posted by unu_ View Post
i have a chat color name problem linux server, the name of the player stays on the same team color and dont update on team change.

[ 1] reunion run - reunion_mm_i386. V0.1.75 ini start never
[ 2] rechecker run - rechecker_mm_i38 v2.5 ini chlvl any
[ 3] reauthcheck run - reauthcheck_mm_i v0.1.6 ini start never
[ 4] amx mod x run - amxmodx_mm_i386. V1.9.0.5 ini start any
[ 5] mysql run - mysql_amxx_i386. V1.9.0.5 pl4 any any
[ 6] cstrike run - cstrike_amxx_i38 v1.9.0.5 pl4 any any
[ 7] csx run - csx_amxx_i386.so v1.9.0.5 pl4 any any
[ 8] engine run - engine_amxx_i386 v1.9.0.5 pl4 any any
[ 9] fakemeta run - fakemeta_amxx_i3 v1.9.0.5 pl4 any any
[10] fun run - fun_amxx_i386.so v1.9.0.5 pl4 any any
[11] geoip run - geoip_amxx_i386. V1.10.0. Pl4 any any
[12] ham sandwich run - hamsandwich_amxx v1.9.0.5 pl4 any any
[13] reaimdetector run - reaimdetector_am v0.2.2 pl4 any never
[14] netdb run - netdb_amxx_i386. V1.1 pl4 any any
no steam = no support
alferd is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-01-2020 , 07:27   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #168

Quote:
Originally Posted by iceeedr View Post
amxx 1.10.5402

PHP Code:
L 06/23/2020 21:56:25Start of error session.
L 06/23/2020 21:56:25Info (map "de_dust2") (file "addons/amxmodx/logs/error_20200623.log")
L 06/23/2020 21:56:25String formatted incorrectly parameter 4 (total 3)
L 06/23/2020 21:56:25: [AMXXDisplaying debug trace (plugin "crx_chatmanager.amxx"version "4.5.1")
L 06/23/2020 21:56:25: [AMXXRun time error 25parameter error 
L 06
/23/2020 21:56:25: [AMXX]    [0cromchat.inc::CC_SendMatched (line 264)
L 06/23/2020 21:56:25: [AMXX]    [1crx_chatmanager.sma::Hook_Say (line 752)
L 06/23/2020 21:56:29String formatted incorrectly parameter 4 (total 3)
L 06/23/2020 21:56:29: [AMXXDisplaying debug trace (plugin "crx_chatmanager.amxx"version "4.5.1")
L 06/23/2020 21:56:29: [AMXXRun time error 25parameter error 
L 06
/23/2020 21:56:29: [AMXX]    [0cromchat.inc::CC_SendMatched (line 264)
L 06/23/2020 21:56:29: [AMXX]    [1crx_chatmanager.sma::Hook_Say (line 752
Can I see your .ini file? Looks like some configuration is wrong.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 07-01-2020 , 10:21   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #169

Quote:
Originally Posted by OciXCrom View Post
Can I see your .ini file? Looks like some configuration is wrong.
Sure. This error in the log appears very rarely.

PHP Code:
#==============================================#
# Chat Manager by OciXCrom: Configuration file #
#==============================================#

# Colors: &x01 (DEFAULT), &x03 (TEAM COLOR); &x04 (GREEN); &x05 (WHITE); &x06 (BLUE); &x07 (RED)
# Combining two or more team colors is NOT POSSIBLE in CS 1.6: &x03, &x05, &x06, &x07 - only ONE of these can be used inside a message.

[Main Settings]
# If set to 1, all players will see all chats independent of whether they are dead or alive, excluding the other team's private chat.
# If set to 2, all players will see all chats, including the opposite team's private chat.
ALL_CHAT 0

# Players with these flags will see all chats at all time, including all team chats.
ADMIN_LISTEN_FLAGS x

# If the message starts with any of these symbols, it will be hidden in chat. Example: @, /, !
BLOCK_FIRST_SYMBOLS = @

# Prefixes for dead and alive players. Yes, you can set a prefix like *ALIVE* too.
DEAD_PREFIX = *DEAD*
ALIVE_PREFIX =

# The standard spectator prefix.
SPEC_PREFIX = *SPEC*

# Team prefixes that are usually shown in the team chat, in brackets.
TEAM_PREFIX_T Terrorista
TEAM_PREFIX_CT 
Counter-Terrorist
TEAM_PREFIX_SPEC 
Spec

# Text that will show when the plugin can't detect a player's location when using geoip.
ERROR_TEXT = ?

# Time formatting when $time$ is used. More info here: http://www.cplusplus.com/reference/ctime/strftime/
FORMAT_TIME = %X

# This is the file where chat messages will be logged. If you want to disable logging, leave this setting blank.
CHAT_LOG_FILE chatmanager.log

# Format to use for the chat logs. Formats are defined in the [Format Definitions] section.
CHAT_LOG_SAY_FORMAT log_say
CHAT_LOG_TEAM_FORMAT 
log_team

# Here you can set a sound that will play when a message is written in chat. If it's blank, no sound will be played.
SAY_SOUND =
SAY_TEAM_SOUND =

# Date format for use with expiration dates where available in sections down below.
# For a list of valid parameters, see: http://www.cplusplus.com/reference/ctime/strftime/
EXPIRATION_DATE_FORMAT = %d.%m.%Y

# What to do when the date for a specific extra has expired?
# 0 = ignore the entire line
# 1 = put a "#" symbol in the beginning of the line
# 2 = remove the entire line from the file
# Note that when the setting is non-zero, the entire file will be rewritten after being read.
EXPIRATION_DATE_BEHAVIOR 0

[Format Definitions]
# In this section you can define chat formats that you can assign to different users in the [User Formats] section.
# You should create a different format for the say and say_team chat, if you don't wan't them to look the same.
# You can use the following placeholders: $admin_prefix$, $dead_prefix$, $team$, $name$, $custom_name$, $ip$, $steam$, $userid$, $chat_color$, $message$, $time$
# You can also use these, but they need to be enabled in the .sma file first: $health$, $armor$, $frags$, $deaths$, $city$, $country$, $country_code$, $continent$, $continent_code$
# Using OciXCrom's Rank System gives you access to even more placeholders: $rank$, $current_xp$, $next_xp$, $level$, $next_level$, $next_rank$. Only the first one is enabled by default.
# To enable an additional placeholder, simply locate the #define ARG_ line in the beginning of the .sma file and uncomment it (remove //), then recompile the plugin.
# Syntax: format name = format style

format_admin $dead_prefix$ &x04$admin_prefix$ &x03$custom_name$ &x01$chat_color$$message$
format_admin_team $dead_prefix$ ($team$) &x04$admin_prefix$ &x03$rank$ &x01$chat_color$$message$
format_player $dead_prefix$ &x03$custom_name$ &x01$chat_color$$message$
format_player_team $dead_prefix$ ($team$) &x03$custom_name$ &x01$chat_color$$message$

log_say = [ $ip$ | $steam$ ] $dead_prefix$name$: $message$
log_team = [ $ip$ | $steam$ ] ($team$) $dead_prefix$name$: $message$

# In the sections down below you can set different prefixes, chat colors and custom names for each player or a group of players.
# You can add an unlimited amount of these extras. Each new extra needs to be added on a new line in the correct section.
# Bear in mind that the extras that are higher in the list have priority over the ones below them.
# This means that if a player for example meets the requirements for 2 or more prefixes, he will receive the one that's first in the list.

# In the syntaxes, you will find a parameter called "type". This parameter can be one of the following: flag, name, ip, steam, anyflag or noprefix.
# If it's set to "flag" (or "flags"), the plugin will check if the player has ALL of the admin flags set in the "info" parameter. You can set multiple flags instead of only one.
# The "name", "ip" and "steam" settings will check if the player's name, IP or SteamID is equal to the one set in the "info" parameter.
# When set to "anyflag", it will check if the player has ANY of the admin flags specified in the "info" parameter.
# Setting it to "noprefix" will check if the player doesn't have a prefix set. The "info" parameter doesn't have a function in this case, so you can leave it blank.

# If you're using OciXCrom's Rank System, you can also use the parameter "level" to check the user's level.

# The "expiration date" parameter is optional, so you can skip it. If set, this will be the date until the extra will be active.
# If the date has passed, the plugin will ignore the entire line. Dates must be written in the same format as set in the DATE_FORMAT setting.
# If the DATE_FORMAT setting is empty or not found in the [Settings] section, the plugin will ignore the expiration date and the extra will be active all the time.

[Admin Prefixes]
# Here you can add custom prefixes to specific players or flags that are shown when using $admin_prefix$.
# Syntax: "type" "info" "prefix" "[expiration date]"

"ip" "127.0.0.1" "[BOT]"
"flag" "m" "[DONO]"
"flag" "n" "[SUB DONO]"
"flag" "o" "[SUPREMO]"
"flag" "p" "[MASTER]"
"flag" "q" "[ADM]"
"flag" "r" "[VIP]"
"flag" "s" "[GIRL]"

[Chat Colors]
# Here you can add different chat colors to specific players or flags that are shown when using $chat_color$.
# Syntax: "type" "info" "chat color" "[expiration date]"

"flag" "b" "&x04"
"flag" "" "&x01"

[Name Customization]
# Here you can modify the name shown for certain players when using $custom_name$.
# Syntax: "type" "info" "custom name" "[expiration date]"

"name" "OciXCrom" "&x03Oci&x04XC&x03rom"

[Say/Say_Team Formats]
# Here you can specify the chat style for every user or flag.
# Syntax: "type" "info" "say format" "say_team format" "[expiration date]"

"noprefix" "" "format_player" "format_player_team"
"flag" "" "format_admin" "format_admin_team" 
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
iceeedr is offline
Send a message via Skype™ to iceeedr
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:56.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode