[fixed] MY3D loader bug with zip files

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, there's something wrong with the my3d loader. It has an buffer overrun somewhere and reads in wrong filenames. Or does not clean up some string.
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Ok, it's fixed as of revision 754. I changed some char array stuff to stringc and according methods. And now it works for zip files, too. Also lots of weird stuff was removed from my3d loader :)
Masterhawk
Posts: 299
Joined: Mon Nov 27, 2006 6:52 pm
Location: GERMANY
Contact:

Post by Masterhawk »

I also tried to fix this, but I think that would take a lot more time....;)

Where do I get the revision 754. Can I just replace CMY3DLoader.cpp in my Irrlicht 1.1 source?

EDIT: Ok, I found it.... :oops:
Image
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Could work, although 1.1 is pretty old...
Masterhawk
Posts: 299
Joined: Mon Nov 27, 2006 6:52 pm
Location: GERMANY
Contact:

Post by Masterhawk »

I've got it working with 1.1.....

Thx for your time and effort, hybrid... :D
Image
Post Reply