Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Onedisturbed

Undefined Base Class Issue

Recommended Posts

So I am having the above issue but it seems to be with 2 different files from what I have gotten it down to so far. One is with Advanced Alchemy with the Crafting_Dialogs.hpp and the other is with Plot Management's plotManagement.hpp. I tried removing Advanced Alchemy to try and root the problem out but then the Plot Management gave me the undefined base class. I am not sure if the two are conflicting somehow but I had both working at one point and I did a fresh install of everything. I am also running ZSC, Zupaskins, Group Management, JAEM, Snap Pro, Build Vectors, Advanced Alchemy, Logistic Tow/Lift, Service Points, DZMS, WAI, and Paint.

 

Here are the two Error Messages that I get.

 

ErrorMessage: File mpmissions\DayZ_Epoch_24.Napf\custom\Buildables\Crafting_Dialogs.hpp, line 7: /Advanced_Crafting/Controls.AAC_Background: Undefined base class 'RscBackground'

 

ErrorMessage: File mpmissions\DayZ_Epoch_24.Napf\plotManagement\plotManagement.hpp, line 5: /PlotManagement/Controls.RscText_7000: Undefined base class 'RscTextT'

 

Any help on this would be greatly appreciated!

 

Crafting_Dialogs.hpp

class Advanced_Crafting {
idd = 10667;
movingenable = true;
onload = "uiNamespace setVariable ['Advanced_CraftingV', _this select 0]";
onUnload = "GlobalCraftingVariable=0;uiNamespace setVariable ['Advanced_CraftingV', nil]";

class Controls{

class AAC_Background: RscBackground
{
idc = 1800;
x = 0;
y = 0.02;
w = 1;
h = 0.9;
};
class RequiredToolsFrame: RscFrame
{
idc = 1801;
x = 0.7125;
y = 0.08;
w = 0.275;
h = 0.18;
};
class RequiredMaterialsFrame: RscFrame
{
idc = 1802;
x = 0.7125;
y = 0.32;
w = 0.275;
h = 0.5;
};
class AAC_Label: RscText
{
idc = 1000;
text = "Advanced Alchemical Crafting:";
x = 0.0375;
y = 0.06;
w = 0.37;
h = 0.04;
};
class Gem_Used_Label: RscText
{
idc = 1001;
x = 0.4875;
y = 0.06;
w = 0.1625;
h = 0.04;
text = "";
};
class Choose_Catagory_Label: RscText
{
idc = 1002;
text = "<< Choose a category!";
x = 0.425;
y = 0.12;
w = 0.2625;
h = 0.04;
};
class Required_Materials_Label: RscText
{
idc = 1003;
text = "Required Materials";
x = 0.75;
y = 0.28;
w = 0.215;
h = 0.04;
};
class Required_Tools_Label: RscText
{
idc = 1004;
text = "Required Tools";
x = 0.75;
y = 0.04;
w = 0.215;
h = 0.04;
};
class RscText_1105: RscText
{
idc = 1105;
text = "CAMERA CONTROLS";
x = 0.4;
y = 0.94;
w = 0.2375;
h = 0.04;
};
class Catagory_Combo: RscCombo
{
idc = 3900;
text = "Catagory";
x = 0.0375;
y = 0.12;
w = 0.375;
h = 0.04;
onLBSelChanged = "GlobalComboboxVariable = _this select 1;";
};

class Items_Listbox: RscListBox
{
idc = 3901;
text = "Items";
x = 0.0375;
y = 0.18;
w = 0.5875;
h = 0.58;
onLBSelChanged = "call fnc_Load_Mats_and_Tools";
};
class Exit_Button: RscButton
{
idc = 4900;
text = "Exit";
x = 0.625;
y = 0.84;
w = 0.125;
h = 0.04;
action = "GlobalCraftingVariable=0";
};
class Craft_Button: RscButton
{
idc = 4901;
text = "Craft";
x = 0.25;
y = 0.84;
w = 0.125;
h = 0.04;
action = "execVM ""custom\Buildables\custom_builds.sqf""";
};
class Preview_Button: RscButton
{
idc = 4902;
text = "Preview";
x = 0.4375;
y = 0.84;
w = 0.1375;
h = 0.04;
action = "execVM ""custom\Buildables\preview_item.sqf""";
};
class Zoom_Minus_Button: RscButton
{
idc = 4903;
text = "Zoom -";
x = 0.075;
y = 0.84;
w = 0.1375;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "Crafting_Object_Radius = Crafting_Object_Radius + 1";
};
class Zoom_Plus_Button: RscButton
{
idc = 4904;
text = "Zoom +";
x = 0.7875;
y = 0.84;
w = 0.1375;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "Crafting_Object_Radius = Crafting_Object_Radius - 1";
};
class MoveUp_Button: RscButton
{
idc = 4905;
text = "Camera Up";
x = 0.325;
y = 0.78;
w = 0.1625;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "Crafting_Object_Height = Crafting_Object_Height + 1";
};
class MoveDown_Button: RscButton
{
idc = 4906;
text = "Camera Down";
x = 0.525;
y = 0.78;
w = 0.1625;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "Crafting_Object_Height = Crafting_Object_Height - 1";
};
class SpinCameraLeft_Button: RscButton
{
idc = 4907;
text = "< x = 0.25;
y = 0.9;
w = 0.1375;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "Crafting_Object_Direction = Crafting_Object_Direction + 0.5";
};
class SpinCameraRight_Button: RscButton
{
idc = 4908;
text = "SPIN>>";
x = 0.625;
y = 0.9;
w = 0.1375;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "Crafting_Object_Direction = Crafting_Object_Direction - 0.5";
};
class Return_Button: RscButton
{
idc = 4909;
text = "Return";
x = 0.4375;
y = 0.9;
w = 0.1375;
h = 0.04;
onload = "ctrlShow [_this,false]";
action = "GlobalPreviewVariable = 1";
};
class Required_Tools_01: RscText
{
idc = 5900;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.08;
w = 0.275;
h = 0.04;
};

class Required_Tools_02: RscText
{
idc = 5901;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.12;
w = 0.275;
h = 0.04;
};
class Required_Tools_03: RscText
{
idc = 5902;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.16;
w = 0.275;
h = 0.04;
};
class Required_Tools_04: RscText
{
idc = 5903;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.2;
w = 0.275;
h = 0.04;
};
class Required_Materials_01: RscText
{
idc = 6900;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.32;
w = 0.275;
h = 0.04;
};
class Required_Materials_02: RscText
{
idc = 6901;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.36;
w = 0.275;
h = 0.04;
};
class Required_Materials_03: RscText
{
idc = 6902;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.4;
w = 0.275;
h = 0.04;
};
class Required_Materials_04: RscText
{
idc = 6903;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.44;
w = 0.275;
h = 0.04;
};
class Required_Materials_05: RscText
{
idc = 6904;
text = "";
colorText[] = {1,1,1,1};
x = 0.7125;
y = 0.48;
w = 0.275;
h = 0.04;
};
class Required_Materials_06: RscText
{
idc = 6905;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.52;
w = 0.275;
h = 0.04;
};
class Required_Materials_07: RscText
{
idc = 6906;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.56;
w = 0.275;
h = 0.04;
};
class Required_Materials_08: RscText
{
idc = 6907;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.6;
w = 0.275;
h = 0.04;
};
class Required_Materials_09: RscText
{
idc = 6908;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.64;
w = 0.275;
h = 0.04;
};
class Required_Materials_10: RscText
{
idc = 6909;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.68;
w = 0.275;
h = 0.04;
};
class Required_Materials_11: RscText
{
idc = 6910;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.72;
w = 0.275;
h = 0.04;
};
class Required_Materials_12: RscText
{
idc = 6911;
colorText[] = {1,1,1,1};
text = "";
x = 0.7125;
y = 0.76;
w = 0.275;
h = 0.04;
};
};

};

