Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://tickettool.xyz/transcript/v1/1312388706782679100/1348363814189400156/transcript-emitters-and-ui-pos.html/67cf3128/67cddfa8/e416ad3f61d51e04bad9db37632b3506bb55b1be47f912848f8d2789da1af669
1. Desc - [C]:-1
2. ApplyEffect - lua/sef/sef_functions.lua:63
3. unknown - lua/sef/sef_functions.lua:607
4. unknown - lua/includes/modules/concommand.lua:54
[[SEF] Status Effect Framework] lua/sef/sef_effectlist.lua:562: bad argument #1 to 'TakeDamage' (number expected, got nil)
1. TakeDamage - [C]:-1
2. Function - lua/sef/sef_effectlist.lua:562
3. v - lua/sef/sef_hooks.lua:19
4. unknown - lua/includes/modules/hook.lua:102
and I gave myself stunned but it didn't stop me from moving
do I have something that's conflicting it?
@Малыш Камыш Fixed.
1. pairs - [C]:-1
2. Function - lua/sef/sef_effectlist.lua:1041
3. hookfunc - lua/sef/sef_hooks.lua:19
4. fn - lua/perfopus/sh_time_hook.lua:36
5. unknown - lua/ulib/shared/hook.lua:109
can someone told me plz? I'm dumb
1. pairs - [C]:-1
2. Function - lua/sef/sef_effectlist.lua:613
3. v - lua/sef/sef_hooks.lua:19
4. unknown - lua/includes/modules/hook.lua:96 (x363)
Look, you put entbasestats check, but it still runing cycle on players table and still scan for entities such as npc/player/nextbot, so you stop it only on aplying initientitybasestats if they already applied.
But cycle is still runnign and its done every frame. Aslo it don't need to be checked every frame, its simply overkill. As i said before it can be done on playerspawn or when you apply your status effect on entity.
you dont need to init base stats every frame
you can do it in playerspawn hook for example
also dont run cycles (pairs) inside of think hooks its bad idea
most of them were mods I really like to use so that really sucks, but I got to a point where I get stable frames!!
Even with all this cleaning though, I still get 30+ frames less than I would with it disabled.