[CSGO/any] DataTable warning suppression

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
VinciT
Senior Member
Posts: 331
Joined: Thu Dec 18, 2014 2:41 am

[CSGO/any] DataTable warning suppression

Postby VinciT » Fri Apr 07, 2017 12:04 am

I'm using m_flVelocityModifier instead of m_flLaggedMovementValue because it doesn't modify the fall velocity.
The problem is, as soon as I set it to anything higher than 1.0, the server console starts getting spammed by DataTable warnings:

Code: Select all

DataTable warning: player: Out-of-range value (2.000000) in SendPropFloat 'm_flVelocityModifier', clamping.

Is there a way to suppress these warnings?
decompile
Senior Member
Posts: 416
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: [CSGO/any] DataTable warning suppression

Postby decompile » Fri Apr 07, 2017 7:55 pm

I know theres an Sourcemod extension which suppreses console messages, so it should be def possible.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [CSGO/any] DataTable warning suppression

Postby Ayuto » Sun Apr 09, 2017 9:32 am

Data table warnings are probably sent via DataTable_Warning (engine function). So, the easiest way is probably to hook that function and completely block it from executing.

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 50 guests