AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011 (https://forums.alliedmods.net/showthread.php?t=75480)

Lebson506th 08-06-2008 10:23

Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
 
6 Attachment(s)
Spray Tracer by Nican
Re-released and updated with permission by Lebson506th

Description:
This is a handy plugin for server admins to manipulate player sprays in a couple different ways.

1) Trace a player's spray on any surface
  • The plugin marks which spray is being looked at by a red glow and then displays a menu to deal out punishments.
2) Remove a player's spray from any surface [Not available in No Menu version]
  • The plugin removes the spray that is being looked at and displays a menu to deal out punishments
3) Spray any player's spray logo on command [Not available in No Menu version]
  • Sprays the selected user's spray where the admin is looking.
The punishments including a text warning, a warning and a slap, a warning and burning the player, a warning and slaying the player, kick, temporary ban, or permanent ban.

Versions

1) Full Version
  • Contains all features all in one plugin.
2) No Menu Version
  • Uses the hint/HUD automatic display spray tracing rather than a menu
  • No punishments
  • No admin commands
3) Basic Version
  • Menu only
  • No hint/HUD automatic display
  • All admin commands
  • Only warn/kick/ban/p. ban punishments
  • Stripped away many of the CVars to make it really simple to use

CVars (Full Version)
Code:

sm_spray_dista (default: 50.0) - maximum distance the plugin will trace the spray

sm_spray_refresh (default: 1.0) - How often sprays will be traced to show on HUD - 0.0 to disable feature

sm_spray_bantime (default: 60) - How long the temporary ban is for - 0 to disable temporary banning

sm_spray_burntime (default: 10) - How long the burn punishment is for. 0 to disable.

sm_spray_slapdamage (default: 5) - How much damage the slap punishment is for. 0 to disable.

sm_spray_drugtime (default: 0) - set the time a sprayer is drugged as a punishment. 0 to disable.

sm_spray_adminonly (default: 0) - Changes showing the trace messages on HUD. 0 - Only admin can trace sprays 1 - All players can trace all sprays 2 - All players can trace all non-admin sprays.

sm_spray_fullhud (default: 0) - Toggles showing sprayer's name and Steam ID(1) or just sprayer's name(0) on the HUD to non-admins

sm_spray_fullhudadmin (default: 1) - Toggles showing sprayer's name and Steam ID(1) or just sprayer's name(0) on the HUD to admins

sm_spray_enableslay (default: 0) - Enables (1) or disables (0) the use of Slay as a punishment.

sm_spray_enablepban (default: 1) - Enables (1) or disables (0) the use of a Permanent Ban as a punishment.

sm_spray_enablekick (default: 1) - Enables (1) or disables (0) the use of Kick as a punishment.

sm_spray_enablebeacon (default: 0) - Enables putting a beacon on the sprayer as a punishment.

sm_spray_enablefreeze (default: 0) - Enables the use of Freeze as a punishment.

sm_spray_enablefreezebomb (default: 0) - Enables the use of Freeze Bomb as a punishment.

sm_spray_enablefirebomb (default: 0) - Enables the use of Fire Bomb as a punishment.

sm_spray_enabletimebomb (default: 0) - Enables the use of Time Bomb as a punishment.

sm_spray_restrict (default: 0) - Enables (1) or disables (0) restricting admins with the "ban" flag's punishments. (1 = warn only, 0 = all)

sm_spray_autoremove (default: 0) - Enables automatically removing sprays when a punishment is dealt.

sm_spray_useimmunity (default: 1) - Enables or disables using admin immunity to determine if one admin can punish another.

sm_spray_global (default: 1) - Enables or disables global spray tracking. If this is on, sprays can still be tracked when a player leaves the server.

sm_spray_usehud (default: 1) - Enables or disables using the HUD for spray tracking. Works on supported games. If this is off, hint will be used.

sm_spray_hudtime (default: 1.0) - How long the HUD messages are displayed.


CVars
(No Menu Version)
Code:

sm_spraynomenu_dista (default: 50.0) - maximum distance the plugin will trace the spray

sm_spraynomenu_refresh (default: 1.0) - How often sprays will be traced to show on HUD - 0.0 to disable feature

sm_spraynomenu_adminonly (default: 0) - Changes showing the trace messages on HUD. 0 - Only admin can trace sprays 1 - All players can trace all sprays 2 - All players can trace all non-admin sprays.

