Forum

> > CS2D > Maps/Editor > NPCs bugging out and crashes on a map
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English NPCs bugging out and crashes on a map

14 replies
To the start Previous 1 Next To the start

old NPCs bugging out and crashes on a map

Mami Tomoe
User Off Offline

Quote
Hi there! I am creating a map (es_milkrun2) and the XY is 150x150 but only 75% is being used.

The bugs:
1. Shooting at a turret will crash your client
2. NPCs can move through walls
3. When you kill an NPC his body will remain
4. Random buildings exploding as you progress
5. More weird stuff

What can cause this? I would like to point out that it only happens to the players that join and not the server itself.

Don't believe me? Feel free to have a meeting with me on my test server to see it for yourself.

old Re: NPCs bugging out and crashes on a map

sonkii
User Off Offline

Quote
I encounter the npc is "nocliping" too.

And mostly the ppl who joins are lag.
And also,
6.NPCs can shoot at the wall and still hurts the attacked ppl even he runs.

Note(just note):NPCs are not solid-proof.Same to the hostages because of pathfinder bug.

I wonder why npcs still walking even i disconnect?
edited 2×, last 28.07.16 11:36:15 am

old Re: NPCs bugging out and crashes on a map

Mami Tomoe
User Off Offline

Quote
So how can I fix this? And why only the people who join the server get that?

Edit: Please @user DC: if you're reading this can you please fix that bug? I really want to complete this map...
Sorry for pushing but I really left nothing to do and I think it wont be a great idea to PM DC (he might be mad D:)
edited 1×, last 29.07.16 09:38:39 am

old Re: NPCs bugging out and crashes on a map

DC
Admin Off Offline

Quote
This is a series of weird bugs I didn't hear about before. I can't tell why it's happening on your map. Needs to be investigated.

One thing: Do you have teleporters on your map? They don't work well with NPCs / hostages.

It only looks like NPCs move through walls because of their simplified movement patterns. They touch corner walls when walking around corners. They should never run straight through walls though. If that's the case on your map it's definitely a bug.

old Re: NPCs bugging out and crashes on a map

Mami Tomoe
User Off Offline

Quote
My map do have teleport-s but the bug starts with the first NPCs which are quite far from any near teleport.

The bug occurred after I added a certain area with tons and tons of NPCs

old Re: NPCs bugging out and crashes on a map

sonkii
User Off Offline

Quote
Maybe because NPCs movement pathfind are client sided? Or not.That way mostly bad way if the client nets didnt make it through.

Pathfinder system cannot find ppls who teleported to certain areas.

The collison detection system are not client - sided.Even if you ran away from npcs who attack you,they cast "range attack" if their nets cannot go through.

I dont know why snarks,headcrab,zombies npcs can cast magic omg.

I often encounter this bug.Same drill for vortigaunt and soldiers npcs,they're wallhacking and if they spotted you,hiding near wall,they shoot the wall and you takes damage,weird sounds eh?
I am sorry for pushing and post a big post.
edited 2×, last 31.07.16 12:37:38 pm

old Re: NPCs bugging out and crashes on a map

Baloon
GAME BANNED Off Offline

Quote
I ever see this bug too, this bug actually happened while one of your client is misplaced somewhere (teleporting without teleport entity or failed to searching path in many cases, this bug depends with client's FPS and latency on server), and that NPC will going misplaced (NPCs will actually following you is it?).
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview