Du brauchst eine WoW.exe die Lua Changes unlocked hat.
Anschließend musst du einen Patch für den Client erstellen, der die Alert URL ändert und natürlich einen Webserver, von dem die News gezogen werden.
Ich kopiere dir einfach mal den Tutorialtext von Modcraft:
Quote:
Because some guys ask, here is a little hint how to have your own server messages in the login screen.
You need a webserver on port 80 where you can put the message text file the client will load on every startup.
- Setup a new folder called alert on the root of your webserver.
- Put an index.htm or an index.php if you want to generate the news from a database there.
- Add the messages to this file in the following form.
Code: [Select]
<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 have to be careful. The WoW HTML renderer (CSimpleHTML) does not support many HTML commands. So test your output after every change.
- Add the file InterfaceGlueXMLGlueStrings.lua to your patch if not already done.
- Open it and search the string SERVER_ALERT_URL and set it to your server's URL.
- Now create your MPQ and start the client.
- Be aware that this file is not language neutral. Adding it to your patch will get the people using your patch the same language at glue screens as you have. You may want to have multiple patches like this for every language or do the edit in a language neutral file.
|
Anleitung wurde geschrieben von Steff.