pan 87 Posted December 25, 2013 File Name: Broadcast Alarm File Submitter: pan File Submitted: 25 Dec 2013 File Category: Plugins @balarm <color> <type> <file name> <message> Type 0 - Global message 1 - Local message File name It's a file that is inside your grfwavfile.wav WARNING! If nonexistent file is put all hexeds that receive this broadcast will crash! Color Uses the same configuration as '@kamic' Source-code: http://pastebin.com/TFS0GCDs v1.0 http://pastebin.com/idsFvmhJ v1.1 For more information see: http://herc.ws/board/topic/3525-broadcast-with-sound-alarm/ Click here to download this file Quote Share this post Link to post Share on other sites
安赫尔 9 Posted December 26, 2013 Nice release. I test it, It only can balarm one color. Type 0. It's all black font when use other type, just like 1~9 or 00ff00. Quote Share this post Link to post Share on other sites
pan 87 Posted December 26, 2013 As far as I'm aware of it's working exactly the same way that @kamic is working, I don't know all colors but if you use 90 for instance it's dark blue Quote Share this post Link to post Share on other sites
安赫尔 9 Posted December 27, 2013 (edited) like this, use color type 1~N, is all black. Use RGB like 00ff99, Tip skill errors. And another question. How to send long message with space in it. Edited December 27, 2013 by rosfus Quote Share this post Link to post Share on other sites
pan 87 Posted December 28, 2013 I've just updated the command, I forgot to add support to spaces in messages... http://pastebin.com/idsFvmhJ Try using @kamic and see if @balarm colors are working alike, I've just checked in my hexed and they're working. Quote Share this post Link to post Share on other sites
安赫尔 9 Posted January 2, 2014 It's now can use the long messages. Nice job! I think you can make it to a script command. It will be more useful. Thanks for share. Happy new year! Quote Share this post Link to post Share on other sites
PunkBuster 5 Posted May 5, 2014 @kami <message> @kamib <message> @kamic <color> <message> @lkami <message> Announces a message without a name prefix. @kami will broadcast in yellow text. @kamib will broadcast in blue text. @kamic will broadcast in the specified color (a hexadecimal value). @lkami will broadcast on the attached character's current map. Example: @kamic FF0000 This message is in red. On my server(running a 6 month outdated Hercules), kamic works fine. When I tried balarm on my test server with a fresh install, I tried to use FF0000 as a color, and it wouldn't work. Surprisingly, when I tried to do kamic, it also didn't work. Has the color system for broadcast colors changed? The doc file gives that exemple and it doesn't work. Quote Share this post Link to post Share on other sites
iZeal 5 Posted June 14, 2014 1>------ Build started: Project: balarm, Configuration: Debug Win32 ------ 1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory. 1> balarm.c 1>c:usersasusdesktopherculessrcpluginsbalarm.c(31): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:program files (x86)microsoft visual studio 10.0vcincludestdio.h(325) : see declaration of 'sscanf' 1>c:usersasusdesktopherculessrcpluginsbalarm.c(44): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:program files (x86)microsoft visual studio 10.0vcincludestring.h(110) : see declaration of 'strcat' 1> Creating library ..pluginsbalarm.lib and object ..pluginsbalarm.exp 1>LINK : fatal error LNK1561: entry point must be defined ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I get error when I try to Compile it Quote Share this post Link to post Share on other sites
iZeal 5 Posted July 20, 2014 not working on current git version Quote Share this post Link to post Share on other sites
Namine 8 Posted April 23, 2015 Me compile fine, but show this error in emulator [Warning]: HPM:plugin_load: failed to retrieve 'HPMDataCheckLen' for 'plugins/pl ugin-balarm.dll', most likely not including HPMDataCheck.h, skipping... how fix this? Quote Share this post Link to post Share on other sites