Garry's Mod

Garry's Mod

[VJ] Custom Half-Life Renaissance SNPCs
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
mielatenas  [udvikler] 22. aug. 2024 kl. 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.
< >
Viser 1-15 af 16 kommentarer
Lord Megamix 22. aug. 2024 kl. 18:49 
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  [udvikler] 22. aug. 2024 kl. 19:05 
@Lord Megamix done! check for more dragon base issues
Lord Megamix 22. aug. 2024 kl. 19:06 
You got it!
Lord Megamix 18. okt. 2024 kl. 17:46 
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  [udvikler] 20. okt. 2024 kl. 15:55 
Oprindeligt skrevet af 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. okt. 2024 kl. 17:27 
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. okt. 2024 kl. 19:45 
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. okt. 2024 kl. 20:13 
Oh, sorry about that, WLKRE.
mielatenas  [udvikler] 20. okt. 2024 kl. 20:47 
Oprindeligt skrevet af 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. okt. 2024 kl. 20:57 
@Lord_Megamix; No no, thanks for informing me.

@mielatenas: Happy to help. Cheers.
Lord Megamix 21. okt. 2024 kl. 7:39 
No problem
agentjay 22. nov. 2024 kl. 17:56 
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  [udvikler] 29. nov. 2024 kl. 10:38 
Oprindeligt skrevet af 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
< >
Viser 1-15 af 16 kommentarer
Per side: 1530 50