Garry's Mod

Garry's Mod

Realistic and Painful Damage
 This topic has been pinned, so it's probably important
⇜ Tina ⇝  [developer] 18 Jul, 2024 @ 1:23pm
Technical Issues
You can write about any bugs here.

ALERT:
I don't want to have a bunch of uninformative bug reports. At least i need to be able to reproduce your problem, so I highly recommend that you include a short story about how this error has appeared along with the error logs.

If you found any incompatibility with another addon - I can fix that, as long as the incompatible addon didn't break something too badly. You can report incompatibilities by attaching error along with the addon.

"Incompatibility" means that some addon is breaking my addon, or vice versa. Not means that i can just add complex functionality for interacting with any other addons. However, I may look into some of addons that can be linked with my addon functionality, and make it as compatibility module in future. I've already seen some of your ideas in comments, but this will take some time.

Currently known problems:
- Vanilla Medkits are too universal.
- Genetics damage (from radiation) can not be cured at all for now. It's realistic, but i will add something "futuristic" to cure it later.
Last edited by ⇜ Tina ⇝; 30 Aug, 2024 @ 5:11am
< >
Showing 1-15 of 49 comments
Statsun 19 Jul, 2024 @ 3:08am 
[Realistic and Painful Damage] lua/autorun/kira_stuns.lua:113: attempt to call method 'EC_GetArmor' (a nil value)
1. unknown - lua/autorun/kira_stuns.lua:113
2. unknown - lua/dlib/modules/hook.lua:904
3. FireBullets - [C]:-1
4. PrimaryAttack - lua/weapons/weapon_vj_base/shared.lua:631
5. unknown - lua/weapons/weapon_vj_base/shared.lua:495
⇜ Tina ⇝  [developer] 19 Jul, 2024 @ 3:28am 
Originally posted by Statsun:
[Realistic and Painful Damage] lua/autorun/kira_stuns.lua:113: attempt to call method 'EC_GetArmor' (a nil value)
1. unknown - lua/autorun/kira_stuns.lua:113
2. unknown - lua/dlib/modules/hook.lua:904
3. FireBullets - [C]:-1
4. PrimaryAttack - lua/weapons/weapon_vj_base/shared.lua:631
5. unknown - lua/weapons/weapon_vj_base/shared.lua:495
Should be fixed now, thanks for report.
Statsun 19 Jul, 2024 @ 10:04am 
[Realistic and Painful Damage] lua/autorun/kira_stuns.lua:114: attempt to call method 'EC_GetArmor' (a nil value)
1. unknown - lua/autorun/kira_stuns.lua:114
2. unknown - lua/dlib/modules/hook.lua:904
3. FireBullets - [C]:-1
4. ShootWeapon - lua/zeta/weapon_handling.lua:351
5. FireWeapon - lua/zeta/weapon_handling.lua:367
6. unknown - lua/zeta/state_functions.lua:853
7. unknown - lua/entities/npc_zetaplayer.lua:1558
This is unfortunately the case with every NPC
⇜ Tina ⇝  [developer] 19 Jul, 2024 @ 10:55am 
Originally posted by Statsun:
[Realistic and Painful Damage] lua/autorun/kira_stuns.lua:114: attempt to call method 'EC_GetArmor' (a nil value)
1. unknown - lua/autorun/kira_stuns.lua:114
2. unknown - lua/dlib/modules/hook.lua:904
3. FireBullets - [C]:-1
4. ShootWeapon - lua/zeta/weapon_handling.lua:351
5. FireWeapon - lua/zeta/weapon_handling.lua:367
6. unknown - lua/zeta/state_functions.lua:853
7. unknown - lua/entities/npc_zetaplayer.lua:1558
This is unfortunately the case with every NPC
Oops,I forgot to change other armor checks... Fixed.
Soldier 19 Jul, 2024 @ 1:14pm 
[Realistic and Painful Damage] lua/entities/rapd_inventory_item.lua:99: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/rapd_inventory_item.lua:99

^ caused by attempting to spawn RaPD items without using the spawnmenu, using the console, happens with all items

a similar bug happens when attempting to spawn RaPD through NPCDaemon

[Realistic and Painful Damage] lua/entities/rapd_inventory_item.lua:99: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/rapd_inventory_item.lua:99
2. Spawn - [C]:-1
3. SpawnNPC - lua/sv_npcd_spawn.lua:637
4. TargetSpawnPreset - lua/sv_npcd_spawn.lua:2504
5. func - lua/sv_npcd.lua:632
6. unknown - lua/includes/extensions/net.lua:38
Last edited by Soldier; 19 Jul, 2024 @ 1:14pm
i love girls 19 Jul, 2024 @ 7:42pm 
im just completely unkillable with the mod enabled, no script error message or anything pops up
Last edited by i love girls; 19 Jul, 2024 @ 7:42pm
⇜ Tina ⇝  [developer] 20 Jul, 2024 @ 2:42am 
Originally posted by John Soldier:
[Realistic and Painful Damage] lua/entities/rapd_inventory_item.lua:99: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/rapd_inventory_item.lua:99

