Raised This Month: $32 Target: $400
 8% 

L4DToolZ Metamod plugin (l4d1 & l4d2)


Post New Thread Reply   
 
Thread Tools Display Modes
alBert2000
Junior Member
Join Date: Feb 2013
Old 12-15-2013 , 05:10   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1261

Quote:
Originally Posted by alBert2000 View Post
Thanks for the tip with left4downtown playerslot version.
I got the "ED_Alloc: no free edicts" error too with two custom campaigns: "Drop Dead Gorges (first map)" and "Dead Before Dawn 2 DC (third map)"
Without l4dtoolz the error was gone.
I used the files from https://forums.alliedmods.net/showpo...&postcount=573 and https://forums.alliedmods.net/showpo...&postcount=574
and it seems to work so far.
Need to wait for more players to check if 10 slots are really working (at least 10 is displayed).
I made some tests now (I only used left4dead2)
First time for me to compile a metamod plugin (on win and lin)^^.

Some initial info:

As I wrote, I used left4downtown with player slots because with l4dtoolz some custom maps are crashing (see my quote)

The drawback of left4downtown players lots edition is, that in the game steam group servers are only showing 8 players while all other sources (server browsers, HLSW, ...) show my configured 10 players.
Reason is (correct my if I'm wrong) sourcemod extensions like left4downtown cannot patch matchmaking dll.

So players in my steam server group only see 8 players and also cannot connect when 8 players are on the server.

I know they can still join e.g. with "connect".
But I had some time to test a little with modifying and compiling l4dtoolz_mm by myself.

So I got the sources from github (dff2e0a087)

My first idea was to keep only matchmaking dll patching from l4dtoolz and remove everything else.
All the other patching will still be done by left4downtown player slot edition.
It seems to work quite well.
I saw 10 players/slot in games steam group servers where I had 8 before.
I hope that still more than 8 can connect (Made that yesterday and only 8 players since then at max on my server. Need to wait for more players to see if 10 players is working still.)

And I had some more free time so I did some more testing^^

Only on windows at the moment (but should work on linux also. Will try that later.)

My local windows srcds left4dead2 is quite vanilla and only used to test some plugins quickly etc.
So no left4downtown and no l4dtoolz was installed.

So I compiled l4dtoolz and installed it.
Then I loaded the "Drop Dead Gorges" map (http://www.l4dmaps.com/details.php?file=9619) which is crashing via "sm_map ddg1_tower_v2" in the server console.
No client needed for these tests, only start server and load map.
After some lines in the console the server crashed with "ED_Alloc: no free edicts" dialog box.

Now the interesting part (not in complete details, only the relevant parts):

After some exclude/include of l4dtoolz code parts (compile, install, run, change map -> crash) I found one line:

I changed:
engine->ServerCommand("maxplayers 32\n");
to
engine->ServerCommand("maxplayers 30\n");
And then I could load the ddg1_tower_v2 map without the "ED_Alloc: no free edicts" crash.
(with "maxplayers 31" it is still crashing. Beginning with 30 it works.)

Just wanted to share this info with all of you as soon as I found that.
I'll need to test that soon on my linux servers with left4downtown WITHOUT playerslots and with my modified l4dtoolz version (with value "30" instead of "32")

Update:
I tested with the other map "l4d_dbd2dc_clean_up" (from "Dead Before Dawn 2 DC" campaign).
With "30" the map "l4d_dbd2dc_clean_up" is still crashing.
With "18" it works (didnt test the values between 18 and 30 so far).
Update2:
With "26" it works (with "27" and higher the map "l4d_dbd2dc_clean_up" is crashing)
__________________

Last edited by alBert2000; 12-15-2013 at 15:25. Reason: added updated info after some additional testing
alBert2000 is offline
HeavyWeaponsPie
New Member
Join Date: Dec 2013
Old 12-19-2013 , 00:54   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1262

That server.dll file in the metamod folders somewhere are stopping me from connecting to VAC secured servers. Why?
HeavyWeaponsPie is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 12-19-2013 , 11:18   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1263

It wont be anything in the metamod folder that's giving you the problem. You have a problem elsewhere.
As a server launch option "-secure" will enable VAC.
Having said that I doubt it will fix your issue but you can try anyway.

Are you running a local or rented dedicated server?. Rented is best, local dedicated servers are more prone to problems.
Local dedicated servers are best installed on separate hard drives. Don't use the Dedicated Server from the tools library. Use this Steam tutorial

Try these steps:
Move everything from your local "addons" folder to another location.
Try to connect to your server.
If you can connect, there was something in your "addons" folder stopping you from connecting.
If you still cant connect then rename your servers "sourcemod" folder and install a fresh copy.
Don't install any mods
Assuming your server cfg is correct, Try to connect. Hopefully this will fix it.
If you can connect start adding any mods you use a few at a time testing between.

I've had this issue before but unfortunately I cant remember the specific fault.

If you run your own dedicated server you could try joining our "Dedicated Server Owners" steam group (link below) This is open only to anybody who runs a server, I'm sure somebody will have a suggestion or 2.
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 12-19-2013 at 11:52. Reason: Added query
Munch is offline
dareksbs
Junior Member
Join Date: Dec 2013
Old 12-27-2013 , 22:15   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1264

Hi Guys,

I've got problem with users on the server, whole plugin works fine, but only when there is less than 4 players or more than 6, when there is 5 players, one of them is in spectator mode.

Do anyone know how to fix this problem ?

I try to separate users using this commends :
sm_cvar l4d_infected_limit "8"
sm_cvar l4d_survivor_limit "8"

But server always shows
[SM] Unable to find cvar: l4d_infected_limit
[SM] Unable to find cvar: l4d_survivor_limit

//edit :
I just check my server and well, right now there is 7 players and 3 of them are in spectator mode. It's strange, because today there was 8 players and 4 of them was survivor and 4 of them was zombies... I don't know why right now there is just survivors, those spectator should play as a zombies.

Last edited by dareksbs; 12-27-2013 at 22:31.
dareksbs is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 12-27-2013 , 23:46   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1265

I doubt the issue is with L4DToolz. Ive was using the same version of L4DToolz for nearly 18 months until July 2013 when It was updated

Are you using v1.0.0.9f or h

Chances are its a config or conflict issue in Sourcemod.
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 12-27-2013 at 23:48.
Munch is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 12-28-2013 , 06:40   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1266

Quote:
Originally Posted by dareksbs View Post
Hi Guys,

I've got problem with users on the server, whole plugin works fine, but only when there is less than 4 players or more than 6, when there is 5 players, one of them is in spectator mode.

Do anyone know how to fix this problem ?

I try to separate users using this commends :
sm_cvar l4d_infected_limit "8"
sm_cvar l4d_survivor_limit "8"

But server always shows
[SM] Unable to find cvar: l4d_infected_limit
[SM] Unable to find cvar: l4d_survivor_limit

//edit :
I just check my server and well, right now there is 7 players and 3 of them are in spectator mode. It's strange, because today there was 8 players and 4 of them was survivor and 4 of them was zombies... I don't know why right now there is just survivors, those spectator should play as a zombies.
From what I can tell: These 2 commands belong to a sourcemod plugin, which creates the additional bots needed for multiplayer versus with player count > 8, e.g. Superversus(2). Unless you have such a plugin that uses these 2 cvars, I doubt this is gonna work. The SM response tells you that SM canīt find the cvars. Either because the sm plugin was not loaded properly or not loaded at all or the .smx is not in the plugins folder. To check, what sm plugins are running on your server, type this in rcon: sm plugins list
To see the metamod plugins: meta list

Key question: Did that EVER work properly on your server?

Last edited by Skorpion1976; 12-28-2013 at 06:44.
Skorpion1976 is offline
dareksbs
Junior Member
Join Date: Dec 2013
Old 12-28-2013 , 07:54   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1267

Quote:
Originally Posted by Munch View Post
I doubt the issue is with L4DToolz. Ive was using the same version of L4DToolz for nearly 18 months until July 2013 when It was updated

Are you using v1.0.0.9f or h

Chances are its a config or conflict issue in Sourcemod.
Hi,

Thanks for quick respond. My version of L4DToolz is L4DToolZ 1.0.0.9h

When I run commend meta list it show me this :
[01] SourceMod (1.5.2) by AlliedModders LLC
[02] L4DToolZ (1.0.0.9h-2-g7465d71b-dirty) by Ivailosp
[04] SDK Tools (1.5.2) by AlliedModders LLC
[41] <NOFILE>
dareksbs is offline
dareksbs
Junior Member
Join Date: Dec 2013
Old 12-28-2013 , 08:02   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1268

Quote:
Originally Posted by Skorpion1976 View Post
From what I can tell: These 2 commands belong to a sourcemod plugin, which creates the additional bots needed for multiplayer versus with player count > 8, e.g. Superversus(2). Unless you have such a plugin that uses these 2 cvars, I doubt this is gonna work. The SM response tells you that SM canīt find the cvars. Either because the sm plugin was not loaded properly or not loaded at all or the .smx is not in the plugins folder. To check, what sm plugins are running on your server, type this in rcon: sm plugins list
To see the metamod plugins: meta list

Key question: Did that EVER work properly on your server?
Ok, I did sm plugins list and I get this :

[SM] Listing 17 plugins:
01 "Sound Commands" (1.5.2) by AlliedModders LLC
02 "Basic Info Triggers" (1.5.2) by AlliedModders LLC
03 "Basic Commands" (1.5.2) by AlliedModders LLC
04 "Client Preferences" (1.5.2) by AlliedModders LLC
05 "Basic Votes" (1.5.2) by AlliedModders LLC
06 "Admin Menu" (1.5.2) by AlliedModders LLC
07 "Fun Commands" (1.5.2) by AlliedModders LLC
08 "Basic Comm Control" (1.5.2) by AlliedModders LLC
09 "Basic Ban Commands" (1.5.2) by AlliedModders LLC
10 "Anti-Flood" (1.5.2) by AlliedModders LLC
11 "Fun Votes" (1.5.2) by AlliedModders LLC
12 "Basic Chat" (1.5.2) by AlliedModders LLC
13 "Player Commands" (1.5.2) by AlliedModders LLC
14 "Reserved Slots" (1.5.2) by AlliedModders LLC
15 "Admin File Reader" (1.5.2) by AlliedModders LLC
16 "Admin Help" (1.5.2) by AlliedModders LLC
17 Disabled: "Nextmap" (1.5.2) by AlliedModders LLC

and for meta list :

[01] SourceMod (1.5.2) by AlliedModders LLC
[02] L4DToolZ (1.0.0.9h-2-g7465d71b-dirty) by Ivailosp
[04] SDK Tools (1.5.2) by AlliedModders LLC
[41] <NOFILE>


Its weird because there was 9 people yesterday on the server and everything works fine, there was two group, for survival and zombie. After they gone, and there was just 4 players, and just one group for survival, when I join the server I was in spectator mode...

//edit :
Quote:
Key question: Did that EVER work properly on your server?
No it didn't, yesterday when there was 8 people on the server, and I found out that the normal server support up to 8 players...
Something is wrong with my L4DToolz

Last edited by dareksbs; 12-28-2013 at 14:06.
dareksbs is offline
dareksbs
Junior Member
Join Date: Dec 2013
Old 12-28-2013 , 12:35   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1269

I think that L4DToolZ plugin doesn't work, because I create a new server, without L4DToolZ, and 8 players can play...

what I did with L4DToolZ I copy all files to my server in :
left4dead2/addons/metamod/l4dtoolz.vdf
left4dead2/addons/metamod/bin/l4dtoolz_mm.so

and I add this plugin in metaplugins.ini and well, I run the server.

What I done wrong ?
dareksbs is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 12-28-2013 , 15:32   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1270

Quote:
Originally Posted by dareksbs View Post
Hi Guys,

I've got problem with users on the server, whole plugin works fine, but only when there is less than 4 players or more than 6, when there is 5 players, one of them is in spectator mode.

Do anyone know how to fix this problem ?

I try to separate users using this commends :
sm_cvar l4d_infected_limit "8"
sm_cvar l4d_survivor_limit "8"

But server always shows
[SM] Unable to find cvar: l4d_infected_limit
[SM] Unable to find cvar: l4d_survivor_limit

//edit :
I just check my server and well, right now there is 7 players and 3 of them are in spectator mode. It's strange, because today there was 8 players and 4 of them was survivor and 4 of them was zombies... I don't know why right now there is just survivors, those spectator should play as a zombies.
If you had 7 players and 3 where in spectator mode, they where probably playing Coop mode.
assuming you have the following in your Server.cfg

sv_maxplayers 8
sv_visiblemaxplayers 8

As you also mention "there was 8 players and 4 of them was survivor and 4 of them was zombies" they where probably playing versus mode.

These are standard game modes and don't require l4dtoolz.

Quote:
Originally Posted by dareksbs View Post
I think that L4DToolZ plugin doesn't work, because I create a new server, without L4DToolZ, and 8 players can play...
I assume your trying to get 8 player Coop working
If so you need a plugin like Bebop or Multislots to manage the extra slots (requires L4dtoolz)

I notice your plugin list (post 126 is missing the above two or any other plugin that manages extra slots
without one of the slot manager plugins you will only have the standard 4 player coop and 4v4 versus

Don't forget to add the following to your Server.cfg:
sv_gametypes "coop,realism,survival,versus,teamversus,scav enge,teamscavenge" // add or delete the desired game modes as required
sv_maxplayers 8
sv_visiblemaxplayers 8

Hope this is useful, have fun
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 12-28-2013 at 15:36.
Munch 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 14:09.


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