Raised This Month: $ Target: $400
 0% 

Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Plugin ID:
491
Plugin Version:
5.8a/b
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    19 
    Plugin Description:
    Traces player sprays on any surface
    Old 12-01-2013 , 15:41   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #1

    Quote:
    Originally Posted by St00ne View Post
    Hi,
    Did someone manage to fix the "sm_adminspray" making the server crash?
    I'm using a version in which this function is removed but I'd like to have it again...
    I am having the same issue as this person. The crash seems to be random as well, sometimes it works fine.
    __________________
    Chdata is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 12-02-2013 , 21:25   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #2

    Quote:
    Originally Posted by Chdata View Post
    I am having the same issue as this person. The crash seems to be random as well, sometimes it works fine.
    Reading is magic
    https://forums.alliedmods.net/showth...ay#post1947367

    I don't think write te cares, but if you want, get the classname of the ent, and check if it's "worldspawn" before spraying. Though, static props and crap like skybix will still return as that.
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.

    Last edited by friagram; 12-02-2013 at 21:27.
    friagram is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 12-04-2013 , 01:58   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #3

    Looking through tons of pages in multiple threads for various plugins you use is also magic, so thanks for linking that for me.
    __________________

    Last edited by Chdata; 12-04-2013 at 01:58.
    Chdata is offline
    HollowPoints
    New Member
    Join Date: Apr 2014
    Old 04-16-2014 , 16:49   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #4

    Not everyone on my server has full admin. What file do I need to change in order to get all admin to have permissions for spraytrace.
    HollowPoints is offline
    ThatOneGuy
    Veteran Member
    Join Date: Jul 2012
    Location: Oregon, USA
    Old 04-17-2014 , 01:11   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #5

    After seeing the post below, I threw the code from friagram into the source to compile for everyone.

    Spoiler


    I have not tested it, but for those that wanted it, here is his fix (attached)
    Attached Files
    File Type: sp Get Plugin or Get Source (spraytrace.sp - 362 views - 29.8 KB)
    ThatOneGuy is offline
    Donski
    Senior Member
    Join Date: Sep 2012
    Old 04-17-2014 , 02:22   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #6

    Already done here.
    Donski is offline
    ThatOneGuy
    Veteran Member
    Join Date: Jul 2012
    Location: Oregon, USA
    Old 04-17-2014 , 03:02   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #7

    Quote:
    Originally Posted by Donski View Post
    Already done here.
    That post says the admin menu doesnt work in his compile. Maybe it does in the one I compiled? If not, I'll fix it tomorrow. I simply put it together because I saw the posts before mine requesting it. I didnt even test it.
    ThatOneGuy is offline
    wtfaatp
    Senior Member
    Join Date: Jul 2010
    Old 04-22-2014 , 20:49   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #8

    Quote:
    Originally Posted by ThatOneGuy View Post
    That post says the admin menu doesnt work in his compile. Maybe it does in the one I compiled? If not, I'll fix it tomorrow. I simply put it together because I saw the posts before mine requesting it. I didnt even test it.
    Admin menu still not working
    __________________
    SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
    Server : NFOservers - Windows
    wtfaatp is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 05-07-2014 , 03:07   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #9

    So I did a few more changes to GoSpray() and a couple of changes to the Spray HUD timer.
    I don't know if the changes are better, worse, etc, nor am I sure if this even works (seems to work for me).
    Basically, try at your own risk.

    GoSpray() now ignores most objects and attempts to spray on the world rather than on arbitrary entities that can't "wear" sprays. Same goes for aiming at sprays; if the spray you're looking at is underneath an object (e.g. a cap point's model in TF2), then it'll actually find the spray instead of hidding the cap point and finding nothing.

    The spray HUD timer now displays HUD text only if the client's spray target changes, instead of once every <refreshtimecvar>. The linger time cvar still works, though. Kinda. I don't know if this is better.

    Also fixed the spray sound to actually play when using /adminspray (player/sprayer.wav). Plays from the location the spray is placed, not the player.

    By the way, I changed up the spray HUD cvars a bit. Removed sm_spray_adminonly, sm_spray_fullhud, sm_spray_fullhudadmin, and replaced with a set of admin overrides:
    spraytrace_hud_access - default flag none, clients with access to this will see sprayers' names when aiming at sprays
    spraytrace_hud_access_full - default flag 'b', clients with access to this will see STEAMIDs in addition to names
    spraytrace_hud_is_admin - default flag 'b', clients with access to this will be considered "admins" for the next override
    spraytrace_hud_can_trace_admins - default flag none, clients without access to this will be unable to see names on sprays for those considered "admins"

    Also requires a new translation file, so there's that.
    Also 5.8.1 because I don't even know anymore.
    Once again, at your own risk.

    EDIT: Redownload. I changed a somewhat arbitrary "1000.0" to a more reasonable "15.0".
    EDIT: Redownload again, fixed a bug that I didn't notice with the 15.0 thing.
    Attached Files
    File Type: txt spraytrace.phrases.txt (33.9 KB, 365 views)
    File Type: sp Get Plugin or Get Source (spraytrace.sp - 772 views - 43.4 KB)
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 05-07-2014 at 03:44.
    FlaminSarge is offline
    Rd1981
    Senior Member
    Join Date: Apr 2011
    Old 05-15-2014 , 20:45   Re: Spray Tracer v5.8b (Full v5.8a) updated 6/12/2011
    Reply With Quote #10

    L 05/15/2014 - 172:27: [SM] Native "AddTempEntHook" reported: TempEntity System unsupported or not available, file a bug report
    L 05/15/2014 - 172:27: [SM] Displaying call stack trace for plugin "spraytrace.smx":
    L 05/15/2014 - 172:27: [SM] [0] Line 341, /home/groups/alliedmodders/forums/files/3/9/5/3/8/85506.attach::OnPluginStart()
    Rd1981 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 12:31.


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