Post: Too many entities to cache snapshot data.
11-07-2015, 08:10 PM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); When I spawn sky text with many care packages I shortly get kicked out of the match and get the error message
    Too many entities 674 > 600 to cache snapshot data.

Is there a way to prevent this from happening or do I just need discretion with spawning stuff? Lol.
(adsbygoogle = window.adsbygoogle || []).push({});
11-07-2015, 09:45 PM #2
itsSorrow
In my man cave
Originally posted by BullyWiiPlaza View Post
When I spawn sky text with many care packages I shortly get kicked out of the match and get the error message
    Too many entities 674 > 600 to cache snapshot data.

Is there a way to prevent this from happening or do I just need discretion with spawning stuff? Lol.


never seen that error I only seen G_spawnentities (somewat like dat lol)
11-07-2015, 10:32 PM #3
BullyWiiPlaza
Climbing up the ladder
Originally posted by GentleSlugger View Post
never seen that error I only seen G_spawnentities (somewat like dat lol)

Yeah, I know that one too but I was getting the one I mentioned. Yes, weird errors happen when modding :P
11-07-2015, 10:36 PM #4
itsSorrow
In my man cave
Originally posted by BullyWiiPlaza View Post
Yeah, I know that one too but I was getting the one I mentioned. Yes, weird errors happen when modding :P


thats really strange. Can you post the script you were using? It would be helpful
11-07-2015, 11:30 PM #5
BullyWiiPlaza
Climbing up the ladder
Originally posted by GentleSlugger View Post
thats really strange. Can you post the script you were using? It would be helpful

Yes. I basically ran all of those 3 functions once and the error message came up. Try it out for yourself if you want. Enzo
    // Spawns a platform under the caller's feet
spawnPlatform()
{
startpos = self.origin + (0, 0, -15);

while (isDefined(self.spawnedcrate[0][0]))
{
i = -3;

while (i < 3)
{
d = -3;

while (d < 3)
{
self.spawnedcrate[i][d] delete();
d++;
}
i++;
}
}

i = -3;

while (i < 3)
{
d = -3;

while (d < 3)
{
self.spawnedcrate[i][d] = spawn("script_model", startpos + (d * 40, i * 70, 0));
self.spawnedcrate[i][d] setmodel("t6_wpn_supply_drop_ally");
d++;
}

i++;
}

iprintlnBold("^2Platform^7 spawned");
}

spawnStairs()
{
// Only allow stairs once to prevent g_spawn no free entities error
if(!level.stairsSpawned)
{
level.stairsSpawned = true;
iprintlnBold("Spawning Stairs");

self thread stairz(70);
self thread stair(70);
}
}

stairz(size)
{
stairz=[];
stairPos = self.origin + ( 100, 0, 0 );

for( i=0;i<=size;i++ )
{
newPos = ( stairPos +((58 * i / 2), 0, (17 * i / 2)) );
stairz[i] = spawn("script_model", newPos);
// stairz[i].angles =(0, 90, 0);
stairz[i].angles = self.angles;
wait .1;
stairz[i] setModel("t6_wpn_supply_drop_ally");
}
}

stair(size)
{
stairz=[];
stairPos = self.origin + ( 100, 0, 0 );

for( i=0;i<=size;i++ )
{
newPos =( stairPos +((58 * i / 2), 0, (17 * i / 2) ));
level.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
level.packo[i].origin = newpos;
level.packo[i].angles =( 0, 90, 0 );
level.packo[i] setContents( 1 );
wait .1;
level.packo[i] setModel("t6_wpn_supply_drop_ally");
}
}

skyWriter()
{
iPrintlnBold("Look at the sky");

WP("350,330,375,330,475,330,500,330,525,330,600,330,625,330,650,330,675,330,775,330,800,330,825,330,850,330,875,330,900,330,925,330,350,360,375,360,475,360,500,360,525,360,550,360,600,360,625,360,650,360,675,360,750,360,775,360,800,360,875,360,900,360,925,360,350,390,375,390,450,390,475,390,500,390,525,390,550,390,600,390,625,390,650,390,675,390,750,390,775,390,800,390,875,390,900,390,925,390,250,420,275,420,300,420,325,420,350,420,375,420,450,420,475,420,500,420,525,420,550,420,600,420,625,420,650,420,675,420,700,420,750,420,775,420,800,420,875,420,900,420,925,420,225,450,250,450,275,450,350,450,375,450,450,450,475,450,525,450,550,450,575,450,600,450,625,450,650,450,675,450,700,450,775,450,800,450,825,450,850,450,875,450,900,450,925,450,225,480,250,480,275,480,350,480,375,480,425,480,450,480,475,480,525,480,550,480,575,480,600,480,625,480,675,480,700,480,775,480,800,480,825,480,875,480,900,480,925,480,225,510,250,510,275,510,350,510,375,510,425,510,450,510,475,510,525,510,550,510,575,510,600,510,675,510,700,510,725,510,750,510,775,510,800,510,875,510,900,510,925,510,225,540,250,540,275,540,350,540,375,540,425,540,450,540,550,540,575,540,600,540,675,540,700,540,725,540,775,540,800,540,825,540,875,540,900,540,925,540,250,570,275,570,300,570,325,570,350,570,375,570,400,570,425,570,450,570,550,570,575,570,600,570,675,570,700,570,725,570,775,570,800,570,825,570,850,570,875,570,900,570,925,570",2000,0);
}

