Garry's Mod

Garry's Mod

[TTT] 100 More Randomats! (Pack 1/3)
66 kommentarer
The Stig  [skaper] 16. mai kl. 19.55 
@SvveetMavis Oh the bouncy randomat is long gone, I can fix that
SvveetMavis 16. mai kl. 9.33 
when trying to use the bunny hop one it says that the bouncy randomat is missing, wheres that from?
Leerabitt 22. jan. kl. 17.11 
You are an absolute legend, thank you so much! : D
The Stig  [skaper] 23. des. 2024 kl. 18.06 
@Krimson Yep, mine and Mal's randomat mods are made to work together
Krimson 23. des. 2024 kl. 14.35 
Just wondering. I have Malivil's Randomat for Custom Roles 2.0 enabled. Can I enable your pack of 100 more randomats alongside it? Or will they cause issues if I do that?
The Stig  [skaper] 4. des. 2024 kl. 4.48 
@Leerabitt Mine and Mal's randomat mods have been updated, try now.
The Stig  [skaper] 4. des. 2024 kl. 2.56 
@Leerabitt Alright, I've pushed a fix, but in order for this to work, I'm going to have to convince Mal to fix this too, which he might not want to do because he might not want to make a change to add compatibility with TTT2. If you're not using Mal's randomat mod too, the randomat should work now, if you are, you might have to wait for this to be fixed on his end too.
The Stig  [skaper] 3. des. 2024 kl. 15.53 
I'm afraid I'm a bit busy at the moment, might be a while before I get back to Gmod stuff.
Leerabitt 2. des. 2024 kl. 3.01 
Oh my word, my apologies for such the delayed response. I hopped in a game and your change seems to have done the trick for stopping the crashes!
The only issue now is that the Randomat seems to be struggling to trigger:

[[TTT] 100 More Randomats! (Pack 3/3)] lua/randomat2/randomat_shared_stig.lua:561: attempt to perform arithmetic on field 'RoundStartTime' (a nil value)
1. GetRoundCompletePercent - lua/randomat2/randomat_shared_stig.lua:561
2. CanEventRun - lua/randomat2/randomat_base_stig.lua:441
3. GetRandomEvent - lua/randomat2/randomat_base_stig.lua:507
4. TriggerRandomEvent - lua/randomat2/randomat_base_stig.lua:532
5. fn - lua/autorun/_randomat_loader_stig.lua:109
6. Run - lua/ulib/shared/hook.lua:109
7. unknown - lua/ttt2/libraries/gameloop.lua:249

Thank you once again for helping to bring the good ol' Randomat back into our playgroup!
The Stig  [skaper] 22. juni 2024 kl. 3.18 
@Leerabitt Well now that was a weird one... I think you just found a bug with Gmod itself.
See if it works now after the update.
Leerabitt 19. juni 2024 kl. 23.50 
Hey, my friends and I love this addon to bits, it adds a ton of variety and fun/silly moments to the game.
However, as of late, for some reason when we swap maps or try to load into a new session on one, if any of the three 100 extra Randomat mods are enabled, our games crash. We narrowed it down to these addons through a systematic disabling of them and found that when these 3 were disabled, it worked fine but whenever any of them weren't, the same issue would arise.
Any help you could give on this would be greatly appreciated; thanks in advance!
I Am a pet snake 14. apr. 2024 kl. 0.53 
Ss
The Stig  [skaper] 9. jan. 2024 kl. 6.03 
@Raven That's very weird. I would try seeing if you still get errors if this is the only mod you have enabled. And if not, slowly start enabling sets of mods until the errors start again to see if a mod could be conflicting.
Raven 8. jan. 2024 kl. 17.56 
[[TTT] 100 More Randomats! (Pack 1/3)] Couldn't include file 'randomat2\cl_common_stig.lua' - File not found or is empty (@lua/autorun/_randomat_loader_stig.lua (line 41))
1. AddClient - lua/autorun/_randomat_loader_stig.lua:41
2. unknown - lua/autorun/_randomat_loader_stig.lua:130
I keep getting these and a few other errors, how do I resolve them?
牛栏山辉夜 30. nov. 2023 kl. 22.32 
What is this map called
The Stig  [skaper] 22. jan. 2023 kl. 5.51 
@imenderzr I've added that mod to the incompatible list, thanks for letting me know!

