AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Eavesdropper (https://forums.alliedmods.net/showthread.php?t=165349)

javalia 08-22-2011 07:12

Eavesdropper
 
2 Attachment(s)
NOT WORKING ABANDON PLUGIN
<Eavesdropper>




Introdution

this plugin makes u able to Eavesdrop from aimed position.
to explain again, it makes u hear sounds like footstep, gunfire, taunt, ect that is on near yo aimed point.
it has option for Eavesdropper laser effect. u can turn it off if u dont like it.

cmds for plugin is below
+sm_eavesdropper
-sm_eavesdropper
these two cmds are for special key hold bind. it will let u able to active eavesdrop while pressing defined key.
bind like this : bind x +sm_eavesdropper

sm_eavesdroppertoggle
this is for normal use. press key for turn on, and press again to turn it off.

by the default option, this plugin will active eavesdrop when u zoomed with any weapon.


this plugin is in beta, it is not crashing but maybe cannot work or have problem.
feel free to use and plz tell me any bug.

for now, this plugin uses custom version of sdktools_sound.
i included inc file for updated native and included patch file for source code.
tell me if u need any cpp if u cannot work with patch files.
this forum blocks cpp file. k.

p.s.
a long time after, i made a experimental version of this plugin. it has no convar, no laserbeam, but just tried to make it work. it is not able to detect every sound, but it only detects footstep of players and some other useless sounds. i am uploading sourcecode of this experimental version because it maybe can help other guys whom r trying to do similar things.



Requirements

this plugin needs the things listed below to work:
  • SDKHooks



Installation

to install this plugin
  • put the smx file in the sourcemod/plugins folder
to compile this plugin manually
  • put all sp files in the sourcemod/scripting folder
  • put all inc files in the sourcemod/scripting/include folder
  • compile.



Configuration

to configurate this plugin to your likes
  • to use auto generated cfg file
    • run the plugin once, then the cfg will be generated in the cfg/sourcemod folder
    • take a look at the options and change them to your preferences
    • the options you choose in the cfg will be loaded on every map change
  • cvarlist for this version
Code:

// This file was auto-generated by SourceMod (v1.4.0-dev)
// ConVars for plugin "Eavesdropper.smx"


// Eavesdrop on zoom
// -
// Default: "1"
Eavesdropper_AutoOnZoom "1"

// make laser while Eavesdropping
// -
// Default: "1"
Eavesdropper_EnableLaser "1"

// make mark while Eavesdropping
// -
// Default: "1"
Eavesdropper_EnableMark "1"

// 0.0 is infinite, setting this higher than 1024 is bad for performance
// -
// Default: "240.0"
// Minimum: "0.000000"
Eavesdropper_HearingDistance "240.0"

// color of laser
// -
// Default: "0 255 0"
Eavesdropper_LaserColor "0 255 0"

// max is 10. if u set this to 0.0, it same as setting this as 1.0
// -
// Default: "1.0"
// Minimum: "0.000000"
// Maximum: "10.000000"
Eavesdropper_Sensitivity "1.0"

// min 0.0, max 1.0
// -
// Default: "1.0"
// Minimum: "0.000000"
// Maximum: "1.000000"
Eavesdropper_Smoothing "1.0"

if plugin has updated and it`s cfg file has changed, you should remove old one and regenerate cfg file



Known Bugs & Limits Of the Mod
  • auto zoom detect is not working...
  • env_microphone is retarded...
  • at this moment, u cannot hear voice of enemy hear aimed point. i can do this but i am not doing it cuz it is not point of work at this moment.



Special Thanks To

i want to say thanks to these guys
  • DJtsunami for made SDKHooks



Change Log

all the date`s format is y/m/d
Code:

update at 2011 8 27(ver 1.0.1.4)
  • changed way to hear sound.

update at 2011 8 23(ver 1.0.0.3)
  • fixed bug.

update at 2011 8 22(ver 1.0.0.1)
  • fixed bug.

update at 2011 8 22(ver 1.0.0.1)
  • released



Guren 08-22-2011 07:24

Re: Eavesdropper
 
cool

anyway, why don't you update the cool rocket?

javalia 08-22-2011 08:52

Re: Eavesdropper
 
plz dont use this plugin until i stablize it. it crashs.

Drixevel 08-22-2011 18:59

Re: Eavesdropper
 
This plugin makes no sense, what is it supposed to do?

SomeSortOfDuck 08-22-2011 19:02

Re: Eavesdropper
 
I agree with werewolf. What is this?

Eavesdropping = listening on conversations secretly. Does this let you hear the enemy team? What does aiming have to do with listening? What?

TnTSCS 08-22-2011 19:21

Re: Eavesdropper
 
does this activate the targeted players microphone and let you hear what's going on in their house?

Mitchell 08-22-2011 19:38

Re: Eavesdropper
 
Quote:

Originally Posted by TnTSCS (Post 1538797)
does this activate the targeted players microphone and let you hear what's going on in their house?

Most legit question ^

What this actually does is broad cast sounds to the client like gun fire, any type of sound back to the player within the distance of the point looking at.

SomeSortOfDuck 08-22-2011 20:25

Re: Eavesdropper
 
Quote:

Originally Posted by Mitchell (Post 1538816)
Most legit question ^

What this actually does is broad cast sounds to the client like gun fire, any type of sound back to the player within the distance of the point looking at.

So it basically plays a sound at a location?

javalia 08-23-2011 01:27

Re: Eavesdropper
 
stabilized. now plz test it and tell me how it goes.

rodregis 08-23-2011 05:19

Re: Eavesdropper
 
Quote:

Originally Posted by SomeSortOfDuck (Post 1538856)
So it basically plays a sound at a location?

That's your interpretation?

What I got was..

It plays the sounds you're pointing/aiming towards (with or without the laserpointer) at YOUR current location.

Sounds nifty!


All times are GMT -4. The time now is 13:07.

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