WP(D,Z,P)
{
L = strTok(D,",");

for(i = 0 ; i < L.size; i += 2)
{
B = spawn("script_model",self.origin+(int(L[i]),int(L[i+1]),Z));
if(!P)
B.angles=(90,0,0);
B setModel("t6_wpn_supply_drop_ally");
}
}
11-07-2015, 11:49 PM #6
itsSorrow
In my man cave
Originally posted by BullyWiiPlaza View Post
Yes. I basically ran all of those 3 functions once and the error message came up. Try it out for yourself if you want. Enzo
    // Spawns a platform under the caller's feet
spawnPlatform()
{
startpos = self.origin + (0, 0, -15);

while (isDefined(self.spawnedcrate[0][0]))
{
i = -3;

while (i < 3)
{
d = -3;

while (d < 3)
{
self.spawnedcrate[i][d] delete();
d++;
}
i++;
}
}

i = -3;

while (i < 3)
{
d = -3;

while (d < 3)
{
self.spawnedcrate[i][d] = spawn("script_model", startpos + (d * 40, i * 70, 0));
self.spawnedcrate[i][d] setmodel("t6_wpn_supply_drop_ally");
d++;
}

i++;
}

iprintlnBold("^2Platform^7 spawned");
}

spawnStairs()
{
// Only allow stairs once to prevent g_spawn no free entities error
if(!level.stairsSpawned)
{
level.stairsSpawned = true;
iprintlnBold("Spawning Stairs");

self thread stairz(70);
self thread stair(70);
}
}

stairz(size)
{
stairz=[];
stairPos = self.origin + ( 100, 0, 0 );

for( i=0;i<=size;i++ )
{
newPos = ( stairPos +((58 * i / 2), 0, (17 * i / 2)) );
stairz[i] = spawn("script_model", newPos);
// stairz[i].angles =(0, 90, 0);
stairz[i].angles = self.angles;
wait .1;
stairz[i] setModel("t6_wpn_supply_drop_ally");
}
}

stair(size)
{
stairz=[];
stairPos = self.origin + ( 100, 0, 0 );

for( i=0;i<=size;i++ )
{
newPos =( stairPos +((58 * i / 2), 0, (17 * i / 2) ));
level.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
level.packo[i].origin = newpos;
level.packo[i].angles =( 0, 90, 0 );
level.packo[i] setContents( 1 );
wait .1;
level.packo[i] setModel("t6_wpn_supply_drop_ally");
}
}

skyWriter()
{
iPrintlnBold("Look at the sky");

WP("350,330,375,330,475,330,500,330,525,330,600,330,625,330,650,330,675,330,775,330,800,330,825,330,850,330,875,330,900,330,925,330,350,360,375,360,475,360,500,360,525,360,550,360,600,360,625,360,650,360,675,360,750,360,775,360,800,360,875,360,900,360,925,360,350,390,375,390,450,390,475,390,500,390,525,390,550,390,600,390,625,390,650,390,675,390,750,390,775,390,800,390,875,390,900,390,925,390,250,420,275,420,300,420,325,420,350,420,375,420,450,420,475,420,500,420,525,420,550,420,600,420,625,420,650,420,675,420,700,420,750,420,775,420,800,420,875,420,900,420,925,420,225,450,250,450,275,450,350,450,375,450,450,450,475,450,525,450,550,450,575,450,600,450,625,450,650,450,675,450,700,450,775,450,800,450,825,450,850,450,875,450,900,450,925,450,225,480,250,480,275,480,350,480,375,480,425,480,450,480,475,480,525,480,550,480,575,480,600,480,625,480,675,480,700,480,775,480,800,480,825,480,875,480,900,480,925,480,225,510,250,510,275,510,350,510,375,510,425,510,450,510,475,510,525,510,550,510,575,510,600,510,675,510,700,510,725,510,750,510,775,510,800,510,875,510,900,510,925,510,225,540,250,540,275,540,350,540,375,540,425,540,450,540,550,540,575,540,600,540,675,540,700,540,725,540,775,540,800,540,825,540,875,540,900,540,925,540,250,570,275,570,300,570,325,570,350,570,375,570,400,570,425,570,450,570,550,570,575,570,600,570,675,570,700,570,725,570,775,570,800,570,825,570,850,570,875,570,900,570,925,570",2000,0);
}

WP(D,Z,P)
{
L = strTok(D,",");

for(i = 0 ; i < L.size; i += 2)
{
B = spawn("script_model",self.origin+(int(L[i]),int(L[i+1]),Z));
if(!P)
B.angles=(90,0,0);
B setModel("t6_wpn_supply_drop_ally");
}
}


Weird, got the same error...
11-10-2015, 06:51 AM #7
Exelo
Banned
You must login or register to view this content.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo