Garry's Mod

Garry's Mod

[VJ] Custom Half-Life Renaissance SNPCs
 Toto téma bylo přilepeno, takže je nejspíš důležité
mielatenas  [vývojář] 22. srp. 2024 v 15.39
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.
< >
Zobrazuje se 115 z 16 komentářů
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  [vývojář] 22. srp. 2024 v 19.05 
@Lord Megamix done! check for more dragon base issues
You got it!
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  [vývojář] 20. říj. 2024 v 15.55 
Lord Megamix původně napsal:
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
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.
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).
Oh, sorry about that, WLKRE.
mielatenas  [vývojář] 20. říj. 2024 v 20.47 
WLKRE původně napsal:
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
@Lord_Megamix; No no, thanks for informing me.

@mielatenas: Happy to help. Cheers.
No problem
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  [vývojář] 29. lis. 2024 v 10.38 
andrewedwardkennedy původně napsal:
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
< >
Zobrazuje se 115 z 16 komentářů
Na stránku: 1530 50