Raised This Month: $51 Target: $400
 12% 

Auto csdm_reload per map ????


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 06-06-2010 , 15:50   Auto csdm_reload per map ????
Reply With Quote #1

after years and years of playing counter-strike 1.6 csdm
insert a map in he_map csdm, but just to play with guns secondary

Also I've read numerous times the issue of a FAQ
http://www.bailopan.net/csdm/index.php?page=faq



go to read topic:

restrict weapons for certain maps
https://forums.alliedmods.net/showthread.php?t=46144

[HOWTO] Use the custom map config feature of AMX MOD X
http://forums.alliedmods.net/showthread.php?t=6516



but found it very confusing

when I run the command:
csdm_reload csdm\extraconfigs\he_map.cfg

he actually does the work necessary, which is to leave only secondary weapons
example : weapon secundary deagle


but there are two major disadvantages !!!

1º =
I have to run every time the same command to restrict weapons
the players, when he has no admin on, has no way to leave this setting fixed ... (?)

2º = if a player has already made a purchase of a gun, and then an admin run a command csdm_reload "/.../ de_dust.cfg.
the player who has already purchased a weapon, continues with that gun because the purchase of automatic csdm ....
ie the admin has to be faster than the player ...

example : (the file. cfg restricted weapons primaries)
PHP Code:
[equip]

;
Equip Menu flags:
primary
secondary
armor
grenade
buy
menus 
s

[secondary]
deagle deagle 1

[primary]
;
awp AWP 1 


[botsecondary]
deagle

[botprimary]
;
awp 


2. previous Setup


this menu with the secondary player, managed to circumvent the csdm_reload
and it will stay with the primary weapon, prohibited the file de_dust.cfg




to my understanding there is clearly a bug.
The question is how to resolve these two problems?


I do not speak English, this text may lead to errors of agreement.
__________________
rx1983 is offline
Send a message via MSN to rx1983
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 06-09-2010 , 14:23   Re: Auto csdm_reload per map ????
Reply With Quote #2

csdm_reload is supposed to be used in per-map configs. They are loaded at map start, so You don't need to take care if You are faster or not than some players. If somebody is using that command manually, it may give some disadvantages, but there is nothing to fix. Just use it according to the main purpose the command was created to be used.

https://forums.alliedmods.net/showpo...2&postcount=13
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 06-09-2010 , 16:57   Re: Auto csdm_reload per map ????
Reply With Quote #3

ok

was missing create this file maps / dust.cfg

PHP Code:
csdm_reload "csdm\extraconfigs\de_dust.cfg" 
really it automatically loads the file dust.cfg
then running the command "csdm_reload"



However in round number one, there is a bug

only the first time you enter the map
he reads the master file csdm.cfg
in the second round he goes back to dust.cfg

Round 1 :



'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
choosing the number 1



then it lets you access menu weapons primary
before it was locked in dust.cfg



as you can see the menu of weapons primaries appeared
mysteriously
being that it was not to appear.

I realized that this is only the first time that the
player enters the map.


From there if they select the menu number 1 (new weapons)
appears that:
if they select the menu number 2 appears
correctly only deagle, according to the photo:



if you press number 2 in the next rounds, the players managed to
playing with weapons primaries.
because it will automatically load



I mean that in the first login, there is the chance of the player
obtain a primary weapon and play with it forever, even if
locked file dust.cfg

are questioning whether they can take the test ...

I'm using version 2.1.1
__________________

Last edited by rx1983; 08-24-2010 at 20:13.
rx1983 is offline
Send a message via MSN to rx1983
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 06-10-2010 , 08:45   Re: Auto csdm_reload per map ????
Reply With Quote #4

lol I'm doing some testing now
and this problem is not happening anymore, not this showing the menu
primary weapons, do not know what happened.
I will do further tests to be more accurate in my findings and
find exactly where the fault is happening.
__________________
rx1983 is offline
Send a message via MSN to rx1983
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 06-13-2010 , 06:12   Re: Auto csdm_reload per map ????
Reply With Quote #5

So - how about Your further tests?
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 06-13-2010 , 12:16   Re: Auto csdm_reload per map ????
Reply With Quote #6

I realized that the great secret of csdm_reload is the file which is inside the folder
maps /
and the same is not quoted in the FAQ by bailopan
Without this file the admin has to type the command every time csdm_reload
at the beginning of the map.


enjoying the topic let my Acknowledgements page at:
http://www.csro.com.br/outros/bailopan.htm

the creator of csdm =)
__________________
rx1983 is offline
Send a message via MSN to rx1983
Reply



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 01:49.


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