Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD Join/Quit/Switch Messages +More (v2.0)

by diamond-optic · 2006-07-11 · 22 replies · 20522 views · 301 downloads

Read the thread (23 posts)

From the first post

DoD Join/Quit/Switch Messages +More
n- Version 2.0
n- 03.13.2009
n- diamond-optic
n
nInformation:
n
- Replaces join & quit messages, team switch msgs, and name change msgsn- Connection message can show the client's countryn- Admins can set their own custom country name to displayn- Can also hide bot & admin messagesn- Bots & admins can also have their own new messages insteadn- Set custom roundstart messages for each teamnn- ** Requires AMXX 1.75 or higher **
CVARs:
n
dod_jqs_msgs "1" //"0" = use defualt messagesn //"1" = use new messagesn //"2" = hide messagesnndod_jqs_bots "2" //"0" = no difference between bots & normal clientsn //"1" = bots use their own new messagesn //"2" = hide bot messagesnndod_jqs_admins "2" //"0" = no difference between admins & normal clientsn //"1" = admins use their own new messagesn //"2" = hide admin messagesnndod_jqs_join "1" //"0" = defualt join messagen //"1" = new join messagen //"2" = hide join messagenndod_jqs_join_geo "1" //"0" = no geoip country added to custom join msgn //"1" = add geoip country to custom join msgnndod_jqs_quit "1" //"0" = defualt quit messagen //"1" = new quit messagen //"2" = hide quit messagenndod_jqs_teams "1" //"0" = defualt join team messagesn //"1" = new join team messagesn //"2" = hide join team messagesnndod_jqs_spec "1" //"0" = defualt join spec messagen //"1" = new join spec messagen //"2" = hide join spec messagenndod_jqs_name "1" //"0" = defualt name change messagen //"1" = new name change messagen //"2" = hide name change messagenndod_jqs_start_allies "1" //"0" = defualt allies roundstart messagesn //"1" = new allies roundstart messagesn //"2" = hide allies roundstart messagesnndod_jqs_start_brits "1" //"0" = defualt british roundstart messagesn //"1" = new british roundstart messagesn //"2" = hide british roundstart messagesnndod_jqs_start_axis "1" //"0" = defualt axis roundstart messagesn //"1" = new axis roundstart messagesn //"2" = hide axis roundstart messages
Extra:
n
- Change the "#define JQS_ADMIN_LEVEL ADMIN_LEVEL_H" linen to change the level used by dod_jqs_adminsn n- Change the "#define JQS_COUNTRY_LEVEL ADMIN_BAN" linen to change the level used for admin custom countriesnn- Place the 'dod_joinquitswitch_msgs.txt' file in yourn amxmodx/data/lang/ directory. This is the file youn need to edit to use your own messages... nn- To hide the team switch death messages use the DoD Team Managern and enable the 'soft kill' featuren n- To use the custom country feature use the following method:n * setinfo custom_country "whatever you want here"
Change Log:
n
- 05.13.2006 Version 1.0n    Initial Releasenn- 05.26.2006 Version 1.1n    Fixed error where it was blocking all msgsn    Renamed to DoD Join/Quit/Switch Messagesn    Added msgs for joining DoD Teamsn    Immunity to block joining spec msg for adminsnn- 05.27.2006 Version 1.2n    Added CVARs to set each new msgnn- 06.01.2006 Version 1.3n    Added CVARs to turn on/off each new messagenn- 06.05.2006 Version 1.4n    Added seperate control over botsn    Reworked the whole admin/immunity stuffn    Condensed allies/axis/british cvars into one 'teams' cvarn    Expanded the message control (defualt/new/hide)n    Moved all new messages into a language file (byebye on the fly editing)n    Removed  (no idea why it was included lol..)nn- 06.11.2006 Version 1.4bn    Fixed my stupidity of using amxx CVS includes...nn- 06.16.2006 Version 1.5n    Added new msgs/hiding of name changesnn- 07.01.2006 Version 1.6n    Fixed a few problems with msg blocksn    Added msgs for roundstart textn    Removed ENGINE module (requires amxx 1.75+)nn- 08.14.2006 Version 1.7n    Fixed mistake in language filen    Fixed problem with name changes not showing upn    Changed some return valuesnn- 09.02.2006 Version 1.8n    Changed LANG_SERVER to LANG_PLAYERnn- 03.13.2009 Version 2.0n    Added option to have connect msg include players countryn    Fixed some mistakes here and theren    Made some variables staticsn    Code Improvementsn    Added custom country ability for admins
DOWNLOAD MIRROR: http://www.avamods.com/download.php?view.46

Files

dod_joinquitswitch_msgs.sma Plugin Source 17 KB 150 dl Download Compile
dod_joinquitswitch_msgs.txt Config / Docs 1 KB 151 dl Download

