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

[PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RPG
Senior Member
Join Date: Aug 2005
Old 07-08-2008 , 05:42   [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #1

Hello, maybe will get answers to my questions.
I have these problems on server:
AMXX 1.8.0.3660, MM 1.19p32, CSDM 2.1.1
2 Configs: Public or CSDM

1.prob
How it's possible to have no round end?
I read it that if Map objectives are removed it should be never ending right?
Well it's not work for me.

2.prob
Map objectives are removed by their flags but sometimes you still able to plant c4 or find gun on the ground.

3.prob
How can I prevent server from roundrestart 1vs1, 1vs2 .... without fakeplayer (botplayer). Any other solution?


This is my configs:
csdm_enable executed on mapchange

csdm.cfg
Code:
;CSDM Configuration File
;Default settings by BAILOPAN

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the Main plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[settings]

;Sets whether CSDM is enabled or not.
enabled = 0

;Sets whether or not players should be stripped of weapons on round start
; (excludes knife)
strip_weapons = 1

;Sets how long weapons should stay on the ground for after being dropped
;in seconds.  note that enabling this can create lots of lag for clients 
; AND server.  0 is immediate, -1 is infinite.
weapons_stay = 0

;Sets the spawn mode.
; "none" - users spawn at normal map spawn points
; "preset" - csdm_spawn_preset.amxx required, uses predefined spawns in config files
; -- others may be supplied by 3rd party plugins
spawnmode = preset

;Sets whether the bomb is removed
remove_bomb = 1

;Sets the spawn waiting time
spawn_wait_time = 0.75

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the FFA plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ffa]
;Set whether free for all mode is enabled by default
enabled = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the Misc plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[misc]
;Map objectives are removed by their flags.
; a - as_ maps
; b - buyzones are removed
; c - cs_ maps
; d - de_ maps
remove_objectives = abcd

;Blocks people from using all buy commands
block_buy = 1

;Auto-refills ammo when it gets depleted
ammo_refill = 1

;Says a radio command to a player when they respawn
spawn_radio_msg = 0


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the ticketing plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ticketing]

;Is round ticketing enabled?
enabled = 0

;Number of times a team can have players respawn before they stop
; being able to respawn
tickets = 150


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the protection plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[protection]

;Is spawn protection enabled?
enabled = 1

;Colors of glow shell, leave this in quotes
;The digits are R, G, B, A where A is the alpha transparency
; (as A gets higher, the glow shell is thicker)
colors = "0 255 0 200"

;Number of seconds someone is respawned for.
time = 2


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the equip plugin for these sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[equip]

;Equip Menu flags: 
; p - primary
; s - secondary
; a - armor
; g - grenade
; b - buy
menus = psa

;Autoitem flags:
; a - armor
; h - helmet
; g - grenades
; d - defusekit (CTs only!)
; n - nightvision
autoitems = ah

;Grenade flags:
; f - flashbang
; h - he grenade
; s - smoke grenade
grenades = h

;Sets number of flashbangs given if
; grenades are enabled
fnadesnum = 1


;;;;;;;;;;;;;;;;
;;WEAPON MENUS;;
;;;;;;;;;;;;;;;;

;Format for weapon menus is:
;shortname "Display Name" menupage
;Change the '1' to a '0' to block the weapon
;Removing or moving things from the list will change the order of the menus!

[secondary]
usp USP 1
glock18 Glock 1
deagle Deagle 1
p228 P228 1
elite Elite 1
fiveseven "Five Seven" 1

[primary]
m4a1 M4A1 1
ak47 AK47 1
aug AUG 1
sg552 SG552 1
galil Galil 1
famas Famas 1
scout Scout 1
awp AWP 1
sg550 SG550 1
m249 M249 1
g3sg1 G3SG1 1
ump45 "UMP 45" 1
mp5navy "MP5 Navy" 1
m3 M3 1
xm1014 XM1014 1
tmp TMP 1
mac10 "Mac 10" 1
p90 P90 1

;List weapons here the bots can randomly have
;The short name must match one in the list above
[botsecondary]
deagle
usp

[botprimary]
ak47
m4a1
awp
galil
aug

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the item mode plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[items]

;Is item mode enabled?
enabled = 0

;If set to 1, players will drop a pack of goodies when they die.
drop_packs = 1

;Sets the number of armor given by a battery. Default is 15.
battery = 15

;Sets the number of health given by a medkit. Default is 15.
medkit = 15

;Sets the time to wait for an item to reappear on its place. Default is 20 (0 = permanent)
item_time = 20

;Sets how long packs stay on the ground. (Max is 30 seconds)
drop_time = 20

