Re: Restrict weapons for certain maps
Hey guys im a noob with amx. I managed to get csdm working ok with the gun menu etc. But like Darknightcze2 i also want to fix the awp maps so that you auto get a deagle and awp and cant buy anything else. I tried all the above that you said and i still cant get it to work. It will still say awp limit reached when i drop my awp and i cannot pick another one up untill i kill another bot. Even with the sniper commands at the end of the amxx.cfg file adjusted once im in the game it reverts to the default settings. Any ideas as ive spent days not getting any results.
*UPDATE* Just incase you dont understand here is the error log: L 09/15/2010 - : -------- Mapchange to awp_bycastor32 -------- L 09/15/2010 - : [AMXX] Plugin "admin.amxx" failed to load: Plugin uses an unknown function (name "admins_lookup") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "admincmd.amxx" failed to load: Plugin uses an unknown function (name "LookupLangKey") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "telemenu.amxx" failed to load: Plugin uses an unknown function (name "LookupLangKey") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "mapsmenu.amxx" failed to load: Plugin uses an unknown function (name "ArrayPushString") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "pluginmenu.amxx" failed to load: Plugin uses an unknown function (name "set_pcvar_string") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "imessage.amxx" failed to load: Plugin uses an unknown function (name "ArrayPushArray") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "adminvote.amxx" failed to load: Plugin uses an unknown function (name "LookupLangKey") - check your modules.ini. L 09/15/2010 - : [csdm_spawn_preset.amxx] No spawn points file found (addons/amxmodx/configs\csdm\awp_bycastor32.spawns.cfg) L 09/15/2010 - : [csdm_main.amxx] CSDM spawn mode set to preset L 09/15/2010 - : [csdm_itemmode.amxx] "//" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "max_awps" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "max_autos" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "winspread_awp" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "winspread_auto" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "autolimit" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "awplimit" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "checkrebuy" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] No items file found (addons/amxmodx/configs\csdm\items\ents_awp_bycastor32.cfg) L 09/15/2010 - : [maphandler06.amxx] Starting map: awp_bycastor32 L 09/15/2010 - : [maphandler06.amxx] About to write to addons/amxmodx/data/maphandler.dat. L 09/15/2010 - : [mapchooser4.amxx] Found 17 maps in maps folder L 09/15/2010 - : [mapchooser4.amxx] xvars for mapchooser 4 setuped. L 09/15/2010 - : -------- Mapchange to awp_bycastor32 -------- L 09/15/2010 - : [AMXX] Plugin "admin.amxx" failed to load: Plugin uses an unknown function (name "admins_lookup") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "admincmd.amxx" failed to load: Plugin uses an unknown function (name "LookupLangKey") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "telemenu.amxx" failed to load: Plugin uses an unknown function (name "LookupLangKey") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "mapsmenu.amxx" failed to load: Plugin uses an unknown function (name "ArrayPushString") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "pluginmenu.amxx" failed to load: Plugin uses an unknown function (name "set_pcvar_string") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "imessage.amxx" failed to load: Plugin uses an unknown function (name "ArrayPushArray") - check your modules.ini. L 09/15/2010 - : [AMXX] Plugin "adminvote.amxx" failed to load: Plugin uses an unknown function (name "LookupLangKey") - check your modules.ini. L 09/15/2010 - : [csdm_spawn_preset.amxx] No spawn points file found (addons/amxmodx/configs\csdm\awp_bycastor32.spawns.cfg) L 09/15/2010 - : [csdm_main.amxx] CSDM spawn mode set to preset L 09/15/2010 - : [csdm_itemmode.amxx] "//" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "max_awps" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "max_autos" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "winspread_awp" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "winspread_auto" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "autolimit" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "awplimit" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] "checkrebuy" is not a valid name. Check your restrictions for item mode. L 09/15/2010 - : [csdm_itemmode.amxx] No items file found (addons/amxmodx/configs\csdm\items\ents_awp_bycastor32.cfg) L 09/15/2010 - : [maphandler06.amxx] Starting map: awp_bycastor32 L 09/15/2010 - : [maphandler06.amxx] About to write to addons/amxmodx/data/maphandler.dat. L 09/15/2010 - : [mapchooser4.amxx] Found 17 maps in maps folder L 09/15/2010 - : [mapchooser4.amxx] xvars for mapchooser 4 setuped. |
Re: Restrict weapons for certain maps
I believe You are using some of my All-In-One packages with plugins I'm supporting (mapchooser4, maphandler06, sniperlimit etc). Form that what I can see from Your logs You have some troubles with loading even standard (original) AMX X plugins (like admin, admincmd, pluginmenu, imessage etc). That menas You may need to compile that locally against the AMX X version You are currently using.
About max_awps , max_autos, winspread_awp, winspread_auto, autolimit, awplimit, checkrebuy settings - they are for sniperlimit plugin and they have nothing to do to CSDM. If You want to disable this plugin for awp_xxx maps, all You need to do is put the settings for them in amxx.cfg (like for normal maps), but then - in amxmodx/configs/maps/prefix_awp.cfg You should just write awplimit 0 autolimit 0 That should disable sniperlimit plugin working on awp maps, but it should work normaly on others. Log messages You provided here about those settings are telling me one thing - You have put them in wrong place (I believe in amxmodx\configs\csdm\extraconfigs\ in some awp_xxx.cfg file and in section [items] or [item_restrictions]. But as I said - those settings have nothing to do with CSDM nor itemomode of CSDM - so they shouldn't be there. |
Re: Restrict weapons for certain maps
#1 "If You want to disable this plugin for awp_xxx maps, all You need to do is put the settings for them in amxx.cfg"
The bottom of my amxx.cfg file reads: // *********************** // Custom plugin settings // *********************** // gore plugin // a - Headshot blood // b - Extra blood effects // c - Bleeding on low health // d - Gib explosion (knife, HE, high damage only) amx_gore ab // mapchooser4 amx_mapchooser_type 1 amx_mapchooser_mapsfile maps.ini amx_nominfromfile 0 amx_maxnominperplayer 2 amx_map_history 5 amx_rtv 1 amx_rtv_percent 0.6 amx_rtv_min_time 10 amx_extendmap_max 5 amx_extendmap_step 3 amx_ext_round_max 5 amx_ext_round_step 3 amx_ext_win_max 5 amx_ext_win_step 3 // sniperlimit max_awps 90 max_autos 90 winspread_awp 0 winspread_auto 0 autolimit 0 awplimit 0 checkrebuy 1 Correct me if im wrong. #2 "Log messages You provided here about those settings are telling me one thing - You have put them in wrong place (I believe in amxmodx\configs\csdm\extraconfigs\ in some awp_xxx.cfg file and in section [items] or [item_restrictions]. But as I said - those settings have nothing to do with CSDM nor itemomode of CSDM - so they shouldn't be there." Where should they be then ? As I really want to solve the awp maps problem. All i want is auto awp and auto deagle for every player/bot and to restrict buying completely. *Update* I found the compile thingy in scripting folder and used the .exe seems to have fixed somethings as there is less in the error log. Take a look for yourself: L 09/16/2010 - 17:00:16: -------- Mapchange to awp_bycastor32 -------- L 09/16/2010 - 17:00:16: [AMXX] Plugin "pluginmenu.amxx" failed to load: Plugin uses an unknown function (name "set_pcvar_string") - check your modules.ini. L 09/16/2010 - 17:00:16: [AMXX] Plugin "csdm_stripper.amxx" failed to load: Plugin uses an unknown function (name "csdm_write_cfg") - check your modules.ini. L 09/16/2010 - 17:00:17: [csdm_spawn_preset.amxx] No spawn points file found (addons/amxmodx/configs\csdm\awp_bycastor32.spawns.cfg) L 09/16/2010 - 17:00:17: [csdm_main.amxx] CSDM spawn mode set to preset L 09/16/2010 - 17:00:18: [maphandler06.amxx] Starting map: awp_bycastor32 L 09/16/2010 - 17:00:18: [maphandler06.amxx] About to write to addons/amxmodx/data/maphandler.dat. L 09/16/2010 - 17:00:18: [mapchooser4.amxx] Found 17 maps in maps folder L 09/16/2010 - 17:00:25: [CSDM2] Could not read config file: cstrike\addons\amxmodx\configs\csdm\extraconf igs\items_awp_byca L 09/16/2010 - 17:00:25: [mapchooser4.amxx] xvars for mapchooser 4 setuped. I think it has fixed the awp limiting problem and buying seems to be restricted. The few things above I have no idea about. And I think that leaves the last thing to be fixed for everyone to have a deagle by default(auto). Cheers for your help and patience with me so far mate, Your padawan, mad_maniac_man |
Re: Restrict weapons for certain maps
Quote:
|
Re: Restrict weapons for certain maps
Quote:
How do i set it that everyone gets a deagle automatically on all awp maps ? Andy. |
Re: Restrict weapons for certain maps
CSDM can only automatically equip player with grenades or armor, but it doesn't automatically equip them with any primary or secondary weapon. The only thing You can do with CSDM is to let players have in their gun menu only deagle available (but the players still have to choose it from the gun menu) for awp maps. You may need to create in addons\configs\maps\prefix-awp.cfg with this line:
Code:
csdm_reload "csdm\extraconfigs\guns_awp.cfg" Code:
[secondary] |
Re: Restrict weapons for certain maps
Ahh right ok that makes sense mate. Ok scrap that how do I go about making csdm to automatically equip players with grenades and full armor then ?
|
Re: Restrict weapons for certain maps
Quote:
If on all maps, then You need to have these lines in csdm.cfg: Code:
[equip] Remember - in guns_awp.cfg file You should have to have only settings for differences between normal maps and awp maps (don't write there everything). Example - on normal maps You want to let the player choose everyting from gun menus, but no flashbangs: The responsible part of csdm.cfg looks like: Code:
[equip] Code:
[equip] |
Re: Restrict weapons for certain maps
I tried all variations of that gun_awp.cfg in the extraconfigs folder but no luck so I give up. The other mainly annoying problem im getting is node errors in the waypoints and maps like sa_treetops aint working properly. That might not be in your area of expertize though.
Andy |
Re: Restrict weapons for certain maps
The only thing I cannot be sure is this prefix awp thing, I mean if this file is whole interpreted by AMX X:
addons\configs\maps\prefix-awp.cfg To make sure the contents of it is called, rename the file name to awp_bycastor32.cfg (leave everything else as You did it untill now whole testing those configs described by me above) then try to play some map to see if settings for standard maps are working, then call changelevel for Your awp_bycastor32 map. Check how CSDM is working on that map (if there are any differences with equiping players, showing menus etc). BTW - waypoints problem for podbot mm is also somehow in my scope, byt this is not the right forum to ask such things. Go there to ask the question related podbot mm waypoints. |
All times are GMT -4. The time now is 08:07. |
Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.