Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Tutorials => Topic started by: Supora on September 08, 2011, 02:47:37 pm

Title: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Supora on September 08, 2011, 02:47:37 pm
So it's a simple how-to make a XP bar visible after getting a level 80.
First of all you need to get the ReputationFrame.LUA:
go to your wow folder and search a data folder. In data folder you must to open a your locale directory(example: ruRU, enGB, enUS) and open a last locale patch(patch-ruRU-3, patch-enGB-3, patch-enUS-3). In this *.mpq go to Interface>FrameXML, searc for a ReputationFrame.lua and extract it.
Second: Open ReputationFrame.lua with notepad and search for:
Code: [Select]
MAX_PLAYER_LEVEL_TABLE[2] = 80;If accounts on your server have a expansion value 2, edit
Code: [Select]
MAX_PLAYER_LEVEL_TABLE[2] = 80; to
Code: [Select]
MAX_PLAYER_LEVEL_TABLE[2] = needed level;If you change a expansion number to other value(like 3 or 4) on the account creating function on the server you can add a new row after
Code: [Select]
MAX_PLAYER_LEVEL_TABLE[2] = 80; like this
Code: [Select]
MAX_PLAYER_LEVEL_TABLE[2] = 80;
MAX_PLAYER_LEVEL_TABLE[3] = needed level;
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: holyleen on September 09, 2011, 01:18:11 am
nice tutorial man
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Keta on September 09, 2011, 12:52:42 pm
So basically that line just tells Wow when to stop showing the XP bar? o.O

Thanks
Keta
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Supora on September 10, 2011, 08:49:20 am
Quote from: "Keta"
So basically that line just tells Wow when to stop showing the XP bar? o.O

Thanks
Keta
No. I think the main thing is a function
Code: [Select]
ReputationWatchBar:Hide();
if ( newLevel < MAX_PLAYER_LEVEL and not IsXPUserDisabled() ) then
MainMenuExpBar:Show();
MainMenuExpBar.pauseUpdates = nil;
MainMenuBarMaxLevelBar:Hide();
else
MainMenuExpBar:Hide();
MainMenuExpBar.pauseUpdates = true;
MainMenuBarMaxLevelBar:Show();
ExhaustionTick:Hide();
end
end
in ReputationFrame.lua
But this row gives a value
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Shruik on September 12, 2011, 06:54:10 pm
I would never had thought that this could be that easy. Thank you man!
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: frezer748 on March 08, 2012, 04:41:54 pm
I get following error:

Die Dateien der Spiel-Benutzeroberfläche sind beschädigt. Bitte entfernen Sie den Dateiordner 'InterfaceFrameXML'


It's german, but I Hope you can even help me
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Jøk3r on March 09, 2012, 06:23:34 am
I assume you reputationframe.lua is corrupted.
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Mordred on March 09, 2012, 06:46:50 am
@frezer, did you use a cracked wow.exe with no Lua and XML protection?
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Keta on March 09, 2012, 01:16:21 pm
Yea it is because he doesn't have the Wow.exe that has interface edits enabled... I think o_O Then again, the error sounds more like he used an XML which isn't from the newest patch.

Thanks
Keta
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: frezer748 on March 09, 2012, 02:07:52 pm
Quote from: "Keta"
Yea it is because he doesn't have the Wow.exe that has interface edits enabled... I think o_O Then again, the error sounds more like he used an XML which isn't from the newest patch.

Thanks
Keta

Work's now, i haven't the cracked wow.exe so. Thanks guys
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Nupper on September 13, 2012, 06:21:43 pm
Cant find it in Patch-enUS-3.MPQ
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Jøk3r on September 13, 2012, 07:01:39 pm
I found it in locale-enGB.MPQ
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Nupper on September 13, 2012, 08:44:23 pm
Quote from: "Jøk3r"
I found it in locale-enGB.MPQ
reputationframe.lua
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Jøk3r on September 13, 2012, 09:16:15 pm
Sorry, just searched for reputationframe :'D
Just forget my post xD
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Nupper on September 13, 2012, 09:43:47 pm
its telling me its corrupted
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Romzarah on April 08, 2014, 11:49:29 pm
Had no luck with this one..

I have my sever set to max level 88
I tried adding a line in the lua with expansion 3 and set in the config for expansion 3
then added it to a patch. Also tried it with editing the line with level 80 to 88.
Ether way it crashed saying reputationframe.lua is corrupted.

Would be nice to have the XP bar working without having to use a macro with script to have it show.

Hope someone knows the fix.. Thanks
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Romzarah on May 17, 2014, 04:14:52 pm
Anyone got this to work? If so, what am I missing?
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Alastor on May 18, 2014, 01:19:11 am
For This ima Using X-Pearl
 (X-pearl is showing Xp bar til you are Full LvL by server)
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Romzarah on May 18, 2014, 02:05:09 am
Making it work with the ReputationFrame.LUA as in this guide would be better than X-Pearl. Didn't like the xp bar addons I have tried.

But thanks for the reply!!
Title: Re: [TUTORIAL] [LUA] XP Bar after Level 80.
Post by: Namok on July 13, 2014, 11:19:46 pm
Hi guys ! I tried by this way but my wow just closed and said "Interface files are corrupted", I removed my Wow.exe LUA/XML verification (I already added a new race), but it doesn't work, someone has any idea ?
Namok