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

[Any (CSS/GO/DODS+others)] Kill Assist


Post New Thread Reply   
 
Thread Tools Display Modes
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 11-04-2011 , 19:14   Re: [CS:S + DoD:S] Kill Assist (Updated 05-07-2011 v1.3)
Reply With Quote #21

Your Plugin is doing great in my DODS Server. But one upturn is in it. It doesnt write anything to logfiles, so I cant track this via gamemestats.

This does something equal but with certain events. Maybe you can throw out a word into the logs like "assist" so I can give my players the chance to earn daily awards by assisting?
__________________
micazoid is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-05-2011 , 15:42   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #22

Quote:
Originally Posted by micazoid View Post
cool thank you. and you have only to make your plugin to write into the logfiles that are used by hlstats. something like "PLAYER A killed VICTIM with assisting" into the log file and you have only to define assist in the stats and it will be locked. at monday i can show, how i did this with other actions. i will test your plugin asap promise
Quote:
Originally Posted by micazoid View Post
Your Plugin is doing great in my DODS Server. But one upturn is in it. It doesnt write anything to logfiles, so I cant track this via gamemestats.

This does something equal but with certain events. Maybe you can throw out a word into the logs like "assist" so I can give my players the chance to earn daily awards by assisting?
I'll do it when I get time. (can't tell how long before I get back to work on it). Thanks for giving a plugin example; that will make things easier.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-12-2012 , 18:17   Re: [CS:S + DoD:S] Kill Assist (Updated 12-03-2012 v1.4)
Reply With Quote #23

Updated to 1.4.0
  • Added possibility to log to server logs the assists (can be used by stats tracking tools). See ConVar "kassist_log". Requested by micazoid (took me over9000 years ).
  • Added possibility for plugins' developpers to react to a kill assist. See the note below.

=)

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-07-2012 , 21:24   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #24

1.4.1 is out :
  • Added Dr!fter's "CS_SetMVPCount" method handling for the incoming SM update (should be slightly faster). If you are on an older version of SourceMod that does not support CS_SetMvpCount it will fall back to use the SDKHooks method.

I should also (someday) make it so this plugin handles client prefs; meaning every client can choose if they (and when they) want to see text about them assisting someone.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 06-17-2012 , 13:17   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #25

Finally I found Time to test the newest Version in dods.

I got this in the errorlogs

L 06/17/2012 - 19:11:47: Info (map "dod_kalt") (file "errors_20120617.log")
L 06/17/2012 - 19:11:47: [SM] Native "GetConVarInt" reported: Invalid convar handle 0 (error 4)
L 06/17/2012 - 19:11:47: [SM] Displaying call stack trace for plugin "killassist.smx":
L 06/17/2012 - 19:11:47: [SM] [0] Line 413, C:\Valve\RedSourceServer\css\cstrike\addons\s ourcemod\scripting\killassist.sp::GiveAssistP oints()
L 06/17/2012 - 19:11:47: [SM] [1] Line 261, C:\Valve\RedSourceServer\css\cstrike\addons\s ourcemod\scripting\killassist.sp::Event_Death ()
__________________
micazoid is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-17-2012 , 14:36   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #26

Quote:
Originally Posted by micazoid View Post
Finally I found Time to test the newest Version in dods.

I got this in the errorlogs

L 06/17/2012 - 19:11:47: Info (map "dod_kalt") (file "errors_20120617.log")
L 06/17/2012 - 19:11:47: [SM] Native "GetConVarInt" reported: Invalid convar handle 0 (error 4)
L 06/17/2012 - 19:11:47: [SM] Displaying call stack trace for plugin "killassist.smx":
L 06/17/2012 - 19:11:47: [SM] [0] Line 413, C:\Valve\RedSourceServer\css\cstrike\addons\s ourcemod\scripting\killassist.sp::GiveAssistP oints()
L 06/17/2012 - 19:11:47: [SM] [1] Line 261, C:\Valve\RedSourceServer\css\cstrike\addons\s ourcemod\scripting\killassist.sp::Event_Death ()
Fixed. Should now work under DoD:S. Thanks for reporting.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 06-17-2012 , 16:43   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #27

Quote:
Thanks for reporting.
No problem, You are welcome. Plugin works now.

One question:

What exactly does this plugin write into server log?

EDIT: Nevermind

FormatEx( logString, 256, "\"%N<%s>\" assisted on a kill", assisterId, steamId );
__________________

Last edited by micazoid; 06-17-2012 at 16:46.
micazoid is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-17-2012 , 16:48   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #28

Quote:
Originally Posted by micazoid View Post
No problem, You are welcome. Plugin works now.

One question:

What exactly does this plugin write into server log?

EDIT: Nevermind

FormatEx( logString, 256, "\"%N<%s>\" assisted on a kill", assisterId, steamId );
Yes, that's the line. That is the complete log if the log's ConVar == 1. That will print something like :

Quote:
Originally Posted by plugin
"micazoid<STEAM_0:1:2345678>" assisted on a kill
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 06-17-2012 at 16:49.
RedSword is offline
Tonka
Junior Member
Join Date: Feb 2010
Old 06-28-2012 , 08:04   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #29

Hey RedSword great work with this plugin, thanks for making it for DoDS too!

Sorry for the noob question, but when I click "Get Plugin" It says "Plugin failed to compile. Please contact the author". I'm not 100% sure what files I need from your list there, would it be possible to throw up an install guide for the noobs like me Again, sorry for the seemingly simple question. Thanks and awesome job on this plugin, I can see so many players liking this addition to servers!

Last edited by Tonka; 06-28-2012 at 08:06.
Tonka is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-28-2012 , 19:56   Re: [CS:S + DoD:S] Kill Assist
Reply With Quote #30

Quote:
Originally Posted by Tonka View Post
Hey RedSword great work with this plugin, thanks for making it for DoDS too!

Sorry for the noob question, but when I click "Get Plugin" It says "Plugin failed to compile. Please contact the author". I'm not 100% sure what files I need from your list there, would it be possible to throw up an install guide for the noobs like me Again, sorry for the seemingly simple question. Thanks and awesome job on this plugin, I can see so many players liking this addition to servers!
Quote:
Originally Posted by RedSword View Post
Notes :
  • Since 1.3.0, SDKHooks extension is required to compile.
  • [...]
  • killassist.inc isn't needed for the default compilation.
  • [...]
If you don't want to compile it locally, then you'll need to get the .smx already compiled, which is and was available in the first post.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 06-28-2012 at 19:57.
RedSword 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:09.


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