PDA

View Full Version : TrinityCore 5.x.x how to edit terms of use text on client



Djundead
07-09-2016, 09:42 PM
how can i edit the terms of use text on wow 3.3.5A , 12340 client, which MPQ will it be in?

Vitrex
07-09-2016, 10:20 PM
have you checked , Data/local-enUS.mpq -> GlueXML folder? with mpq editor?

Djundead
07-09-2016, 10:27 PM
no but i will check now! thanks

Vitrex
07-09-2016, 10:32 PM
Most of client data stored there. such as character class / race information on creation screen, so it should be there imo

Djundead
07-09-2016, 10:41 PM
i just searched through all and dont see anything refereing to TOS

Vitrex
07-09-2016, 10:53 PM
why won't you simply add your TOS on account register? nobody reads them anyways :D

Djundead
07-10-2016, 03:15 AM
i was just wondering were it was stored is all

Kaev
07-10-2016, 08:23 AM
Check AccountLogin.Lua, in it should be a SERVER_RULES variable with the terms of use text.

Djundead
07-10-2016, 10:52 PM
ok ill look into it thanks

Djundead
07-11-2016, 07:55 PM
OSFrame.noticeType = "EULA";
TOSFrameTitle:SetText(EULA_FRAME_TITLE);
TOSFrameHeader:SetWidth(TOSFrameTitle:GetWidth());
EULAScrollFrame:Show();
EULAText:Show();
TOSFrame:Show();
elseif ( not TOSAccepted() ) then
if ( ShowTOSNotice() ) then
TOSNotice:SetText(TOS_NOTICE);
TOSNotice:Show();
end
AccountLoginUI:Hide();
TOSFrame.noticeType = "TOS";
TOSFrameTitle:SetText(TOS_FRAME_TITLE);
TOSFrameHeader:SetWidth(TOSFrameTitle:GetWidth());
TOSScrollFrame:Show();
TOSText:Show();
TOSFrame:Show();
elseif ( not TerminationWithoutNoticeAccepted() and SHOW_TERMINATION_WITHOUT_NOTICE_AGREEMENT ) then
if ( ShowTerminationWithoutNoticeNotice() ) then
TOSNotice:SetText(TERMINATION_WITHOUT_NOTICE_NOTIC E);
TOSNotice:Show();
end
AccountLoginUI:Hide();
TOSFrame.noticeType = "TERMINATION";
TOSFrameTitle:SetText(TERMINATION_WITHOUT_NOTICE_F RAME_TITLE);
TOSFrameHeader:SetWidth(TOSFrameTitle:GetWidth());
TerminationScrollFrame:Show();
TerminationText:Show();
TOSFrame:Show();
elseif ( not ScanningAccepted() and SHOW_SCANNING_AGREEMENT ) then
if ( ShowScanningNotice() ) then
TOSNotice:SetText(SCANNING_NOTICE);
TOSNotice:Show();
end
AccountLoginUI:Hide();
TOSFrame.noticeType = "SCAN";
TOSFrameTitle:SetText(SCAN_FRAME_TITLE);
TOSFrameHeader:SetWidth(TOSFrameTitle:GetWidth());
ScanningScrollFrame:Show();
ScanningText:Show();
TOSFrame:Show();
elseif ( not ContestAccepted() and SHOW_CONTEST_AGREEMENT ) then
if ( ShowContestNotice() ) then
TOSNotice:SetText(CONTEST_NOTICE);
TOSNotice:Show();
end


this is all i see in accountlogin.lua

Djundead
07-13-2016, 07:47 PM
still looking,cant seem to find it

Kaev
07-14-2016, 04:58 AM
still looking,cant seem to find it

They probably changed it after WotLk. No idea then, sorry.