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

[L4D] Force Mission Changer 1.4.0


Post New Thread Reply   
 
Thread Tools Display Modes
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 04-13-2009 , 17:59   Re: [L4D] Force Mission Changer 1.2
Reply With Quote #171

Can a feature be added to only change missions if there is a certain amount of players still on the server?

Like if there are 6 or more people still connected at the end of the mission, switch to the next mission otherwise return to lobby.
bman87 is offline
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Old 04-14-2009 , 01:37   Re: [L4D] Force Mission Changer 1.2
Reply With Quote #172

if on the server of players less than set - a server goes back to the first map of mission and if anymore - does change a mission?
easily, but is there what benefit herein?
Dionys is offline
moonchild
Junior Member
Join Date: Dec 2008
Old 04-22-2009 , 02:01   Re: [L4D] Force Mission Changer 1.2
Reply With Quote #173

Survival Pack was released.
I seem that the plug-in not work as well...


L 04/22/2009 : [SM] Native "GetConVarInt" reported: Invalid convar handle 0 (error 4)
L 04/22/2009 : [SM] Displaying call stack trace for plugin "sm_l4dvs_mapchanger.smx":
L 04/22/2009 : [SM] [0] Line 98, /home/groups/alliedmodders/forums/files/4/2/2/8/6/39845.attach::Event_RoundEnd()

Will not needed after patch ?
moonchild is offline
DDR Khat
SourceMod Donor
Join Date: Feb 2006
Old 04-22-2009 , 09:11   Re: [L4D] Force Mission Changer 1.2
Reply With Quote #174

Code:
Gamemode() // 1 = Co-Op, 2 = Versus, 3 = Survival. False on anything else.
{
	new String:gmode[32];
	GetConVarString(FindConVar("mp_gamemode"),gmode,sizeof(gmode));
	if (strncmp(gmode,"coop",sizeof(gmode),false)==1) return 1;
	else if (strncmp(gmode,"versus",sizeof(gmode),false)==1) return 2;
	else if(strncmp(gmode,"survival",sizeof(gmode),false)==1) return 3;
        else return false;
}
Dionys. Use above code to find game mode
__________________
Nothing but a whisper in the wind~~
DDR Khat is offline
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Old 04-22-2009 , 17:07   Re: [L4D] Force Mission Changer 1.2
Reply With Quote #175

Quote:
Originally Posted by DDR Khat View Post
Code:
Gamemode() // 1 = Co-Op, 2 = Versus, 3 = Survival. False on anything else.
{
    new String:gmode[32];
    GetConVarString(FindConVar("mp_gamemode"),gmode,sizeof(gmode));
    if (strncmp(gmode,"coop",sizeof(gmode),false)==1) return 1;
    else if (strncmp(gmode,"versus",sizeof(gmode),false)==1) return 2;
    else if(strncmp(gmode,"survival",sizeof(gmode),false)==1) return 3;
        else return false;
}
Dionys. Use above code to find game mode
ya
thx! one more

later fix plugin wil be published...
Dionys is offline
AcidTester
Senior Member
Join Date: Jan 2009
Old 04-22-2009 , 17:48   Re: [L4D] Force Mission Changer 1.2
Reply With Quote #176

My edition, work stable, show announce of each map. Plugin trigger on 5 map when conditions met. Full circle map list included.
Perfect for me, maybe for u...
Have Fun.
Attached Files
File Type: txt sm_l4dvs_mapchanger.txt (3.3 KB, 239 views)
File Type: sp Get Plugin or Get Source (sm_l4dvs_mapchanger_test2.sp - 420 views - 5.0 KB)
File Type: cfg sm_l4dvs_mapchanger.cfg (550 Bytes, 194 views)
__________________
AcidTester is offline
Send a message via ICQ to AcidTester
SilentBr
Veteran Member
Join Date: Jan 2009
Old 04-23-2009 , 08:44   Re: [L4D] Force Mission Changer 1.3
Reply With Quote #177

Why when the last map of the campaign ends, they are all disconnected, start the last map and not start a new campaign?
This started happening after the game did update.
My server is running "versus".
Whats wrong

Is this OK?

"ForceMissionChangerSettings"
{
"l4d_airport05_runway"
{
"next mission map" "l4d_farm01_hilltop"
}
"l4d_farm05_cornfield"
{
"next mission map" "l4d_hospital01_apartment"
}
"l4d_hospital05_rooftop"
{
"next mission map" "l4d_smalltown01_caves"
}
"l4d_smalltown05_houseboat"
{
"next mission map" "l4d_airport01_greenhouse"
}
"l4d_vs_airport05_runway"
{
"next mission map" "l4d_vs_farm01_hilltop"
}
"l4d_vs_farm05_cornfield"
{
"next mission map" "l4d_vs_hospital01_apartment"
}
"l4d_vs_hospital05_rooftop"
{
"next mission map" "l4d_vs_smalltown01_caves"
}
"l4d_vs_smalltown05_houseboat"
{
"next mission map" "l4d_vs_airport01_greenhouse"
}
}

What I put in mapcycle.txt maplist.txt missioncycle.txt?


I already reinstall the plugin and nothing...
Please help. What I do?

Last edited by SilentBr; 04-23-2009 at 09:16.
SilentBr is offline
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Old 04-23-2009 , 10:38   Re: [L4D] Force Mission Changer 1.3
Reply With Quote #178

Who any received this bug too?
Dionys is offline
anita45
Junior Member
Join Date: Feb 2009
Old 04-23-2009 , 10:51   Re: [L4D] Force Mission Changer 1.3
Reply With Quote #179

hi

such a server on my AC does not always issue

thank you for helping us

best regards
anita45 is offline
KroleG
Junior Member
Join Date: Dec 2008
Old 04-23-2009 , 12:13   Re: [L4D] Force Mission Changer 1.3
Reply With Quote #180

Quote:
Originally Posted by Dionys View Post
Who any received this bug too?
да... похоже что плагин вовсе не работает.
В режиме кооп, прошел карту l4d_smalltown05_houseboat - компанию не сменило. Всех кикнуло...
потом поставил sm_l4d_fmc_ifdie 1 убил себя и ботов - карту тоже не сменило, хотя должно было.
Жду фикс плагина

EDIT:
хм, работает. Кажись проблема была в том, что я сначала заходил на сервер с mp_gamemode "survival" а потом менял значение на coop

в версусе не пашет, да

Last edited by KroleG; 04-23-2009 at 14:11.
KroleG 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 08:33.


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