Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My map keeps crashing when loading..
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#1
My map keeps crashing when loading..

I need some help with this...
My map is around 4mb atm..
There will be NO more stuff in it..
BUT...
It loads the first time ... then you go to some other maps then you come back in the big 4mb map..
While loading it gives that OOPS there is something wrong
It only happens when i return to that big map.. AND not every time i test it..
What can i do.. almost impossible to cut this map into pieces...
Anone some ideas?
Thanks!
01-20-2013, 05:01 PM
Find
Asaratha Offline
Junior Member

Posts: 14
Threads: 5
Joined: Jul 2011
Reputation: 0
#2
RE: My map keeps crashing when loading..

Do you mean turn around and go back through the door to try to go back into the level?

If thats what you mean, does your level door actually load a mapfile?
01-21-2013, 02:42 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#3
RE: My map keeps crashing when loading..

Nah...
Not to be rude.. i am not new to this all...
It's just... the map is 4 mb.. 4.100 something..
Is that the cause of this problem?
If this will occur while the Full Conversion is ready.. i'm screwed!
Uhhm....
Might be something... no it's weird.. cause it DOES load sometimes..
Let's say 3-10 it gives the error..
Anyone some ideas \ suggestions?
Thanx for replaying Asaratha!
01-21-2013, 04:15 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: My map keeps crashing when loading..

No, i guess, THATS why Frictional Games created those .map caches.

When you are completely done with your map, you should try creating a map .cache and then see if it works.

Or just try now. You can always delete it.

Those .map caches were made to load big levels easier.

Trying is the first step to success.
01-21-2013, 06:50 AM
Find
amusei Offline
Junior Member

Posts: 23
Threads: 8
Joined: Aug 2012
Reputation: 2
#5
RE: My map keeps crashing when loading..

(01-20-2013, 05:01 PM)dnalange Wrote: I need some help with this...
My map is around 4mb atm..
There will be NO more stuff in it..
BUT...
It loads the first time ... then you go to some other maps then you come back in the big 4mb map..
While loading it gives that OOPS there is something wrong
It only happens when i return to that big map.. AND not every time i test it..
What can i do.. almost impossible to cut this map into pieces...
Anone some ideas?
Thanks!
I had a similiar problem. Do you go back through a DOOR or through scritps(for example when you enter an area) because if it is through script make sure your player is not moving while loading and add a FadeOut func
example
void OnStart()
{    
    AddEntityCollideCallback("Player", "endmap", "EndMapFade", true, 1);
}

void EndMapFade(string &in asParent, string &in asChild, int alState)
{
    SetPlayerActive(false);
    FadeOut(3);
    AddTimer("", 3, "LoadNextMap");
}

void LoadNextMap(string &in asTimer)
{
    ChangeMap("testmap.map", "PlayerStartArea_1", "", "");
}
If that is not the case I don't know how to fix it Sad
01-21-2013, 01:55 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: My map keeps crashing when loading..

(01-21-2013, 01:55 PM)amusei Wrote:
(01-20-2013, 05:01 PM)dnalange Wrote: I need some help with this...
My map is around 4mb atm..
There will be NO more stuff in it..
BUT...
It loads the first time ... then you go to some other maps then you come back in the big 4mb map..
While loading it gives that OOPS there is something wrong
It only happens when i return to that big map.. AND not every time i test it..
What can i do.. almost impossible to cut this map into pieces...
Anone some ideas?
Thanks!
I had a similiar problem. Do you go back through a DOOR or through scritps(for example when you enter an area) because if it is through script make sure your player is not moving while loading and add a FadeOut func
example
void OnStart()
{    
    AddEntityCollideCallback("Player", "endmap", "EndMapFade", true, 1);
}

void EndMapFade(string &in asParent, string &in asChild, int alState)
{
    SetPlayerActive(false);
    FadeOut(3);
    AddTimer("", 3, "LoadNextMap");
}

void LoadNextMap(string &in asTimer)
{
    ChangeMap("testmap.map", "PlayerStartArea_1", "", "");
}
If that is not the case I don't know how to fix it Sad

I think My friend here fixed it already!
Tnx beecake! As far as i tested it it workes now!
TNX again!
01-21-2013, 03:12 PM
Find




Users browsing this thread: 1 Guest(s)