siehe unten
Fehlermeldung im log
-
Natic -
3. Januar 2019 um 21:17 -
Geschlossen -
Erledigt
-
-
sry falsche Datei
errormeldung: 20:34:24 Warning Message: File mpmissions\__cur_mp.lingor3\dialog\bug_tracker.hpp, line 8: /bug_tracker/controlsBackground.life_RscTitleBackground_2: Undefined base class 'life_RscText'
Spoiler anzeigen
class bug_tracker
{
idd = 1349;
name = "bug_tracker";
movingEnable = false;
enableSimulation = true;
onLoad = "[0] spawn life_fnc_sendBug";
class controlsBackground {
class life_RscTitleBackground_2 : life_RscText {
idc = -1;
text = "";
x = 0.3875 * safezoneW + safezoneX;
y = 0.272 * safezoneH + safezoneY;
w = 0.225 * safezoneW;
h = 0.022 * safezoneH;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
};
class txt_box : life_RscText {
idc = -1;
x = 0.3875 * safezoneW + safezoneX;
y = 0.3 * safezoneH + safezoneY;
w = 0.225 * safezoneW;
h = 0.46 * safezoneH;
colorBackground[] = {0,0,0,0.7};
colorActive[] = {0,0,0,0.7};
};
class hinweis1 : Life_RscStructuredText
{
idc = 1354;
text = "* Mit diesem Symbol gekenntzeichnete Felder";
x = 0.39 * safezoneW + safezoneX;
y = 0.688 * safezoneH + safezoneY;
w = 0.22 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class hinweis2 : Life_RscStructuredText
{
idc = 1355;
text = "müssen ausgefuellt werden!";
x = 0.39 * safezoneW + safezoneX;
y = 0.716 * safezoneH + safezoneY;
w = 0.22 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,1};
};
};
class controls //Buttonsshit
{
class TITEL : Life_RscStructuredText
{
idc = -1;
text = "Supportsystem | Bug-Meldungen";
x = 0.3875 * safezoneW + safezoneX;
y = 0.272 * safezoneH + safezoneY;
w = 0.225 * safezoneW;
h = 0.022 * safezoneH;
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class RscText_1001 : Life_RscText
{
idc = -1;
text = "Spielername*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.32 * safezoneH + safezoneY;
w = 0.075 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_1002 : Life_RscText
{
idc = -1;
text = "SpielerUID*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.344 * safezoneH + safezoneY;
w = 0.075 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
};
class text_id : Life_RscStructuredText
{
idc = 1350;
text = "000000000000000000000000";
x = 0.4725 * safezoneW + safezoneX;
y = 0.344 * safezoneH + safezoneY;
w = 0.19179 * safezoneW;
h = 0.0198 * safezoneH;
colorText[] = {1,1,1,1};
tooltip = "Steam64ID";
};
class txt_name : Life_RscStructuredText
{
idc = 1351;
text = "Holy_f0rest.Stewart";
x = 0.4725 * safezoneW + safezoneX;
y = 0.32 * safezoneH + safezoneY;
w = 0.19179 * safezoneW;
h = 0.0198 * safezoneH;
colorText[] = {1,1,1,1};
tooltip = "Spielername";
};
class txt_bugmsg : Life_RscText
{
idc = -1;
text = "Wo ist der Bug*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.396 * safezoneH + safezoneY;
w = 0.175 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
};
class txt_des : Life_RscText
{
idc = -1;
text = "Beschreibung*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.46 * safezoneH + safezoneY;
w = 0.1598124 * safezoneW;
h = 0.0176 * safezoneH;
colorText[] = {1,1,1,1};
};
class txt_titel : Life_RscEdit
{
idc = 1352;
text = "Bitte Titel eingeben";
x = 0.395 * safezoneW + safezoneX;
y = 0.42 * safezoneH + safezoneY;
w = 0.210254 * safezoneW;
h = 0.022 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0.7};
colorActive[] = {0,0,0,0.7};
tooltip = "Titel der Meldung";
};
class txt_description : Life_RscEdit
{
idc = 1353;
text = "Bitte Beschreibung eingeben";
x = 0.395 * safezoneW + safezoneX;
y = 0.484 * safezoneH + safezoneY;
w = 0.21 * safezoneW;
h = 0.1 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0.7};
colorActive[] = {0,0,0,0.7};
tooltip = "Beschreibung des Bugs";
};
class close_button : Life_RscButton
{
idc = -1;
text = "Schließen";
x = 0.42 * safezoneW + safezoneX;
y = 0.64 * safezoneH + safezoneY;
w = 0.160267 * safezoneW;
h = 0.0264 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,1};
colorActive[] = {0,0,0,1};
tooltip = "Schließt diesen Dialog.";
action = "closeDialog 0";
type = 1;access = 0;
colorShadow[] = {0,0,0,0};
};
class btn_send : Life_RscButton
{
idc = -1;
text = "Abschicken";
x = 0.42 * safezoneW + safezoneX;
y = 0.604 * safezoneH + safezoneY;
w = 0.160267 * safezoneW;
h = 0.0264 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,1};
colorActive[] = {0,0,0,1};
tooltip = "Sendet die Meldung ab";
action = "[1] spawn life_fnc_sendBug";
type = 1;
access = 0;
colorShadow[] = {0,0,0,0};
};
};
};
-
hast du die class life_RscText in der common.hpp
-
- Offizieller Beitrag
-
nox ich hatte es richtig habe nur den Beitrag gelöscht und das ausversehen mit
-
Webix nein, es gibt eine Datei fn_sendBug.sqf dort steht drin createDialog und dann halt Bug_Tracker.
Aber finde im Bug tracker den Fehler net
-
Undefined base class 'life_RscText'
Das ist die Fehler Meldung und wie Webix schon sagte
ife_RscText sollte in die common.hpp eingetragen werden
-
Wie Fixe ich also den Fehler ?
-
ist life_RSCText in der common.hpp eingetragen ?????
-
Ja
So und danke für deine tolle Hilfe du antwortest immer so schnell
Spoiler anzeigen
Code
Alles anzeigenclass life_RscText { x = 0; y = 0; h = 0.037; w = 0.3; type = 0; style = 0; shadow = 1; colorShadow[] = {0, 0, 0, 0.5}; font = "PuristaMedium"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; text = ""; tooltip = ""; colorText[] = {1, 1, 1, 1.0}; colorBackground[] = {0, 0, 0, 0}; linespacing = 1; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; };
-
also geht es jetzt ?
-
Es stand so die ganze Zeit drin also auch mit dem Fehler
-
also du hast die
bug_tracker.hpp im dialog ornder und in der master.hpp eingetragen ? -
Ich habe die bug_tracker.hpp
im Dialog Ordner und in die MasterHandler.hpp eingetragen.
hier die benötigten Dateien
MasterHandler.hpp
Spoiler anzeigen
#include "bug_tracker.hpp" #include "bug_tracker_admin.hpp" #include "vInteraction.hpp" #include "companyMenu.hpp" #include "common.hpp" #include "radarfalle.hpp" #include "speedtrap.hpp" #include "shop_items.hpp" #include "player_inv.hpp" #include "gang.hpp" #include "key_chain.hpp" //#include "impound.hpp" #include "bank.hpp" #include "veh_shop.hpp" #include "shops.hpp" //#include "hud_stats.hpp" #include "admin_menu.hpp" #include "cell_phone.hpp" #include "wanted_list.hpp" #include "ticket.hpp" //Ticket COP //#include "clothing.hpp" #include "trunk.hpp" #include "spawnSelection.hpp" #include "chop_shop.hpp" #include "pInteraction.hpp" #include "deathScreen.hpp" #include "vehicleShop.hpp" #include "vehicleShop3D.hpp" #include "settings.hpp" #include "federalReserve.hpp" #include "compensate.hpp" #include "FuelStat.hpp" #include "emp_menu.hpp" //EMP Beta1.21 #include "placeables.hpp" //PlaceMenu #include "jail_time.hpp" //JailTime einstellbar #include "slot_machine.hpp" #include "GPSTracker.hpp" //GPS Tracker #include "dynmarket_changeprice.hpp" //Dynmarkt //INAKTIV #include "dynmarket_prices.hpp" //Dynmarkt //INAKTIV #include "LicensesDialog.hpp" //Neuer Lizenzs Dialog #include "revoke_license.hpp" //Lizenz wegnehmen #include "oldmessages.hpp" //neuesHandy Beta1.09 #include "polizeicomputer.hpp" //Polizeicomputer Beta1.24 #include "bericht.hpp" //Polizeicomputer Beta1.24 #include "polizeistartbild.hpp" //Polizeicomputer Beta1.24 #include "cell_RadioHUD.hpp" #include "aapps_callmanagement.hpp" #include "..\core\gangs\aapps_gang.hpp" //gangsystem //#include "..\core\gangs\gang_hqupgrades.hpp" //gangsystem //Umgeschrieben #include "risk_hudDialog.hpp" //#include "helpMenu.hpp" //#include "market_menu.hpp" //#include "license_menu.hpp" //#include "bugtracker.hpp" //#include "car_menu.hpp" #include "speedtrap.hpp" //Speedtrap???? #include "radarfalle.hpp" //Speedtrap???? #include "ticket_pay.hpp" //Ticket COP #include "ticket_med.hpp" //Ticket/SPenden Medic #include "ticket_pay_med.hpp" //Ticket/SPenden Medic #include "ticket_adac.hpp" //Ticket/SPenden ADAC #include "ticket_pay_adac.hpp" //Ticket/SPenden ADAC #include "admineventzwei.hpp" //AdminEventMenüV2 #include "verwaltung_eins.hpp" //VERWALTUNG NOTRUF/FAHNDUNGSLISTE/FAHNDUNGSCOMPUTER #include "player_inv_new.hpp" #include "UC_Verwaltung.hpp" #include "UC_impound.hpp"
#include "UC_clothing.hpp" Hier die bug_tracker.hpp
Spoiler anzeigen
class bug_tracker
{
idd = 1349;
name = "bug_tracker";
movingEnable = false;
enableSimulation = true;
onLoad = "[0] spawn life_fnc_sendBug";
class controlsBackground {
class life_RscTitleBackground_2 : life_RscText {
idc = -1;
text = "";
x = 0.3875 * safezoneW + safezoneX;
y = 0.272 * safezoneH + safezoneY;
w = 0.225 * safezoneW;
h = 0.022 * safezoneH;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
};
class txt_box : life_RscText {
idc = -1;
x = 0.3875 * safezoneW + safezoneX;
y = 0.3 * safezoneH + safezoneY;
w = 0.225 * safezoneW;
h = 0.46 * safezoneH;
colorBackground[] = {0,0,0,0.7};
colorActive[] = {0,0,0,0.7};
};
class hinweis1 : Life_RscStructuredText
{
idc = 1354;
text = "* Mit diesem Symbol gekenntzeichnete Felder";
x = 0.39 * safezoneW + safezoneX;
y = 0.688 * safezoneH + safezoneY;
w = 0.22 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class hinweis2 : Life_RscStructuredText
{
idc = 1355;
text = "müssen ausgefuellt werden!";
x = 0.39 * safezoneW + safezoneX;
y = 0.716 * safezoneH + safezoneY;
w = 0.22 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,1};
};
};
class controls //Buttonsshit
{
class TITEL : Life_RscStructuredText
{
idc = -1;
text = "Supportsystem | Bug-Meldungen";
x = 0.3875 * safezoneW + safezoneX;
y = 0.272 * safezoneH + safezoneY;
w = 0.225 * safezoneW;
h = 0.022 * safezoneH;
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class RscText_1001 : Life_RscText
{
idc = -1;
text = "Spielername*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.32 * safezoneH + safezoneY;
w = 0.075 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_1002 : Life_RscText
{
idc = -1;
text = "SpielerUID*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.344 * safezoneH + safezoneY;
w = 0.075 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
};
class text_id : Life_RscStructuredText
{
idc = 1350;
text = "000000000000000000000000";
x = 0.4725 * safezoneW + safezoneX;
y = 0.344 * safezoneH + safezoneY;
w = 0.19179 * safezoneW;
h = 0.0198 * safezoneH;
colorText[] = {1,1,1,1};
tooltip = "Steam64ID";
};
class txt_name : Life_RscStructuredText
{
idc = 1351;
text = "Holy_f0rest.Stewart";
x = 0.4725 * safezoneW + safezoneX;
y = 0.32 * safezoneH + safezoneY;
w = 0.19179 * safezoneW;
h = 0.0198 * safezoneH;
colorText[] = {1,1,1,1};
tooltip = "Spielername";
};
class txt_bugmsg : Life_RscText
{
idc = -1;
text = "Wo ist der Bug*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.396 * safezoneH + safezoneY;
w = 0.175 * safezoneW;
h = 0.02 * safezoneH;
colorText[] = {1,1,1,1};
};
class txt_des : Life_RscText
{
idc = -1;
text = "Beschreibung*:";
x = 0.39 * safezoneW + safezoneX;
y = 0.46 * safezoneH + safezoneY;
w = 0.1598124 * safezoneW;
h = 0.0176 * safezoneH;
colorText[] = {1,1,1,1};
};
class txt_titel : Life_RscEdit
{
idc = 1352;
text = "Bitte Titel eingeben";
x = 0.395 * safezoneW + safezoneX;
y = 0.42 * safezoneH + safezoneY;
w = 0.210254 * safezoneW;
h = 0.022 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0.7};
colorActive[] = {0,0,0,0.7};
tooltip = "Titel der Meldung";
};
class txt_description : Life_RscEdit
{
idc = 1353;
text = "Bitte Beschreibung eingeben";
x = 0.395 * safezoneW + safezoneX;
y = 0.484 * safezoneH + safezoneY;
w = 0.21 * safezoneW;
h = 0.1 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0.7};
colorActive[] = {0,0,0,0.7};
tooltip = "Beschreibung des Bugs";
};
class close_button : Life_RscButton
{
idc = -1;
text = "Schließen";
x = 0.42 * safezoneW + safezoneX;
y = 0.64 * safezoneH + safezoneY;
w = 0.160267 * safezoneW;
h = 0.0264 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,1};
colorActive[] = {0,0,0,1};
tooltip = "Schließt diesen Dialog.";
action = "closeDialog 0";
type = 1;access = 0;
colorShadow[] = {0,0,0,0};
};
class btn_send : Life_RscButton
{
idc = -1;
text = "Abschicken";
x = 0.42 * safezoneW + safezoneX;
y = 0.604 * safezoneH + safezoneY;
w = 0.160267 * safezoneW;
h = 0.0264 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,1};
colorActive[] = {0,0,0,1};
tooltip = "Sendet die Meldung ab";
action = "[1] spawn life_fnc_sendBug";
type = 1;
access = 0;
colorShadow[] = {0,0,0,0};
};
};
};
und die common.hpp im Anhang
-
Ich habe mir gerade mal dein Log angesehen kannst du bitte anderen Fehler erst beheben ? Wie z.b. das ausführen deiner welcome.sqf ....
-
in der master handler bitte mal #include "common.hpp" ganz nach oben wie soll er den was finde was noch garnicht geladen wurde
-