Hallo an alle ich habe eine kleine frage ich hoffe mir kann jemand helfen habe gerade das Script von Shinji ausgepackt aber bekomme immer einen Fehler raus ich hoffe mir kann jemand bei dem Problem helfen
danke an alle die helfen können
MFG
Hallo an alle ich habe eine kleine frage ich hoffe mir kann jemand helfen habe gerade das Script von Shinji ausgepackt aber bekomme immer einen Fehler raus ich hoffe mir kann jemand bei dem Problem helfen
danke an alle die helfen können
MFG
Seit ich das script installiert habe komme ich auf den test server nicht rauf
22:56:31 Warning Message: File mpmissions\__cur_mp.Altis\core\sperr\sperrzone.hpp, line 54: /Sperrzone/controls.MapControl_1104: Undefined base class 'RscMapControl'
22:56:31 Warning Message: Config : some input after EndOfFile.
22:56:31 Class RscText destroyed with lock count 4
der fehler lliegt da nur weiß ich nicht wie ich den behebe
fang erstaml damit an die db verbindung zu behebn.
wie soll ich die beheben wenn das script die datenbank blokiert?
extdb log
ich werde das script morgen rausnehmen da ich den fehler nicht finde
fang erstaml damit an die db verbindung zu behebn.
Dich feier ich ganz besonders grade
Der Fehler entsteht dadurch
Seit ich das script installiert habe komme ich auf den test server nicht rauf
Code22:56:31 Warning Message: File mpmissions\__cur_mp.Altis\core\sperr\sperrzone.hpp, line 54: /Sperrzone/controls.MapControl_1104: Undefined base class 'RscMapControl' 22:56:31 Warning Message: Config : some input after EndOfFile. 22:56:31 Class RscText destroyed with lock count 4
der fehler lliegt da nur weiß ich nicht wie ich den behebe
Beheben indem du die Klasse in der Common.Hpp definierst
Hier, versuch mal vor das RscMapControl ein Life_ zu setzen.
Also Life_RscMapControl.
ich werde das script morgen rausnehmen da ich den fehler nicht finde
Aufgeben ist doch blöd.
Nicht immer die erste Antwort ist die letzte Antwort.
Versuch einfach mal das was BlueType oder Ich dir gesagt haben und dann müsste alles wieder klappen.
Werde es gleich mal ausprobieren danke an alle
habe es versucht leider immer noch nichts
////////////////////////////////////////////////////////////////////////////
////// This HPP was created by Shinji`s GUI tool //////
////////////////////////////////////////////////////////////////////////////
class Sperrzone {
idd = 12000;
name = "Sperrzone";
onLoad = "uiNamespace setVariable ['Sperrzone', _this select 0];";
onUnLoad = "uiNamespace setVariable ['Sperrzone', nil];";
movingEnable = false;
enableSimulation = true;
class controlsBackground {
class Background_1100: RscText
{
idc = 1100;
text = "";
x = 0.328715 * safezoneW + safezoneX;
y = 0.104752 * safezoneH + safezoneY;
w = 0.625 * safezoneW;
h = 0.74074 * safezoneH;
ColorBackground[] = {0,0,0,0.686274};
};
};
class controls {
class Small_1101: RscText
{
idc = 1101;
text = "";
x = 0.067881 * safezoneW + safezoneX;
y = 0.103826 * safezoneH + safezoneY;
w = 0.222916 * safezoneW;
h = 0.74074 * safezoneH;
ColorBackground[] = {0,0,0,0.686274};
ColorText[] = {1,1,1,1};
};
class Small_1102: RscText
{
idc = 1102;
text = "Vorhandene Sperrzonen";
x = 0.067881 * safezoneW + safezoneX;
y = 0.103826 * safezoneH + safezoneY;
w = 0.222916 * safezoneW;
h = 0.041589 * safezoneH;
ColorBackground[] = {0.749,0,0.149,1};
ColorText[] = {1,1,1,1};
};
class Small_1103: RscText
{
idc = 1103;
text = "Sperrzone";
x = 0.328715 * safezoneW + safezoneX;
y = 0.104752 * safezoneH + safezoneY;
w = 0.625 * safezoneW;
h = 0.042026 * safezoneH;
ColorBackground[] = {0.749,0,0.149,1};
ColorText[] = {1,1,1,1};
};
class RscMapControl_1104: Life_RscMapControl
{
idc = 1104;
x = 0.074548 * safezoneW + safezoneX;
y = 0.168456 * safezoneH + safezoneY;
w = 0.208333 * safezoneW;
h = 0.222222 * safezoneH;
maxSatelliteAlpha = 0.75;
alphaFadeStartScale = 1.15;
alphaFadeEndScale = 1.29;
};
class Listbox_1105: RscListbox
{
idc = 1105;
onLBSelChanged = "[] spawn life_fnc_lbChange";
x = 0.074756 * safezoneW + safezoneX;
y = 0.401049 * safezoneH + safezoneY;
w = 0.208394 * safezoneW;
h = 0.368411 * safezoneH;
ColorBackground[] = {0,0,0,0.698039};
ColorText[] = {1,1,1,1};
colorSelectBackground[] = {0,0,0,1};
colorSelect[] = {0,1,1,1};
};
class Button_1106: Life_RscButtonMenu
{
idc = 1106;
text = "Abbrechen";
action = "closeDialog 0;";
x = 0.818715 * safezoneW + safezoneX;
y = 0.775123 * safezoneH + safezoneY;
w = 0.127916 * safezoneW;
h = 0.059259 * safezoneH;
ColorBackground[] = {0,0,0,0.619607};
ColorText[] = {1,1,1,1};
colorFocused[] = {0,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class Structured_1107: RscText
{
idc = 1107;
style = ST_MULTI;
text = "Sperrzone einrichten oder vorhandene entfernen. Einfach durch einen Klick auf die Karte platzieren oder vorhandene durch die Liste löschen.";
x = 0.335381 * safezoneW + safezoneX;
y = 0.167715 * safezoneH + safezoneY;
w = 0.61125 * safezoneW;
h = 0.074074 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,1};
};
class Edit_1108: RscEdit
{
idc = 1108;
style = ST_MULTI;
text = "Name...";
x = 0.335356 * safezoneW + safezoneX;
y = 0.294074 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.029973 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,1};
colorSelection[] = {0,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class Small_1109: RscText
{
idc = 1109;
text = "Sperrzonen Name:";
x = 0.335381 * safezoneW + safezoneX;
y = 0.263086 * safezoneH + safezoneY;
w = 0.17375 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {0,0,0,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class Small_1111: RscText
{
idc = 1111;
text = "Errichtet von:";
x = 0.553919 * safezoneW + safezoneX;
y = 0.262131 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {0,0,0,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class Structured_1113: RscText
{
idc = 1113;
text = "Einsatzleitung";
x = 0.553443 * safezoneW + safezoneX;
y = 0.292583 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.029973 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,1};
};
class Button_1114: Life_RscButtonMenu
{
idc = 1114;
text = "Löschen";
action = "[] spawn life_fnc_deleteMarker";
x = 0.075253 * safezoneW + safezoneX;
y = 0.776816 * safezoneH + safezoneY;
w = 0.207898 * safezoneW;
h = 0.057208 * safezoneH;
ColorBackground[] = {0,0,0,0.619607};
ColorText[] = {1,1,1,1};
colorFocused[] = {0,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class Combobox_1114: RscCombo
{
idc = 4114;
x = 0.335356 * safezoneW + safezoneX;
y = 0.399266 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.039976 * safezoneH;
ColorBackground[] = {0.098039,0.098039,0.098039,0.666666};
ColorText[] = {1,1,1,1};
colorSelectBackground[] = {0,0,0,1};
colorSelect[] = {0,1,1,1};
};
class Structured_1115: RscText
{
idc = 1115;
text = "Zonen Farbe";
x = 0.335356 * safezoneW + safezoneX;
y = 0.360789 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class Combobox_1116: RscCombo
{
idc = 1116;
x = 0.553244 * safezoneW + safezoneX;
y = 0.399266 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.039976 * safezoneH;
ColorBackground[] = {0.098039,0.098039,0.098039,0.666666};
ColorText[] = {1,1,1,1};
colorSelectBackground[] = {0,0,0,1};
colorSelect[] = {0,1,1,1};
};
class Structured_1117: RscText
{
idc = 1117;
text = "Zonen Art";
x = 0.554286 * safezoneW + safezoneX;
y = 0.360789 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class Structured_1118: RscText
{
idc = 1118;
text = "Schraffur";
x = 0.335356 * safezoneW + safezoneX;
y = 0.474722 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class ComboSchraffur: RscCombo
{
idc = 1119;
x = 0.335356 * safezoneW + safezoneX;
y = 0.5132 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.039976 * safezoneH;
ColorBackground[] = {0.098039,0.098039,0.098039,0.666666};
ColorText[] = {1,1,1,1};
colorSelectBackground[] = {0,0,0,1};
colorSelect[] = {0,1,1,1};
};
class Edit_1120: RscEdit
{
idc = 1120;
style = ST_MULTI;
text = "Nachricht";
x = 0.335489 * safezoneW + safezoneX;
y = 0.630631 * safezoneH + safezoneY;
w = 0.392012 * safezoneW;
h = 0.117431 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,1};
colorSelection[] = {0,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class Structured_1122: RscText
{
idc = 1122;
text = "Nachricht an Spieler";
x = 0.335356 * safezoneW + safezoneX;
y = 0.594652 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class Button_1125: Life_RscButtonMenu
{
idc = 1125;
text = "Marker auf Map setzen";
action = "[] spawn life_fnc_setMarker";
x = 0.335489 * safezoneW + safezoneX;
y = 0.775123 * safezoneH + safezoneY;
w = 0.175819 * safezoneW;
h = 0.059259 * safezoneH;
ColorBackground[] = {0,0,0,0.623529};
ColorText[] = {1,1,1,1};
colorFocused[] = {0,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class Structured_1126: RscText
{
idc = 1126;
text = "Höhe und Breite";
x = 0.554286 * safezoneW + safezoneX;
y = 0.474722 * safezoneH + safezoneY;
w = 0.173554 * safezoneW;
h = 0.031481 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {0.388235,0.580392,0.925490,1};
};
class Edit_1127: RscEdit
{
idc = 1127;
style = ST_MULTI;
text = "Höhe";
x = 0.554286 * safezoneW + safezoneX;
y = 0.511701 * safezoneH + safezoneY;
w = 0.075276 * safezoneW;
h = 0.040476 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,1};
colorSelection[] = {0,1,1,1};
colorDisabled[] = {1,1,1,1};
};
class Edit_1128: RscEdit
{
idc = 1128;
style = ST_MULTI;
text = "Breite";
x = 0.652615 * safezoneW + safezoneX;
y = 0.511701 * safezoneH + safezoneY;
w = 0.075276 * safezoneW;
h = 0.040476 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,1};
colorSelection[] = {0,0,0,1};
colorDisabled[] = {0,0,0,1};
};
};
};
////////////////////////////////////////////////////////////////////////////
Alles anzeigen
EDIT :
Habe den Fehler behoben bei jeder class ein Life_ gesetzt funktioniert
nun habe ich das Problem wie mache ich für die civs den Button unsichtbar
Schreib einfach Shinji per Mail [email protected] an.
Er wird Dir sehr schnell und erfolgreich helfen.
civs den Button unsichtbar
fn_p_openMenu.sqf
core/pmenu