sm_spraynomenu_fullhud (default: 0) - Toggles showing sprayer's name and Steam ID(1) or just sprayer's name(0) on the HUD to non-admins

sm_spraynomenu_fullhudadmin (default: 1) - Toggles showing sprayer's name and Steam ID(1) or just sprayer's name(0) on the HUD to admins

sm_spraynomenu_global (default: 1) - Enables or disables global spray tracking. If this is on, sprays can still be tracked when a player leaves the server.

sm_spraynomenu_usehud (default: 1) - Enables or disables using the HUD for spray tracking. Works on supported games. If this is off, hint will be used.

sm_spraynomenu_hudtime (default: 1.0) - How long the HUD messages are displayed.


CVars
(Basic Version)
Code:

sm_spraybasic_distance (default: 50.0) - maximum distance the plugin will trace the spray

sm_spraybasic_bantime (default: 60) - How long the temporary ban is for - 0 to disable temporary banning

sm_spraybasic_enablepban (default: 1) - Enables (1) or disables (0) the use of a Permanent Ban as a punishment.

sm_spraybasic_autoremove (default: 0) - Enables automatically removing sprays when a punishment is dealt.

sm_spraybasic_useimmunity (default: 1) - Enables or disables using admin immunity to determine if one admin can punish another.

sm_spraybasic_global (default: 1) - Enables or disables global spray tracking. If this is on, sprays can still be tracked when a player leaves the server.

Commands [Not available in No Menu version]
  • sm_spraytrace - Traces the spray in front of you and displays the punishment menu.
  • sm_removespray - Removes the spray in front of you and displays the punishment menu
  • sm_adminspray "name" - Sprays the player's spray in front of you
  • "Trace Spray", "Remove Spray", and "Admin Spray" are also added on to the Server Commands admin menu.
Installation Instructions
  1. Copy spraytrace*.smx to addons/sourcemod/plugins
  2. Copy spraytrace*.phrases.txt to addons/sourcemod/translations
  3. Using RCON, do "sm plugins load spraytrace*"
  4. Using RCON, do "sm plugins reload adminmenu"
* File names will differ depending on which version you use.

Special thanks to
  • steambob for helping Nican with something
  • Nican for making the plugin to begin with
  • Cpt.Moore for his code to create the punishment menu
  • berni for his code for the admin spray and spray remove
  • FredJed223 for suggesting the admin only HUD display
  • Procyon and DJ Tsunami for reporting the bug crippling the SourceBans and MySQL bans integration
  • DontWannaName for suggesting the different HUD information for admins and non-admins, and for letting me know that the HUD works with L4D.
  • Jérémie for French translations and fixing a bug in the translation file.
  • zerak for suggesting new punishments
  • Atreus for suggesting some additional CVARs, a fix in the translation file, and reporting the burn menu bug.
  • ColdFire for finishing the french translations. (I added stuff after the original translation by Jérémie)
  • PStar for translating the plugin into hungarian.
  • tftpapst for translation the plugin into german.
  • ericjuh for suggesting new punishments.
  • Ommand for pointing out that sm_spray_restrict did not work.
  • MaximReapage for suggesting immunity between admins and fixing a spelling mistake.
  • the0 for updating the French translations after version 5.5.
  • KhyrOO for updating the Hungarian translations after version 5.5.
  • OziOn for translatiing the plugin into danish.
  • Jamster for testing my 5.8Betas and giving me pictures of the hint and HUD in TF2.
  • Roachy for suggesting the HUD time display changing CVAR and giving me the hint picture for DoD:S.
  • baklanoid for translating the plugin into Russian.
  • FrozenHaxor for translating the plugin into Polish.
  • MaKTaiL for translating the plugin into Brazilian Portuguese.
  • jack_wade for translating the plugin into Spanish.
  • ltgenkd for letting me know that the plugin works with Insurgency and the latest 1.3.0 snapshot at the time (9/5/2009)
  • R3M* for letting me know that the plugin works with Insurgency with the latest 1.2.3 release, so the 1.3 snapshot is not needed (9/8/2009)
  • Vojtoun for reporting on my misuse of translations and testing my fix.
  • GoD-Tony for writing out the fix for the translation issue.
  • Jstn7477 for pointing out a missing translation I forgot.
  • lemoine0461 for pointing out a couple errors in the Basic version.
