AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Achievement Notifier (https://forums.alliedmods.net/showthread.php?t=81992)

Antithasys 12-23-2008 01:02

Re: [L4D] Achievement Notifier
 
I think the events you are looking for are:

player_now_it (got slimed)
player_no_longer_it (no longer slimed)

If they get damaged by infected during that time wouldn't that do it?

Zigian 12-23-2008 15:15

Re: [L4D] Achievement Notifier
 
Very cool. Looking forward to an update. I hope the response above helps. Thanks for the plugin!!!

Zigian 12-23-2008 21:36

Re: [L4D] Achievement Notifier
 
For some reason, when the server goes to the next map in a campaign, it's killing the achievements. Anyone have this problem before?

L4DHelp 12-28-2008 10:13

Re: [L4D] Achievement Notifier
 
Any news on more achievements?

ApocalypseDan 01-12-2009 07:04

Re: [L4D] Achievement Notifier
 
Hi everyone i have just rented my 1st L4D server and like the sounds of this plugin when i went to my FTP in my L4D game folder there was no addons folder so i do i just add the folders needed to run this plugin

L4D/addons/sourcemod/plugins/ then add the file to this and the same for the translation ?

I am new to plugins so i am very sorry to be such a newbie many thanks in advance

ApocalypseDan :oops:

bman87 01-12-2009 08:34

Re: [L4D] Achievement Notifier
 
Quote:

Originally Posted by ApocalypseDan (Post 742689)
Hi everyone i have just rented my 1st L4D server and like the sounds of this plugin when i went to my FTP in my L4D game folder there was no addons folder so i do i just add the folders needed to run this plugin

L4D/addons/sourcemod/plugins/ then add the file to this and the same for the translation ?

I am new to plugins so i am very sorry to be such a newbie many thanks in advance

ApocalypseDan :oops:

First you need to install MetaMod:Source and SourceMod. After that you will have the folders.

http://wiki.alliedmods.net/Installing_Metamod:Source
http://wiki.alliedmods.net/Installing_SourceMod

Make sure you use SM 1.2, this version supports L4D.
http://www.sourcemod.net/snapshots-1.2.php

Durzel 01-12-2009 08:48

Re: [L4D] Achievement Notifier
 
Quote:

Originally Posted by Antithasys (Post 727599)
Further suggestions. I always wonder why people hook the say command when all they want is the chat trigger. Sourcemod does all this for you. Creating your own console command is the way to go.

Replace:
PHP Code:

RegConsoleCmd("say"Command_SayChat);
 
public 
Action:Command_SayChat(clientargs)

 
decl String:text[192];
 if (!
GetConVarBool(cvPluginEnabled) ||
     
IsChatTrigger() ||
  
GetCmdArgString(textsizeof(text)) < 1)
  return 
Plugin_Continue;
 
 
ReplaceString(textsizeof(text), "\"""");
 
ReplaceString(textsizeof(text), " """);
 
 if (
StrEqual(text"!achievements"))
 {
  
DisplayAchievements(client);
  return 
Plugin_Handled;
 }
 
 return 
Plugin_Continue;


With:

PHP Code:

RegConsoleCmd("sm_achievements"Command_DisplayAchievements"Display Achievements");
 
public 
Action:Command_DisplayAchievements(clientargs)

 if (
GetConVarBool(cvPluginEnabled))
     
DisplayAchievements(client);
 return 
Plugin_Handled;



As elegant as this is the only problem I can forsee is that it requires users to have access to the console. Some players don't even know what the console is, much less how to enable it and which key brings it down. Telling those people just to type a command in say is a lot easier than trying to teach them to bring up the console and type a command.

Code wise though the console command method is a lot more elegant.

bl4nk 01-12-2009 19:25

Re: [L4D] Achievement Notifier
 
Hooking a console command allows you to call it via chat trigger (in this case you would still do !achievements in chat).

omadhaun 01-18-2009 20:41

Re: [L4D] Achievement Notifier
 
Any update as to how the "Nothing Special" achievement is being added to the plugin? To be honest, I wouldn't mind using a copy that works with everything but the boomer vomit for testing.

Vicious Angel 01-19-2009 10:32

Re: [L4D] Achievement Notifier
 
Hi Fexii, hi guys

What an awsome plugin you've made here :)

I have one little problem with it tho. I have exactly the same problem as Zigian described a few posts earlier.

More precisely, i tried easy and normal no mercy campain and each time we moved on to the second round, Safety First and Stomach Upset were prevented for no reason (we were not hit by boomers and didn't make any team attack during first round).

I'm running the latest 1.2.0.2534 sourcemod snapshot with the latest metamod 1.7.0 version and i have only three plugins running (including yours)

* Achievement Notifier (http://forums.alliedmods.net/showthread.php?p=727548)
* Voting Manager (http://forums.alliedmods.net/showthread.php?p=718773)
* Unscrambler (http://forums.alliedmods.net/showthread.php?p=730278)

If any of you guys have a thought on that it's very welcome.


All times are GMT -4. The time now is 10:35.

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