Raised This Month: $51 Target: $400
 12% 

Solved Fixing PVS/PAS Engine Messages when using a entity view.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-22-2024 , 20:11   Fixing PVS/PAS Engine Messages when using a entity view.
Reply With Quote #1

Hello, dear modders, i would like some help with a rehlds bug when a player has a certain view and PVS/PAS are not heard/seen from the view point rather from the player position,

Can someone write me a code/snippet in C++ of fixed issue, much appreciation since i suck at coding C++/C#
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 03-23-2024 at 15:54.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-23-2024 , 12:45   Re: Fixing PVS/PAS Engine Messages when using a view entity.
Reply With Quote #2

this should only happen if you use addtofullpack to set the player view origin
i get away with this by setting the real view origin of the camera in FM_UpdateClientData pre while using a single entity in my camera plugin. maybe it could help you.
https://forums.alliedmods.net/attach...8&d=1648490539
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-23-2024 , 15:38   Re: Fixing PVS/PAS Engine Messages when using a view entity.
Reply With Quote #3

Quote:
Originally Posted by georgik57 View Post
this should only happen if you use addtofullpack to set the player view origin
i get away with this by setting the real view origin of the camera in FM_UpdateClientData pre while using a single entity in my camera plugin. maybe it could help you.
https://forums.alliedmods.net/attach...8&d=1648490539
nvm i fixed it, and i submitted a fix to rehlds repo

The fix:
Spoiler
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 03-23-2024 at 15:40.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode