Joined: 25 Aug 2004, 12:31 Location: Has not played *a in years.
I have also had issues recently porting some older mods to the newer version. I find that the health bar widget is giving me issues
Quote:
[f=0000000] Error in Initialize(): [string "LuaUI\Widgets\unit_healthbars.lua"]:202: 'for' limit must be a number
no matter what health bar widget I use (or none at all).
And in some mods that have fbi and lua unit defs, all of the units with fbi are not even being detected by spring? Am I missing something that requires fbi units to be loaded?
Joined: 25 Aug 2004, 12:31 Location: Has not played *a in years.
yes there was an old widget laying in the spring/luaui/widget folder that was causing the issue. removing it stopped the mod's health bar from having any issues also. hopefully it was from a previous spring version?
but the fbi units being ignore is really strange, especially since games like s44 that use fbi's extensively seem to work just fine?
Joined: 25 Aug 2004, 12:31 Location: Has not played *a in years.
yes it does! Which I was suspecting might be causing this.. however I could find no issues with them. They have an fbi loader: http://pastebin.com/pFyMWwK3
bob, why FLOZi suggested deleting it, instead of replacing it with a new version: having unitdefs.lua in your mod only makes sense if you need special code in there, only used by your mod. as this is not the case with you, it would be better if you would not have this file at all, which means you would automatically use a new version of the file, if the mod is used on a new engine version, and therefore you would see less problems and have less work/bug hunting to do in the future.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum