-
Notifications
You must be signed in to change notification settings - Fork 47
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
Giant Spiders drops i_spider_web in sleeping sector #1249
Comments
Ok the item are added here: Source-X/src/game/chars/CCharNPCAct.cpp Lines 1918 to 1949 in 8e44484
A check for sector sleep should be add on spider and fire elemental |
This bug is weird because: I was about to add some check on the core to prevent But both are useless because 1 and 2 work..... I try to reproduce but i'm not able... I spawn 250 spider on britain and they make spider web everywhere.. I leave for 10 mins, (Sector sleep after 1 min) When I come back there no web. |
whats the bug then? |
Don't know... was not able to reproduce.. Maybe David was using an old build before we added the "decay" don't sleep |
nolok confirmed, so there got to b something. |
Well it was confirmed back then, i didn't check with latest builds |
it seems to be along the edge of sleeping sectors. from what i recall. i did the same fix as david can_o_nosleep |
Is that still happening with a recent build, such latest dev one? This bug sounds weird to me since i recall we fixed a similar (if not identical) issue. |
I removed can_o_nosleep from the web script, so I'll see if the problem persists |
It seems solved, web spider not increased in 20 hours. |
This may be the same problem as Issue #1229, since the time between wander and idle actions of the npc is very short, it is constantly switching between wander and idle very quickly and thus wants to add spiderweb every time. I think _SetTimeoutS under NPC_Act_Idle can be tied to motivation. so I think most of the npc bugs will be solved with this or the time can be set as it was before. it's too fast right now I solved it temporarily with the script under t_web.
This way, there is no accumulation of cobwebs as they are quickly removed after they have formed. |
Sphere console gives warnings about too many items in different sleeping sectors. When you go there in game the problem disappear.
I found out that the issue is related to spider's webs, giant spiders are able to drop webs in sleeping sector but the timer on the spider web doesnt work because of the sleeping sector.
The problem is solved setting can_o_nosleep on i_spider_web item
The text was updated successfully, but these errors were encountered: