Jump to content

Admin's Custom Broadcast


missingxalone

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   3
  • Joined:  03/29/12
  • Last Seen:  

index.php?app=downloads&module=display&section=screenshot&id=2788

File Name: Admin's Custom Broadcast

File Submitter: missingxalone

File Submitted: 29 Jan 2013

File Category: Source Modifications

Content Author: missingxalone

That Mod adds a Custom Admin's Broadcast with a Custom Label:

The format to this command is: @adm <message>

For Example: If you write @adm Hello World, that's my Custom Command for rAthena.

The result is: [Admin] Name: Hello World, that's my Custom Command for rAthena.

If you want modify the broadcast's color you need change the hexadecimal color in that line for the color that you like it, in this case from Admin's Custom Label:

0x99CCFF

If you want modify the Label, you need to change the label intro [ ], in this case is Admin:

"[Admin] %s : %s", sd->status.name, message);

What's the New?

  • Added GM's Custom Broadcast
  • Added Super User's Custom Broadcast
  • Used revision 17132
  • Bug fixed

Click here to download this file

Edited by missingxalone
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Hi there, could you make one for Gms and super players as well? Seems great, i'll try it later when i get home. Thank you!!

nvm cant download :(

Edited by Fresh prince
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   3
  • Joined:  03/29/12
  • Last Seen:  

New Features:

 

Add:

  • Admin's Broadcast (@adm Message)
  • GM's Broadcast (@gms Message)
  • Super User's Broadcast (@super Message)

Link Updated.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

my suggestion, why don't make it with 1 command, @cb for custom broadcast.

the color depends on every pc_get_group_level that written on .conf file maybe?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

I can't download it. Is there something wrong with it? Or just me?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   3
  • Joined:  03/29/12
  • Last Seen:  

I think that an Admin has turned off my files, but you can download it on my sourceforge.
Whatever you want, tell me in this topic. I'll tell to the Admin that upload my files on rAthena coming soon, but I'll attach it on this post too.

my suggestion, why don't make it with 1 command, @cb for custom broadcast.

the color depends on every pc_get_group_level that written on .conf file maybe?

 

Nice suggestion, I'll try to do it coming soon and I'll refresh my links and files, thank you

my suggestion, why don't make it with 1 command, @cb for custom broadcast

 

 

I did the Command and the patch for to implement in your servers.
 
The commands is @sann (contraction of staff announced), but you can use 3 types of sintaxis (because was add in the atcommand_eathena.conf 2 labels).
 

The sintaxis is:

  • @sann
  • @astaff
  • @staff
 
What's new in versión 3.1?
 
And auto detect what group  belongs the GM and will add their label; all this using whatever you want in the sintaxis. So, if you'll use @sann, astaff or @staff the result will be the same.

broadcast.patch

Edited by missingxalone
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Works well with no problems. The only problem is, when you use @kami the @sann, say for Admins are Red text,

The display bottom is Red but the top broadcast turns yellow.

Edited by Fresh prince
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

please fix it for svn 17200 above

Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

is this working on hercules ?



not working on hercules

got this error

 

Error	33	error C2065: 'atcommand_sann' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	9848	1	map-server
Error	6	error C2065: 'fd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1013	1	map-server
Error	2	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1012	1	map-server
Error	3	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1012	1	map-server
Error	11	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1017	1	map-server
Error	16	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1021	1	map-server
Error	20	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1025	1	map-server
Error	24	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1029	1	map-server
Error	28	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1033	1	map-server
Error	32	error C2065: 'message' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1037	1	map-server
Error	1	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1009	1	map-server
Error	8	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1016	1	map-server
Error	9	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1017	1	map-server
Error	13	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1020	1	map-server
Error	14	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1021	1	map-server
Error	17	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1024	1	map-server
Error	18	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1025	1	map-server
Error	21	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1028	1	map-server
Error	22	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1029	1	map-server
Error	25	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1032	1	map-server
Error	26	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1033	1	map-server
Error	29	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1036	1	map-server
Error	30	error C2065: 'sd' : undeclared identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1037	1	map-server
Error	4	error C2100: illegal indirection	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1012	1	map-server
Error	10	error C2223: left of '->status' must point to struct/union	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1017	1	map-server
Error	15	error C2223: left of '->status' must point to struct/union	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1021	1	map-server
Error	19	error C2223: left of '->status' must point to struct/union	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1025	1	map-server
Error	23	error C2223: left of '->status' must point to struct/union	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1029	1	map-server
Error	27	error C2223: left of '->status' must point to struct/union	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1033	1	map-server
Error	31	error C2223: left of '->status' must point to struct/union	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1037	1	map-server
	35	IntelliSense: expected an identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\homunculus.h	99	8	map-server
	36	IntelliSense: expected an identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\mercenary.h	63	9	map-server
	37	IntelliSense: expected an identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\mercenary.h	73	8	map-server
	38	IntelliSense: expected an identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\elemental.h	71	9	map-server
	39	IntelliSense: expected an identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\elemental.h	84	8	map-server
	40	IntelliSense: expected an identifier	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\storage.h	37	8	map-server
	41	IntelliSense: explicit type is missing ('int' assumed)	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1007	1	map-server
	54	IntelliSense: identifier "atcommand_sann" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	9848	3	map-server
	45	IntelliSense: identifier "clif_displaymessage" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1013	4	map-server
	46	IntelliSense: identifier "fd" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1013	24	map-server
	48	IntelliSense: identifier "intif_broadcast2" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1018	3	map-server
	49	IntelliSense: identifier "intif_broadcast2" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1022	3	map-server
	50	IntelliSense: identifier "intif_broadcast2" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1026	3	map-server
	51	IntelliSense: identifier "intif_broadcast2" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1030	3	map-server
	52	IntelliSense: identifier "intif_broadcast2" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1034	3	map-server
	53	IntelliSense: identifier "intif_broadcast2" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1038	3	map-server
	44	IntelliSense: identifier "message" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1012	6	map-server
	47	IntelliSense: identifier "pc_get_group_level" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1016	20	map-server
	42	IntelliSense: identifier "sann" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1007	11	map-server
	43	IntelliSense: identifier "sd" is undefined	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1009	2	map-server
Warning	5	warning C4013: 'clif_displaymessage' undefined; assuming extern returning int	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1013	1	map-server
Warning	12	warning C4013: 'intif_broadcast2' undefined; assuming extern returning int	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1018	1	map-server
Warning	7	warning C4013: 'pc_get_group_level' undefined; assuming extern returning int	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	1016	1	map-server
Warning	34	warning C4047: 'initializing' : 'AtCommandFunc' differs in levels of indirection from 'int'	e:\1.ragnarok\hercules\hercules.git\trunk\src\map\atcommand.c	9848	1	map-server

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...