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: 3.3.5a Alterac Valley (Battleground) Noggit Bug  (Read 7232 times)

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
3.3.5a Alterac Valley (Battleground) Noggit Bug
« on: January 04, 2016, 07:24:52 pm »
Hello there!

Recently I have undertaken a project to restore Alterac Valley to where it was just the Frostwolves who controlled it, and the dwarves were just about to undertake their expedition to recover Titan relics and resources.

Now to the issue, in the Northern part of the map, after placing some new tree's, using the models pre-existing in the valley, I ran into this odd bug when flying into a specific chunk of the map.

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #1 on: January 04, 2016, 09:51:49 pm »
Use a hex editor to remove the MFBO chunk of the adt.

https://wowdev.wiki/ADT/v18#MHDR_chunk
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #2 on: January 04, 2016, 10:23:16 pm »
Quote from: "schlumpf"
Use a hex editor to remove the MFBO chunk of the adt.

https://wowdev.wiki/ADT/v18#MHDR_chunk

would you mind going in to some detail why you think this is it? and how exactly i would do this in greater detail please. It is at all heights, not just when flying hence why I think this may not be the issue.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #3 on: January 05, 2016, 12:27:36 am »
It is a known issue and I know pretty well what is happening there.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #4 on: January 05, 2016, 02:55:09 am »
Quote from: "schlumpf"
It is a known issue and I know pretty well what is happening there.
ah alright then! I only briefly;y glanced though the link but it really confused me. As it is a known issue is there a sort of guide on how to do this?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #5 on: January 05, 2016, 08:46:54 am »
You can try searching for MFBO but I don't know if there is any guide.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #6 on: January 05, 2016, 02:45:38 pm »
*Throws hands up in the air confused*

I honestly have no idea, I have tried searching but this something very far out of my skill level. If anyone who has any experience of fixing this issue would like to assist in teach me, or do this for me it would be greatly appreciated.

thanks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #8 on: January 06, 2016, 10:02:11 am »
I wrote a script for modifying these values in ADT.
http://pastebin.com/HHic88vT
For using it you also need my ADT template for 010 Editor.
[attachment=0:3o04r261]WoWADT.zip[/attachment:3o04r261]
It is slightly different from the public one, but without it the script will not work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

monoman

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 84
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #9 on: January 06, 2016, 11:14:36 pm »
Quote from: "Skarn"
I wrote a script for modifying these values in ADT.
http://pastebin.com/HHic88vT
For using it you also need my ADT template for 010 Editor.
[attachment=0:msp4lx5s]WoWADT.zip[/attachment:msp4lx5s]
It is slightly different from the public one, but without it the script will not work.

This look usefull, thankyou skarn n_n /


Quote from: "doctorsimon4"
*Throws hands up in the air confused*

I honestly have no idea, I have tried searching but this something very far out of my skill level. If anyone who has any experience of fixing this issue would like to assist in teach me, or do this for me it would be greatly appreciated.

thanks.

About this problem, it seems that noggit saves wrongly some values that has to do with what the player can see in that particular ADT inside the game, inverting those values,
so in the minimum puts the maximum values and viceversa.
That is what Shlumpf was pointing to, those values are stored in the MHDR chunk of the Adt, and you can edit  that to fix your ADT using the 010 editor, plus some ADT templates.

To fix them you can erase all data from them but so far i just invert the values to be in the safe side.

That particular error tends to happen on outlands maps and i also discovered it happened on the battleground maps that you are working on last week.

Hope this was of any help.
Monoaman.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #10 on: January 07, 2016, 08:29:37 am »
Monoman, this is MFBO problem, not MHDR. MFBO is usually in the very end of the file as a separate chunk. Yeah, erasing those values will help too but it is long ang boring. Fastest way is to use some tool, for example the script I provided that sets the values to standard ones. You can also change values however you want.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #11 on: January 07, 2016, 09:39:41 pm »
Thanks for your help guys, i'll test the script out later when I get a chance and let you guys know if it worked or not.

Thanks for all your help!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #12 on: January 07, 2016, 10:43:55 pm »
i ran the script and it came up with an error, and i was using the template with it. I am not exactly sure what i am doing wrong? when i wake up tomorrow with a clear head i'll try again and see what i was doing wrong

Here is the error message *ERROR Line 18(34): Syntax error.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

monoman

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 84
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #13 on: January 07, 2016, 11:41:08 pm »
Sorry, my bad Skarn n_n'
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doctorsimon4

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: 3.3.5a Alterac Valley (Battleground) Noggit Bug
« Reply #14 on: January 07, 2016, 11:52:58 pm »
Perhaps seeing as the script does not work for me, you could tell me what values to set each field inside the height map structure to? Here are the values i pulled out with the numbers on the left the 'struct maximum short height' and the numbers on the right the being the 'struct minimum short height'. I believe thing is what i am meant to be editing based on what i could conclude from the script.


32, 30     800  -75
32, 31     -75  800
32, 32     800  -75
32 , 33     800  -75
32, 34     -75  800
32, 35     -75  800
« Last Edit: January 01, 1970, 01:00:00 am by Admin »