Garry's Mod

Garry's Mod

[VJ] Custom Half-Life Renaissance SNPCs
 This topic has been pinned, so it's probably important
mielatenas  [developer] 22 Aug, 2024 @ 3:39pm
Post Bugs/Suggestions here
if you encounter any inconvenience please type here in full detail, I may be up for bugfixes more quick than any additions.
< >
Showing 1-15 of 16 comments
Lord Megamix 22 Aug, 2024 @ 6:49pm 
After I subscribed to this addon, I got an error as soon as I killed a DRG Base nextbot. Take a look:

[[VJ] Custom Half-Life Renaissance SNPCs] lua/autorun/slvbase_sv_meta.lua:233: attempt to compare number with nil
1. v - lua/autorun/slvbase_sv_meta.lua:233
2. Run - lua/includes/modules/hook.lua:96
3. DrG_DeathNotice - lua/drgbase/meta/entity.lua:186
4. unknown - lua/entities/drgbase_nextbot/hooks.lua:131
5. TakeDamageInfo - [C]:-1
6. v - lua/autorun/qtg_plyhighspeeddmg.lua:65
7. unknown - lua/includes/modules/hook.lua:96
mielatenas  [developer] 22 Aug, 2024 @ 7:05pm 
@Lord Megamix done! check for more dragon base issues
Lord Megamix 22 Aug, 2024 @ 7:06pm 
You got it!
Lord Megamix 18 Oct, 2024 @ 5:46pm 
Oh and also, about the Prime SWEP addon, with THIS addon installed, I remain still as soon as I enter Morph Ball mode. Can't move at all, nor can I get out of it.
mielatenas  [developer] 20 Oct, 2024 @ 3:55pm 
Originally posted by Lord Megamix:
Oh and also, about the Prime SWEP addon, with THIS addon installed, I remain still as soon as I enter Morph Ball mode. Can't move at all, nor can I get out of it.
get me the bug log here and then maybe I can solve it on this end, Prime SWEP have a lot of hooks
Lord Megamix 20 Oct, 2024 @ 5:27pm 
I would, but no errors popped up on my console. I, however, managed to record a video of myself trying to move around in Morph Ball mode in this addon. If you would like to try it yourself, then go for it.
WLKRE 20 Oct, 2024 @ 7:45pm 
Hi, I'm the author of the Prime SWEP. @Lord_Megamix; You also posted in my issues thread. I have removed your message in order to keep the discussion here.

@mielatenas; It appears you are overriding the :IsFrozen() player function in favor of your own meta method implementation. This basically breaks any addon relying on the IsFrozen function such as mine.
https://wiki.facepunch.com/gmod/Player:IsFrozen

The offending code in question can be found in slvbase_sv_meta.lua line 280. It basically redefines the IsFrozen function to return your own internal var called bFrozen. In short, calling the function :Freeze(bool) on the player never sets bFrozen (because your implementation makes use of a custom implementation to set that var through SetFrozen).

The Prime SWEP freezes the player shortly after entering the morphball and unfreezes after a certain time (by checking, you guessed it, IsFrozen that has now been butchered).
Lord Megamix 20 Oct, 2024 @ 8:13pm 
Oh, sorry about that, WLKRE.
mielatenas  [developer] 20 Oct, 2024 @ 8:47pm 
Originally posted by WLKRE:
Hi, I'm the author of the Prime SWEP. @Lord_Megamix; You also posted in my issues thread. I have removed your message in order to keep the discussion here.

@mielatenas; It appears you are overriding the :IsFrozen() player function in favor of your own meta method implementation. This basically breaks any addon relying on the IsFrozen function such as mine.
https://wiki.facepunch.com/gmod/Player:IsFrozen

The offending code in question can be found in slvbase_sv_meta.lua line 280. It basically redefines the IsFrozen function to return your own internal var called bFrozen. In short, calling the function :Freeze(bool) on the player never sets bFrozen (because your implementation makes use of a custom implementation to set that var through SetFrozen).

The Prime SWEP freezes the player shortly after entering the morphball and unfreezes after a certain time (by checking, you guessed it, IsFrozen that has now been butchered).
thank you wasn't expecting this much dive in, it was gonna be implemented as a frozen mechanic and was lying there as dead code, it's already fixed and will no longer break by now and have to think a way to make use of the IsFrozen function without imcompatiblities
WLKRE 20 Oct, 2024 @ 8:57pm 
@Lord_Megamix; No no, thanks for informing me.

@mielatenas: Happy to help. Cheers.
Lord Megamix 21 Oct, 2024 @ 7:39am 
No problem
agentjay 22 Nov, 2024 @ 5:56pm 
R_DrawDecalsAll: overflowing m_aBatches. Reduce 1048576 decals in the scene. (x3)

[VJ Base] lua/autorun/vj_globals.lua:1149: bad argument #2 to 'FindInSphere' (number expected, got userdata)
1. FindInSphere - [C]:-1
2. VJ_SphereDamage - lua/autorun/vj_globals.lua:1149
3. DoFlameDamage - lua/autorun/mp_convar.lua:37
4. unknown - lua/entities/npc_bullsquid_base_r/init.lua:496
5. unknown - lua/entities/npc_vj_creature_base/init.lua:2157 (x22)
mielatenas  [developer] 29 Nov, 2024 @ 10:38am 
Originally posted by andrewedwardkennedy:
R_DrawDecalsAll: overflowing m_aBatches. Reduce 1048576 decals in the scene. (x3)

[VJ Base] lua/autorun/vj_globals.lua:1149: bad argument #2 to 'FindInSphere' (number expected, got userdata)
1. FindInSphere - [C]:-1
2. VJ_SphereDamage - lua/autorun/vj_globals.lua:1149
3. DoFlameDamage - lua/autorun/mp_convar.lua:37
4. unknown - lua/entities/npc_bullsquid_base_r/init.lua:496
5. unknown - lua/entities/npc_vj_creature_base/init.lua:2157 (x22)
do you have a modified vj base or have the github version?
Could you recreate the Freeze Gun from Renissance? I missed that gun.
Could you make an option to disable the kingpins summoning attack? So he cannot summon bullsquids/etc and u can fight him solo
< >
Showing 1-15 of 16 comments
Per page: 1530 50