^ caused by attempting to spawn RaPD items without using the spawnmenu, using the console, happens with all items

a similar bug happens when attempting to spawn RaPD through NPCDaemon

[Realistic and Painful Damage] lua/entities/rapd_inventory_item.lua:99: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/rapd_inventory_item.lua:99
2. Spawn - [C]:-1
3. SpawnNPC - lua/sv_npcd_spawn.lua:637
4. TargetSpawnPreset - lua/sv_npcd_spawn.lua:2504
5. func - lua/sv_npcd.lua:632
6. unknown - lua/includes/extensions/net.lua:38
Probably fixed. Check this with your addons please. I made all items automatically generate their data when initialized. They should now be more compatible with all spawn sources.
⇜ Tina ⇝  [developer] 20 Jul, 2024 @ 2:48am 
Originally posted by i love girls:
im just completely unkillable with the mod enabled, no script error message or anything pops up
I really need more information. I don't have this problem. Most likely this is a conflict with another addon. You can try to disable addons one by one and find out what is causing it if you have time to do so.
Dan 20 Jul, 2024 @ 6:48am 
I have noticed the despite being fully healed the players health remains low say like 30% until damage is caused again resetting the players health to 100%.
Kiralex 20 Jul, 2024 @ 7:02am 
Убивая игрока, трясет камеру какое-то время
А также во время кровотечения спавнится.. желтая декаль инопланетной крови
Last edited by Kiralex; 20 Jul, 2024 @ 7:04am
i love girls 20 Jul, 2024 @ 7:04am 
Originally posted by ⇜ Tina ⇝:
Originally posted by i love girls:
im just completely unkillable with the mod enabled, no script error message or anything pops up
I really need more information. I don't have this problem. Most likely this is a conflict with another addon. You can try to disable addons one by one and find out what is causing it if you have time to do so.
was planning to do that, just wanted to make sure it wasnt already a known issue or anything before i go through all that
Soldier 20 Jul, 2024 @ 7:54am 
Originally posted by ⇜ Tina ⇝:
Originally posted by John Soldier:
[Realistic and Painful Damage] lua/entities/rapd_inventory_item.lua:99: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/rapd_inventory_item.lua:99

^ caused by attempting to spawn RaPD items without using the spawnmenu, using the console, happens with all items

a similar bug happens when attempting to spawn RaPD through NPCDaemon

[Realistic and Painful Damage] lua/entities/rapd_inventory_item.lua:99: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/rapd_inventory_item.lua:99
2. Spawn - [C]:-1
3. SpawnNPC - lua/sv_npcd_spawn.lua:637
4. TargetSpawnPreset - lua/sv_npcd_spawn.lua:2504
5. func - lua/sv_npcd.lua:632
6. unknown - lua/includes/extensions/net.lua:38
Probably fixed. Check this with your addons please. I made all items automatically generate their data when initialized. They should now be more compatible with all spawn sources.
Fixed. However, two items (syringe and the bloodbag), when spawned without using spawnmenu, are spawned completely empty.
Last edited by Soldier; 20 Jul, 2024 @ 8:00am
⇜ Tina ⇝  [developer] 20 Jul, 2024 @ 12:09pm 
Originally posted by Kiralex:
Убивая игрока, трясет камеру какое-то время
А также во время кровотечения спавнится.. желтая декаль инопланетной крови
Это рвота, появляется при слишком большом количестве жидкости в желудке, либо если желудок повреждён. Планирую потом какие-нибудь более адекватные звуки под это добавить, а то сейчас не очень понятно выглядит.

Насчёт камеры... Подробнее ? Есть аддоны на камеру ? Любая подмена позиции камеры в гмоде всегда работает крайне конфликтно, но мой аддон не имеет подобного кода, который должен как-либо взаимодействовать с камерой.
Last edited by ⇜ Tina ⇝; 20 Jul, 2024 @ 12:12pm
damiansgmod 20 Jul, 2024 @ 12:39pm 
from what i can tell, "toxins" damage cannot be healed, you might want to add an item for that such as anti biotics or something of that sort
damiansgmod 20 Jul, 2024 @ 1:54pm 
issue with blood bag in the inventory, it only shows while being used, it almost looks like the animation for it being used up it actually doing the opposite, instead slowly appearing as its used, but totally invisible when first picked up
< >
Showing 1-15 of 49 comments
Per page: 1530 50