;Remove semicolons to restrict any of the following items
; or add the short weapon names of the weapons you want to restrict (m4a1, ak47, awp ...)
[item_restrictions]
;longjump
;medkit
;battery
;pistolammo
;rifleammo
;shotammo
;smgammo
;awpammo
;paraammo
;fullammo
;armor
plugins-csdm.ini
Code:
;rename this file to disabled-csdm.ini to turn it off.
;rename it back to plugins-csdm.ini to turn it on.

;put a semi-colon in front of a plugin to disable it.
;add the word debug after a plugin to place it in debug mode
; for example: csdm_main.amxx debug
;remove a semi-colon to re-enable a plugin


;Main plugin, required for most cases
csdm_main.amxx

;Weapons and equipment menus
csdm_equip.amxx

;Enables preset spawning and the preset spawning editor
;Map config files are located in configs/csdm
csdm_spawn_preset.amxx
;spawn_editor.amxx

;Miscellanious extra features, such as ammo refills
; and objective removals
csdm_misc.amxx

;Spawn protection
csdm_protection.amxx

;Adds free-for-all mode (must be enabled in csdm.cfg too)
;csdm_ffa.amxx

;Round ticketing mode, like FireArms.  First team to use all
; of their death points loses the ability to respawn.
; (must be enabled in csdm.cfg too)
;csdm_tickets.amxx

;Item mode (from CSDM1)
;Must be enabled in csdm.cfg as well (at the very bottom)
;There is currently no item editor!
;csdm_itemmode.amxx
So where is the problem I can't understand.

Last edited by RPG; 07-08-2008 at 05:56.
RPG is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-08-2008 , 12:34   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #2

Unfortunatelly, if the map config is loaded (to enable CSDM), is too late to remove the objectives with affecting round timer stopping. It works only if You have in csdm.cfg in settings section enabled = 1 and You have marked Your objectives to be removed, then the round never ends and You don't have any C4 on the map and so.
__________________
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
RPG
Senior Member
Join Date: Aug 2005
Old 07-08-2008 , 16:21   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #3

Ok, sow if I make csdm.cfg in settings section enabled = 1, how it will effect normal server configuration?
If normal configuration server.cfg will have 1st line:
csdm_disable
and mapchangecfgfile also line:
csdm_disable
is the map objectives will be not removed and round time never ending?
RPG is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-09-2008 , 03:37   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #4

To answer Your question I would need to make some tests, which... You can do Your-self. Try to read this topic and make some tests to find a good solution. Then write us the info if You found it.
You need to know CSDM was designed to be played all the time on the server (not only on certain maps or sometimes). That's why You need to use some tricks to get it working correctly like that. Perhaps some of functionalities (because of those tricks) aren't fully accessible - but - please try and write us the info about Your tests.
During Your tests You can try to use also my beta - it restart the map (changelevel) whenever the state of CSDM (enabled/disabled) is changed, so it should better work on such variations like one map CSDM is on, another - is off.
__________________
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.

Last edited by KWo; 07-09-2008 at 03:40.
KWo is offline
RPG
Senior Member
Join Date: Aug 2005
Old 07-10-2008 , 13:03   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #5

Ok, sow I made some tests and will try to explain all.
The problem with Map objectives and round time was almost solved.
This is what I try:

csdm.cfg by default enabled = 1.

Server have 2 configurations to run normal or in CSDM mode.
On normal mode Server.cfg looks something like this:

Code:
..
..
// Plugins activation
exec plugins_PUB.cfg

mapchangecfgfile mapchange_PUB.cfg

restart
It’s executing plugins_PUB.cfg which looks:
Code:
amx_pausecfg enable telemenu
amx_pausecfg enable mapchooser
amx_pausecfg enable amxx_atac
amx_pausecfg enable amxx_atac_cfg
csdm_disable
amx_pausecfg pause csdm_equip
amx_pausecfg pause csdm_spawn_preset
amx_pausecfg pause csdm_misc
amx_pausecfg pause csdm_protection
amx_pausecfg pause csdm_main
amx_pausecfg save
Other is CSDM mode and it’s Server_CSDM.cfg:

Code:
..
..
// Plugins activation
exec plugins_CSDM.cfg

mapchangecfgfile mapchange_DM.cfg
plugins_CSDM.cfg :
Code:
amx_pausecfg pause telemenu
amx_pausecfg pause mapchooser
amx_pausecfg pause amxx_atac
amx_pausecfg pause amxx_atac_cfg
amx_pausecfg enable csdm_main
amx_pausecfg enable csdm_equip
amx_pausecfg enable csdm_spawn_preset
amx_pausecfg enable csdm_misc
amx_pausecfg enable csdm_protection
amx_pausecfg save
csdm_enable
Mapchange files nothing have interesting.
And how everything works.

