Garry's Mod

Garry's Mod

TTT - Portal Gun for Traitor/Detective
23 kommentarer
epicgamerdude54 25. aug. 2024 kl. 4:31 
The error/issue where the use key doesn't pick up entities and breaks the other modes if you're hosting locally and have to disable the addon.
doodlezucc  [ophavsmand] 29. apr. 2024 kl. 12:11 
The error previously mentioned by mexikoedi should now be fixed :)
mexikoedi 7. apr. 2024 kl. 11:18 
Hi, just wanted to notify you that I created a new issue on GitHub.
Would be nice if you could look into it when you have time.
Xopez 29. jan. 2024 kl. 10:58 
Thanks for the fix :)
doodlezucc  [ophavsmand] 28. jan. 2024 kl. 9:09 
Hi everyone, the error described in the previous two comments should be handled correctly now in the latest update (I wasn't able to reproduce the issue, but this should fix it). Thanks for the reports :)
Xopez 15. jan. 2024 kl. 8:42 
I have got the same error:
[TTT - Portal Gun for Traitor/Detective] lua/entities/portalgun_portal.lua:105: Tried to use a NULL entity!
1. GetNWEntity - [C]:-1
2. GetLinkedPortal - lua/entities/portalgun_portal.lua:105
3. SimulatePortal - lua/entities/portalgun_portal.lua:161
4. fn - lua/autorun/client/cl_portals.lua:12
5. unknown - lua/ulib/shared/hook.lua:109
imendezr 7. jan. 2024 kl. 16:48 
[ulib] lua/entities/portalgun_portal.lua:105: Tried to use a NULL entity!
1. GetNWEntity - [C]:-1
2. GetLinkedPortal - lua/entities/portalgun_portal.lua:105
3. SimulatePortal - lua/entities/portalgun_portal.lua:161
4. fn - lua/autorun/client/cl_portals.lua:12
5. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
doodlezucc  [ophavsmand] 16. okt. 2023 kl. 10:21 
@mexikoedi yeah for sure, I'll look into it! Nice to know you're still using the portal gun addon.
mexikoedi 15. okt. 2023 kl. 12:20 
Spectators can enter a portal and also cause the "portal sound".
Could this be fixed?
doodlezucc  [ophavsmand] 6. sep. 2023 kl. 13:45 
Thanks to EntranceJew's edits, a convar is now available that controls the hitbox mask when shooting portals :)
EntranceJew 5. sep. 2023 kl. 8:27 
Heads up, I sent a PR just to add a convar for the shot mask. Portals adding themselves to the PVS when they get out of bounds can cause problems with blacking out the entire level for other clients.
doodlezucc  [ophavsmand] 30. aug. 2022 kl. 4:03 
Alright, mexikoedi's fix has been merged and is included in the latest update. Big thanks to both of you for the thorough report! (sorry it took a little while, I haven't checked my steam inbox)
rafuet 21. aug. 2022 kl. 11:53 
I can confirm mexikoedi's issue, here's a video of the issue if if helps: https://rafa.s-ul.eu/fhSV9MDC.mp4

Thanks for maintaining this great addon, doodlezucc!
mexikoedi 21. aug. 2022 kl. 11:44 
Hi, I noticed that this addon causes a weird pickup issue on my server if it is installed.
No errors in the console.
Maybe this has something to do with your last pick up update?
There was also a Gmod update: https://github.com/Facepunch/garrysmod/pull/1878/commits/a5d51fc4514f15427b3d6d2ea11e27c94838b16c

Example:
If I have a M16 in my inventory and I want to pickup a M14 with the use button ("E") then the M16 is switched with the M14 like it should but the M16 is now in the air and hold by me (like Magneto Stick pick up).
doodlezucc  [ophavsmand] 21. juli 2022 kl. 3:10 
Hey rafuet, I just released an update which contains a bug fix and overall some performance optimization. Thanks for the report!
rafuet 19. juli 2022 kl. 11:49 
I keep getting lua errors in every gamemode when pressing E in some objects:

[[TTT] Portal Gun for Traitor/Detective] lua/includes/extensions/table.lua:102: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. HasValue - lua/includes/extensions/table.lua:102
3. fn - lua/weapons/weapon_portalgun.lua:105
4. unknown - lua/ulib/shared/hook.lua:109 (x7)
doodlezucc  [ophavsmand] 11. jan. 2021 kl. 13:35 
Thanks for pointing this out, I fixed the link ^^
xugao 8. jan. 2021 kl. 3:53 
Keigun blocked :c :steamthumbsdown:
doodlezucc  [ophavsmand] 18. dec. 2020 kl. 9:57 
@booboy01kiddo613 Please refer to the let me help u thread if you encounter any problems.
(also, why do @'s not work on steam)
SonicTheSpeedsterpro 17. dec. 2020 kl. 20:55 
dis dose not work for me and i have windows 10
doodlezucc  [ophavsmand] 16. dec. 2020 kl. 17:06 
Hey @Bacon_Bitz27 I actually tried to implement this and in theory, it does already work. Garry's Mod, however, doesn't handle this correctly and displays black skyboxes or makes your portal gun disappear in the viewport. You could only work around this by setting a parameter in Steam manually and writing "r_novis 1" in the console. I also know for a fact that this does only work on Windows. Because I wanted to support Linux though, I simply decided to drop the advanced stuff and settle for a much easier approach. No stencils, no masking, just a simple render texture.
MarKEY 13. dec. 2020 kl. 17:39 
Would it be impossible to recreate the portal effect perfectly?
I don't know how to code but I watched this video about recreating the portal gun and it was very cool.

https://www.youtube.com/watch?v=_SmPR5mvH7w
Komiffol 11. dec. 2020 kl. 9:25 
I like Portal Gun
:steamsalty: