Autobroadcast, name & color change. -- Tutorial

ExO

Admin
5,084
2014
1,442
This is a very simple and easy tutorial, and it's most likely made for the people who are new at emulation. I dont know how many 'new people (at emulation' there are here but there'll probably come more and more, so i thought this could be useful, and i wanted to contribute with something.

First of all make sure you have autobroadcast turned on.
Open worldserver.conf, and search for "autobroadcast" and you'll find something as this:

http://gyazo.com/8dc6f868146a4194d85be9af7b514570

Now you see this: AutoBroadcast.On = 0 (Turn it on to 1) like this:
AutoBroadcast.On = 1

You'll see AutoBroadcast.Timer = 60000 as well. It's time in seconds before your autobroadcast text should be shown. 60000 - (60 seconds)


Now open your database using HeidiSQL or whatever you use.
Open your world database.
Find autobroadcast table.
Add the text you want.
Example:
http://gyazo.com/0396b8036f86291681462d4ecb319f1d

You could use it for notifying the players about something, remember them to vote or whatever it could be.

Now it'll display like:
[Autobroadcast] "Please remember to vote"

But you want to change the [Autobroadcast] to your server name. No problems, what you will be doing is:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|c00077766NameHere|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';
Example:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|c00077766EmuCoach|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';

And now you'll be seeing the results:
http://gyazo.com/2921d1f619c14a8f506689411ffca36c

If you want to change the [EmuCoach] color, then look down here:
|cffffff00[|c00077766||CC0000EmuCoach|cffffff00]: |cFFF222FF%s|r (Original code)

Then do this:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|EditthistoyourcolourEmuCoach|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';

Example:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|cffff6060EmuCoach|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';


Now you might wonder how you can change the color of your text, basiclly you'll be going into autobroadcast database again, finding ID one for example, clicking on the text table, and infront of the text you wrote, you'll be adding the color code.

Example:
|cff00ccffPlease remember to vote for EmuCoach

Now the "Please remember to vote for EmuCoach" will be light blue.

Some color codes:

LIGHTRED |cffff6060
LIGHTBLUE |cff00ccff
TORQUISEBLUE |cff00C78C
SPRINGGREEN |cff00FF7F
GREENYELLOW |cffADFF2F
BLUE |cff0000ff
PURPLE |cffDA70D6
GREEN |cff00ff00
RED |cffff0000
GOLD |cffffcc00
GOLD2 |cffFFC125
GREY |cff888888
WHITE |cffffffff
SUBWHITE |cffbbbbbb
MAGENTA |cffff00ff
YELLOW |cffffff00
ORANGEY |cffFF4500
CHOCOLATE |cffCD661D
CYAN |cff00ffff
IVORY |cff8B8B83
LIGHTYELLOW |cffFFFFE0
SEXGREEN |cff71C671
SEXTEAL |cff388E8E
SEXPINK |cffC67171
SEXBLUE |cff00E5EE
SEXHOTPINK |cffFF6EB4

Credits for the color codes goes to "unknown"

IF you use another Emulator than trinity, lets say arkcore or arcemu check your table name, your table name ends with string, as arkcore it is arkcore_string, as arcemu it would be something as arcemu_string (double check it) & once you found out the table name, edit all the "trinity_string" to your string table name.
__________________________________________________ __________________________________________________ __________________________________________________ ______________
I hope this is useful, and if you find some typo mistake or something else, please let me know.
 

kaneit

Gold Supporter
Veteran Member
38
2014
0
Location
UK
i'm sorry if this is posted in the wrong place.

on my server i have autobroadcast table under auth. and the colums are Realmid, id, weight, text.
and am i looking in the correct place or has autobroadcast been misplaced?
 

ExO

Admin
5,084
2014
1,442
i'm sorry if this is posted in the wrong place.

on my server i have autobroadcast table under auth. and the colums are Realmid, id, weight, text.
and am i looking in the correct place or has autobroadcast been misplaced?

Yes you are looking at the right place, and it's totally fine.

TC has recently changed the location from world to auth, so yeah.
 
Top