Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particles going over limit and not rendering in multiplayer. #6151

Open
funkynuggets opened this issue Jan 16, 2025 · 6 comments
Open

Particles going over limit and not rendering in multiplayer. #6151

funkynuggets opened this issue Jan 16, 2025 · 6 comments

Comments

@funkynuggets
Copy link

funkynuggets commented Jan 16, 2025

Details

This one is very similar to an bug listed here that was fixed earlier last year. #5509
In singleplayer, this works without any issue. Though in a multiplayer listen lobby the problem shows. It seems to be something with having a certain number of particles on a table out of range and just doesn't show them up at all. This also could be potentially linked to the multiplayer LUA script limit being lower then singleplayer. I did extensive testing between yesterday and today to make sure it wasn't a conflict of some sort. It does seem to be some sort of overflow. Since this was a previous issue before and was fixed for singleplayer, maybe there's something multiplayer wise that wasn't updated?

Steps to reproduce

1.Have particle heavy addons that go over this limit.
2.Go on a multiplayer server that has these addons activated. Both hosting and joining has this issue.

@robotboy655
Copy link
Contributor

Can you at least please provide the links to said "particle heavy addons "?
Can you provide console logs after this issue happens?
Can you please state what version of the game you are running?

@robotboy655 robotboy655 added the Invalid/No-info The issue doesn't have enough information to be fixed. label Jan 16, 2025
@funkynuggets
Copy link
Author

Apologises.
The particle heavy addons I used were a variety of NPC ones. It's not just one addon- I can send you a collection of my addons at the time of this bug if it helps. Should warn it's pretty big however.

Version is
Protocol version 24
Exe version 2024.10.29 (garrysmod)
Exe build: 18:32:12 Nov 29 2024 (9519) (4000)
GMod version 2024.12.13, branch: x86-64, multicore: 1
Windows 64bit

I can't anything very intresting in the console log outside a couple of precache errors and a error related to it message from a addon, though this happened on several other addons which didn't generate a message.

Attemped to precache unknown particle system "arefire15_small"! (x2)
Attemped to precache unknown particle system "aresfire10_small"! (x2)
Attemped to precache unknown particle system "aresfire11_small"! (x2)
Attemped to precache unknown particle system "fireball_small"! (x2)
Attemped to precache unknown particle system "fireballsparks_small"! (x2)
Attemped to precache unknown particle system "aresfire3big"! (x2)
Attemped to precache unknown particle system "aresfire6big"! (x2)
Attemped to precache unknown particle system "aresfire12big"! (x2)
Attemped to precache unknown particle system "fireballshoke2big"! (x2)
[DrGBase] Nextbot 'drg_aresf': loaded.
Attemped to precache unknown particle system "arefire15_small"!
Attemped to precache unknown particle system "aresfire10_small"!
Attemped to precache unknown particle system "aresfire11_small"!
Attemped to precache unknown particle system "fireball_small"!
Attemped to precache unknown particle system "fireballsparks_small"!
Attemped to precache unknown particle system "aresfire3big"!
Attemped to precache unknown particle system "aresfire6big"!
Attemped to precache unknown particle system "aresfire12big"!
Attemped to precache unknown particle system "fireballshoke2big"!
[DrGBase] Nextbot 'drg_aresf_big': loaded.
Error creating 'ut2004_link_proj' (Make sure the file is AddCSLuaFile'd and there aren't any errors!)

I can send the full console log, but I do have many addons which fill it up with useless information.
Sorry about missing those details, I've got a really bad cold and my brain isn't working as well as it should.

@robotboy655
Copy link
Contributor

Sounds like you are encountering this issue:
Facepunch/garrysmod-requests#2082

Just with the new limit. There's always going to be a limit, and we can't continue increasing it indefinitely.

Remove addons you are not using, report the issue to addon makers to not precache effects they are not using.

@robotboy655 robotboy655 added Net compat This issue requires breaking network compatibility to solve so it will be queued. and removed Invalid/No-info The issue doesn't have enough information to be fixed. labels Jan 24, 2025
@funkynuggets
Copy link
Author

I'm not sure it is. I think it's related but not the same issue, as all of this works in singleplayer. It could potentially be caused by the lua limit being different in multiplayer causing some weirdness? Not sure. But yeah, no issues in singleplayer.

@robotboy655
Copy link
Contributor

If its the Lua file limit, that would just be another limit, and again we simply cannot keep increasing limits like that indefinitely. It will never be enough.

If you are certain it's the Lua file limit (specifically clientside Lua file limit), then this would be a duplicate of this issue: Facepunch/garrysmod-requests#2131

I can only speculate without a proper way to reproduce the issue.

@funkynuggets
Copy link
Author

I'm not entirely sure if it's because of the lua limit because I'm sure I'd see a lot more issues rather then just particles, ontop of the fact the lua table doen't seem to be maxed out from what I can see in the console.

I wish I could give more support but there's no smoking gun in the console that points to the issue.

@robotboy655 robotboy655 removed the Net compat This issue requires breaking network compatibility to solve so it will be queued. label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants