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: [QUESTION] A "FixIt" program  (Read 2135 times)

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
[QUESTION] A "FixIt" program
« on: December 09, 2011, 07:50:36 pm »
Hey Modcraft

I was hoping to see if one/some of you epic C++/C#/Java/Python/whatever, could make a program that would scan through an entire ADT and tell the user what is wrong with the ADT? Cause currently I have one/some ADT's that I can't figure out the error about...
  • Wow crashes.
  • Noggit can load it just fine.
  • The log doesn't report any texture or model missing.

So I can't really seem to figure out the problem, however I really don't feel like making it all over again >.<

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

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #1 on: December 10, 2011, 12:37:53 am »
Most time that are bad model paths or spawns.

Just use loadinfo and fileinfo and delete all  models from the adt and test it again. If tis work add again step by step you model patches and spawms.

This way i fixed a lot of adts.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #2 on: December 10, 2011, 09:43:09 am »
The reason such applications do not exist are the same as why there are errors:

The file format is still not completely known.
Users can make errors a lot more often than the applications and applications can't do anything against it.

While actually, the first reason is the ultimate reason anyway. You just can't write an application to fix stuff, when you don't know what is wrong with it, since you don't know how it should be.

How would you fix that?

Noggit tries writing files as "good" as possible. It does not even modify any file but completely rewrites the file upon saving.

Still, if this rewritten file is "bad", there is nothing I can do about it, as as far as I know the files produced are "perfect".

This is an endless circle. You can't fix stuff, if you know nothing more than you do and think you're doing it right. What should be wrong then?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #3 on: December 10, 2011, 09:48:21 am »
I got many noggit adts in the last weeks and the only wrong stuff there was always wrong model pathes :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #4 on: December 10, 2011, 01:17:27 pm »
Well then I don't really know who to blame for this problem, cause... Im using the build 3.279+, and I've only spawned models with the Assist -> Import WMO/M2, and that worked fine every time... :s

Thanks
Keta

PS. Nope, removing all objects didn't fix it. Still crashes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #5 on: December 10, 2011, 02:07:53 pm »
Well, as you only provide, that it crashes, one can't really help you there.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Eluo

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 509
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #6 on: December 10, 2011, 02:50:35 pm »
You could try to save the stuff from the adt via injection function.

If it works...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
One is a genius, the other\'s insane!

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #7 on: December 11, 2011, 01:44:50 pm »
Quote from: "schlumpf"
Well, as you only provide, that it crashes, one can't really help you there.
What do you want me to provide? The log from Noggit? Says NOTHING of value. Neither does the Wow crash. All I can tell is when I walk there ingame, the water doesn't show before it crashes. But already tried without water. No difference.

Quote from: "Eluo"
You could try to save the stuff from the adt via injection function.

If it works...
What exactly are you talking about...? :o Please, do enlighten me xP



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

Eluo

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 509
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #8 on: December 11, 2011, 02:30:08 pm »
Wait your client crashes when you walk into water?.... I had that some time ago too....
Whatever. Well you could try to use taliis' injection function. Just have another adt aviable and then extract as much information as you can from the original adt.

That sometimes helps.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
One is a genius, the other\'s insane!

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #9 on: December 11, 2011, 02:44:09 pm »
Nono, it doesn't crash when I walk into water. It crashes when the client tries to load the water on the custom ADTs.
And I have 2 problems.
1) Taliis wont open my ADTs
2) I've never been able to make a successful ground height export and import. Always gave me a totally fcked up ground height.

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

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #10 on: December 11, 2011, 05:07:06 pm »
There's something I don't get in your description of the problem... You say the game crashes when it loads water, and earlier you wrote -- if I understand it right -- it's also crashing when you tried without water... So how could it be water ?

For Taliis, you could try re-saving a copy of your corrupted adt with rev104 first, it may work better at least for opening it with Taliis.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [QUESTION] A "FixIt" program
« Reply #11 on: December 11, 2011, 06:22:50 pm »
Quote from: "Mjollna"
There's something I don't get in your description of the problem... You say the game crashes when it loads water, and earlier you wrote -- if I understand it right -- it's also crashing when you tried without water... So how could it be water ?

For Taliis, you could try re-saving a copy of your corrupted adt with rev104 first, it may work better at least for opening it with Taliis.
Good point with the Taliis thing.
And yea, I said it crashed. I said it crashed before it loaded water. Though I also tried without water on the ADTs. I just wanted to point out that the water isn't the problem. But if someone knows the pattern for how Wow loads objects, you might be able to determine the problem a little easier :p
« Last Edit: January 01, 1970, 01:00:00 am by Admin »