Archived builds from the server loose

These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.

dod_joinquitswitch_msgs_194.sma v1.5 11 KB Download Compile
dod_joinquitswitch_msgs_917.txt Docs 11 KB Download

The thread

All 23 posts from 11 people on DoD Join/Quit/Switch Messages +More (v2.0), kept as they were written.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
07-10-2006, 10:42 PM #1

DoD Join/Quit/Switch Messages +Moren- Version 2.0n- 03.13.2009n- diamond-opticnnInformation:n

n- Replaces join & quit messages, team switch msgs, and name change msgsn- Connection message can show the client's countryn- Admins can set their own custom country name to displayn- Can also hide bot & admin messagesn- Bots & admins can also have their own new messages insteadn- Set custom roundstart messages for each teamnn- ** Requires AMXX 1.75 or higher **n
CVARs:n
ndod_jqs_msgs "1" //"0" = use defualt messagesn //"1" = use new messagesn //"2" = hide messagesnndod_jqs_bots "2" //"0" = no difference between bots & normal clientsn //"1" = bots use their own new messagesn //"2" = hide bot messagesnndod_jqs_admins "2" //"0" = no difference between admins & normal clientsn //"1" = admins use their own new messagesn //"2" = hide admin messagesnndod_jqs_join "1" //"0" = defualt join messagen //"1" = new join messagen //"2" = hide join messagenndod_jqs_join_geo "1" //"0" = no geoip country added to custom join msgn //"1" = add geoip country to custom join msgnndod_jqs_quit "1" //"0" = defualt quit messagen //"1" = new quit messagen //"2" = hide quit messagenndod_jqs_teams "1" //"0" = defualt join team messagesn //"1" = new join team messagesn //"2" = hide join team messagesnndod_jqs_spec "1" //"0" = defualt join spec messagen //"1" = new join spec messagen //"2" = hide join spec messagenndod_jqs_name "1" //"0" = defualt name change messagen //"1" = new name change messagen //"2" = hide name change messagenndod_jqs_start_allies "1" //"0" = defualt allies roundstart messagesn //"1" = new allies roundstart messagesn //"2" = hide allies roundstart messagesnndod_jqs_start_brits "1" //"0" = defualt british roundstart messagesn //"1" = new british roundstart messagesn //"2" = hide british roundstart messagesnndod_jqs_start_axis "1" //"0" = defualt axis roundstart messagesn //"1" = new axis roundstart messagesn //"2" = hide axis roundstart messagesn
Extra:n
n- Change the "#define JQS_ADMIN_LEVEL ADMIN_LEVEL_H" linen to change the level used by dod_jqs_adminsn n- Change the "#define JQS_COUNTRY_LEVEL ADMIN_BAN" linen to change the level used for admin custom countriesnn- Place the 'dod_joinquitswitch_msgs.txt' file in yourn amxmodx/data/lang/ directory. This is the file youn need to edit to use your own messages... nn- To hide the team switch death messages use the DoD Team Managern and enable the 'soft kill' featuren n- To use the custom country feature use the following method:n * setinfo custom_country "whatever you want here"n
Change Log:n
n- 05.13.2006 Version 1.0n    Initial Releasenn- 05.26.2006 Version 1.1n    Fixed error where it was blocking all msgsn    Renamed to DoD Join/Quit/Switch Messagesn    Added msgs for joining DoD Teamsn    Immunity to block joining spec msg for adminsnn- 05.27.2006 Version 1.2n    Added CVARs to set each new msgnn- 06.01.2006 Version 1.3n    Added CVARs to turn on/off each new messagenn- 06.05.2006 Version 1.4n    Added seperate control over botsn    Reworked the whole admin/immunity stuffn    Condensed allies/axis/british cvars into one 'teams' cvarn    Expanded the message control (defualt/new/hide)n    Moved all new messages into a language file (byebye on the fly editing)n    Removed <engine> (no idea why it was included lol..)nn- 06.11.2006 Version 1.4bn    Fixed my stupidity of using amxx CVS includes...nn- 06.16.2006 Version 1.5n    Added new msgs/hiding of name changesnn- 07.01.2006 Version 1.6n    Fixed a few problems with msg blocksn    Added msgs for roundstart textn    Removed ENGINE module (requires amxx 1.75+)nn- 08.14.2006 Version 1.7n    Fixed mistake in language filen    Fixed problem with name changes not showing upn    Changed some return valuesnn- 09.02.2006 Version 1.8n    Changed LANG_SERVER to LANG_PLAYERnn- 03.13.2009 Version 2.0n    Added option to have connect msg include players countryn    Fixed some mistakes here and theren    Made some variables staticsn    Code Improvementsn    Added custom country ability for adminsn
DOWNLOAD MIRROR: http://www.avamods.com/download.php?view.46

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
08-15-2006, 12:32 AM #2

