djpercy
Member
|
Memc.h out of Range error
Hello,
I have a diffused problem and i thing this is a World Editor Error.
I have a code and I call with the same code different "World Maps". When I call the samle.world work it but when I call my own "World Map" I get a Error
Element out of range File: misc/_Memc.h Line 14
I hope you can help me.
Nice day and have fun
greeting Denis
|
|
10-24-2010 05:42 PM |
|
Esenthel
Administrator
|
RE: Memc.h out of Range error
Please run your program in debug mode, once you have this error, check the call stack, you'll see where you have the error.
|
|
10-24-2010 06:08 PM |
|
Harry
Member
|
RE: Memc.h out of Range error
I have the same error but I know why. But I don't have any sense idea to fix this.
In the main game create I load worldbut without .update(...) at end because if I add it, background loader (like in tutorial) doesn't work. After game loading I have create function from my own structure. To do things in this function I need waypoint from world. But I can't do this because I don't do initial update so I have this error. Do you know what can I do?
|
|
11-02-2010 03:50 PM |
|
Esenthel
Administrator
|
RE: Memc.h out of Range error
you should run in debug mode, check where the error occurs, paste some screenshots, or code.
|
|
11-02-2010 05:20 PM |
|
Dddd
Member
|
RE: Memc.h out of Range error
I had this problem too. I will describe the problem and its solution; maybe it will match your problem and thus offer you a solution.
1. I created a world in the world editor.
2. I added a Player in the code, based on EE tutorials.
3. Got 'Memc.h out of Range error' ... oops!
It seems I did not have a Player in the world editor. So I added the human, included with EE, and set its type field to OBJ_PLAYER. I then recompiled and it worked.
Maybe this fits your situation too. Other than that post more specifics like Esenthel said.
|
|
11-02-2010 11:26 PM |
|