Raised This Month: $ Target: $400
 0% 

[L4D2] Scavenge Remix


Post New Thread Reply   
 
Thread Tools Display Modes
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 01-09-2010 , 05:38   Re: [L4D2] Scavenge Remix
Reply With Quote #41

A litle bug, you want to restore 'director_no_mobs' from 'g_iInitDirectorNoMobs' in 'DirectorStart' but you're not storing it in 'DirectorStop'.

EDIT: Why do you set 'sb_all_bot_team' to 1 on plugin start ?
That's the reason why my servers always stuck on a map if all players left and they're never hibernating when empty.

Last edited by gH0sTy; 01-09-2010 at 14:39. Reason: typo
gH0sTy is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 01-09-2010 , 13:48   Re: [L4D2] Scavenge Remix
Reply With Quote #42

Quote:
Originally Posted by pvtschlag View Post
I see where you are going wrong. You are supposed to run those commands from the client. For example, just type sm_editcans in your own console....
The mistake you made is failing to set the gamemode to scavenge first.
in reverse:
i didnt make a mistake in gamemode.. the map is loaded up correctly. scavenge starts playing as it should until i enter editmode. thats when the gamemode changes. i know of the change because the game mode config plugin i installed executes and i see all the cvar and plugin change spam scroll by.

the problem is probably because most people when trying this without their remote server (eg: me), use either a listen/local server or the dedicated server from tools tab.. which uses the same files. not a separate srcds install.. which would just duplicate all the files they already have on their client. so my local dedicated server location (with sourcemod and this plugin) are the same as my client (with sourcemod and this plugin). i couldn't use sm_editcans cuz the plugin was running on my client as well as the server. ill remove it from the local server.. and try again.

i almost went to an srcds install because i was annoyed by all the client cvar changes that would spam my server console from my glow config... but then i figured a way around that problem with glow_2.0.

being able to do this locally would be much simpler then your so called "simple" technique. and ghosty hes using sb_all_bot_team 1 so that he can run a scavenge game alone w/o the server kicking him back to a lobby. you would only "need" to do that, when your editing can locations.
dirka_dirka is offline
pvtschlag
Member
Join Date: Nov 2009
Old 01-09-2010 , 14:40   Re: [L4D2] Scavenge Remix
Reply With Quote #43

Quote:
A litle bug, you want to restore 'director_no_mobs' from 'g_iInitDirectorNoMobs' in 'DirectorStart' but you're not storing it in 'DirectorStop'.

EDIT: Why do you set 'sb_all_bot_team' to 1 on plugin start ?
That's the reason why my servers always stuck on a map if all players left and they were never hibernating when empty.
Thanks for spotting that. It has been fixed. I had copied the contents of DirectorStop to plugin start for easy reference when writing the restore code. I must have forgot to remove it. Sorry about that!

First post is updated with the fixes.

Quote:
the problem is probably because most people when trying this without their remote server (eg: me), use either a listen/local server or the dedicated server from tools tab.. which uses the same files. not a separate srcds install.. which would just duplicate all the files they already have on their client. so my local dedicated server location (with sourcemod and this plugin) are the same as my client (with sourcemod and this plugin). i couldn't use sm_editcans cuz the plugin was running on my client as well as the server. ill remove it from the local server.. and try again.
Using the same files for two separate applications at the same time just hits me as a bad idea to begin with.

Quote:
being able to do this locally would be much simpler then your so called "simple" technique
The method I use could be made much simpler by eliminating the use of a lobby and just using the connect command. However, I use the lobby so that my friends see me in a joinable game and can easily join me to help if they want.
pvtschlag is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 01-09-2010 , 14:46   Re: [L4D2] Scavenge Remix
Reply With Quote #44

Quote:
Originally Posted by dirka_dirka View Post
..... and ghosty hes using sb_all_bot_team 1 so that he can run a scavenge game alone w/o the server kicking him back to a lobby. you would only "need" to do that, when your editing can locations.
Yes but sb_all_bot_team 1 is set through DirectorStop if you enable the edit mode so there's no point to set it to 1 when you load the plugin (OnPluginStart).

EDIT: Thx for the fix pvtschlag, great plugin
gH0sTy is offline
pvtschlag
Member
Join Date: Nov 2009
Old 01-09-2010 , 14:54   Re: [L4D2] Scavenge Remix
Reply With Quote #45

I also made the silly mistake(fixed it last udpate) of putting DirectorStop in OnPluginUnload when it should of been DirectorStart. Stop and Unload just went together in my mind I guess.

Glad you enjoy the plugin.
pvtschlag is offline
hutz
Junior Member
Join Date: Dec 2009
Old 01-09-2010 , 16:36   Re: [L4D2] Scavenge Remix
Reply With Quote #46

Yeah this plugin is, super awesome-o etc. But yeah I'm finding out, having sb_all_bot_team set to 1 everytime the server loads is causing issues. Thanks for getting that.

Let me restate, out of the plugins I have, this one really is the best idea I've seen. Nice work.

Last edited by hutz; 01-09-2010 at 16:41.
hutz is offline
pvtschlag
Member
Join Date: Nov 2009
Old 01-09-2010 , 16:37   Re: [L4D2] Scavenge Remix
Reply With Quote #47

Quote:
But yeah I'm finding out, having sb_all_bot_team set to 1 everytime the server loads is causing issues. This thing makes scavenge worth playing again, I'd hate to have to not use it.
If you didn't catch it, the latest version fixes that.
pvtschlag is offline
hutz
Junior Member
Join Date: Dec 2009
Old 01-09-2010 , 17:26   Re: [L4D2] Scavenge Remix
Reply With Quote #48

Yeah I did like, two seconds after I posted that lol. Thanks man.
hutz is offline
cigs
Senior Member
Join Date: Jul 2006
Old 01-09-2010 , 20:35   Re: [L4D2] Scavenge Remix
Reply With Quote #49

I have 2 things to report.

1/ I've seen this 2 times now. For some reason the plugin spawned all 50-60 cans from the file. That was in the very first round. When the opposite team played to beat our round they didn't get 50-60 cans, but the usually scrambled 16 cans. No idea why that happened. Very rare bug.

2/ Another one is a small one, but happens frequently. Whenever we've almost filled all cans, you can hear Coach say '2 more cans to go', when in fact there's just 1 more to go. Then, when we fill that 16th can in, the round ends whereafter coach says 'one more to go'. Strange... and it happens quiet frequently.

Nothing gamebreaking, but I thought I'd let you know.
__________________
cigs is offline
pvtschlag
Member
Join Date: Nov 2009
Old 01-09-2010 , 21:04   Re: [L4D2] Scavenge Remix
Reply With Quote #50

Quote:
1/ I've seen this 2 times now. For some reason the plugin spawned all 50-60 cans from the file. That was in the very first round. When the opposite team played to beat our round they didn't get 50-60 cans, but the usually scrambled 16 cans. No idea why that happened. Very rare bug.
Did you happen to have editmode on(even if you turned it off before you left) in that server with the same map prior to joining? That is the only way I can think of it spawning ALL cans from a file. I'll see about eliminating that as a possibility.

Quote:
2/ Another one is a small one, but happens frequently. Whenever we've almost filled all cans, you can hear Coach say '2 more cans to go', when in fact there's just 1 more to go. Then, when we fill that 16th can in, the round ends whereafter coach says 'one more to go'. Strange... and it happens quiet frequently.
I don't think this has anything to do with the plugin as it doesn't change the max cans. I have also seen this while not using the plugin.
pvtschlag 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 22:11.


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