Current Languages
  • English
  • French
  • Hungarian
  • German
  • Danish
  • Russian
  • Polish
  • Brazilian Portuguese
  • Spanish
Screenshots

Integration with the admin menu
Traced Spray with the punishment menu and glow effect showing
Hint message in DoD:S showing traced spray
Hint message in TF2 showing traced spray
HUD message in TF2 showing traced spray
(HUD only works on TF2, HL2MP, Left4Dead, SourceForts, and Obsidian Conflict)

ToDo
  • DONEWait for Insurgency to support TempEnts.
  • Get it translated into different languages. (Feel free to post translations :))
Change log
Code:

6/12/2011 - v5.8b (Basic Version Only)
  • Fixed an error due to a malformed translation on kick.

  • Fixed punishments not working because of screwed up logic.

  • Fixed Admins getting a second chance to punish other admins that are supposed to be immune.


5/17/2011 - v5.8b (No-Menu Version Only)
  • Re-added the sm_spraynomenu_adminonly, sm_spraynomenu_fullhud, and sm_spraynomenu_fullhudadmin cvars


5/1/2011 - v5.8a
  • Fixed translations acting weirdly

  • Refactored the code

  • Added additional protection against various errors

  • Removed unused translations

  • Added No Menu and Basic versions of the plugin


4/12/2009 - v5.8
  • Minor code and comment changes.

  • Removed HUD support for DoD:S after testing revealed that it is not supported.

  • Added common language translations to fix a rare translation not found error.

  • Added CVAR "sm_spray_global" to enable/disable global spray tracing. If this is on, sprays can still be tracked when a player leaves the server.

  • Added CVAR "sm_spray_usehud" to enable/disable using the HUD to trace sprays. If this is disabled, or the game is not supported, the hint text will be used instead.

  • Added CVAR "sm_spray_hudtime" to change how long the HUD messages are displayed.

  • Added variable clearing to prevent the "ghost" effect on map change.

  • Added L4D HUD support.

  2/27/2009 - v5.7
  • Added new setting for sm_spray_adminonly. If this is set to 2, players can trace other player's sprays on the HUD, but cannot trace admin's sprays.

  • Fixed red glow precaching twice.

  • Changed the code to clean it up a little bit.

  • Changed code to use MaxClients that was introduced in 1.1.

11/29/2008 - v5.6a
  • Reverted my "fix" for L4D. HUD still works on L4D though.

  • Changed banning to ban via the admin who is punishing rather than by the server. (This creates more accurate logs and has the correct user for bans via SourceBnas)

11/27/2008 - v5.6
  • Added HUD support for Left4Dead.

  • Fixed a small bug where part of the spray location wasn't being reset on map change.

  • Fixed spray locations not being reset after a spray was removed.

11/10/2008 - v5.5a
  • Fixed a very small bug that caused error messages in rare situations.

10/26/2008 - v5.5
  • Changed version CVAR to not be added to the auto-created config.

  • Changed SourceBans method to not use the include file, meaning the forum can now compile this plugin again.

  • Added the ability for admins with greater immunity to not be punished by lesser admins.

  • Added sm_spray_useimmunity to control this new behavior.

  • Moved around some code to reduce redundancy.

***For this version, the .cfg file needs to be deleted and recreated and the translation file also needs to be updated. (Need to update the translations as well)***


9/8/2008 - v5.4a
  • Fixed sm_spray_restrict not working.

  • Removed "sm_spray_enableburn". Setting sm_spray_burntime to 0 will disable this punishment now.

9/8/2008 - v5.4
  • Changed plugin to auto generate a config file in cfg/sourcemod

  • Added the option to automatically remove a spray when a punishment is dealt using sm_spray_autoremove

  • Added freeze, firebomb, freezebomb, timebomb, beacon, and drug as punishments.

  • Added CVARs to control these new punishments.

  • Removed "sm_spray_enableslap". Setting sm_spray_slapdamage to 0 will disable this punishment now.

  • Changed translations to reflect the new punishments.

8/29/2008 - v5.3e
  • Added sm_spray_restrict to restrict which commands an admin can use. (If admin has the "ban" flag, they can use all commands. Otherwise it is just the "warn")

8/21/2008 - v5.3d
  • Fixed burn not working (update translation and .smx)

8/21/2008 - v5.3c
  • Fixed a bug that would cause the punishment menu to not work when burn was enabled.

