Page 1 of 1

[ReturnFalse] deprecated field!

Posted: 17 Nov 2013, 06:29
by smoth
Do any of the devs here know specifically what tags are causing this?

I am not really sure and this is fairly ambiguous as to what I am supposed to look at.

Re: [ReturnFalse] deprecated field!

Posted: 17 Nov 2013, 09:33
by Jools

Re: [ReturnFalse] deprecated field!

Posted: 17 Nov 2013, 10:54
by smoth
yeah, that is useless.

I had 2 errors

[21:44:49] <smoth> [f=0000320] Warning: [ReturnFalse] deprecated field!
[21:44:49] <smoth> [f=0000320] Warning: [ReturnEmptyString] deprecated field

after doing a find and replace.

so now
[f=0000000] Warning: [ReturnFalse] deprecated field!
is what I have left

Re: [ReturnFalse] deprecated field!

Posted: 17 Nov 2013, 20:27
by yuritch
I had to fix a similar problem with S44 recently. The tags were in:

- LuaUI
- LuaRules
- *defs_post

Maybe you missed one of the above.

Re: [ReturnFalse] deprecated field!

Posted: 23 Nov 2013, 09:58
by jamerlan
if you are lazy like me: Checkout spring master, apply this patch: https://github.com/spring/spring/pull/86

and play :-) you will get more informative message - which deprecated tag is used

or if you are even more lazy and you have linux/mac then run this in luaui/widgets directory:

grep -ER "builder|floater|canDGun|canCrash|isCommander|moveData|type|maxSlope" .