1. Server starts in Normal mode and it restarts ones (that is for, from CSDM mode go to Normal mode with completely disabled plugins)
So that it’s not the big problem.
2. You execute CSDM mode. Some of the plugins I pause and enables CSDM plugins.
Map objectives are removed because by default csdm enabled = 1. and everything works fine.
3. Now I switching back to Normal mode and this is what happening.
plugins_PUB.cfg first disable CSDM. Then disabling all csdm plugins and the last position is disabling csdm_main plugins to completely disable all CSDM.
Server.cfg executes a restart and all CSDM plugins are disabled and map objectives are ON, roundtime fine.

1st.problem – after restart you still get advert:
This server runs CSDM 2.1.1 …..

It’s probably because csdm module is active. But it’s not so annoying.
I don’t know is it possible to unload modules? It probably will fix other problem.

2nd.problem – all map objectives are ON and round time is fine, but players still getting respawns! Why? Is it because of module?
All csdm plugins are really disabled.
I tried restarting map or changing it and nothing, still players respawning.

What can you suggest?

I thought but not tried to test yet, the HARD method.
By config execute .bat file to force rename the csdm_amxx.dll to any name, to make it missing from modules. But don’t think this is the right method and will not call the crashes of server.

Any ideas?

Last edited by RPG; 07-10-2008 at 13:11.
RPG is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-10-2008 , 15:17   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #6

If You wouldn't be lazy and You would read carefully about per map configs, You would read about problems with CSDM module working... To stop or start csdm module You have to have all the time csdm_main.amxx plugin working. It communicates with CSDM module and says him about the state of CSDM (so it doesn't say that message which is annoying for You, it doesn't respawn players after dieing etc)....
__________________
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
RPG
Senior Member
Join Date: Aug 2005
Old 07-11-2008 , 02:47   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #7

Actually I read that thread and tried that method before too.
By default csdm.cfg ON, you can’t leave him OFF, because after map change in CSDM mode the map objectives, roundtime and… not removed or working incorrect (you wrote that too).
So even if you have csdm_main.amxx plugin working:

plugins_PUB.cfg
Code:
amx_pausecfg enable telemenu
amx_pausecfg enable mapchooser
amx_pausecfg enable amxx_atac
amx_pausecfg enable amxx_atac_cfg
csdm_disable
amx_pausecfg pause csdm_equip
amx_pausecfg pause csdm_spawn_preset
amx_pausecfg pause csdm_misc
amx_pausecfg pause csdm_protection
amx_pausecfg save
Like you see csdm_main plugin removed.

plugins_CSDM.cfg :
Code:
amx_pausecfg pause telemenu
amx_pausecfg pause mapchooser
amx_pausecfg pause amxx_atac
amx_pausecfg pause amxx_atac_cfg
amx_pausecfg enable csdm_equip
amx_pausecfg enable csdm_spawn_preset
amx_pausecfg enable csdm_misc
amx_pausecfg enable csdm_protection
amx_pausecfg save
csdm_enable
But problem still persist, players keep respawning.
You can try it.

Thnx for your patience.

Last edited by RPG; 07-11-2008 at 02:50.
RPG is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-13-2008 , 02:39   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #8

If You would use per map config and You would use special config also for csdm, when csdm_main.amxx is enabled, and if in the special config for csdm (for maps they don't want CSDM to be played on) You have in [setting] enabled = 0, it would not respawn any player.
__________________
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
RPG
Senior Member
Join Date: Aug 2005
Old 07-13-2008 , 15:06   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #9

Per-map config is not misfit my requirements.
Cause server runs all day on same maps like in normal config.
It's only depends what you would like to launch normal or CSDM.

But looks like all started working.
CSDM by default is ON.
All CSDM plugins are switchable to pause or enable, except csdm_main plugin.
mapchangefile of normal server configuration need to have: csdm_disable

Only after execution of different server configuration you need to restart map.
And all works great.

Thanks kWo for your help. +1
RPG is offline
RPG
Senior Member
Join Date: Aug 2005
Old 07-23-2008 , 14:39   Re: [PROBL] Roundtime, map objectives, Roundrestart [CSDM 2.1.1]
Reply With Quote #10

found 1 problem.
NO hostages on the cs_ maps.

There is fine with de_ maps, c4 on all maps a piers.
What plugin controls a map objectives: hostage?
Maybe it's possible to tweak one of these plugins?
Any solution?
RPG is offline
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 16:34.


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