8/21/2008 - v5.3b
  • Fixed two redundant translations.

  • Added CVARs to enable or disable permanent bans and kicks.

  • Added a CVAR that toggles showing sprayer's name and Steam ID or just sprayer's name on the HUD to admins

8/20/2008 - v5.3a
  • Fixed a bug where the client = 0.

  • Fixed a bug where i forgot to change something for the new logging.

  • Changed some translations to show admin name for logging purposes.

8/19/2008 - v5.3
  • Added a CVAR to enable or disable the slap punishment.

  • Added burn and slay to the list of punishments and added CVARs to enable or disable them.

  • Added a CVAR to change how long the sprayer is burnt for.

  • Added a CVAR to change how much damage the slap causes.

  • Updated logging to log the admin's name.

  • Updated translations for new features.

8/19/2008 - v5.2b
  • Added HUD support for Obsidian Conflict

8/10/2008 - v5.2a
  • Fixed a rare bug where the client was not connected.

8/9/2008 - v5.2
  • Added sm_spray_fullhud cvar. Toggles showing sprayer's name and Steam ID(1) or just sprayer's name(0) on the HUD to non-admins

  • Change SourceBans integration to use it's Native function. Thanks to the suggestion from Pyrocon.

  • Fixed a bug where client wasn't being kicked after being banned.

  • Fixed a bug where the sm_spray_bantime cvar wasn't doing anything.

  • Because of the better SourceBans integration, the web and forum compilers can no longer be used.

8/8/2008 - v5.1c
  • Fixed bug with MySQL Bans and SourceBans thanks to Procyon and DJ Tsunami (Really this time).

  • Fixed bug where the client would not be banned correctly because they had already been kicked.

8/8/2008 - v5.1b
  • Fixed bug with MySQL Bans and SourceBans thanks to Procyon and DJ Tsunami

8/7/2008 - v5.1a
  • Fixed a bug when the client was not connected

  • Made the menu of names re-display after an admin spray has been performed.

  • Added sm_spray_adminonly that toggles showing the trace messages to admins only (1) or all players (0).

8/7/2008 - v5.1
  • Added sm_adminspray command. Sprays any player's spray in front of you.

  • Modified translations a bit, adding new ones for the new command.

  • Added new command to the menu including a player list.

8/7/2008 - v5.0
  • Re-added glow effect to show which spray is being traced.

  • Added "Couldn't Kick" translation for when a player leaves before they can be kicked.

  • Removed unused translations.

  • Fixed some potential bugs when the sprayer leaves before his punishment can be dealt.

  • Changed logging to show amount of a time a player is banned for.

  • Added "sm_removespray" command that removes the spray in front of you. Thanks to berni for the actual remove spray code.

  • Added translations for the new command.

  • Added new command to the admin menu.

  • Changed the admin menu to show to admins that have the Ban flag instead of the slay flag. (Console commands were already set to ban)

8/3/2008 - v4.9a
  • Changed logging to show which kind of ban it is.

8/3/2008 - v4.9
  • Reorganized things in to a more efficient way of managing the menu.

  • Added sm_spray_bantime that allows admins to change the length of the temporary ban. 0 disables temporary banning.

  • Changed some translations that were supposed to show the player's name but did. They now show the player's name and their Steam ID.

  • Added MySQL Bans integration

  • Added logging information that will hopefully help to fix the SourceBans integration.

8/2/2008 - v4.8
  • Added [Spray Trace] tag to displayed messages to show where the messages are coming from.

  • Re-did translations in a better way using a lot less variables.

8/1/2008 - v4.7
  • Fixed SourceBans support. (failed)

  • Added header comment and changelog to source file.

7/31/2008 - v4.6
  • Fixed missing translation for ban reason.

  • Fixed error in translation usage for "Couldn't find player: whatever".

  • (Hopefully) Implemented SourceBans support. (failed)

7/30/2008 - v4.5
  • Fixed client-side crashing issue by removing beam effects.

  • Removed all variables and functions dependant on beam effects including Locate Sprays which caused major crashes.

  • Added more missing translations.

7/30/2008 - v4.3
  • Added missing translations.

  • Attempted to fix client-side errors (failed).

7/30/2008 - v4.2
  • Added translations for many phrases.

7/21/2008 - v4.1 - First fix by Lebson506th, all previous by Nican
  • Combined Nican's v3.1 Spray Tracer with Cpt.Moore's modifcations.

