Raised This Month: $32 Target: $400
 8% 

[ANY] Fix angles 1.0.4 [2019/05/02]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
5297
Plugin Version:
1.0.4
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    80 
    Plugin Description:
    Fixes error 'Bad SetLocalAngles' in server console
    Old 07-30-2016 , 01:32   [ANY] Fix angles 1.0.4 [2019/05/02]
    Reply With Quote #1

    Name: Fix angles

    Description: Fixes error 'Bad SetLocalAngles' in server console.

    Installation: Place compiled plugin (fix_angles.smx) into the plugins folder (../addons/sourcemod/plugins/).
    Set value '1' for variable 'sm_fix_angles_enable' in server.cfg or in the config for the problematic map (for plugin Map configs with prefix support).

    CVars:
    • sm_fix_angles_version - Version of this plugin
    • sm_fix_angles_enable - Enables/disables the plugin (def. '0'; You must set the value of this variable in the server config file)
    • sm_fix_angles_msg - Enables/disables messages in the server console (def. '0'; value is stored in the file fix_angles.cfg)
      E.g.
      Code:
      >       Wrong angles of the prop 'func_rotating' (#74, 'huey_blade'):
              0.00, 20916.54, 0.00 (fixed to: 0.00, 36.54, 0.00)
      >       Wrong angles of the prop 'func_rotating' (#75, 'huey_blade'):
              20916.54, 0.00, 0.00 (fixed to: 36.54, 0.00, 0.00)
    • sm_fix_angles_time - The time between inspections of entities angles (def. '30', min 10sec, max 120sec; value is stored in the file fix_angles.cfg)
    Changes in 1.0.4 [2019/05/02]:
    • Fixed error
      Code:
      Bad SetLocalAngles(0.000000,0.000000,-1.#QNAN0) on func_rotating
      >       Wrong angles of the prop 'func_rotating': 0.00, 0.00, Na
    • Small fixes and optimization
    Changes in 1.0.2 [2017/09/10]:
    • Added CVar sm_fix_angles_msg
    • Small optimization of a code
    Changes in 1.0.1 [2016/07/31]:
    • Added CVar sm_fix_angles_enable in order to enable the plugin only for those maps (using a plugin Map configs with prefix support), where you see this error.
    • Small fixes
    Attached Files
    File Type: sp Get Plugin or Get Source (fix_angles 1.0.1.sp - 2026 views - 2.2 KB)
    File Type: sp Get Plugin or Get Source (fix_angles 1.0.2.sp - 1635 views - 3.1 KB)
    File Type: sp Get Plugin or Get Source (fix_angles 1.0.4.sp - 2098 views - 3.2 KB)
    __________________

    Last edited by Grey83; 05-06-2019 at 15:25. Reason: Updated plugin: reuploaded version 1.0.4
    Grey83 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 07-30-2016 , 22:12   Re: [ANY] Fix angles
    Reply With Quote #2

    abrandnewday, the occurrence of this error depends on the map, rather than the game.
    __________________
    Grey83 is offline
    AeroAcrobat
    AlliedModders Donor
    Join Date: Apr 2011
    Location: lives in a circus
    Old 07-31-2016 , 08:37   Re: [ANY] Fix angles
    Reply With Quote #3

    Is there any benefit in running this plugin besides that the error message is gone?
    Would you recomend using it or is it more or less just cosmetic?
    __________________
    AeroAcrobat is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 07-31-2016 , 13:05   Re: [ANY] Fix angles
    Reply With Quote #4

    AeroAcrobat, plugin changes the value of the angle of rotation from the entities that cause of this error message.
    __________________
    Grey83 is offline
    Nanozke
    Member
    Join Date: Apr 2016
    Location: Australia
    Old 07-31-2016 , 22:15   Re: [ANY] Fix angles
    Reply With Quote #5

    Just an example of this error that this fixes.

    Found on ze_saw_p3 on 45.121.210.44:27068
    Quote:
    0.000000,0.000000,360000.375000) on freeser_fan2
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan3
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan4
    Bad SetLocalAngles(360000.250000,0.000000,0.00000 0) on fan_rotating12
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate3
    Bad SetLocalAngles(0.000000,0.000000,360000.25000 0) on fan_rotating5
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate1
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate2
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate4
    Bad SetLocalAngles(0.000000,0.000000,360000.37500 0) on freeser_fan2
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan3
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan4
    Bad SetLocalAngles(360000.250000,0.000000,0.00000 0) on fan_rotating12
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate3
    Bad SetLocalAngles(0.000000,0.000000,360000.25000 0) on fan_rotating5
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate1
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate2
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate4
    Bad SetLocalAngles(0.000000,0.000000,360000.37500 0) on freeser_fan2
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan3
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan4
    Bad SetLocalAngles(360000.250000,0.000000,0.00000 0) on fan_rotating12
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate3
    Bad SetLocalAngles(0.000000,0.000000,360000.25000 0) on fan_rotating5
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate1
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate2
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate4
    Bad SetLocalAngles(0.000000,0.000000,360000.37500 0) on freeser_fan2
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan3
    Bad SetLocalAngles(0.000000,0.000000,360001.12500 0) on freeser_fan4
    Bad SetLocalAngles(360000.250000,0.000000,0.00000 0) on fan_rotating12
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate3
    Bad SetLocalAngles(0.000000,0.000000,360000.25000 0) on fan_rotating5
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate1
    Bad SetLocalAngles(0.000000,360000.625000,0.00000 0) on carousel_light_rotate2
    Good job.
    Nanozke is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 08-02-2016 , 07:09   Re: [ANY] Fix angles
    Reply With Quote #6

    Ayano, what do you mean?
    __________________
    Grey83 is offline
    Ayano
    New Member
    Join Date: Aug 2016
    Old 08-02-2016 , 14:21   Re: [ANY] Fix angles
    Reply With Quote #7

    The plugin failed to compile, can't get the .smx one
    Ayano is offline
    TrappaTroopa
    Senior Member
    Join Date: Feb 2016
    Old 09-12-2016 , 20:38   Re: [ANY] Fix angles
    Reply With Quote #8

    remove

    Last edited by TrappaTroopa; 09-12-2016 at 21:10.
    TrappaTroopa is offline
    Aymeric VII
    BANNED
    Join Date: Jun 2016
    Location: Hiding under my sheets
    Old 04-09-2017 , 21:52   Re: [ANY] Fix angles
    Reply With Quote #9

    This still work for csgo? sm 1.8?

    Last edited by Aymeric VII; 04-09-2017 at 21:53.
    Aymeric VII is offline
    ZASTRELIS
    Veteran Member
    Join Date: Nov 2010
    Location: Siberia, Irkutsk
    Old 08-09-2016 , 19:49   Re: [ANY] Fix angles
    Reply With Quote #10

    HasEntProp(i, Prop_Send, "m_angRotation") wtf?
    ZASTRELIS 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 20:40.


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