Anonymous | Login | Signup for a new account | 2025-07-27 17:04 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000580 | Zandronum | [All Projects] Bug | public | 2011-09-12 20:26 | 2018-09-30 22:12 | ||||
Reporter | Borg | ||||||||
Assigned To | Dusk | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 98d | ||||||||
Target Version | 3.0 | Fixed in Version | 3.0 | ||||||
Summary | 0000580: A_CheckSight() works incorrect with spectators | ||||||||
Description | A_CheckSight() sometimes peform a jump (player in sight) when it should not In code below, A_CheckSight(1) should jump to next frame when there are no player near by.. but if some player appears in sight, Make state should be called. Unfortunetly it does not happen always when it should. I am speaking about clear situation when player is standing near ClipSpawn and even looking at it. | ||||||||
Additional Information | actor ClipSpawnAmmo { Radius 20 Height 26 Speed 5 RenderStyle Translucent Alpha 0.5 +NOBLOCKMAP +DROPOFF states { Spawn: CLIP AAA 5 CLIP A 1 A_CheckFloor(1) wait CLIP A 50 CLIP AAA 350 CLIP A 10 A_SetTranslucent(0.0) goto Make Idle: CLIP A 10 A_CheckSight(1) goto Make CLIP A 10 loop Make: CLIP A 0 A_PlaySound("misc/spawn",CHAN_BODY) CLIP A 0 A_SpawnItem("Clip") CLIP A 350 A_SpawnItem("ItemFog") CLIP AA 350 goto Idle } } | ||||||||
Attached Files | |||||||||
![]() |
|
Torr Samaho (administrator) 2012-01-14 16:55 |
I cannot exactly see from you description what happens and what you think should happen. Based on the summary I assume that you would like A_CheckSight to ignore spectators, right? |
Borg (reporter) 2015-11-17 22:21 |
Can be closed as no longer applicable. Im using A_Look instead of A_CheckSight with works pefectly. |
Dusk (developer) 2015-11-18 20:31 |
Just because you are no longer affected doesn't mean that the problem suddenly ceases to exist. |
Borg (reporter) 2015-11-18 21:32 |
Oh well, you are correct.. Question is, if I used A_CheckSight correctly.. Anyway, taking into consideration nearly 4 years of no comments from others, seems noone else is affected ;) |
Dusk (developer) 2016-01-12 11:55 |
Sometimes tickets just fall in limbo... this is definitely a bug though. A_CheckSight shouldn't be reacting to spectators like this. |
cobalt (updater) 2016-01-12 19:12 |
Issue addressed by commit 84d9a31fdd2f: Fixed: A_CheckSight would not jump if a spectator was in the line of sight of the calling actor, fixes 580 Committed by Teemu Piippo [Dusk] on Wednesday 31 December 1969 23:59:57 Changes in files:
|
Ru5tK1ng (updater) 2016-01-24 19:16 |
I tested your code with the latest build and it seems to work as you somewhat described. The spawner always spawns 'clips' when a player is in sight. The spawner still goes to it's make state one time eventually, even if there are no players in sight. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-09-12 20:26 | Borg | New Issue | |
2012-01-14 16:55 | Torr Samaho | Note Added: 0002377 | |
2012-01-14 16:55 | Torr Samaho | Status | new => feedback |
2012-06-09 13:22 | Torr Samaho | Category | General => Bug |
2015-11-17 22:21 | Borg | Note Added: 0013840 | |
2015-11-17 22:21 | Borg | Status | feedback => new |
2015-11-18 20:31 | Dusk | Note Added: 0013848 | |
2015-11-18 21:32 | Borg | Note Added: 0013849 | |
2016-01-12 11:54 | Dusk | Assigned To | => Dusk |
2016-01-12 11:54 | Dusk | Status | new => assigned |
2016-01-12 11:55 | Dusk | Note Added: 0014076 | |
2016-01-12 19:12 | cobalt | Status | assigned => needs testing |
2016-01-12 19:12 | cobalt | Target Version | => 3.0 |
2016-01-12 19:12 | cobalt | Description Updated | View Revisions |
2016-01-12 19:12 | cobalt | Additional Information Updated | View Revisions |
2016-01-12 19:12 | cobalt | Note Added: 0014079 | |
2016-01-24 19:16 | Ru5tK1ng | Note Added: 0014178 | |
2016-01-31 21:45 | Ru5tK1ng | Status | needs testing => resolved |
2016-01-31 21:45 | Ru5tK1ng | Resolution | open => fixed |
2016-01-31 21:45 | Ru5tK1ng | Fixed in Version | => 3.0 |
2016-01-31 21:45 | Ru5tK1ng | Description Updated | View Revisions |
2016-01-31 21:45 | Ru5tK1ng | Additional Information Updated | View Revisions |
2018-09-30 22:12 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2025 MantisBT Team |