Error while compiling MLRSHellfire

[Error] Error while compiling MLRSHellfire: 'MLRS' does not contain a definition for 'ProjectileDistToGravity' | Line: 1083, Pos: 32

Thanks for the info. Does this error message appear since the new rust update?

Indeed. This plugin fails to compile following every Rust update since September 7th

if anyone knows, post the code that fixes this

Any notice?

Hello guys, when I have time, I will fix it. Thanks for the report.

are looking forward to!

@batenka

For anyone looking for a temporary fix while the plugin author fixes the issue, here it is: https://gist.github.com/bit-wrangler/2c2f20852d00053e55d5e80e29c01cb5

As an aside, the problem seems to be coming from the ProjectileDistToGravity static method becoming private. (I'm guessing it used to be public?). I copied said method over into the plugin. This is probably a temporary fix since the copied implementation will "break" the MLRS.ProjectileDistToGravity() method changes and the result diverge.
bitwrangler
@batenka

For anyone looking for a temporary fix while the plugin author fixes the issue, here it is: https://gist.github.com/bit-wrangler/2c2f20852d00053e55d5e80e29c01cb5

As an aside, the problem seems to be coming from the ProjectileDistToGravity static method becoming private. (I'm guessing it used to be public?). I copied said method over into the plugin. This is probably a temporary fix since the copied implementation will "break" the MLRS.ProjectileDistToGravity() method changes and the result diverge.

Thank you for the fix, the main thing is that it works!

Fixed it.