Forum > Serverside Modding
Custom Alertbox Text
(1/1)
Shruik:
Hello everybody, well i tried to fullfill this tutorial: viewtopic.php?f=61&t=778 and i got stuck at a point... first i had to add the alertbox because in my version of the "cracked" wow.exe it was disabled but it works now BUT the box is empty... You can check out my loginscreen here. I exactly followed steffs tutorial but the message doesn´t show up. For those who want to see the .html file as well go to this page. Thanks for reading Shruik
Steff:
You should read tuts carefully.
Your html
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> </head> <body> <p> Breaking News
Wildchild hört auf
Alexi "Wildchild" Laiho schwört dem Alkohol ab! </p> <p> So nebenbei:
Das Message System geht
und klein Shruik freut sich wie der Schneekönig. </p> </body> </html>
Right form ( the SERVERALERT: is not obsolet!!! )
SERVERALERT: <html><body> <p>TEST1 Message number 1 Message number 1 Line2
</p> <p>TEST2 Message number 2 Message number 2 Line2
</p> </body></html>
Also the alert box is full included in XML/LUA so the change of the wow.exe dont kill it. If you have set a wrong path to the alert page or you have sthe wrong form it will just not show.
Try my altert page to see if your client works.
http://chaoticunited.com/maruum/news/
Shruik:
Don´t worry i tested it with your usual .html code but as it didn´t work i wondered if i used any wrong html tags and asked someone who is into html to "improve" this file :roll: However: It doesn´t work with your page either... For testing purposes i even changed both, SERVER_ALERT_BETA_URL = "http://chaoticunited.com/maruum/news/"; and SERVER_ALERT_URL = "http://chaoticunited.com/maruum/news/"; to your url and nothing happened... Gonna watch over it tomorrow again - now i´m going to sleep ;) Thanks for your help
Steff:
And have you only the modified glueStrings.lua in your patches? I tested it and my url works fine.
Just for testing delete ALL custom patches. Create one patch that only contains the
InterfaceGlueXMLGlueStrings.lua
with modded settings for
SERVER_ALERT_URL = "http://chaoticunited.com/maruum/news/";
and start client. You should also put all changes on intreface in a local patch like patch-deDE-4.MPQ or patch-enGB-4.MPQ depending on your clients local. WHY? The local patches get loaded and some interface and DBC files are in there. So if you try to mod a file and pack it direct in a data folder patch you will have no changes.
Also dont IMPROOF the html structure. The client only supports the tags i used. I tested some time around with this ;) Just use my template and only add new lines.
Navigation
[0] Message Index
|