AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Fix angles 1.0.4 [2019/05/02] (https://forums.alliedmods.net/showthread.php?t=285750)

Grey83 07-30-2016 01:32

[ANY] Fix angles 1.0.4 [2019/05/02]
 
3 Attachment(s)
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

Grey83 07-30-2016 22:12

Re: [ANY] Fix angles
 
abrandnewday, the occurrence of this error depends on the map, rather than the game.

AeroAcrobat 07-31-2016 08:37

Re: [ANY] Fix angles
 
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?

Grey83 07-31-2016 13:05

Re: [ANY] Fix angles
 
AeroAcrobat, plugin changes the value of the angle of rotation from the entities that cause of this error message.

Nanozke 07-31-2016 22:15

Re: [ANY] Fix angles
 
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.

Potato Uno 08-01-2016 01:06

Re: [ANY] Fix angles
 
Quote:

Originally Posted by abrandnewday (Post 2440937)
What games specifically does this error occur in?

Leave cp_steel running on your server for about half an hour and then watch the console spam come in.

Ayano 08-01-2016 18:20

Re: [ANY] Fix angles
 
plugin will be back soon?

Grey83 08-02-2016 07:09

Re: [ANY] Fix angles
 
Ayano, what do you mean?

Ayano 08-02-2016 14:21

Re: [ANY] Fix angles
 
The plugin failed to compile, can't get the .smx one

ZASTRELIS 08-09-2016 19:49

Re: [ANY] Fix angles
 
HasEntProp(i, Prop_Send, "m_angRotation") wtf?


All times are GMT -4. The time now is 16:07.

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