";>

 

plotManagement.hpp

class PlotManagement
{
idd = 711194;
onLoad = "uiNamespace setVariable ['PlotManagement', _this select 0]";
class Controls {
class RscText_7000: RscTextT
{
idc = 7000;
x = 0.30 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.30 * safezoneW;
h = 0.5 * safezoneH;
colorBackground[] = {0,0,0,0.8};
};
class RscListbox_7001: RscListbox
{
idc = 7001;
x = 0.31* safezoneW + safezoneX;
y = 0.41 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
soundSelect[] = {"",0.1,1};
colorBackground[] = {0.1,0.1,0.1,0.8};
};
class RscListbox_7002: RscListbox
{
idc = 7002;
x = 0.45 * safezoneW + safezoneX;
y = 0.41* safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.30 * safezoneH;
soundSelect[] = {"",0.1,1};
colorBackground[] = {0.1,0.1,0.1,0.8};
};
class RscShortcutButton_7004: RscShortcutButton
{
idc = 7004;
text = "Add";
x = 0.33 * safezoneW + safezoneX;
y = 0.70 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
h = 0.06 * safezoneH;
onButtonClick = "[(lbCurSel 7001)] call PlotAddFriend;";
};
class RscShortcutButton_7005: RscShortcutButton
{
idc = 7005;
text = "Delete";
x = 0.47 * safezoneW + safezoneX;
y = 0.70 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
h = 0.06 * safezoneH;
onButtonClick = "[(lbCurSel 7002)] call PlotRemoveFriend;";
};
class RscShortcutButton_7006: RscShortcutButton
{
idc = 7006;
text = "Close";
x = 0.40 * safezoneW + safezoneX;
y = 0.74 * safezoneH + safezoneY;
w = 0.08 * safezoneW;
h = 0.06 * safezoneH;
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
};
class RscText_7007: RscTextT
{
idc = 7007;
text = "Plot Management";
x = 0.30 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.30 * safezoneW;
h = 0.05 * safezoneH;
colorBackground[] = {0,0,0,0.8};
colorText[] = {1,1,1,1};
};
class RscText_7008: RscTextT
{
idc = 7008;
text = "Humans Nearby";
x = 0.31 * safezoneW + safezoneX;
y = 0.38 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_7003: RscTextT
{
idc = 7003;
text = "PlotFriends";
x = 0.45 * safezoneW + safezoneX;
y = 0.38 * safezoneH + safezoneY;
w = 0.13 * safezoneW;
h = 0.03 * safezoneH;
colorText[] = {1,1,1,1};
};
};
};

Share this post


Link to post
Share on other sites

×