Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: raresrap on December 09, 2016, 12:32:10 pm

Title: [LUA BUG] Character Create - Lua Bug
Post by: raresrap on December 09, 2016, 12:32:10 pm
Hello.

I am trying to delete all the icons except humans from the character create panel.
I've seen that this is possible. I found this pic online : https://postimg.org/image/i1srrcv2f/ (https://postimg.org/image/i1srrcv2f/" onclick="window.open(this.href);return false;)


I'd like to do the same but when I add the lua files to my mpq archive it give me this error : https://postimg.org/image/nkt5o2awv/ (https://postimg.org/image/nkt5o2awv/" onclick="window.open(this.href);return false;)

It doesn't matter if I modify the files or not, it gives the same error. I tried a few modded  wow.exe from internet.


Could you help me please ? What am I doing wrong ?
Title: Re: [LUA BUG] Character Create - Lua Bug
Post by: Grymskvll on December 10, 2016, 01:50:48 am
Quote from: "raresrap"
It doesn't matter if I modify the files or not, it gives the same error.

You might be modifying an outdated version of the interface file. Think you want the one from patch-xxXX-2.MPQ
Title: Re: [LUA BUG] Character Create - Lua Bug
Post by: noc on December 11, 2016, 01:25:59 pm
have you modify the xml file or the dbc file?
Title: Re: [LUA BUG] Character Create - Lua Bug
Post by: noc on December 11, 2016, 01:26:43 pm
have you modify the xml file or the dbc file?
Title: Re: [LUA BUG] Character Create - Lua Bug
Post by: raresrap on December 17, 2016, 02:42:31 pm
I edited XML Files.
Title: Re: [LUA BUG] Character Create - Lua Bug
Post by: raresrap on December 17, 2016, 03:24:12 pm
Quote from: "Grymskvll"
Quote from: "raresrap"
It doesn't matter if I modify the files or not, it gives the same error.

You might be modifying an outdated version of the interface file. Think you want the one from patch-xxXX-2.MPQ



Thank you. Now if I put this files in the game as they were, there is no error.


All I need to figure out now is how to delete a race. I tried dbc, it's not working, it only makes it unsuable but still selectable. Same thing with worldserver.conf . I think it's charactercreate.xml but I can't find what I need
Title: Re: [LUA BUG] Character Create - Lua Bug
Post by: stoneharry on December 18, 2016, 12:45:22 pm
Quote from: "raresrap"
Quote from: "Grymskvll"
Quote from: "raresrap"
It doesn't matter if I modify the files or not, it gives the same error.

You might be modifying an outdated version of the interface file. Think you want the one from patch-xxXX-2.MPQ



Thank you. Now if I put this files in the game as they were, there is no error.


All I need to figure out now is how to delete a race. I tried dbc, it's not working, it only makes it unsuable but still selectable. Same thing with worldserver.conf . I think it's charactercreate.xml but I can't find what I need

It is charactercreate xml that you need to modify. It defines a series of buttons for each race. You can't just delete them because other places reference this and it will error, but you could easily hide all the buttons apart from one (button:Hide()).