PDA

View Full Version : Autobroadcast, name & color change. {Tutorial} [Info]



ExonatioN
19-07-13, 10:52 AM
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:


8dc6f868146a4194d85be9af7b514570.png (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:
0396b8036f86291681462d4ecb319f1d.png (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[|c00077766mmofuse|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';


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


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


Example:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|cffff6060mmofuse|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 mmofuse


Now the "Please remember to vote for mmofuse" 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
GREEN |cff71C671
TEAL |cff388E8E
PINK |cffC67171
BLUE |cff00E5EE
HOTPINK |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.

Apple
19-07-13, 01:02 PM
nice guide +rep