That makes sense it's incompatible, since my mod already adds all of the randomat events that mod adds (but updated versions of them since I've supported those events for a long while now).
imendezr 22. jan. 2023 kl. 5.07 
After a long time, I found that the error it's not caused by the mod itself, seems like this mod conflicts with "TTT Extra Randomat Events":
https://sp.zhabite.com/sharedfiles/filedetails/?id=2214440295

Only when the two mods are installed is when the lua error appears... You should put it in the incompatible mods list!
imendezr 22. jan. 2023 kl. 4.38 
[ulib] ULib queue error: addons/ulx/lua/ulx/modules/cl/xlib.lua:52: attempt to call method 'SetValue' (a nil value)

1. fn - addons/ulib/lua/ulib/shared/util.lua:468
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109



How can I get rid of this error? It's caused by this addon
MutantBison, PhD 18. jan. 2023 kl. 4.40 
Maybe “Oh Canada” is a better title? Up to whichever you think is best :)
MutantBison, PhD 17. jan. 2023 kl. 20.33 
My man, you are the best. Thanks so much!
The Stig  [skaper] 17. jan. 2023 kl. 20.24 
I had to put that in pack 3 since it requires another mod but there you go: https://sp.zhabite.com/sharedfiles/filedetails/?id=2428353239
MutantBison, PhD 17. jan. 2023 kl. 7.00 
If you take suggestions, any chance of a Sips themed randomat? (Alex or Shadow would work too)

“Sips Sends His Regards” turning everyone into this playermodel:

https://sp.zhabite.com/sharedfiles/filedetails/?id=2659543412

(The stereotypical Red Surge, of course)
The Stig  [skaper] 15. jan. 2023 kl. 18.16 
This mod may work with TTT2 but this is untested.
TTT2 actually has its own version of the randomat called "minigames", you might wanna try searching "TTT2 Minigames" on the workshop: https://sp.zhabite.com/workshop/browse/?appid=4000&searchtext=TTT2+minigames
CoolChiz 15. jan. 2023 kl. 15.25 
Does this work with TTT2?
The Stig  [skaper] 28. juni 2022 kl. 20.05 
No problem! Glad to have helped.
MutantBison, PhD 28. juni 2022 kl. 19.03 
You were spot on. There was a short Halo Grunt playermodel that broke everything. As soon as it was removed all the randomats immediately worked again.

Never would have figured that out with your excellent troubleshooting. Thanks again! :) Some say you're one of the most helpful mod authors out there.
MutantBison, PhD 28. juni 2022 kl. 16.38 
Wow, you really invested a lot of time in figuring out my problem. Thank you so much! I will say that all the mods you highlighted for causing conflicts are actually disabled when I play - I just never got around to removing them from the collection proper.

If it’s an issue with a specific playermodel then at least that narrows things down. I’ll get on sorting that out.

Thank you so much for all your help! Especially when it’s not even an issue with your own addon. Cheers!
The Stig  [skaper] 28. juni 2022 kl. 7.16 
I can only recommend trial and error, removing mods in groups at a time until the issue goes away. I suspect a playermodel may not be setting its custom viewheight properly and is affecting playermodels other than itself.
The Stig  [skaper] 28. juni 2022 kl. 7.13 
Steps to replicate:
- Choose and apply a short model, e.g. the night in the woods cat
- Re-join the server
- Choose and apply a normal height model
The Stig  [skaper] 28. juni 2022 kl. 7.10 
I was able to replicate the issue by simply changing back and forth from a short model to a normal height one. It seems the issue isn't with the randomat I'm afraid.
The Stig  [skaper] 28. juni 2022 kl. 6.08 
More in-built mods in CR that will conflict:
https://sp.zhabite.com/sharedfiles/filedetails/?id=690007939
https://sp.zhabite.com/sharedfiles/filedetails/?id=167547072

See if removing all of these mods works, you can also try running menu_cleanupgmas on the main menu. Only removing the melee weapons mod will result in anything changing. Everything else was already installed with CR for TTT.

I'm yet to replicate this problem however, the 'BAWK!' randomat for example works fine for me.
The Stig  [skaper] 28. juni 2022 kl. 5.56 
Incompatible with CR for TTT: https://sp.zhabite.com/sharedfiles/filedetails/?id=1729451064

