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

CSSDM only working after reconnecting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ekpyrosis
Junior Member
Join Date: Jan 2007
Old 02-18-2007 , 07:53   CSSDM only working after reconnecting
Reply With Quote #1

Hi all,
(This is a continuation of another post)

I have some issues with the DeathMatch Plugin. And if I understand correctly i am not the only one.

Problem description
For some reason when I (as admin) change from a standard map to a dm_**map**. I get no "CSSDM guns" menu and I have a bomb. CSSDM only gets active when I disconnect and reconnect back. (tested with bots)

I think Abgehtdapeda has the same issue, see below
Quote:
Originally Posted by Abgehtdapeda View Post
....if i play on the server on normal mode and the map is changing to a dm map the dm mod dont work ! only if i reconnect, the mod is enabled for me ... when new player are connecting on our server while a dm map is running the dm mod works fine. same effect like reconnecting ... :-)
Can you pls help me, I am a bit lost at the moment

Server.cfg
Code:
 
{{normal server settings stuff}}
// ****unload mods in metamod
exec unload_meta.cfg
//*****meta load vip as they are unloaded in dm and zm maps
meta load addons/vip_mm/bin/vip_mm
unload_meta.cfg
Code:
 
meta unload addons\zombiemod\bin\zombie_mm
meta unload addons\cssdm\bin\cssdm_mm
meta unload addons/stripper/bin/stripper_mm
cssdmon.cfg
Code:
alias "wait10" "wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;"
meta load addons\cssdm\bin\cssdm_mm
meta load addons/stripper/bin/stripper_mm
meta unload addons/vip_mm/bin/vip_mm
meta unload addons\zombiemod\bin\zombie_mm
dm_**MAP**.cfg
Code:
 
exec cssdmon.cfg
I think that the server first loads the map and then the plugin. Maybe I have it all wrong, and I should use Event Scripts or....?

Please help me. (It is dirving me nuts)

Thanx in advance
Ekpyrosis

P.S. I have checked in the server console (with Meta list) that the plugins are working (so it arent the "/" and or "\" thingies)
add info
OS = Windows XP, admin mod = mani 1.2 R (latest version)
Ekpyrosis is offline
BAILOPAN
Join Date: Jan 2004
Old 02-18-2007 , 10:33   Re: CSSDM only working after reconnecting
Reply With Quote #2

What happens is: CS:S DM is loaded by the map config file, but very late in the load process; in fact, AFTER players have begun connecting. This means that you've connected to CS:S DM before it knows about you.

Because Valve isn't really good at making stable API, there's no way to browse the already-connected players and assume they are valid; you'll risk crashing. So CS:S DM is forced to ignore players it doesn't know about, and they need to reconnect.

The solution to this is to either have CS:S DM loaded all the time and pause/unpause, to change the map twice, or to load CS:S DM before the map changes.

Unfortunately I have not found a nicer solution yet so CS:S DM can be loaded lately.
__________________
egg
BAILOPAN is offline
Ekpyrosis
Junior Member
Join Date: Jan 2007
Old 02-18-2007 , 14:34   Re: CSSDM only working after reconnecting
Reply With Quote #3

Thanks Bailopan for the reply.

You give a few solutions:
-1- have CS:S DM loaded all the time and pause/unpause
-2- change the map twice
-3- load CS:S DM before the map changes.

-1- pause and unpause the game.
I will give a go at that however I read somewhere that it might give issues with unwanted features (bombdropping and or crashing) and pausing a plugin might hog cpu resources (just a thought)

-2- change the map twice
Not the best option, but more like a fall back senario

-3- load CS:S DM before the map changes.
Do you know (or anybody else?) how I could load CS:S DM before the map changes. (Maybe you know if Event Scripts could work or...)

Kind regards,

Ekpy

P.S. love the plugin
Ekpyrosis is offline
BAILOPAN
Join Date: Jan 2004
Old 02-18-2007 , 15:20   Re: CSSDM only working after reconnecting
Reply With Quote #4

I do not use or recommend event scripts. If there are unwanted functions or crashes resulting from pausing or unpausing CS:S DM, please let me know.
__________________
egg
BAILOPAN is offline
Ekpyrosis
Junior Member
Join Date: Jan 2007
Old 02-23-2007 , 16:16   Re: CSSDM only working after reconnecting
Reply With Quote #5

Hi,

I think I have tried everything now, and now I am completly lost.

If someone could help me.

What I want is that at dm_map change (dm_xxmap) CSSDM starts automaticly and with de_xxmaps "normal" CS:S starts. As I understood in previous posts it shouldnt be done with "(un)load" or en/disable but with pause / unpause. And this I did

When I load a dm_map it unpauses cssdm (and stripper) but I dont get a gun menu and CSSDM isnt working . (still)

configs:
Metaplugins
Code:
addons\mani_admin_plugin\bin\mani_admin_plugin_mm
addons/vip_mm/bin/vip_mm
addons\cssdm\bin\cssdm_mm
addons/stripper/bin/stripper_mm
;addons/zombiemod/bin/zombie_mm
Server.cfg
Code:
normal server setting stuff
// ****pauses mods in metamod
exec pause_meta.cfg
//**unpause vip mod as it can be pause in specific map configs
meta unpause 02 //vip mod
pause_meta.cfg
Code:
meta pause 03 //cssdm
meta pause 04 //stripper
dm_xxmap (mapspecific config)
Code:
exec cssdmon.cfg
cssdmon.cfg
Code:
meta unpause 03 //cssdm
wait10;
meta unpause 04 //stripper
wait10;
meta pause 02 //vip mod
wait10;
//***cssdm specific configs
ma_war 1
Note:
- at execution of server.cfg (startup of normal map) mani & vip are running and cssdm and stripper have status pause (verified with meta list command)
- when loaded dm_map mani, cssdm and stripper have status run and vip status pause (verified with meta list command)
- cssdmon is loaded as ma_war 1 is executed

Help is highly appreciated

Thx ekpy

Last edited by Ekpyrosis; 02-23-2007 at 16:18. Reason: forgot to sign the post
Ekpyrosis is offline
BAILOPAN
Join Date: Jan 2004
Old 02-24-2007 , 00:46   Re: CSSDM only working after reconnecting
Reply With Quote #6

Please file a report here http://bugs.alliedmods.net/index.php...tch=1&do=index

And I get a fix in for the next release. Please link back to this thread in case you don't want to copy and paste everything over.
__________________
egg
BAILOPAN is offline
Ekpyrosis
Junior Member
Join Date: Jan 2007
Old 02-24-2007 , 04:01   Re: CSSDM only working after reconnecting
Reply With Quote #7

Thx,

I will fill a report. :-)

Suggestion (from a noob). I dont know how the VIP mod did it. If I understand correctly they should have the same issue?
Cheerz,

EKpy
Ekpyrosis 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 03:57.


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