This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[Any?] Double Quote Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BReeZ
AlliedModders Donor
Join Date: Feb 2013
Location: Denmark
Plugin ID:
4805
Plugin Version:
18.0220.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides a temporary fix to the issue with double quotes in the TF2 and CS:GO chat box.
    Old 10-04-2016 , 08:03   Re: [Any?] Double Quote Fix
    Reply With Quote #1

    Quote:
    Originally Posted by ddhoward View Post
    It does not look nice in the chat. This plugin does not affect the modification of doublequotes as they appear in the chat messages. The benefits are summarized in the first paragraph of the first post, and relate to doublequotes being delimiters for command arguments. Please review the spoilered demonstration with the sm_rename command, also found in the first post.
    Ah i see . Cheers for the answer.
    BReeZ is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 10-05-2016 , 01:02   Re: [Any?] Double Quote Fix
    Reply With Quote #2

    Hmm, I see what you mean. The case is this:
    • A client is using the say command through the console
    • The say command itself triggers a registered command
    • The arguments for said command contain singlequote marks that might wrongly be processed by this plugin

    This is a pretty unlikely scenario, but in the event that someone actually does run into this problem, I'd recommend temporarily deactivating the feature of this plugin. (This can be done through the /settings menu.)

    Next version will include a check to see if the command arguments already contain any true doublequote marks (if it does, then don't modify anything) as well as hopefully preparing for the upcoming forced changes to Updater integration.
    __________________
    ddhoward is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 01-15-2018 , 19:43   Re: [Any?] Double Quote Fix
    Reply With Quote #3

    Updated to 18.0115.0. This update:
    • updates the version of my ddhoward_updater include used
    • changes the plugin's two main cvars with respect to what values do what
    • minor optimizations
    __________________
    ddhoward is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 02-21-2018 , 00:15   Re: [Any?] Double Quote Fix
    Reply With Quote #4

    I noticed that the smart change functionality stops at the first pair it finds. Is this intended?
    It doesn't do so well with things like sm_vote e.g.
    !vote "Test vote" "Test answer 1" "Test answer 2"
    FS : !vote 'Test vote' 'Test answer 1' 'Test answer 2'
    *Started vote: Test vote?
    1. 'Test
    2. answer
    3. 1'
    4. 'Test
    5. answer
    __________________
    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.
    FlaminSarge is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 02-21-2018 , 01:23   Re: [Any?] Double Quote Fix
    Reply With Quote #5

    Updated to version 18.0220.0. Fixes the above issue pointed out by FlaminSarge. Silly mistake on my part.
    __________________
    ddhoward is offline
    mdrxd100
    New Member
    Join Date: Nov 2018
    Old 01-22-2019 , 22:14   Re: [Any?] Double Quote Fix
    Reply With Quote #6

    Great plugin, fixes a problem that has been there forever.
    mdrxd100 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 00:24.


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