AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Quick Messages (https://forums.alliedmods.net/showthread.php?t=57178)

^BuGs^ 06-29-2007 22:24

Quick Messages
 
2 Attachment(s)
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

Rebell 06-30-2007 09:16

Re: Quick Messages
 
nice idea !

cya

yester64 07-01-2007 19:47

Re: Quick Messages
 
you know its like advert. kinda...
anyway. i get an error with quick message

L 07/01/2007 - 16:44:38: Info (map "fy_iceworld_lg") (file "errors_20070701.log")
L 07/01/2007 - 16:44:38: [SM] Fatal error encountered parsing translation file "plugin.quickmsg.txt"
L 07/01/2007 - 16:44:38: [SM] Error (line 0, column 0): Stream failed to open
L 07/01/2007 - 16:44:39: [SM] Plugin "quickmsg.smx" encountered error 4: Invalid parameter or parameter type
L 07/01/2007 - 16:44:39: [SM] Native "VFormat" reported: Language phrase "QM_CONSOLE_LOADING" not found
L 07/01/2007 - 16:44:39: [SM] Debug mode is not enabled for this plugin.
L 07/01/2007 - 16:44:39: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 12 on

ferret 07-01-2007 20:06

Re: Quick Messages
 
You did copy the .txt file into addons/sourcemod/translation, right?

yester64 07-01-2007 20:55

Re: Quick Messages
 
Quote:

Originally Posted by ferret (Post 497196)
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?

^BuGs^ 07-01-2007 21:03

Re: Quick Messages
 
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 07-03-2007 16:34

Re: Quick Messages
 
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^ (Post 497222)
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.


^BuGs^ 07-03-2007 16:41

Re: Quick Messages
 
Quote:

Originally Posted by yester64 (Post 498166)
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.

yester64 07-03-2007 18:02

Re: Quick Messages
 
// 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^ (Post 498175)
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.


^BuGs^ 07-03-2007 18:17

Re: Quick Messages
 
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.


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

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