This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TUTORIAL] [LUA] XP Bar after Level 80.  (Read 9980 times)

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
[TUTORIAL] [LUA] XP Bar after Level 80.
« 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;
« Last Edit: November 18, 2013, 06:29:12 pm by Admin »

holyleen

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 54
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #1 on: September 09, 2011, 01:18:11 am »
nice tutorial man
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
So. All of time and space. Everything that ever happened or ever will. Where do you want to start?

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #2 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #3 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Shruik

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 121
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #4 on: September 12, 2011, 06:54:10 pm »
I would never had thought that this could be that easy. Thank you man!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
"If you don´t like modelchanging, you don´t know the fascination of it"

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #5 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #6 on: March 09, 2012, 06:23:34 am »
I assume you reputationframe.lua is corrupted.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #7 on: March 09, 2012, 06:46:50 am »
@frezer, did you use a cracked wow.exe with no Lua and XML protection?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #8 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #9 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #10 on: September 13, 2012, 06:21:43 pm »
Cant find it in Patch-enUS-3.MPQ
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #11 on: September 13, 2012, 07:01:39 pm »
I found it in locale-enGB.MPQ
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #12 on: September 13, 2012, 08:44:23 pm »
Quote from: "Jøk3r"
I found it in locale-enGB.MPQ
reputationframe.lua
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #13 on: September 13, 2012, 09:16:15 pm »
Sorry, just searched for reputationframe :'D
Just forget my post xD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
Re: [TUTORIAL] [LUA] XP Bar after Level 80.
« Reply #14 on: September 13, 2012, 09:43:47 pm »
its telling me its corrupted
« Last Edit: January 01, 1970, 01:00:00 am by Admin »