Version 1.7nn

Fixed mistake in language file (redownload it)n Fixed problem with name changes not showing upn Changed some return values
diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
09-17-2006, 09:39 PM #3

update to v1.8n

- 09.02.2006 Version 1.8n Changed LANG_SERVER to LANG_PLAYER
johnnyskid
posted here
Posts: 66
Threads: 14
Joined: Aug 2006
10-26-2006, 08:06 AM #4

Hey man,rnrnI love this plugin!!!!!

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
10-27-2006, 03:36 PM #5

Hah, I've been using this for months, and I just realised you made it diamond. gj.

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
10-15-2007, 08:54 PM #6

someone shed some light for me, the plugin works great but i cant get the admin level right. i want to change it to b so all my admin will have it. but its not working do i have to recompile after changing it or what am i missing. this is what is in my smarnrnrnrn#include <amxmodx>rn#include <amxmisc>rn#include <dodx>rnrn//////////////////////////////////////////////////////////////////////////////////rn#define JQS_ADMIN_LEVEL ADMIN_LEVEL_b //admin level used by dod_jqs_admins "b"rn//////////////////////////////////////////////////////////////////////////////////

Tony Almeida
posted here
Posts: 57
Threads: 7
Joined: Jan 2007
10-15-2007, 09:20 PM #7

I believe you have to recompile each sma after changing anything. I've made that mistake in the past.

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
10-15-2007, 09:52 PM #8

well i have recompiled and thats the problem when i do i come up with the error is why i need help. ive tryed just ADMIN_b to with errors againrnrnrnWelcome to the AMX Mod X 1.76-300 Compiler.rnCopyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Teamrnrn/home/groups/amxmodx/tmp3/php4j7zPw.sma(230) : error 017: undefined symbol "ADMIN_LEVEL_b"rn/home/groups/amxmodx/tmp3/php4j7zPw.sma(293) : error 017: undefined symbol "ADMIN_LEVEL_b"rn/home/groups/amxmodx/tmp3/php4j7zPw.sma(303) : error 017: undefined symbol "ADMIN_LEVEL_b"rn/home/groups/amxmodx/tmp3/php4j7zPw.sma(316) : error 017: undefined symbol "ADMIN_LEVEL_b"

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
10-15-2007, 11:29 PM #9

constants are case sensitive!!nnADMIN_LEVEL_BnnNOT: ADMIN_LEVEL_bnn...and yes when you make changes to the source code you have to recompile it :)nn*ps*nnalso you do realize that ADMIN_LEVEL_B is the "n" access flag.. not the "b" flag for reserved slots right?

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
10-16-2007, 01:02 AM #10

thanks diamond but still even when i use the u which everyone has it still compiles with error. what am i doing wrong rnrnrnrnWelcome to the AMX Mod X 1.76-300 Compiler.rnCopyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Teamrnrn/home/groups/amxmodx/tmp3/phpkPQ6hK.sma(230) : error 017: undefined symbol "ADMIN_LEVEL_u"rn/home/groups/amxmodx/tmp3/phpkPQ6hK.sma(293) : error 017: undefined symbol "ADMIN_LEVEL_u"rn/home/groups/amxmodx/tmp3/phpkPQ6hK.sma(303) : error 017: undefined symbol "ADMIN_LEVEL_u"

Garion
posted here
Posts: 93
Threads: 9
Joined: Nov 2005
10-16-2007, 07:21 PM #11

As Diamond said above. It's case sensitive. Plus ADMIN_LEVEL_U does not exist.nnThis should help you out below:(Taken from a post in one of the forums, I think Tatsu or Wilson posted it I could be wrong tho)nnnAccess flags - description - AMXX program settingna - immunity - ADMIN_IMMUNITYnb - reservation - ADMIN_RESERVATIONnc - amx_kick - ADMIN_KICKnd - amx_ban and amx_unban - ADMIN_BANne - amx_slay and amx_slap - ADMIN_SLAYnf - amx_map - ADMIN_MAPng - amx_cvar command - ADMIN_CVARnh - amx_cfg command - ADMIN_CFGni - amx_chat and other chat commands - ADMIN_CHATnj - amx_vote and other vote commands - ADMIN_VOTEnk - access to sv_password cvar - ADMIN_PASSWORDnl - access to amx_rcon command and rcon_password cvar - ADMIN_RCONnm - custom level A - ADMIN_LEVEL_Ann - custom level B - ADMIN_LEVEL_Bno - custom level C - ADMIN_LEVEL_Cnp - custom level D - ADMIN_LEVEL_Dnq - custom level E - ADMIN_LEVEL_Enr - custom level F - ADMIN_LEVEL_Fns - custom level G - ADMIN_LEVEL_Gnt - custom level H - ADMIN_LEVEL_Hnu - menu access - ADMIN_MENUny - NOT LISTED IN users.ini - ADMIN_ADMINnz - user (no admin) - ADMIN_USER

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
10-16-2007, 09:55 PM #12

