Quake 3 Tute error
Quake 3 Tute error
I have done the Q3 tute,and everything looks fine when i build, and when i run it, it comes up with the right dialog box.I press a, then enter,or anything else, and it comes up with this error message:
Unhandled exception at 0x100cbe1b in Q3TUTE.exe: 0xC0000005: Access violation reading location 0x08b82020.
Unhandled exception at 0x100cbe1b in Q3TUTE.exe: 0xC0000005: Access violation reading location 0x08b82020.
what path shall this be ?!?!?zany_001 wrote:"C:/.../...media/map-20kdm2.pk3"?
![Laughing :lol:](./images/smilies/icon_lol.gif)
![Shocked :shock:](./images/smilies/icon_eek.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
if you don't know such thinks, why don't you simply try it ???
![Wink ;)](./images/smilies/icon_wink.gif)
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
what does your loading code looks like and where is your media folder located?
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
code means code, otherwise I'd say debug message... ![Laughing :lol:](./images/smilies/icon_lol.gif)
but if there any error messages they would also pretty helpfull...![Wink ;)](./images/smilies/icon_wink.gif)
well if you use pathes they must be 100% correct !!!
maybe it's better to copy all media files you need inside a seperate folder inside your bin folder and use a relative path (especially when you use it on different computers)...![Wink ;)](./images/smilies/icon_wink.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
but if there any error messages they would also pretty helpfull...
![Wink ;)](./images/smilies/icon_wink.gif)
well if you use pathes they must be 100% correct !!!
maybe it's better to copy all media files you need inside a seperate folder inside your bin folder and use a relative path (especially when you use it on different computers)...
![Wink ;)](./images/smilies/icon_wink.gif)
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
i think this is all ogf it:
Code: Select all
device->getFileSystem()->addPakFileArchive("C:/Documents and Settings/Richard/My Documents/Visual Studio 2005/Projects/Q3TUTE/map-20kdm2.pk3");
scene::IAnimatedMesh* mesh = smgr->getMesh("C:/Documents and Settings/Richard/My Documents/Visual Studio 2005/Projects/Q3TUTE/map-20kdm2.pk3");
node = smgr->addOctTreeSceneNode(mesh->getMesh(0));
and voila, here is the error:the pk3 file is not a mesh its an archive !!! ![Wink ;)](./images/smilies/icon_wink.gif)
look into the tutorial how the mesh is called (how it's loaded in the tutorial)...
Code: Select all
scene::IAnimatedMesh* mesh = smgr->getMesh("C:/Documents and Settings/Richard/My Documents/Visual Studio 2005/Projects/Q3TUTE/map-20kdm2.pk3");
![Wink ;)](./images/smilies/icon_wink.gif)
look into the tutorial how the mesh is called (how it's loaded in the tutorial)...
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
the tute has it the same i beleieve:
Code: Select all
scene::IAnimatedMesh* mesh = smgr->getMesh("20kdm2.bsp");
scene::ISceneNode* node = 0;
then you should really visit an optician !!!zany_001 wrote:the tute has it the same i beleieve
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
first there is no path but only the file name (like it should be)
second there is a small difference between 20kdm2.bsp and map-20kdm2.pk3, isn't it ???
![Laughing :lol:](./images/smilies/icon_lol.gif)
@hybrid: he got the pk3 file but he tries to load it also as the mesh...
![Wink ;)](./images/smilies/icon_wink.gif)
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
right, but he already uses this, look at the 9th (over all) post in this thread... ![Wink ;)](./images/smilies/icon_wink.gif)
![Wink ;)](./images/smilies/icon_wink.gif)
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java