Page 1 of 1
Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 05:06
by Forboding Angel
Re: Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 10:16
by knorke
posted widget worked when copied into empty mod, works in ba too (i assume its the same)
disable other widgets to test
Re: Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 10:43
by very_bad_soldier
It often helps to say what happened exactly when you got the feeling it was not working. If Lua errors appear in the log post them.
Otherwise people will have no idea what you mean when you just say "no worky! wai?".
Re: Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 10:44
by Forboding Angel
No errors. Just doesn't work in 94.1 Works fine for me in 91.
I'll see if I can find some sort of conflict.
Sorry, my fault. Easy metal is blocking it. I don't understand what would have changed with spGetMapDrawMode() between 91 and 94.1 to cause it to stop working. That's frustrating

.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 11:05
by knorke
The change is you copypasted a wupget that toggles back ShowMetalMap as soon as metalview is activated.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 13:37
by Forboding Angel
I didn't copy paste anything. This is not my widget. I was pointing out that apparently spGetMapDrawMode() doesn't work the same way in 94.1 as it does in 91.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 14 Apr 2013, 14:36
by knorke
can you check if beside spGetMapDrawMode the F4 key was broken too?
Re: Geo Highlight widget no worky in spring 94.1
Posted: 15 Apr 2013, 01:28
by Forboding Angel
No, it's working fine. Like I said, easymetal is somehow causing interference.
https://code.google.com/p/evolutionrts/ ... al.lua#404
https://code.google.com/p/evolutionrts/ ... eos.lua#61
Both the widget and the gadget use that call. Ideally, they shouldn't conflict, and in 91 it was no problem, but for some reason, in 94.1, only easymetal shows.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 15 Apr 2013, 01:44
by knorke
what does look like when f4
Re: Geo Highlight widget no worky in spring 94.1
Posted: 15 Apr 2013, 02:52
by Forboding Angel
Little yellow circles of easymetal, and nothing on geos.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 15 Apr 2013, 10:04
by knorke
where did green go
Re: Geo Highlight widget no worky in spring 94.1
Posted: 15 Apr 2013, 20:55
by Forboding Angel
Easymetal replaces teh green with little yellow circles, and disallows placement of mexes anywhere but on a metal spot.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 15 Apr 2013, 23:20
by knorke
yes but the green where did go
Re: Geo Highlight widget no worky in spring 94.1
Posted: 16 Apr 2013, 10:19
by Forboding Angel
Commenting out this line:
https://code.google.com/p/evolutionrts/ ... al.lua#405
Causes the geos highlight to show, but the yellow circles flicker like crazy
Re: Geo Highlight widget no worky in spring 94.1
Posted: 16 Apr 2013, 16:56
by CarRepairer
Like I said, the two are compatible and never have been. There is no way they worked together in spring 91, which I tested. Either the gadget needs updating, or the widget does.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 16 Apr 2013, 18:06
by Forboding Angel
They worked for me though, I even have some video somewhere of it working, but whatever.
Are not compatible doesn't mean that they couldn't be made to be compatible though.
They are obviously capable of being displayed at the same time.
Edit: Oops, that's what you just said.
Re: Geo Highlight widget no worky in spring 94.1
Posted: 16 Apr 2013, 18:08
by knorke
like i said its because the easy wupget toggles back ShowMetalMap as soon as metalview is activated. so when something else wants to read it is already toggled back. spGetMapDrawMode did not change between 91 and 94