Obsolete with CR ULX module, all commands included with this mod are already included with the CR for TTT ulx command mod, will only cause conflicts: https://sp.zhabite.com/sharedfiles/filedetails/?id=127865722
The Stig  [skaper] 28. juni 2022 kl. 5.44 
Same with this mod, already part of CR for TTT, will cause conflicts: https://sp.zhabite.com/sharedfiles/filedetails/?id=933056549
The Stig  [skaper] 28. juni 2022 kl. 5.42 
This mod is incompatible with Custom Roles for TTT: https://sp.zhabite.com/sharedfiles/filedetails/?id=878772496

It is built-in to Custom Roles so including it will only cause conflicts
MutantBison, PhD 28. juni 2022 kl. 3.37 
I do. It's quite a large one and it's listed on my profile (not sure if I can link it in the comments or not).

I'm not getting any error messages related to the randomats, though. And I'll need to check to see what mods I've added in the last month or two to see if any of those could be causing issues. But I don't know what the conflict would be.
The Stig  [skaper] 27. juni 2022 kl. 23.17 
@LarryBoy101 Hmmm... that's very strange. Do you have a collection of the mods you are using?
MutantBison, PhD 27. juni 2022 kl. 22.50 
I'm not sure which randomat mod adds this, but I've been running into problems anytime a randomat (there's a lot that do it) changes the POV to that of a shorter model.

It never reverts the POV back to normal after the round is over, even if you die. Instead you're returned to full size playermodels but your POV starts at their waist. It's very strange and has only started happening recently. (those same randomats were never an issue before about a month or two ago)

The viewpoints are only returned when the map changes. Changing playermodels does not fix it.
Tartoof 16. nov. 2021 kl. 22.22 
That's perfect. Thank again
The Stig  [skaper] 16. nov. 2021 kl. 18.59 
You can see the full code of this mod here: https://github.com/TheStig294/100-more-randomats-pack-1

Also, the low grav sniper randomat isn't mine, that's from one of the randomat mods I linked you. Their code is here: https://github.com/Malivil/TTT-Randomat-20
Tartoof 16. nov. 2021 kl. 14.24 
Kind of an unrelated question but is there a way to see what exactly the randomat is changing so you can recreate it in other gamemodes? I tried checking the console for example when the "Realistic Recoil" (Weapons send you flying) event started hoping to be able to do that in sandbox but nothing showed. The low grav sniper one would be a lot of fun in sandbox as well.
Tartoof 8. nov. 2021 kl. 23.46 
Oh gotcha! Thanks so much. That was really cool of ya to look into that for us.
The Stig  [skaper] 8. nov. 2021 kl. 16.24 
@Tartoof

You have both this mod:
https://sp.zhabite.com/sharedfiles/filedetails/?id=1406495040
And this mod installed:
https://sp.zhabite.com/sharedfiles/filedetails/?id=2055805086
You should only have one or the other.

Since you have Custom Roles for TTT, you should use only the one for Custom Roles for TTT (the 2nd one). Don't worry, all randomats that are in the first mod are in the second, they've just been modified to work with Custom Roles.
Tartoof 4. nov. 2021 kl. 0.52 
The Stig  [skaper] 3. nov. 2021 kl. 17.50 
SonOfUltron never sent the collection of mods they were using, so I was unable to replicate the issue and therefore unable to fix it. Can you send the collection of mods you are using?
Tartoof 2. nov. 2021 kl. 20.50 
I'm also having the issue of certain randomats carrying over permanently. Was there any fix for this? It's not a lot of them but the mary poppins one for example would great to get working.
The Stig  [skaper] 19. okt. 2021 kl. 22.59 
@SonOfUltron Just tried also using the other most common randomat mods and while they do error in the console, Petrify, Zero Friction, and other events reset just fine
The Stig  [skaper] 19. okt. 2021 kl. 18.11 
@SonOfUltron do you have a collection of the mods you are using?
SonOfUltron 19. okt. 2021 kl. 14.14 
Certain events seem to not reset at the end of each round for me such as Petrify, Zero Friction and others. Is there a list of incompatible mods that may be causing this?
The Stig  [skaper] 9. juli 2021 kl. 3.55 
@-=PYPA=- Thecla Pionk Boik Use this one: ULX Module for Randomat 2.0

The original randomat ULX mod will not work!