PDA

View Full Version : Unlimited Grenades


Hell Phoenix
07-10-2006, 12:11 PM
Description: This plugin allows for unlimited grenades


Cvars: dod_grenades (0|1) (Default is off 0)

Changelog:
v1.0 - Created

ToDo Nothing

remy69034
09-20-2006, 12:57 AM
could you help walk through the steps of getting this plugin to work........i added it to my amxmodx plugins.ini file and added the compiled file to plugins folder but really don't know where to go from here : )

Hell Phoenix
09-20-2006, 01:17 AM
In your amxx.cfg you need to add

dod_grenades 1

That will turn it on (as long as it is still in your plugins.ini) =D

remy69034
09-20-2006, 01:25 AM
i've added that to my amxx.cfg file, still nothing. I activated the modules needed for the plugin, but only added it to my plugins folder after compiling. I haven't added anything to cvars.ini or anything. Do i need to do anything in the game or should it automaticaly each player have unlimited nades? Hopefully you can help me out, i've been changing maps and not actually restarting the server. Could this maybe be my problem?

Hell Phoenix
09-20-2006, 01:29 AM
Can you show me the output from the amx_plugins command and the amx_modules command please? Thanks!

remy69034
09-20-2006, 01:33 AM
amx_plugins:

Currently loaded plugins:
name version author file status
Admin Base 1.60 AMXX Dev Team admin.amxx running
Admin Commands 1.60 AMXX Dev Team admincmd.amxx running
Admin Help 1.60 AMXX Dev Team adminhelp.amxx running
Slots Reservation 1.60 AMXX Dev Team adminslots.amxx running
Multi-Lingual Sys 1.60 AMXX Dev Team multilingual.am running
Menus Front-End 1.60 AMXX Dev Team menufront.amxx running
Commands Menu 1.60 AMXX Dev Team cmdmenu.amxx running
Players Menu 1.60 AMXX Dev Team plmenu.amxx running
Teleport Menu 1.60 AMXX Dev Team telemenu.amxx running
Maps Menu 1.60 AMXX Dev Team mapsmenu.amxx running
Admin Chat 1.60 AMXX Dev Team adminchat.amxx running
Anti Flood 1.60 AMXX Dev Team antiflood.amxx running
Scrolling Message 1.60 AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.60 AMXX Dev Team imessage.amxx running
Admin Votes 1.60 AMXX Dev Team adminvote.amxx running
NextMap 1.60 AMXX Dev Team nextmap.amxx running
Nextmap Chooser 1.60 AMXX Dev Team mapchooser.amxx running
TimeLeft 1.60 AMXX Dev Team timeleft.amxx running
Pause Plugins 1.60 AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.60 AMXX Dev Team statscfg.amxx running
DoD EvilAdmin 0.5beta AMXX DoD Team dod_eviladmin.a running
unknown unknown unknown dod_unlimited_n bad load

Amx_modules:


Currently loaded modules:
name version author
Fun 1.60 AMX Mod X Dev Team
Engine 1.60 AMX Mod X Dev Team
DoD Fun 1.60 AMX Mod X Dev Team
DoDX 1.60 AMX Mod X Dev Team
DoDX 1.60 AMX Mod X Dev Team
DoDX 1.60 AMX Mod X Dev Team
DoDX 1.60 AMX Mod X Dev Team

diamond-optic
09-20-2006, 11:43 AM
you'll have to update to 1.75 or higher to use this plugin

remy69034
09-21-2006, 01:44 AM
Boy im really messed up now. Tried to update amxmodx, and now i can't get any modules to show up. Sigh, I think i'm gonna have to get an administrator to update my stuff. :(

remy69034
09-21-2006, 02:19 AM
k i figured out how to upgrade.........but now im lost on adding everything, plz walk me through........
amx_plugins:


Currently loaded plugins:
name version author file status
Admin Base 1.76 AMXX Dev Team admin.amxx running
Admin Commands 1.76 AMXX Dev Team admincmd.amxx running
Admin Help 1.76 AMXX Dev Team adminhelp.amxx running
Slots Reservation 1.76 AMXX Dev Team adminslots.amxx running
Multi-Lingual Sys 1.76 AMXX Dev Team multilingual.am running
Menus Front-End 1.76 AMXX Dev Team menufront.amxx running
Commands Menu 1.76 AMXX Dev Team cmdmenu.amxx running
Players Menu 1.76 AMXX Dev Team plmenu.amxx running
Maps Menu 1.76 AMXX Dev Team mapsmenu.amxx running
Admin Chat 1.76 AMXX Dev Team adminchat.amxx running
Anti Flood 1.76 AMXX Dev Team antiflood.amxx running
Scrolling Message 1.76 AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.76 AMXX Dev Team imessage.amxx running
Admin Votes 1.76 AMXX Dev Team adminvote.amxx running
NextMap 1.76 AMXX Dev Team nextmap.amxx running
Nextmap Chooser 1.76 AMXX Dev Team mapchooser.amxx running
TimeLeft 1.76 AMXX Dev Team timeleft.amxx running
Pause Plugins 1.76 AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.76 AMXX Dev Team statscfg.amxx running
DoD EvilAdmin 0.5beta AMXX DoD Team dod_eviladmin.a running

amx_modules:

Currently loaded modules:
name version author
Fun 1.76 AMX Mod X Dev Team
Engine 1.76 AMX Mod X Dev Team
nVault 1.76 AMX Mod X Dev Team
DoD Fun 1.76 AMX Mod X Dev Team
DoDX 1.76 AMX Mod X Dev Team
5

my plugins.ini folder looks like:

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Day of Defeat
;stats.amxx ; stats on death or round end (DoD Module required!)
;statssounds.amxx ; precache plugin for stats plugins
;stats_logging.amxx ; weapons stats logging (DoD Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; weapons stats logging (DoD Module required!)


dod_eviladmin.amxx

[I removed the dod_unlimited_nades.amxx becuase im putting it in the wrong place !]

My amxx.cfg file looks like:

// AMX Configuration File
echo Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
amx_default_access "z"

// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 0

// Frequency in seconds and text of scrolling message
amx_scrollmsg "Welcome to %hostname% " 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "[DLW] we some crazy niggas!" "000255100"
amx_imessage "[DLW]" "000100255"
amx_imessage "[DLW] ARE YOU READY TO DIE?" "000100255"

// Frequency in seconds of colored messages
amx_freq_imessage 180

// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75

// Amount of reserved slots (for more details see comments in a plugin source)
amx_reservation 1

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1

// Minimum delay in seconds between two voting sessions
amx_vote_delay 10

// How long voting session goes on
amx_vote_time 10

// Display who votes for what option
amx_vote_answers 1

// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.02

// Max. time to which map can be extended
amx_extendmap_max 90

// Step for each extending
amx_extendmap_step 15

//If you set this to 0, clients cannot chose their language
amx_client_languages 1

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
amx_debug 0 dod_grenades 1

[this is how the final attempt at typing it looked]

I hope you can find some sense in this for me PLZ :) :) :) :)

remy69034
09-21-2006, 03:56 AM
nvm i got it working........very fun plugin.........doesn't work for british though lol ! ! ! !

Hell Phoenix
09-21-2006, 12:11 PM
Hmmm....it should. I will look into it...thanks ;)

bueller420th
10-05-2006, 07:26 PM
Can anyone get me a copy of the .amxx or do I not need that. I thought they had to be compile from the source and I don't have the program to do that.

Would be much appreciated.

Thanks

Hell Phoenix
10-05-2006, 07:27 PM
http://www.dodplugins.net/forums/showthread.php?t=50

bueller420th
10-05-2006, 07:33 PM
Thanks man, but

i get numerous errors.

...dod_unlimited_nades.sma(70) : error 017 undefined symbol "get_pcvar_num"
...dod_unlimited_nades.sma(94) : warning 204 symbol is assigned a value that is never used: "g_nades"
//
//1 Error.
// Could not locate output file ...\scripting\compiled\dod_unlimited_nades.amx(com pile failed).

Any ideas?

I used the compiler from the amxmodx.org website, went to use it, and it comes back bad load.

diamond-optic
10-05-2006, 08:39 PM
well the get_pcvar_num error suggests youre using an amxx version earliar then 1.70.. and the 'g_nades' error is caused by the pcvar error...

bueller420th
10-05-2006, 08:43 PM
Ok thanks, if i update my current version, will any of my plugins i have now be affected? The only custom plugin I have is called invisible.amxx, well and statsme

diamond-optic
10-05-2006, 08:54 PM
they should all work still.. but you should also recompile any 3rd party plugins again for v1.76 (or whatever you update too)

coal5o5
11-23-2006, 02:02 PM
This is a nice plugin . But i did notice that the British dont get unlimited