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

[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 08-09-2009 , 10:18   Re: [L4D] Pills Addiction 1.2
Reply With Quote #21

I tried to use 0/1 parameters after drug command. I tried to put it in code, and tried to test it from console also. It didnt work for me. Adding 0 dont turn off drug at all. Only plain sm_drug command toggles it off and on. I have no idea, whats wrong with admins, can it be related to admin-immunitys? I asked friend to test it on his dedicated. Also, does it give any messages in console when admin get "overdose wear off" message, but is still drugged?

EDIT: Um, my friend in icq says that its work good for him on dedicated, hes root admin and it wears off in time.
EDIT2: I forgot to mention, i using sm 1.3. But i didnt use any SM 1.3 specific features or functions. Try new version anyway. Should be more stable and comfortable.
__________________

Last edited by olj; 08-09-2009 at 10:25.
olj is offline
Whosat
Senior Member
Join Date: Nov 2007
Location: Singapore
Old 08-09-2009 , 10:27   Re: [L4D] Pills Addiction 1.1
Reply With Quote #22

Quote:
Originally Posted by olj View Post
If i use userID it says "cant find such userid" or something like that, i dont remember exactly. I think it will work for other users but not for me, so i better use names.
2: So how should i use that 2nd argument? "sm_drug #userID 0" ?

3: If i add # before userid, would it work for me, without "cant find userid" error?

Thanx for help everyone. I will look into it later.
You must use # before the userid to tell sourcemod that you are using a userid as the value, else it'll look for a player with the userid in their name.
e.g. sm_drug 33 will drug a player called "I am 33", whereas sm_druug #33 will drug player with userid #33.
__________________
Whosat is offline
GrossKopf
Senior Member
Join Date: Jun 2007
Old 08-09-2009 , 14:32   Re: [L4D] Pills Addiction 1.2
Reply With Quote #23

I just had a non-admin get the bug where the effect doesn't go away. I had to manually fix it with the admin menu.
GrossKopf is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-09-2009 , 15:11   Re: [L4D] Pills Addiction 1.2
Reply With Quote #24

Quote:
Originally Posted by GrossKopf View Post
I just had a non-admin get the bug where the effect doesn't go away. I had to manually fix it with the admin menu.
With 1.2 plugin version? What was circumstances? I mean was it on map change or something? Did he got message "Overdose wore off?".
__________________
olj is offline
Number Six
Senior Member
Join Date: Dec 2008
Old 08-09-2009 , 17:02   Re: [L4D] Pills Addiction 1.2
Reply With Quote #25

L 08/09/2009 - 22:53:17: SourceMod error session started
L 08/09/2009 - 22:53:17: Info (map "l4d_sv_roadwarrior") (file "errors_20090809.log")
L 08/09/2009 - 22:53:17: [SM] Native "ClientCommand" reported: Client 2 is not connected
L 08/09/2009 - 22:53:17: [SM] Displaying call stack trace for plugin "pillsaddiction.smx":
L 08/09/2009 - 22:53:17: [SM] [0] Line 94, /home/groups/alliedmodders/forums/files/5/5/0/1/1/47123.attach::LaughTimer()
L 08/09/2009 - 22:53:45: [SM] Native "ClientCommand" reported: Client 2 is not connected
L 08/09/2009 - 22:53:45: [SM] Displaying call stack trace for plugin "pillsaddiction.smx":
L 08/09/2009 - 22:53:45: [SM] [0] Line 94, /home/groups/alliedmodders/forums/files/5/5/0/1/1/47123.attach::LaughTimer()
L 08/09/2009 - 22:53:49: [SM] Native "ClientCommand" reported: Client 2 is not connected
L 08/09/2009 - 22:53:49: [SM] Displaying call stack trace for plugin "pillsaddiction.smx":
L 08/09/2009 - 22:53:49: [SM] [0] Line 94, /home/groups/alliedmodders/forums/files/5/5/0/1/1/47123.attach::LaughTimer()
L 08/09/2009 - 22:58:57: [SM] Native "ClientCommand" reported: Client 2 is not connected
L 08/09/2009 - 22:58:57: [SM] Displaying call stack trace for plugin "pillsaddiction.smx":
L 08/09/2009 - 22:58:57: [SM] [0] Line 94, /home/groups/alliedmodders/forums/files/5/5/0/1/1/47123.attach::LaughTimer()
__________________


Number Six is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-09-2009 , 18:12   Re: [L4D] Pills Addiction 1.2
Reply With Quote #26

I think its because client who started timer left game. Should add IsClientConnected Check also.
__________________
olj is offline
GrossKopf
Senior Member
Join Date: Jun 2007
Old 08-09-2009 , 20:19   Re: [L4D] Pills Addiction 1.2
Reply With Quote #27

Quote:
Originally Posted by olj View Post
With 1.2 plugin version? What was circumstances? I mean was it on map change or something? Did he got message "Overdose wore off?".
It was in the middle of the map, with the 1.2 plugin. He just took the pills, had the effect, but it didn't wear off. I can't recall if the message came up that said the pills wore off or not, though. I had to bring up the menu and select the option to drug him in order to remove the effect on him.
GrossKopf is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-09-2009 , 20:48   Re: [L4D] Pills Addiction 1.2
Reply With Quote #28

Well ,thats strange, but i cant say anything. Played whole evening today and it worked fine. Either something stopped timer, or blocked server command or his userID changed. Try to test it by removing all other plugins, except for basic ones, and see if it works for admins. It wont take much time, but we will see if it caused by other plugin.
__________________
olj is offline
chunXray
Member
Join Date: Jul 2009
Old 08-10-2009 , 07:22   Re: [L4D] Pills Addiction 1.2
Reply With Quote #29

i would like the char would say : i'm down affer overdose effect wore off
chunXray is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-10-2009 , 07:40   Re: [L4D] Pills Addiction 1.2
Reply With Quote #30

Quote:
Originally Posted by chunXray View Post
i would like the char would say : i'm down affer overdose effect wore off
Eah, would be nice, just need to find how that vocalize is called. Im planning to add possibility to deal dmg after overdose ends (controllable by cvar ofc) and possible death after too much pills using

Btw, how can i increase pills on the map? director_pain_pill_density seems to do nothing, at least in versus (but i may be wrong, i set it to 10 but i hardly got 2 or 3 pills on map) and i dont want to use stripper or replace medkits or include spawn_pills in plugin. I increased pills drop rates alittle, but thats not how i want it to be. If someone knows reliable way let me know.
__________________
olj 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 01:16.


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