Raised This Month: $ Target: $400
 0% 

lagless camera problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
serhat2110
Junior Member
Join Date: May 2020
Old 12-16-2020 , 17:06   lagless camera problem
Reply With Quote #1

hello, i am using cam3 (lagless camera) plugin for my soccerjam server. but there is a problem that when we are on cam3, the opponent team's players are not visible behind us. It is visible when in front of us, but not visible when behind us. how can i solve this code?
serhat2110 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 12-16-2020 , 17:48   Re: lagless camera problem
Reply With Quote #2

And how do you think we would help you with?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-16-2020 , 18:44   Re: lagless camera problem
Reply With Quote #3

Quote:
Originally Posted by serhat2110 View Post
hello, i am using cam3 (lagless camera) plugin for my soccerjam server. but there is a problem that when we are on cam3, the opponent team's players are not visible behind us. It is visible when in front of us, but not visible when behind us. how can i solve this code?
Expanding field-of-view may help a little.
__________________
DJEarthQuake is offline
serhat2110
Junior Member
Join Date: May 2020
Old 12-19-2020 , 17:43   Re: lagless camera problem
Reply With Quote #4

Quote:
Originally Posted by DJEarthQuake View Post
Expanding field-of-view may help a little.
how can I do?
serhat2110 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-21-2020 , 08:51   Re: lagless camera problem
Reply With Quote #5

Type set_fov <name or #userid> <#>. If changing FOV helps use set_fov function in your plugin

Code:
#include amxmodx #include amxmisc #define MAX_PLAYERS 32 new g_szMsgSetFov new g_iArg1[4]; public plugin_init ( ) {     register_plugin ( "Field Of View", "0.1", "spinx" )     register_clcmd ( "set_fov", "Command_SetFov", ADMIN_SLAY, "<name or #userid> <#>" )     g_szMsgSetFov = get_user_msgid ( "SetFOV" ) } public Command_SetFov ( id, level, cid ) {     if ( !cmd_access ( id, level, cid, 3 ) )         return PLUGIN_HANDLED     new szNick [ MAX_PLAYERS ]     read_argv ( 1, szNick, sizeof ( szNick ) - 1 )     read_argv ( 2, g_iArg1, charsmax(g_iArg1) )     new iPlayer = cmd_target ( id, szNick, CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ONLY_ALIVE | CMDTARGET_ALLOW_SELF )     if ( !iPlayer )         return PLUGIN_HANDLED     set_fov ( iPlayer, str_to_num(g_iArg1) )     return PLUGIN_CONTINUE; } set_fov ( iClient, iValue ) {     emessage_begin ( MSG_ONE_UNRELIABLE, g_szMsgSetFov, _, iClient );     ewrite_byte ( iValue );     emessage_end ( ); }
__________________

Last edited by DJEarthQuake; 12-21-2020 at 23:52. Reason: Update
DJEarthQuake is offline
serhat2110
Junior Member
Join Date: May 2020
Old 12-22-2020 , 16:31   Re: lagless camera problem
Reply With Quote #6

Quote:
Originally Posted by DJEarthQuake View Post
Type set_fov <name or #userid> <#>. If changing FOV helps use set_fov function in your plugin

Code:
#include amxmodx #include amxmisc #define MAX_PLAYERS 32 new g_szMsgSetFov new g_iArg1[4]; public plugin_init ( ) {     register_plugin ( "Field Of View", "0.1", "spinx" )     register_clcmd ( "set_fov", "Command_SetFov", ADMIN_SLAY, "<name or #userid> <#>" )     g_szMsgSetFov = get_user_msgid ( "SetFOV" ) } public Command_SetFov ( id, level, cid ) {     if ( !cmd_access ( id, level, cid, 3 ) )         return PLUGIN_HANDLED     new szNick [ MAX_PLAYERS ]     read_argv ( 1, szNick, sizeof ( szNick ) - 1 )     read_argv ( 2, g_iArg1, charsmax(g_iArg1) )     new iPlayer = cmd_target ( id, szNick, CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ONLY_ALIVE | CMDTARGET_ALLOW_SELF )     if ( !iPlayer )         return PLUGIN_HANDLED     set_fov ( iPlayer, str_to_num(g_iArg1) )     return PLUGIN_CONTINUE; } set_fov ( iClient, iValue ) {     emessage_begin ( MSG_ONE_UNRELIABLE, g_szMsgSetFov, _, iClient );     ewrite_byte ( iValue );     emessage_end ( ); }
The plugin worked but it didn't fix the problem anyway thanks
serhat2110 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-22-2020 , 17:04   Re: lagless camera problem
Reply With Quote #7

Fov was a long shot but possible. Curious. How high did you test the fov? 150 is about as high as it goes. Pushing FOV does not help resolve issue because the players still cannot be seen via camera? When is camera applied to player(s)? Tell me more. Where is the camera plugin code? Maybe somebody else can help you figure it out by attaching it to the post.
__________________
DJEarthQuake is offline
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 07:38.


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