AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   DoD Connection (https://forums.alliedmods.net/showthread.php?t=41463)

raphxyz 07-15-2006 21:08

DoD Connection
 
36 Attachment(s)
Hi all,
I present to you DoD Connection.

INFOS :
Quote:

Author : =]S.T.F[= R@F
URL : http://www.team-stf.com

This plugin have several options.

1. Custom music connexion.
2. Automatic stopsound.
3. A welcom message when client put in server.
4. The plugin say when a member and a admin join the server. (voice)
5. Post the rules on the server when the client put in serveur.
It is possible of log the answer “accept” so that the client does not have to do it any more.
6. Admin Custom Skins.
7. BelMod : add a grenade to everyone on spawn.
8. Restrict Names Manager.
9. Tag Protection
MODULES REQUIRE :
Quote:

- <amxmodx>
- <dodx>
- <fun>
- <amxmisc>
- <dbi> (just if you have actived the sql mod)
CVAR :
Quote:

- amx_con_music < 0 - 1 > (Enable or desable custom music connection)
- amx_con_message < 0 - 1 > (Enable or desable the welcom message)
- amx_adm_sound < 0 - 1 > (Enable or desable the voice say when a admin join the server)
- amx_mbr_sound < 0 - 1 > (Enable or desable the voice say when a member join the server)
- amx_con_stopsound < 0 - 1 > (Enable or desable automatic stopsound)
- amx_con_log < 0 - 1 > (Enable or desable login accept rules so that the client does not have to do it any more)
- amx_con_suplog (erease the logs file)
- amx_con_regles (Post the rules to everyone during the games)
- amx_adm_skin < 0 - 1 > (Enable or desable the custom skins!)
- amx_con_belmode < 0 - 1 > (Enable or desable the additional grenade!)
- amx_con_restrictname < 0 - 1 > (Enable or desable the additional grenade!)
- amx_con_tagprotection < 0 - 1 >
- amx_con_tag < TeamTag > (For the tag protection)
INSTALL :
Quote:

1. Compile the sma file with the amxmodx 1.75 minimum
2. Put the amxx file in the plugins folder
3. Add the line dod_connection.amxx in the plugins.ini
4. Edit the rules.txt and put it in the configs folder
5. Put the dictionary file dod_connection.txt in the lang folder
6. Put the sound pack in dod folder
7. Put the models pack in models/player folder
8. Reboot the server.

You can edit the .sma file in order to change the folder and the name of the files
CHANGE LOGS :
Quote:

- 03.06.2006 - 0.1
* Done!
- 22.06.2006 - 0.2
* Fix possible lag :-s
- 10.07.2006 - 0.3b
* Code Was optimised (80%)
* Preparing code from amxmodx 1.75 (realease) because the current version does not function for the admin skins!
* Transformation on a Multi-languages plugin
* Fix Precaching download
* Reduction in the resources used by the posting of the rules
* No server planting if you do not have put the .mdl files
* No server crash if you do not have put the sound files
* BelMode was optimised
* All the sounds can be in .wav or .mp3
* Fix bug when client refuse the rules
- 11.07.2006 - 0.3
* The plugin is ready for amxmodx 1.75
- 17.07.2006 - 0.4
* Fix the bug if an admin or a member quit the server and a new client takes his id!
* Various improvement of the code
- 24.07.2006 - 0.5
* Add a restrict names list in "addons/amxmodx/configs/restrictnames.ini"
* Add a new command "amx_restrict_nick < nickname >" (add a new restricted nick in "addons/amxmodx/configs/restrictnames.ini")
* The client who respawn with one of these names will be kické with reason "Incorrect nickname!"
* Add CVAR "amx_con_restrictname" < 0 - 1 > Enable or Desable the nickname checking
- 25.07.2006 - 0.6
* Fix music none stop
* Add a TAG Protection
* Add cammand amx_con_tagprotection < 0 - 1 > Desable or Enable the tag protection
* Add Command amx_con_tag [TAG-TEAM]
- 26.07.2006 - 0.7
* Fix all litles bugs
- 26.07.2006 - 0.7.1
*Add a possibility SQL plugin! For desable the SQL mod, add "//" front the "#define USING_SQL"
- 27.07.2006 - 0.7.2
* Add all nick name of player connect in data base
- 29.07.2006 - 0.7.3
* Lightening of the code
- 13.08.2006 - 0.7.4
* Fixing DBI Error and improvement of the DBI code
* Remove the forcing precache of skins with the Fakemeta until
- 18.08.2006 0.7.5
* I have find the bug in my rules menu :) And i have fixed it !
The plugin is finished ;)
- 06.11.2006 0.8.5
* Admin skins fixed!
* Not download admin skins if mp_clan_match is set to 1
- 11.11.2006 0.9.5
* Fix Error: Run time error 10 (plugin "dod_connection.amxx") (native "set_pcvar_num") Invalid CVAR pointer
SKINS PACK :
Quote:

Models pack
SOUNDS PACK :
Quote:

Sounds pack

k007 07-15-2006 21:30

Re: DoD Connection
 
OMG, this plugin is the shit +karma omg i wish it's for cs
edit: can't give any karma's today 2mr k?

Brad 07-15-2006 21:53

Re: DoD Connection
 
If this is only for DoD, then choose that as the game mod. Thanks.

GHW_Chronic 07-16-2006 00:57

Re: DoD Connection
 
Can't say I can see anything wrong with the code. However no mod should approve this plugin untill you have converted it to fully engine or fully fakemeta. Nothing in engine that can't be replaced easily by fakemeta. Having both is a bad practice.

Edit: Also should label this as server management, this doesn't seem to fall under the "fun stuff" category.

Edit #2: you can also easily make this multi-modded.

raphxyz 07-16-2006 06:47

Re: DoD Connection
 
Quote:

Originally Posted by GHW_Chronic
However no mod should approve this plugin untill you have converted it to fully engine or fully fakemeta.

It is already fully in fakemeta! Sorry but I had forgotten to remove the module engine which was not necessary.
It is done!

Quote:

Originally Posted by GHW_Chronic
Edit: Also should label this as server management, this doesn't seem to fall under the "fun stuff" category.

It is done!

Quote:

Originally Posted by GHW_Chronic
Edit #2: you can also easily make this multi-modded.

Yes it is true for almost all the options but not for dod_set_body_number(), dod_set_model(), dod_client_spawn() and dod_client_changeteam() and in the futur dod_changeclass().
I do not want of register_event!

:)

raphxyz 07-17-2006 19:12

Re: DoD Connection
 
his not approuved:down:?
Why?

k007 07-17-2006 21:03

Re: DoD Connection
 
it does take more time because admins have get some feedback from users (does it work or not)

GHW_Chronic 08-09-2006 00:50

Re: DoD Connection
 
tell me, what is the DBI module for? I see the code, but tell me what it does. And exactly what does the fakemeta do in this plugin?

SweatyBanana 08-09-2006 12:08

Re: DoD Connection
 
Why do you have this in there?

PHP Code:

public plugin_modules(){
    
require_module("dodx")
    
require_module("fun")
    
require_module("fakemta")
    
require_module("amxmisc")
#if defined USING_SQL
    
require_module("dbi")
#endif


and as far as I can tell, he is using DBI to restrict names.

raphxyz 08-13-2006 07:50

Re: DoD Connection
 
Quote:

Originally Posted by SweatyBanana
Why do you have this in there?

PHP Code:

public plugin_modules(){
require_module("dodx")
require_module("fun")
require_module("fakemta")
require_module("amxmisc")
#if defined USING_SQL
require_module("dbi")
#endif


and as far as I can tell, he is using DBI to restrict names.

It's removed in the new version. It was for test!


All times are GMT -4. The time now is 15:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.