Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Malkorak on February 14, 2014, 06:35:21 pm

Title: [QUESTION] - Target Quest Frame.
Post by: Malkorak on February 14, 2014, 06:35:21 pm
Greetings.

Can anyone help me?

With what? I'm trying to add the quest emblem into the target frame.

http://www.youtube.com/watch?v=EzdCr43O3PY (http://www.youtube.com/watch?v=EzdCr43O3PY" onclick="window.open(this.href);return false;) (1:58) - That exclamation mark near the target portrait.

I cannot figure out how to. I was trying to add a new creature type into the database, CREATURE_ELITE_QUEST = 6; I did. But after I've tried to modify the XML and LUA files from TargetFrame, I got that error that my FrameXML is corrupted and I shall delete it.

Thanks.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: Malkorak on February 15, 2014, 05:22:56 pm
Anyone?
Title: Re: [QUESTION] - Target Quest Frame.
Post by: stoneharry on February 15, 2014, 10:39:20 pm
FrameXML and GlueXML cannot be edited without removing the integrity check Blizzard implemented to prevent modification to it.

viewtopic.php?f=26&t=181 (http://modcraft.io/viewtopic.php?f=26&t=181" onclick="window.open(this.href);return false;)

In one of the replies to the thread is a tool to do that automatically.

Whether or not what you are trying to do will work is something you need to test and see. It might require client binary modifications to back up your interface changes.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: Malkorak on February 15, 2014, 10:48:35 pm
So basically if I want other players to see the GlueXML / FrameXML edits I have to get them to download the modded executable?
Title: Re: [QUESTION] - Target Quest Frame.
Post by: stoneharry on February 15, 2014, 10:51:29 pm
Quote from: "Malkorak"
So basically if I want other players to see the GlueXML / FrameXML edits I have to get them to download the modded executable?

Yes. You will need to provide them with a MPQ anyway in order for them to see your client changes. The Blizzard Installer is a great way to distribute this since it replaces the WoW.exe and installs the new MPQ in a nice friendly GUI in a single executable.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: deep6ixed on February 15, 2014, 11:02:44 pm
I know you've done work with the blizz installer, do you have a tutorial or links for someone to look at, this would be nice for other projects.  

Odds are you've posted them before.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: Malkorak on February 15, 2014, 11:03:36 pm
Oh, thanks a lot for the answers.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: stoneharry on February 15, 2014, 11:14:32 pm
Quote from: "deep6ixed"
I know you've done work with the blizz installer, do you have a tutorial or links for someone to look at, this would be nice for other projects.  

Odds are you've posted them before.

viewtopic.php?f=26&t=4379 (http://modcraft.io/viewtopic.php?f=26&t=4379" onclick="window.open(this.href);return false;)

Above thread was never finished, but it links to most of the important resources. If you read through the threads linked to, you can extract all the information that you need to do it. I just never compiled it into a proper resource in the end. The Blizzard Installer is linked to at the bottom of the post.

This explains the modern Blizzard Downloader throughout the thread, which I could never get to work fully (I got old versions to work a few years ago?): viewtopic.php?f=12&t=5468 (http://modcraft.io/viewtopic.php?f=12&t=5468" onclick="window.open(this.href);return false;)

If you want to try and implement it and get stuck at any part, you can ask and I will be able to hopefully answer any questions you have.

edit:

Oh yeah! I simplified the Blizzard Installer quite a bit in this Git repo: https://github.com/stoneharry/Blizzard-Updater (https://github.com/stoneharry/Blizzard-Updater" onclick="window.open(this.href);return false;) I did this for Heroes-WoW which now use it, I think.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: deep6ixed on February 17, 2014, 11:17:15 am
Im gonna be honest, I can't make heads or tails of this.  I understand the process, I think, just not the steps required to get from point a to point b.  

I was going to start by using your github to make a custom installer.exe and from there it went down hill...

I see the patch.lst file and im not sure what to do with it, do i have a line for every separate file that i want to include in the MPQ patch?

How do I target what files go in what patch?  Say maps to patch-4.MPQ and interface data to patch-enUS-4.MPQ?

This is outside my box, but until that lightbulb clicks on, im lost.
Title: Re: [QUESTION] - Target Quest Frame.
Post by: schlumpf on February 17, 2014, 01:29:41 pm
Quote from: "stoneharry"
Oh yeah! I simplified the Blizzard Installer quite a bit in this Git repo: https://github.com/stoneharry/Blizzard-Updater (https://github.com/stoneharry/Blizzard-Updater" onclick="window.open(this.href);return false;) I did this for Heroes-WoW which now use it, I think.
And everything is still there. At least once, I don't write completely useless stuff! Yay. <3
Title: Re: [QUESTION] - Target Quest Frame.
Post by: deep6ixed on February 17, 2014, 07:25:27 pm
Okay, I got figured out how to make the launcher download the MPQ and after editing WoW.EXE I had the download extract and run a small bat file as a test, now I'm at the point of making the installer.exe and that's what I'm stuck on.  It's not that hard honestly, and I think I will make a tutorial of all the steps I did and how to make this a little more user friendly.  I didn't modify the server, just used the patch list command in the realmlist.

Harry, Schlumpf?  Any documentation on how to use the files from the github repo?
Title: Re: [QUESTION] - Target Quest Frame.
Post by: stoneharry on February 17, 2014, 08:06:54 pm
Quote from: "deep6ixed"
Okay, I got figured out how to make the launcher download the MPQ and after editing WoW.EXE I had the download extract and run a small bat file as a test, now I'm at the point of making the installer.exe and that's what I'm stuck on.  It's not that hard honestly, and I think I will make a tutorial of all the steps I did and how to make this a little more user friendly.  I didn't modify the server, just used the patch list command in the realmlist.

Harry, Schlumpf?  Any documentation on how to use the files from the github repo?

The Blizzard Installer thread discusses all the steps required as we tried to solve it.

I also made a 'Read Me.txt' in the git repo for making very simple patches.

Essentially patch.lst tells it where to get files from and where to put them. The patch.cmd contains all the installer information.

So basically move files into directories -> add a BSNI header to them (my tool automatically does that, here is the code for it: http://pastebin.com/YEPJrf58 (http://pastebin.com/YEPJrf58" onclick="window.open(this.href);return false;)), generate patch.lst. In my code, see line 207 onwards. It is very badly done, but it works.