Raised This Month: $12 Target: $400
 3% 

server crash & Late precache ??


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nail
BANNED
Join Date: May 2008
Location: PetrovЪ GradЪ
Old 10-02-2011 , 11:50   server crash & Late precache ??
Reply With Quote #1

Console logs:
Quote:
Late precache of sprites/zerogxplode.spr
Late precache of decals/scorch3
<----server crash ---->
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 45
PHP Code:
    new ent CreateEntityByName("env_explosion");
    
DispatchKeyValue(ent"targetname""explode1");
    
DispatchKeyValue(ent"fireballsprite""sprites/zerogxplode.spr");
    
DispatchKeyValue(ent"rendermode""5");
    
DispatchSpawn(ent);
    
TeleportEntity(entvOriginNULL_VECTORNULL_VECTOR);
    
AcceptEntityInput(ent"Explode");

    
ent CreateEntityByName("info_projecteddecal");
    
DispatchKeyValue(ent"targetname""decal1");
    
DispatchKeyValue(ent"texture""decals/scorch3");
    
DispatchKeyValue(ent"Distance""64");
    
DispatchSpawn(ent);
    
TeleportEntity(entvOriginNULL_VECTORNULL_VECTOR);
    
AcceptEntityInput(ent"Activate"); 

Last edited by Nail; 10-02-2011 at 11:53.
Nail is offline
maza51
Senior Member
Join Date: Mar 2010
Old 10-02-2011 , 13:24   Re: server crash & Late precache ??
Reply With Quote #2

this code in OnPluginStart?
maza51 is offline
Nail
BANNED
Join Date: May 2008
Location: PetrovЪ GradЪ
Old 10-02-2011 , 13:31   Re: server crash & Late precache ??
Reply With Quote #3

RegConsoleCmd("sm_explode", Command_Explode);
Nail is offline
Nail
BANNED
Join Date: May 2008
Location: PetrovЪ GradЪ
Old 10-02-2011 , 13:38   Re: server crash & Late precache ??
Reply With Quote #4

PHP Code:
public OnMapStart()
{
    
PrecacheDecal("materials/decals/scorch3.vtf"true);
    
PrecacheDecal("materials/Sprites/zerogxplode.vtf"true);
    
PrecacheGeneric("sprites/zerogxplode.spr"true);

It does not work, where there may be a mistake?

still display this message and crash
Quote:
Late precache of sprites/zerogxplode.spr
Late precache of decals/scorch3
How do I turn in source mod debug mode?
Nail is offline
maza51
Senior Member
Join Date: Mar 2010
Old 10-02-2011 , 15:24   Re: server crash & Late precache ??
Reply With Quote #5

try
Code:
PrecacheModel("materials/decals/scorch3.vmt");
PrecacheModel("materials/decals/scorch3.vmt");
PrecacheModel("materials/sprites/zerogxplode.vmt");

Last edited by maza51; 10-02-2011 at 15:37. Reason: Edit
maza51 is offline
Nail
BANNED
Join Date: May 2008
Location: PetrovЪ GradЪ
Old 10-03-2011 , 09:37   Re: server crash & Late precache ??
Reply With Quote #6

Thank you, this problem has been solved
But the server still crash

srcds debug log
Quote:
/srcds_run: line 372: 24929 Segmentation fault (core dumped) $HL_CMD
cat: hlds.24921.pid: No such file or directory
email debug.log to [email protected]
Mon Oct 3 17:25:58 MSD 2011: Server restart in 10 seconds
How to enable debug mode in sourcemod? I can not understand where exactly the error occurs. In the script, 700 lines

Last edited by Nail; 10-03-2011 at 10:03.
Nail is offline
Starbish
AlliedModders Donor
Join Date: Oct 2011
Location: South Korea
Old 10-06-2011 , 01:37   Re: server crash & Late precache ??
Reply With Quote #7

I thought that it is not in the server.
but i found.

PrecacheModel("materials/sprites/zerogxplode.vmt");
it's different from the first post.

not .vmt, but .spr maybe right. if u are not wrong on the first post.
[ sry for my bad english skills ]
__________________
Starbish is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode