Garry's Mod

Garry's Mod

(UNSTABLE & UNSUPPORTED) Editable Shield Generators
 此主题已被置顶,因此可能具有重要性
hisui  [开发者] 2020 年 6 月 6 日 上午 3:59
BUG REPORTS
Yes, sometimes your game will crash if your shield is set to a certain size, it varies between maps. I am aware of this, but there is nothing I can really do about it. It is because the Source engine doesn't handle well with things and their collisions being scaled up to large sizes. Once again, there is nothing I can do about this.

If you have a bug to report, post it in a comment here. Please include a detailed description of what you were doing before the bug occurred, including whether you were in multiplayer or singleplayer, the gamemode you were playing in, the branch of the game you are playing in (normal/chromium/dev) and if possible, the steps to reproduce the bug. If you are having issues with another addon interacting with this shield, please provide a link to the addon.
最后由 hisui 编辑于; 2020 年 6 月 13 日 下午 8:20
< >
正在显示第 1 - 15 条,共 21 条留言
Gorbi 2020 年 6 月 7 日 上午 4:06 
Hello, your addon is great, but it looks like there is a beug, the shield hitbox does not work beyond a range of 30 (default), so increasing the size of the shield does not protect. Thanks again for this addon and hope you can fix it!
hisui  [开发者] 2020 年 6 月 7 日 上午 4:20 
引用自 Gorbi
Hello, your addon is great, but it looks like there is a beug, the shield hitbox does not work beyond a range of 30 (default), so increasing the size of the shield does not protect. Thanks again for this addon and hope you can fix it!
You must disable and then re-enable the shield after changing the size. Unfortunately there does not seem to be anything I can to do fix this, and even if there were, I would not, as computing the collisions of the shield constantly just to make sure it lines up with what you see would be very taxing on the physics engine (and thus very laggy)
最后由 hisui 编辑于; 2020 年 6 月 7 日 上午 4:27
RÆZ 2020 年 6 月 7 日 上午 5:33 
Awesome addon, but i just found out that if you take a LFS ship and fly into the shield, the game crashes
hisui  [开发者] 2020 年 6 月 7 日 上午 6:33 
引用自 RÆZ
Awesome addon, but i just found out that if you take a LFS ship and fly into the shield, the game crashes
Which ship specifically were you flying? Does this happen with any other LFS ships? Where on the shield did you fly into (top, side etc)? I have tested these shields with LFS ships and have not encountered any crashes, so please provide as many details as possible.
RÆZ 2020 年 6 月 7 日 上午 6:39 
引用自 Ace
引用自 RÆZ
Awesome addon, but i just found out that if you take a LFS ship and fly into the shield, the game crashes
Which ship specifically were you flying? Does this happen with any other LFS ships? Where on the shield did you fly into (top, side etc)? I have tested these shields with LFS ships and have not encountered any crashes, so please provide as many details as possible.

I was flying a Rebel X-Wing from the inside out and i hit it horizontally. tested it out with different ships, and so far the LAAT also crashes the game if i hit it from the inside.
RÆZ 2020 年 6 月 7 日 上午 6:40 
I'll test some more ships, but so far only the X-Wing and the LAAT has crashed my game
hisui  [开发者] 2020 年 6 月 7 日 上午 6:44 
引用自 RÆZ
I was flying a Rebel X-Wing from the inside out and i hit it horizontally. tested it out with different ships, and so far the LAAT also crashes the game if i hit it from the inside.
From the inside out, I see. I will do some testing, see if I can replicate the issue. Do you mind sending me a link to the specific X-wing you're using?
RÆZ 2020 年 6 月 7 日 上午 6:48 
最后由 RÆZ 编辑于; 2020 年 6 月 7 日 上午 6:49
Jake 2020 年 6 月 8 日 下午 8:10 
When I enable and disable the shield, it crashes my server. I have no idea why :(
hisui  [开发者] 2020 年 6 月 8 日 下午 8:59 
引用自 Jakku ✌
When I enable and disable the shield, it crashes my server. I have no idea why :(
That is odd. Could you add me on here or on Discord (Sparks#9472) and send me your server's log, so I might try and diagnose what went wrong?
Seagull 2020 年 6 月 10 日 上午 6:37 
Its beautiful and amazing in almost every way. But! First when I spawn the shield generator, set size and enable it everything is fine. But sometimes it turns itself off and when I enable it again the server usually crashes. I dont know if its the size of the shield or just the enable and disable part.
Puggo 2020 年 6 月 10 日 上午 8:05 
I tested this shield on a few different maps with no other mods. It worked 100% fine on Flatgrass and Maranzo's Christophsis map, but it crashed the game on Construct and BigCity Improved when the size was pushed above 40.
hisui  [开发者] 2020 年 6 月 10 日 下午 1:14 
@bord @pose @jakku thank you for giving me some more insight into this, thanks to these reports I think I have an idea of what may be causing crashes. I'll be updating the addon shortly to change the shield so that the size is only set when the shield is first created, rather than being updated to match what is set while it is active. I'll make another comment here when I've done so, at that point I'd appreciate if you guys could try doing the same stuff you've been doing and let me know if the crashes persist, especially when setting size above 40.
hisui  [开发者] 2020 年 6 月 10 日 下午 8:52 
I released an update a few minutes ago that should help relieve some issues with crashing related to the size. For the short version, read the change notes. For the long version, read here:

Basically, there's nothing I can do about the crashing other than lessen the chance of it happening. It's an unfortunate effect of the shield being scaleable, and for some reason it is worse on other maps than others. for instance, on maps like gm_flatgrass, gm_buttes and hfg_geonosis, I can go well above the 200 size limit perfectly fine, but on stuff like emp_escort or gm_construct I couldn't go above around 40, give or take a few. I really have no way of knowing exactly what causes it and even if I did, I couldn't fix it. As far as I am aware, it's pretty much just because Source Engine doesn't deal well with things' collision models being scaled up, especially if they're complex (which a hollow semi-sphere, believe it or not, is. A sphere is even moreso).
I've replaced the shield's actual physical model with a lower-complexity version (50% as complex) which has on gm_construct allowed me to go up to about 70 with the size as opposed to the 40 before.
Other than that, there's nothing I can really do to fix the crashes, only relieve them a little bit. The physics engine just doesn't like the very large scaling up of a physics object.

The general rule that I've found from testing with like 60 different maps seems to just be "don't use it on small maps or ones with low skybox ceilings and you'll be fine".
NitroStarman 2020 年 6 月 13 日 上午 11:46 
Game tends to crash if shield is set to a larger radius with sphere option on. Guessing it has to do with multiple collisions of the shield going through the map. Was playing on gm_novenka.
< >
正在显示第 1 - 15 条,共 21 条留言
每页显示数: 1530 50