Monthly Target: $400 Donations: $131
 32% 

Quick Messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author
^BuGs^
Senior Member
Join Date: May 2007
Plugin ID:
52
Plugin Version:
1.0.4.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    This plugin allows you to set up to 255 messages to send to all players on the server with a GUI I/O
    Old 06-29-2007 , 23:24   Quick Messages
    Reply With Quote #1

    This plugin is a quick message script. Post all bug reports/ideas here and view current status here. Bug reports/ideas posted on the forums will not be taken. Use your forum user name and password to log in.

    REQUIREMENT:
    • Min: Sourcemod Version 1.0.0.1094
    USE:

    To access the GUI menu all you need is the "reservation" (a) flag. This plugin goes great with the Group/Clan Tag plugin.

    MESSAGES:

    Store all message in here. Up to 255! (0 - 254)
    • configs/quickmsg/plugin.quickmsg.cfg
    COMMANDS:
    • sm_quick
    You can do it in chat also:
    • !quick
    • /quick
    FILE STRUCTURE:
    • plugins/quickmsg.smx
    • scripting/
      • quickmsg.sp
      • quickmsg/ All Development Files
    • translations/plugin.quickmsg.txt
    CHANGELOG:
    • 1.0.4.0 (08/09/07)
      • Memory leak fix
    • 1.0.3.0 (07/15/07)
      • QuickMsg Varabile Changes (FS#636)
    • 1.0.2.0 (07/14/07)
      • Correctly fixed the loading process
    • 1.0.1.0 (07/11/07)
      • Change the config "values" because they were complicated with my Ads plugin
      • The menu now "shows" correctly. (FS#533)
    • 1.0.0.0 (06/30/07)
      • Public Release
    Attached Thumbnails
    Click image for larger version

Name:	quick_message_example.jpg
Views:	8259
Size:	25.9 KB
ID:	18391  
    Attached Files
    File Type: zip quickmsg_1.0.4.0.zip (16.2 KB, 1477 views)
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.

    Last edited by ^BuGs^; 10-09-2007 at 16:22. Reason: Updated to 1.0.4.0!
    ^BuGs^ is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 06-30-2007 , 10:16   Re: Quick Messages
    Reply With Quote #2

    nice idea !

    cya
    __________________
    Rebell is offline
    yester64
    Senior Member
    Join Date: May 2007
    Old 07-01-2007 , 20:47   Re: Quick Messages
    Reply With Quote #3

    you know its like advert. kinda...
    anyway. i get an error with quick message

    L 07/01/2007 - 16:448: Info (map "fy_iceworld_lg") (file "errors_20070701.log")
    L 07/01/2007 - 16:448: [SM] Fatal error encountered parsing translation file "plugin.quickmsg.txt"
    L 07/01/2007 - 16:448: [SM] Error (line 0, column 0): Stream failed to open
    L 07/01/2007 - 16:449: [SM] Plugin "quickmsg.smx" encountered error 4: Invalid parameter or parameter type
    L 07/01/2007 - 16:449: [SM] Native "VFormat" reported: Language phrase "QM_CONSOLE_LOADING" not found
    L 07/01/2007 - 16:449: [SM] Debug mode is not enabled for this plugin.
    L 07/01/2007 - 16:449: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 12 on
    __________________
    yester64 is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 07-01-2007 , 21:06   Re: Quick Messages
    Reply With Quote #4

    You did copy the .txt file into addons/sourcemod/translation, right?
    __________________
    I'm a blast from the past!

    -< www.gamehavoc.com >-
    ferret is offline
    yester64
    Senior Member
    Join Date: May 2007
    Old 07-01-2007 , 21:55   Re: Quick Messages
    Reply With Quote #5

    Quote:
    Originally Posted by ferret View Post
    You did copy the .txt file into addons/sourcemod/translation, right?
    there was not .txt file included. but it was working in the beginning. mmm...
    i checked the zip file, but no .txt file included. maybe missing?
    __________________
    yester64 is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 07-01-2007 , 22:03   Re: Quick Messages
    Reply With Quote #6

    Edit: Re-uploaded the zip with the txt file. You would only see that text if you were watching the console while the server changing maps.
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.

    Last edited by ^BuGs^; 07-01-2007 at 22:07.
    ^BuGs^ is offline
    yester64
    Senior Member
    Join Date: May 2007
    Old 07-03-2007 , 17:34   Re: Quick Messages
    Reply With Quote #7

    still gives an error. the '.txt' file is in translations.

    L 07/03/2007 - 12:24:25: [SM] Plugin "quickmsg.smx" encountered error 25: Call was aborted
    L 07/03/2007 - 12:24:25: [SM] Native "SetFailState" reported: [QM] FATAL *** ERROR *** Messages and Keys do not match.


    Quote:
    Originally Posted by ^BuGs^ View Post
    Edit: Re-uploaded the zip with the txt file. You would only see that text if you were watching the console while the server changing maps.
    __________________
    yester64 is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 07-03-2007 , 17:41   Re: Quick Messages
    Reply With Quote #8

    Quote:
    Originally Posted by yester64 View Post
    still gives an error. the '.txt' file is in translations.

    L 07/03/2007 - 12:24:25: [SM] Plugin "quickmsg.smx" encountered error 25: Call was aborted
    L 07/03/2007 - 12:24:25: [SM] Native "SetFailState" reported: [QM] FATAL *** ERROR *** Messages and Keys do not match.
    That's not a translation file. Your messages in the cfg file do not match. There needs to be the same number of keys and messages. Post your message .cfg file here.
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.
    ^BuGs^ is offline
    yester64
    Senior Member
    Join Date: May 2007
    Old 07-03-2007 , 19:02   Re: Quick Messages
    Reply With Quote #9

    // Quick Messages
    // Configuration File
    // By Shane A. ^BuGs^ Froebel

    "QuickMessages"
    {
    /** MAX 1024 Charecters in the message. This includes spaces!
    * MAX 255 Messages.
    * Each Key, Must have a Correspoding Message.
    * Otherwise it will fail.
    **/
    "Messages"
    {
    "0" "Watch your language please. Thank you."
    "1" "CT's -- Complete the Objective (Resuce Hostages)."
    "2" "CT's -- Complete the Objective (Resuce Hostages)."
    "3" "T's -- Complete the Objective (Bomb)."
    "4" "Please leave the spawn area or get kicked. Thank you."
    "5" "Please join a team or get kicked. Thank you."
    "6" "Please have all names appropriate or get kicked. Thank you."
    "7" "Visit our forum at www.div2rm.com"
    "8" "Psychostats at http://wscdiv.stats.nuclearfallout.net/"
    }
    "Key"
    {
    "0" "Language"
    "1" "CT Complete Obj (Hostages)"
    "2" "CT Complete Obj (Defuse)"
    "3" "T Complete Obj (Bomb)"
    "4" "Spawn"
    "5" "Spectators"
    "6" "Bad Name"
    "7" "DIV"
    "8" "Psychostats"
    }
    }


    Quote:
    Originally Posted by ^BuGs^ View Post
    That's not a translation file. Your messages in the cfg file do not match. There needs to be the same number of keys and messages. Post your message .cfg file here.
    __________________
    yester64 is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 07-03-2007 , 19:17   Re: Quick Messages
    Reply With Quote #10

    Ok. It's not a bug per say. iI's because of where I do the loading of the config file. I will fix that up later today and release it. Just post something on the issue list so it can remind me.
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.
    ^BuGs^ is offline
    Reply


    Thread Tools
    Display Modes

    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 08:08.


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