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

[L4D2] Infected Loot Drops (2.3d)


Post New Thread Reply   
 
Thread Tools Display Modes
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 02-28-2010 , 18:06   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #11

is .conf a type-o its normally .cfg?
RavenDan29 is offline
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 02-28-2010 , 18:20   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #12

i put these in server.cfg

CVARS
l4d2_loot_config_filename - The name of the config file located in the cfg-sourcemod folder.
l4d2_loot_enabled - Is the infected loot plugin enabled or not.
l4d2_loot_logging - Enable logging.
doesnt regonise them even with sm_cvar infront does it need rcon sm_cvar or rcon infront instead?
RavenDan29 is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 02-28-2010 , 23:43   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #13

This conf file is different than the .cfg file you normally edit. They both exist. So there is l4d2_infected_loot_drops.cfg which is what you do with the CVARS and then l4d2_infected_loot_drops_loot_settings.conf which has the loot script config.
Thraka is offline
Manix123
Junior Member
Join Date: Mar 2010
Old 03-01-2010 , 03:27   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #14

Hi there, big thanks for this add-on, really useful one! I liked to play on servers with it, but right now I'm having problems running it on my server! Maybe you could help me!

First of all, the "Get plugin" link in your thread didn't work for me, saying it couldn't compile and to contact the author. Instead, I downloaded from the link besides it "Get Source" as it seems to be the same thing. I've put the .smx in the plugins folder of sourcemod's one, the .sp in scripting folder and made the l4d2_infected_loot_drops_loot_settings.conf with the one you made in one of your last replies in the left4dead2/cfg/sourcemod folder. Now, when I load the dedicated server, I get in console the following:
[SM] Unable to load extension "config.ext" : Not found
[SM] Unable to load plugin "l4d2_infected_loot_drops.smx": Required extension "Config" file("config.ext") not running

Could you please help me with that? Would be awesome ^^ Thanks a lot!

Last edited by Manix123; 03-01-2010 at 03:41. Reason: Didn't see second page, but still having problem.
Manix123 is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-01-2010 , 09:16   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #15

At the top of the plugin there is a REQUIRED section which points to the Config SourceMod Extension. This is needed. I've updated the instructions to give more information on how to install this.

You cannot use the Get Plugin link because it needs the extension to compile. You don't need to put the .sp in Scripting unless you wanted to modify it and compile it yourself. If that was the case, you would need to grab the include file for the extension (tells the script how to interact with the extension when you compile it.

If you just want to run it as is, and modify the conf file, you just plop the attached .smx into your plugin folder and the extension .dll or .so (.so is for linux) in your Addons/SourceMod/Extensions folder. You may need to initiate the _restart command from the console so SourceMod loads the extension.
Thraka is offline
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 03-01-2010 , 14:16   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #16

"l4d2_infected_loot_drops_loot_settings.c onf which has the loot script config" does this then go in the script's folder?
RavenDan29 is offline
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 03-01-2010 , 14:31   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #17

lol yeah same error didnt know this sourcemod thing was something new

L 03/01/2010 - 19:266: [SM] Unable to load plugin "l4d2_infected_loot_drops.smx": Required extension "Config" file("config.ext") not running
RavenDan29 is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-01-2010 , 15:06   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #18

Like I stated, please reread the front page. It has information on what you need to do to get the plugin to work and where to put your .conf file.
Thraka is offline
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 03-01-2010 , 15:20   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #19

ok thx, still havent seen a single item drop but i think i got the jist,

cvars tell it to load .conf file which sould have

// Executed anytime any of the normal classes die: smoker, hunter, charger, boomer, spitter, jockey
normal_infected:
{
repeat = 1;
dice = [100];

things = (
{ name = "weapon_pain_pills_spawn";
type = "item";
min = 1;
max = 85;
},
{ name = "weapon_pain_pills_spawn";
type = "item";
min = 1;
max = 85;
},
{ name = "weapon_pain_pills_spawn";
type = "item";
min = 1;
max = 85;
},
{ name = "weapon_molotov_spawn";
type = "item";
min = 1;
max = 85;
},
{ name = "weapon_defibrillator_spawn";
type = "item";
min = 86;
max = 90;
},
{ name = "weapon_vomitjar_spawn";
type = "item";
min = 86;
max = 90;
},
{ name = "weapon_first_aid_kit_spawn";
type = "item";
min = 91;
max = 100;
},
{ name = "weapon_autoshotgun";
type = "weapon";
min = 91;
max = 100;
}
);
};



Thraka
View Public Profile
Send a private message to Thraka
Find More Posts by Thraka

This in it correct?

So how do i know it works if i havent seen a single item drop?

I put this in server.cfg
sm_cvar l4d2_loot_config_filename "l4d2_infected_loot_drops_loot_settings.c onf"
sm_cvar l4d2_loot_enabled "1"
sm_cvar l4d2_loot_logging "1"

should it not be "left4dead2\217.163.27.135:27015\left4dead2\l eft4dead2\cfg\sourcemod\l4d2_infected_loot_dr ops_loot_settings.conf ie telling exacually were it is?

Last edited by RavenDan29; 03-01-2010 at 15:26.
RavenDan29 is offline
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 03-01-2010 , 16:57   Re: [L4D2] Infected Loot Drops (2.2)
Reply With Quote #20

ive changed .conf file to this

repeat = 0;

things = (
smoker:
{ name = "weapon_pain_pills_spawn";
type = "item";

jockey:
},
{ name = "weapon_pain_pills_spawn";
type = "item";

spitter:
},
{ name = "weapon_pain_pills_spawn";
type = "item";

boomer:
},
{ name = "weapon_molotov_spawn";
type = "item";

witch:
},
{ name = "weapon_defibrillator_spawn";
type = "item";

tank:
},
{ name = "weapon_vomitjar_spawn";
type = "item";

tank:
},
{ name = "weapon_first_aid_kit_spawn";
type = "item";

tank:
},
{ name = "weapon_autoshotgun";
type = "weapon";


}
);
};

Is that correct?



Thraka
View Public Profile
Send a private message to Thraka
Find More Posts by Thraka

do i need a .cfg file to, i put the cvars on my server.cfg with sm_cvar etc, still not seen a dropped item, im sorry dont know what im doing wrong?
RavenDan29 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 17:46.


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