well what a bisket head i am now i see the light must have been to many coors. thanks for hanging in there with a knucklehead.rnrni guess this threw me off LEVEL_Hrninstead of MENU oh well tis why we have these wonderful forums

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
02-21-2009, 03:35 PM #13

shouldnt line 206 be:rn

else if(equali(value, "#game_roundstart_axis1") || equali(value, "#game_roundstart_axis2"))
rnrnand notrnrn
else if(equali(value, "#game_roundstart_axis1") || equali(value, "#game_roundstart_allie2"))
rnrnrn??

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
02-21-2009, 06:42 PM #14

yeah... i fixed it a long time ago, but of course i never posted the latest version hahaha

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
02-21-2009, 06:51 PM #15

hahaha ok :D i only saw it cuz i was blocking those messages myself, and i was actully done logging them all and everything was like it should be. then it crossed my mind FUCK d-o already made this, so i went thru the code and saw it :D pretty funny no one ever complained about it cuz it would do a double print on a round start i belive lol

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-13-2009, 07:02 PM #16

...this plugin has become a bit sloppy and somewhat of a mess.. and im pretty sure theres some things that could be done better in it as well as a few things i dont think i documented in the change log and description etc...nnbut i just wanna get it posted and not worry about it anymore lolnnnnupdate to v2.0nn

- 03.13.2009 Version 2.0n    Added option to have connect msg include players countryn    Fixed some mistakes here and theren    Made some variables staticsn    Code Improvementsn    Added custom country ability for adminsn
MOSdod
posted here
Posts: 74
Threads: 12
Joined: Mar 2010
03-07-2010, 09:43 AM #17

I got it working. rnBUT it says this ML_NOTFOUND: START_AXIS2_MSGrnrnwhat seems to be the problem?

Vet
posted here
Posts: 229
Threads: 24
Joined: Oct 2006
03-07-2010, 10:44 AM #18

It means you don't have the dictionary file (dod_joinquitswitch_msgs.txt) properly installed.

MOSdod
posted here
Posts: 74
Threads: 12
Joined: Mar 2010
03-08-2010, 12:47 PM #19
It means you don't have the dictionary file (dod_joinquitswitch_msgs.txt) properly installed.
rnrnrnOk, I tried looking for this text file and I couldn't find it. can you tell me where to get this file and how to fix it?rnrnthank you

N noddy
posted here
Posts: 250
Threads: 19
Joined: Oct 2004
03-08-2010, 01:52 PM #20

it's right next to the source that you downloaded on the first page of this thread.rnrnhttps://www.dodplugins.net/forums/attachment.php?attachmentid=72&d=1236981634

MOSdod
posted here
Posts: 74
Threads: 12
Joined: Mar 2010
05-31-2010, 08:09 PM #21

works great. But when I set the:rnsetinfo custom_country "Israel"rnit doesn't show ther country for me, maybe cause i'm admin?rnhere is the cvars i have in amxx.cfgrndod_jqs_msgs 1rndod_jqs_bots 2rndod_jqs_admins 1rndod_jqs_join 1rndod_jqs_join_geo 1rndod_jqs_quit 1rndod_jqs_teams 1rndod_jqs_spec 1rndod_jqs_name 1rndod_jqs_start_allies 1rndod_jqs_start_brits 1rndod_jqs_start_axis 1rnsetinfo custom_country "Israel"rnrnrn=====================================rnrnrnrnrnrnAlso is there a way I can add a sound when a player comes and leaves? like the one in GHW_connect.amxx ?rnrnthanx

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
06-01-2010, 12:34 PM #22
works great. But when I set the:nsetinfo custom_country "Israel"nit doesn't show ther country for me, maybe cause i'm admin?nhere is the cvars i have in amxx.cfgndod_jqs_msgs 1ndod_jqs_bots 2ndod_jqs_admins 1ndod_jqs_join 1ndod_jqs_join_geo 1ndod_jqs_quit 1ndod_jqs_teams 1ndod_jqs_spec 1ndod_jqs_name 1ndod_jqs_start_allies 1ndod_jqs_start_brits 1ndod_jqs_start_axis 1nsetinfo custom_country "Israel"
nnsetinfo is a client command, it doesnt go in the amxx.cfg..nnnnn
nAlso is there a way I can add a sound when a player comes and leaves? like the one in GHW_connect.amxx ?nnthanx
nnnot via this plugin you cant

Z ziku
posted here
Posts: 1
Threads: 0
Joined: Jun 2009
08-21-2010, 09:24 AM #23

Can u add dod_capture_area event for disable server messages when someone reach the target?

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC