<html><body>SERVERALERT:<p>TEST1<br />Message number 1<br />Message number 1 Line2<br /><br /></p><p>TEST2<br />Message number 2<br />Message number 2 Line2<br /><br /></p></body></html>
You could also do this without an MPQ.You can simple add a entry in your hosts file that changes launcher.worldofwarcraft.com to your own webhost, which has a index.html/php file that has the above info. Works exactly the same way, except you do the redirection inside windows, and not inside the WoW GLUE files.
Both of you are correct, im just saying this as there is a non-mpq solution if someone searches that. It can be done by a custom launcher so users cant fuck it up. I never said it would be a better way of doing.
http://modcraft.io/viewtopic.php?f=59&t=883
SERVERALERT:TESTING<?php$myFile = "test.txt";$fh = fopen($myFile, 'w') or die("can't open file");fwrite($fh, "TESTING THIS");fclose($fh);/*"SERVERALERT:<html><body><p>TEST1<br />Message number 1<br />Message number 1 Line2<br /><br /></p><p>TEST2<br />Message number 2<br />Message number 2 Line2<br /><br /></p></body></html>*/?>
function AccountLogin_OnEvent(event, arg1, arg2, arg3) if ( event == "SHOW_SERVER_ALERT" ) then ServerAlertText:SetText(arg1); ServerAlertFrame:Show();
GlueLocalization.luaGlueStrings.lua