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

STUPID bug doesnt show effects


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BANDIT228
Member
Join Date: Sep 2017
Old 03-24-2018 , 08:26   STUPID bug doesnt show effects
Reply With Quote #1

i got a really odd bug....i am playing a mod called esf with a little gore addon.....
means when low hp u see blood.

also i have a npc plugin and when u kill that guy he shall bleed.

************************************

public npc_TakeDamage(iEnt)
{
//Make sure we only catch our NPC by checking the classname
new className[32];
entity_get_string(iEnt, EV_SZ_classname, className, sizeof(className)-1)

if(!is_valid_ent(iEnt) || !equali(className, g_NpcClassName))
return;

new Float:tar[3];
tar[2] += 20;
entity_get_vector(iEnt, EV_VEC_origin, tar);

//This message will draw blood sprites
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
write_byte(TE_BLOODSPRITE);
engfunc(EngFunc_WriteCoord, tar[0]);
engfunc(EngFunc_WriteCoord, tar[1]);
engfunc(EngFunc_WriteCoord, tar[2]);
write_short(spr_blood_spray);
write_short(spr_blood_drop);
write_byte(247); // color index
write_byte(random_num(1, 5)); // size
message_end();




*********
that was the code of it.............NOw the odd part! it worked totally fine 2 days ago.....i didnt change anything! now i have no blood(gore) and the npc also just lays around.....
when someone joins my server he sees all that blood......but i wanna see it also again>_>

had that bug years ago......after getting new pc that bug was gone.....
i already reinstalled all.....

someone knows what causes this? it doesnt seem to have anything real to do with half life and the mod....cause i already reinstalled all and updated all...


like said it worked days before.....and everyone on my server sees that except me....

Last edited by BANDIT228; 03-24-2018 at 08:28.
BANDIT228 is offline
BANDIT228
Member
Join Date: Sep 2017
Old 03-27-2018 , 06:47   Re: STUPID bug doesnt show effects
Reply With Quote #2

i fixed it.....thx for the non help.........

somehow the violence settings were set to 0 all of the sudden....

after i changed all values to 1 and pasted this into my hl and my mod folder it works again
BANDIT228 is offline
Reply


Thread Tools
Display Modes

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 03:29.


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