Page 1 of 1

Widged Fixes: mex_snap,defenseRange,bomber_control

Posted: 24 Nov 2011, 18:11
by djmad
Hi

i have fixed with [oRRo]spike some of the not working widgets

Code: Select all

cmd_mex_snap.lua

24-		if uDef.isMetalExtractor then
24+		if uDef.extractsMetal > 0 then

gui_defenceRange.lua
367-		for i=1, udef.weapons.n do
367+		for i=1, #udef.weapons do

unit_bomber_control.lua
84-		for i=1,ud.weapons.n do
84+		for i=1, #ud.weapons do
i dont know how to get them into the widget downloader, so i think thats the right place

Re: Widged Fixes: mex_snap,defenseRange,bomber_control

Posted: 24 Nov 2011, 21:11
by Niobium
I've updated mex snap in the widget DB (link for the lazy), I don't have rights to update the others though, try contacting the authors.

Re: Widged Fixes: mex_snap,defenseRange,bomber_control

Posted: 25 Nov 2011, 20:38
by jamerlan
djmad wrote: i have fixed with [oRRo]spike some of the not working widgets
Hm... Looks like my local versions were already updated.

Lines you marked with "+" should be added instead of lines with "-"? If yes, then I have already updated version. Don't know why.

UPD: and my versions of widgets have this comment: "--fixed for 0.83 (by vbs)"

Re: Widged Fixes: mex_snap,defenseRange,bomber_control

Posted: 25 Nov 2011, 21:10
by very_bad_soldier
djmad wrote: i have fixed with [oRRo]spike some of the not working widgets
IIRC those fixes were needed already for spring 0.83. If I didnt miss some I fixed all widgets in the widget DB months ago. DefenseRange was fixed by nixtux even before that.

Re: Widged Fixes: mex_snap,defenseRange,bomber_control

Posted: 25 Nov 2011, 21:13
by jamerlan
very_bad_soldier wrote:I fixed all widgets in the widget DB months ago.
Great job! Respect!