View Full Version : [TUTORIAL/SQL] How to change autobroadcast name

09-17-2013, 11:59 AM
Hey today I will show you how to change your autobroadcast name.

Basically what this does is to change something in your Trinity_String, so instead of it saying Autobroad cast it can say whatever you want. I will show you.

@Text := '|cffffff00[|c00077766Lucky-Gaming News|cffffff00]: |cFFF222FF%s|r';

UPDATE trinity_string SET content_default=@Text WHERE entry=11000 LIMIT 1;


So if I run this query in my world database, my Autoroadcast will say "Lucky-Gaming News". If you edit the text which is there already to for example "EmuDevs", it will say that instead. Like this.

@Text := '|cffffff00[|c00077766EmuDevs|cffffff00]: |cFFF222FF%s|r';

UPDATE trinity_string SET content_default=@Text WHERE entry=11000 LIMIT 1;

It will look the same with EmuDevs, as it does for Lucky.Gaming or Obivion WoW, or whatever your server name is.

Before you ask, yes this works for the latest TrinityCore revision.

Hope you like it! If you wonder about something just send me a PM.

Best Regards, Etox.

09-17-2013, 04:51 PM
Very nice, thanks for sharing!

10-26-2013, 11:39 AM
There is a problem with this query !

After using this SQL Query , my Auto broadcast system not working anymore ... It doesn't show any of my broadcasts !
BTW I checked world.config file and it is enabled !

Anyone know how to fix this issue ?

12-18-2013, 03:12 PM
Then your probably edited the query or something? :o Works perfect for me.

12-18-2013, 09:05 PM
The "code" given above have some weird characters which can be a problem. Anyway in query given i dont see the point of the definition of string variable which is used in next line (the update query). If you are going to use a variable only once in any kind of code, there is no point of declaring a variable for it.

02-06-2014, 03:07 AM
kewl :D nice info tnx :RpS_thumbsup:

03-06-2014, 05:16 PM
Thanks dude !