Raised This Month: $ Target: $400
 0% 

[L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)


Post New Thread Reply   
 
Thread Tools Display Modes
olj
Veteran Member
Join Date: Jun 2009
Old 09-11-2009 , 19:31   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #141

Quote:
Originally Posted by berni View Post
This plugin needs KrX_surup include, you should provide a link to that in your post.

And the version convar l4d_pillsaddiction_version should have the ConVar Flag FCVAR_DONTRECORD so it won't get saved.

On Line 353 you are using GetMaxClients() instead of MaxClients like in the other loops (just noticed).
Thanx, i provide link. As for line 353 - its part of drug.smx code which is part of soucemod basic plugins, maybe change it later. What FCVAR_DONTRECORD actually do? It wont saved to where? Just not sure what it means.
__________________
olj is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 09-12-2009 , 08:59   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #142

Because you are using AutoExecConfig(true); which dumps all ConVar's of the plugin to the .cfg file. If you release an update later, the version wouldn't change because it reads the version from the .cfg file.
But when the ConVar has FCVAR_DONTRECORD set sourcemod won't write this ConVar.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
olj
Veteran Member
Join Date: Jun 2009
Old 09-12-2009 , 09:03   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #143

Quote:
Originally Posted by berni View Post
Because you are using AutoExecConfig(true); which dumps all ConVar's of the plugin to the .cfg file. If you release an update later, the version wouldn't change because it reads the version from the .cfg file.
But when the ConVar has FCVAR_DONTRECORD set sourcemod won't write this ConVar.
Thanx for info . I'll add this into code. Ok, added, should do it for other plugins as well.
__________________

Last edited by olj; 09-12-2009 at 09:07.
olj is offline
rappinduke
Member
Join Date: Jul 2008
Old 09-15-2009 , 05:01   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #144

Hello,
I love the idea of this mod...is there any way to make a mod like this that would give extra pistols to all at each round start??
__________________

rappinduke is offline
olj
Veteran Member
Join Date: Jun 2009
Old 09-15-2009 , 06:07   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #145

Quote:
Originally Posted by rappinduke View Post
Hello,
I love the idea of this mod...is there any way to make a mod like this that would give extra pistols to all at each round start??
lol. 1 - this is offtop. Go to suggestions thread. 2 - this suggestion already exists (at least im certain i saw it in suggestions branch). 3 - its easy to do.
__________________
olj is offline
rappinduke
Member
Join Date: Jul 2008
Old 09-18-2009 , 16:11   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #146

Sorry for got all about that post!! Thanks again!
__________________

rappinduke is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 10-05-2009 , 04:01   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #147

Hi olj: Error during compile. I use SM 1.3.0dev2818:

// PillsAddiction 1.6.9.sp(50) : warning 234: symbol "AskPluginLoad" is marked as deprecated: Use AskPluginLoad2() instead
// 1 Warning.

EDIT1: I stepped back to SM 1.2.4, which runs excellent. No problems anymore with pills plugin. 1.3.xx was too unstable and this plugin was not the only one being kinda incompatible with it.

Last edited by Skorpion1976; 10-12-2009 at 08:05.
Skorpion1976 is offline
olj
Veteran Member
Join Date: Jun 2009
Old 10-12-2009 , 05:22   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #148

In SM 1.3 it is recommended to use AskPluginLoad2 function, in final release of 1.3 AskPluginLoad will be deprecated as it said. Not a big deal, when 1.3 will be finally released i will change it.
__________________
olj is offline
bakentake
Junior Member
Join Date: Aug 2009
Old 11-05-2009 , 13:29   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #149

Would it be possible to set a range for the ODing? Right now I have it set to 3 before you die, but its almost pointless if they know how many they can take before they die. I'd like to be able to set it from 3 pills to say 7 pills.

Although with it set at 3 I've seen people die after what they claim are their first set of pills.

Not sure if this has been suggested already.
bakentake is offline
Zverina
Senior Member
Join Date: Aug 2009
Location: California, USA
Old 12-08-2009 , 00:20   Re: [L4D] Pills Addiction 1.6.9 (now compatible with KrX upgrades)
Reply With Quote #150

dammit ya gotta get this workin with l4d2 ASAP man xD i miss this plugin T-T
Zverina 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:47.


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