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

Creating sprite - Cache_UnlinkLRU: NULL link


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 01-22-2018 , 03:14   Creating sprite - Cache_UnlinkLRU: NULL link
Reply With Quote #1

Well i'm trying to find more info about this error that leads to server shutting down. I found another thread with the same problem but no extra info about that.
I'm trying to create and spawn a sprite:
PHP Code:
stock create_spr(id,iOrigin[3]) {

    new 
Float:fOrigin[3]
    new 
ent create_entity("env_sprite")

    if(!
ent)
        return;
   
    
IVecFVec(iOriginfOrigin)
    
    
entity_set_string(entEV_SZ_classname"test")
    
entity_set_model(ent"sprites/test.spr")
    
entity_set_edict(entEV_ENT_ownerid)
    
entity_set_int(entEV_INT_spawnflagsSF_SPRITE_STARTON)
    
entity_set_float(entEV_FL_framerate30.0)

    
DispatchSpawn(ent)

    
entity_set_origin(entfOrigin)
    
entity_set_size(entFloat:{-10.0, -10.0, -10.0}, Float:{10.010.010.0})
    
entity_set_int(entEV_INT_solidSOLID_TRIGGER)
    
entity_set_int(entEV_INT_movetypeMOVETYPE_FLY)
    
entity_set_int(entEV_INT_rendermodekRenderTransAdd)
    
entity_set_float(entEV_FL_renderamt255.0)
    
entity_set_float(entEV_FL_scale1.0)
}
new 
origin[3];
get_user_origin(id,origin,2);
create_spr(id,origin); 
Code:
FATAL ERROR (shutting down): Cache_UnlinkLRU: NULL link
Is there anything wrong in code?

Last edited by Clauu; 01-22-2018 at 03:21.
Clauu 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 20:08.


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