3/8/2008 - v3.1 by Nican
  • Added HUD showing.

  • Added to Admin Menu.

  • Fixed not tracking on floor.

11/9/2007 - v2.1 by Nican
  • Fixed error of the tracer only tracing the player it self.

8/29/2007 - v1.1 by Nican
  • Removed need for Hacks ext.

  • Fixed player view tracing.

8/29/2007 - v1.0 by Nican
  • Initial release.



Nican 08-06-2008 11:20

Re: Spray Tracer
 
Hello,

Could you delete my post, Lebson506th is now taking over this plugin.

Notes:
-HUD also works on DOD:S
-And you could please say that I made the original plugin ^^


Well, thank you for keeping the plugin up to date.

Lebson506th 08-06-2008 13:03

Re: Spray Tracer
 
The comments in the source and the main title up there and in the change log it says you are the original author, so that's taken care of.

I also put that the hud works on DoD:S under the screen shots up there too.



You're welcome, and thank you for creating the plugin in the first place =)

DJ Tsunami 08-06-2008 13:03

Re: Spray Tracer
 
Isn't the title obvious? Spray Tracer by Nican, re-released and updated with permission by Lebson506th :)

Edit: F5 ftw.

Lebson506th 08-06-2008 13:05

Re: Spray Tracer
 
=)

monkman 08-06-2008 23:32

Re: Spray Tracer
 
not showing up in my admin menu in dod:s. i have the latest version of sm snapshot 1.1.

Atreus 08-07-2008 06:16

Re: Spray Tracer
 
Is there any way to have a "remove spray" function?

monkman 08-07-2008 07:28

Re: Spray Tracer
 
nevermind it is showing up. i restarted the server once after installation nothing. i just happen to restart it again for something else and it is there now. cool.

Lebson506th 08-07-2008 07:47

Re: Spray Tracer
 
Quote:

Originally Posted by Atreus (Post 665822)
Is there any way to have a "remove spray" function?


There was a snippet posted about "moving" a spray as it isn't really removeable. I'll take a look at is and see what i can do.


@Monkman, good to hear that it's working =)

Lebson506th 08-07-2008 09:11

Re: Spray Tracer
 
8/7/2008 - v5.0
  • Re-added glow effect to show which spray is being traced.
  • Added "Couldn't Kick" translation for when a player leaves before they can be kicked.
  • Removed unused translations.
  • Fixed some potential bugs when the sprayer leaves before his punishment can be dealt.
  • Changed logging to show amount of a time a player is banned for.
  • Added "sm_removespray" command that removes the spray in front of you. Thanks to berni for the actual remove spray code.
  • Added translations for the new command.
  • Added new command to the admin menu.
  • Changed the admin menu to show to admins that have the Ban flag instead of the slay flag. (Console commands were already set to ban)
I need some help from you guys for 3 things

1) I need someone to test it to work with SourceBans and/or MySQL bans.
2) I need someone to please test it to work on Insurgency Mod (may require you to be closer to it than other mods. Play with the sm_spray_dista cvar)
3) I need other language translations.

Electric Warrior 08-07-2008 11:49

Re: Spray Tracer updated 8/7/2008
 
I run 6 HL2DM servers with SM and SourceBans

With version 5.0 of Spraytrace installed, there is no option to Trace Spray.

Remove Spray is showing in the menu and I can remove a spray OK. It then goes to the punishment menu.

If I try to ban a player it will kick them from the server, but they can rejoin immediately and nothing is shown in SourceBans.

I checked the SM logs and there is nothing logged with any mention of Spray Tracer.

I hope someone else who is using SourceBans can try this to confirm the results I'm getting, in case this is something peculiar to my server set up.

bl4nk 08-07-2008 12:04

Re: Spray Tracer updated 8/7/2008
 
To trace the spray you just look at it.

Lebson506th 08-07-2008 12:15

Re: Spray Tracer updated 8/7/2008
 
That traces it without the punishment menu.

Electric warrior, i've been using this thing all morning adding a new feature so i dont know why its not working for you...

Sometimes you need to restart the server.

As for the sourcebans, in the logs is it saying "[Spray Trace] Player banned with SourceBans"?

Lebson506th 08-07-2008 13:00

Re: Spray Tracer updated 8/7/2008
 
8/7/2008 - v5.1
  • Added sm_adminspray command. Sprays any player's spray in front of you.
  • Modified translations a bit, adding new ones for the new command.
  • Added new command to the menu including a player list.

Electric Warrior 08-07-2008 13:02

Re: Spray Tracer updated 8/7/2008
 
Quote:

Originally Posted by Lebson506th (Post 665958)
That traces it without the punishment menu.

Electric warrior, i've been using this thing all morning adding a new feature so i dont know why its not working for you...

Sometimes you need to restart the server.

As for the sourcebans, in the logs is it saying "[Spray Trace] Player banned with SourceBans"?

I always do a cold reboot of the server machine and restart the actual servers after installing or upgrading any plugins as a matter of course.

I have thoroughly searched the normal Source mod logs and ther is no mention of Spray Trace nor is ther anything in th SourceBans logs.

I have individual admin logs too, using Admin loggin version 1.0 by vIr-Dan, and this was in the log specific to myself where I did a trace on my spray, removed it, and banned myself (which I can do in SB) but the ban did not take effect, and I was able to rejoin immediately.

L 08/07/2008 - 16:37:28: [spraytrace.smx] [Spray Trace] Spray from [S-UK] Electric Warrior (STEAM_0:x:xxxxxx) has been removed.
L 08/07/2008 - 16:38:16: [spraytrace.smx] [Spray Trace] Spray from [S-UK] Electric Warrior (STEAM_0:x:xxxxxx) has been removed.
L 08/07/2008 - 16:38:20: [spraytrace.smx] [Spray Trace] Banned player [S-UK] Electric Warrior (STEAM_0:x:xxxxxx) for 60 minutes with SourceBans for a bad spray logo

I have SourceMod version 1.03

and these plugins:

01 "Admin File Reader" (1.0.3) by AlliedModders LLC
02 "Admin Help" (1.0.3) by AlliedModders LLC
03 "Admin Menu" (1.0.3) by AlliedModders LLC
04 "Admin Sounds" (1.0.1) by dalto
05 "Admin loggin" (1.0) by vIr-Dan
06 "Advertisements" (0.5.5) by Tsunami
07 "Anti-Flood" (1.0.3) by AlliedModders LLC
08 "Auto Name Changer" (3.0) by MoggieX
09 "Basic Chat" (1.0.3) by AlliedModders LLC
10 "Basic Comm Control" (1.0.3) by AlliedModders LLC
11 "Basic Commands" (1.0.3) by AlliedModders LLC
12 "Basic Info Triggers" (1.0.3) by AlliedModders LLC
13 "Basic Votes" (1.0.3) by AlliedModders LLC
14 "Benchmark blocker" (1.0.1) by pRED*
15 "Connect/Disconnect Announcer" (2.1) by Fredd
16 "Chat Filter" (0.2) by chundo
17 "Dissolve" (1.0.0.1) by L. Duke
18 "Fun Commands" (1.0.3) by AlliedModders LLC
19 "Fun Votes" (1.0.3) by AlliedModders LLC
20 "hl2mp infinite aux power" (1.0) by Berni
21 "High Ping Kicker" (2.8) by Liam
22 "Kigen's Anti-Cheat" (1.1.5) by Kigen
23 "ManiCompatSM" (1.0.0) by red! / HSFighter
24 "Name Changer" (1.3) by bl4nk
25 "Nextmap" (1.0.3) by AlliedModders LLC
26 "SlapSlay Commands" (1.0.3) by AlliedModders LLC
27 "RateChecker" (0.2) by pRED*
28 "Advanced Client Redirect" (1.0) by Olly/Tobi
29 "Reserved Slots" (1.0.3) by AlliedModders LLC
30 "Gas" (1.0.101) by <eVa>Dog
31 "SourceBans" (1.2.0) by SteamFriends Development Team
32 "Spray Tracer" (5.0) by Nican132, CptMoore, Lebson506th
33 "Get Team Num" (1.0) by Liam
34 "Fireworks" (0.6a) by V0gelz
35 <Failed> "Client Preferences" (1.1.0.2162) by AlliedModders LLC

Unrealomega 08-07-2008 13:57

Re: Spray Tracer 5.1 updated 8/7/2008
 
Works good, but I have noticed one problem: If someone's spray is not present anywhere on the server, and you try to admin spray, the server will crash.

DJ Tsunami 08-07-2008 14:03

Re: Spray Tracer 5.1 updated 8/7/2008
 
Please edit your post and put the public cvar (sm_spray_version) into the appropriate field. Anyway, approved it and unapproved Nican's plugin.

Lebson506th 08-07-2008 15:22

Re: Spray Tracer 5.1 updated 8/7/2008
 
Quote:

Originally Posted by DJ Tsunami (Post 665996)
Please edit your post and put the public cvar (sm_spray_version) into the appropriate field. Anyway, approved it and unapproved Nican's plugin.

I can't until Nican's unapproved thread removes the cvar from it because they are the same cvar.

If you could do that for me i'll add it to my header. If you can't, i can just change the cvar i guess.

Quote:

Originally Posted by Unrealomega
Works good, but I have noticed one problem: If someone's spray is not present anywhere on the server, and you try to admin spray, the server will crash.

Is there any error in the logs?

I've tried spraying every player on my server's spray and it never crashed for me. I'll do more testing.

@Electric Warrior, i have no idea what could be going on. I'm doing it the same way as a bunch of other plugins and they seem to be working fine...

Is anyone else having this problem with SourceBans and this plugin?

I'm attempting to put SB on my server so i can test it myself, but it might take a while.

Unrealomega 08-07-2008 15:48

Re: Spray Tracer 5.1 updated 8/7/2008
 
Code:


L 08/07/2008 - 10:59:27: [SM] Native "GetClientName" reported: Client 7 is not connected
L 08/07/2008 - 10:59:27: [SM] Debug mode is not enabled for "spraytrace.smx"
L 08/07/2008 - 10:59:27: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 22 on

This is the only error in there that related to the plugin. But I did it twice, and this comes up once. I don't think this is related.

Lebson506th 08-07-2008 15:57

Re: Spray Tracer 5.1 updated 8/7/2008
 
I can fix that for the next release.


As for the crashing, i just went back onto my DoD:S server and did some more testing.

Sprayed my own, tried to spray someone who i know doesn't have one, sprayed someone elses, sprayed someone elses who hadn't sprayed it on their own.... no problem.


Anyone else having issues?

DJ Tsunami 08-07-2008 16:08

Re: Spray Tracer 5.1 updated 8/7/2008
 
I can't change that anymore now it's unapproved. I'll have to ask someone else.

Unrealomega 08-07-2008 17:23

Re: Spray Tracer 5.1 updated 8/7/2008
 
Forgot to say it was on CSS. :P

FredJed223 08-07-2008 17:42

Re: Spray Tracer 5.1 updated 8/7/2008
 
Hi,

This seems to be showing the hud trace message to non-admins as well. Is this intended? and if so, can we have an option to show it to admins only.?

Thanks!

Lebson506th 08-07-2008 18:00

Re: Spray Tracer 5.1 updated 8/7/2008
 
Yea sure. I'll add a cvar for that in the next version.

Lebson506th 08-07-2008 18:32

Re: Spray Tracer 5.1 updated 8/7/2008
 
8/7/2008 - v5.1a
  • Fixed a bug when the client was not connected
  • Made the menu of names re-display after an admin spray has been performed.
  • Added sm_spray_adminonly that toggles showing the trace messages to admins only (1) or all players (0).

FredJed223 08-07-2008 18:57

Re: Spray Tracer 5.1 updated 8/7/2008
 
Quote:

Originally Posted by Lebson506th (Post 666139)
8/7/2008 - v5.1a
  • Fixed a bug when the client was not connected
  • Made the menu of names re-display after an admin spray has been performed.
  • Added sm_spray_adminonly that toggles showing the trace messages to admins only (1) or all players (0).


Awesome its working great!

Thanks!

DJ Tsunami 08-07-2008 18:58

Re: Spray Tracer 5.1a updated 8/7/2008
 
Alrighty, pRED removed that cvar from the other topic, so if you could try to add it again.

Lebson506th 08-07-2008 19:21

Re: Spray Tracer 5.1 updated 8/7/2008
 
Quote:

Originally Posted by FredJed223 (Post 666161)
Awesome its working great!

Thanks!

Good =)

@DJ

Quote:

vBulletin Message Specified Cvar name is taken.
=/

Caught off Guard 08-08-2008 03:19

Re: Spray Tracer 5.1a updated 8/7/2008
 
hi, great to see you have taken this plugin on. ive noticed you have insurgency support in your to do list. do you know when you will be able to fix this?

thanks in advance

CoG

wing_hk 08-08-2008 05:04

Re: Spray Tracer 5.1a updated 8/7/2008
 
Which folder should I copy "spraytrace.phrases.txt" to?

The plugin seems not work before I putting it into correct place...:cry:

Flyflo 08-08-2008 05:16

Re: Spray Tracer 5.1a updated 8/7/2008
 
"spraytrace.phrases.txt" goes into the /translation folder.

Lebson506th 08-08-2008 09:17

Re: Spray Tracer 5.1a updated 8/7/2008
 
Quote:

Originally Posted by Flyflo (Post 666349)
"spraytrace.phrases.txt" goes into the /translation folder.

That is correct.

Quote:

Originally Posted by Caught of Guard
hi, great to see you have taken this plugin on. ive noticed you have insurgency support in your to do list. do you know when you will be able to fix this?

thanks in advance

CoG

At the moment i'm not sure if it doesn't work.

I heard a report from one person that it doesn't, but then another person says it does but you have to get closer to it than normal.

I need a clear case. For people that run Insurgency, does it work, or not?

twig_masters 08-08-2008 11:46

Re: Spray Tracer 5.1a updated 8/7/2008
 
I will try it again tonight. When I tested it before, it didnt seem to work but maybe I was to far way? I wasnt more than maybe 6-8 feet from it.

Ill try it again close up and see what happens tonight when I get home from work. Ill get back to you when I have a verdict.

Lebson506th 08-08-2008 13:06

Re: Spray Tracer
 
Quote:

Originally Posted by Nican (Post 666524)
Nevermind...

=)

I was about to respond that it's been done, but i see you noticed that. :)


Quote:

Originally Posted by twig_masters (Post 666493)
I will try it again tonight. When I tested it before, it didnt seem to work but maybe I was to far way? I wasnt more than maybe 6-8 feet from it.

Ill try it again close up and see what happens tonight when I get home from work. Ill get back to you when I have a verdict.


Thanks for testing for me.

DerHelm 08-08-2008 13:37

Re: Spray Tracer 5.1a updated 8/7/2008
 
If I compile it

Code:

//// spraytrace.sp
// spraytrace.sp(173) : error 017: undefined symbol "CreateHudSynchronizer"
// spraytrace.sp(173) : warning 213: tag mismatch
// spraytrace.sp(234) : error 017: undefined symbol "SetHudTextParams"
// spraytrace.sp(237) : error 017: undefined symbol "ShowSyncHudText"
// spraytrace.sp(173) : warning 204: symbol is assigned a value that is never us
ed: "HudMessage"


Am I doing somthing wrong?

Lebson506th 08-08-2008 13:44

Re: Spray Tracer 5.1a updated 8/7/2008
 
Compiles fine for me using the web compiler, the forum compiler, and my own copy on my system.

What version of SourceMod do you use?
Do you update the Scripting folder when you update your copy of SM?

twig_masters 08-08-2008 14:00

Re: Spray Tracer 5.1a updated 8/7/2008
 
Well sorry to say I just tried the latest version and no luck with insurgency.

No matter how close I was it still said no spray where I was looking. I tried it from various distances and its still not working.

Sorry :cry:

Lebson506th 08-08-2008 14:19

Re: Spray Tracer 5.1a updated 8/7/2008
 
I don't know why that would be happening.

As far as i know it works in the same way. Have you ever tried any of the past versions of Nican's version?

DerHelm 08-08-2008 15:11

Re: Spray Tracer 5.1a updated 8/7/2008
 
You are correct sir, my compile dir got over writen when I installed sourcebans (think that was when)

Compiles with no problems and is workign great in game.

thank you so much for thsi update. the spray remover is a great idea, than the admin spray is just an awesome idea.

twig_masters 08-08-2008 16:34

Re: Spray Tracer 5.1a updated 8/7/2008
 
Quote:

Originally Posted by Lebson506th (Post 666555)
I don't know why that would be happening.

As far as i know it works in the same way. Have you ever tried any of the past versions of Nican's version?


Yes I think so....

When I was originally was trying to get this working in INS I went from version to version and didn't find one that worked. I am currently using beetles mod which has the spray trace included and working in INS. Like I said before though I would rather use source mod.

Maybe you could look at beetles mod and find the key to fixing your version? I know nothing about how these mods work, sorry I cant be more help.


All times are GMT -4. The time now is 21:28.

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