Page MenuHomeFeedback Tracker

bis_fnc_guiEffectTiles gives me an error since 1.48.
New, WishlistPublic

Description

I used to play with my addon showing a custom GPS display which refer to RscMiniMap. GPS comes fine but cut another display with this message in debug line and repeting error in rpt file:

in debug line at bottom of screen:
"[Bis_fnc_GUIeffectTiles] #0: control 13301 is type CONTROL, must be DISPLAY. No display used instead"

in rpt:
Error in expression <} else {
_ctrlGroupIndicator = _display displayctrl 13302;
_ctrlGroupIndicator c>
17:38:28 Error position: <displayctrl 13302;
_ctrlGroupIndicator c>
Error Generic error in expression
File A3\ui_f\scripts\IGUI\RscMiniMap.sqf, line 21

Never saw that before and nothing changed on my addon scripts. {F26624} {F26625}

Details

Legacy ID
1333534616
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

Need to download MGI TG V2 on Steam; When GPS is on, the HUD disappear. Other displays are working fine.

The missing display is NOT the minimap (13301) but all permanent displays under my class lens (about 10 data for HUD). Other classes are OK (camera, SitRep...)

And i'm not using control 13302 as mentioned in RPT file.

Additional Information

Another thing I discover : Using PBo manager V1.4 beta or BankRev (Arma tools) i can't see any more some native sqf. For example, rscMiniMap.sqf is...
these 3 lines!:
_mode = _this select 0;
_params = _this select 1;
_class = _this select 2;
So, Rpt file is referring to line 21. It's far far away from we can read ;-)

More generally, is there any problem of inheritance for classes in this version?

Event Timeline

PiepMGI edited Steps To Reproduce. (Show Details)Jul 19 2015, 6:20 AM
PiepMGI edited Additional Information. (Show Details)
PiepMGI set Category to Engine.
PiepMGI set Reproducibility to Always.
PiepMGI set Severity to None.
PiepMGI set Resolution to Open.
PiepMGI set Legacy ID to 1333534616.May 8 2016, 12:23 PM
PiepMGI added a subscriber: PiepMGI.

Did you change something in bis_fnc_guiEffectTiles ?

And please, how to correct this config entry which worked before 1.48?:

class GPSMap
{
idd = 133;// -1 no difference
duration = 100000;

    fadein = 0;
    fadeout = 0;
    name="mapping_GPS";
    onLoad = "uiNamespace setVariable ['gps_map', _this select 0]";
    controls[]=
		{
		HUD_GPS_frame,
		Minimap_GPS
		};

controlsBackground[] = {"HUD_GPS_frame","Minimap_GPS" };

		class HUD_GPS_frame: RscText
	     {
		idc = 13000;
		text = "";
		x = "uiNamespace getVariable 'GPS_x'";
		y = "uiNamespace getVariable 'GPS_y'";
		w = "uiNamespace getVariable 'GPS_w'";
		h = "uiNamespace getVariable 'GPS_h'";
		shadow = 0;
		colorBackground[] = {0.3,0.3,0.3,"uiNamespace getVariable 'GPS_bckgrnd'"};
		colorText[] = {0, 0, 0, 0 };
		};

		class Minimap_GPS: RscMiniMap
		{
		idc=13301;
		type=101;
		style=48;
		text= "#(argb,8,8,3)color(0.2,0.2,0.2,0)";
		x = "uiNamespace getVariable 'GPS_x'";
		y = "uiNamespace getVariable 'GPS_y'";
		w = "uiNamespace getVariable 'GPS_w'";
		h = "uiNamespace getVariable 'GPS_h'";
		colorBackground[]={0.8,0.8,0.5,0.2};
		colorText[]={1,1,1,0.5};
		font="PuristaMedium";
		sizeEx=0.03;

		maxSatelliteAlpha="uiNamespace getVariable 'GPS_alfa'";
		shadow=0;
                ...... etc

Thank you very much

Resolved:
change class Minimap_GPS: RscMiniMap
for class Minimap_GPS: RscMapControl

Why now? what change?