Ich habe in dem rpt log einen fehler wenn der server start und ich joinen
will Warning Message: File mpmissions\Altis_Life.Altis\description.ext, line 263: /playerHUD/RscTitles/: Missing '}'
arma3server_2016-12-27_06-33-57-1.zip
Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.
Ich habe in dem rpt log einen fehler wenn der server start und ich joinen
will Warning Message: File mpmissions\Altis_Life.Altis\description.ext, line 263: /playerHUD/RscTitles/: Missing '}'
arma3server_2016-12-27_06-33-57-1.zip
dann poste doch mal deine desct.
Die playerHud-Datei wird benötigt. Description.ext steht da nur, weil das HUD per include in der Description.ext der Missionskonfig (missionConfigFile) hinzugefügt/aufgerufen wird.
die Datei heisst hud_stats.hpp und befindet sich im dialog ordner
#define ST_RIGHT 0x01
class osefStatusBar {
idd = -1;
onLoad = "uiNamespace setVariable ['osefStatusBar', _this select 0]";
onUnload = "uiNamespace setVariable ['osefStatusBar', objNull]";
onDestroy = "uiNamespace setVariable ['osefStatusBar', objNull]";
fadein = 0;
fadeout = 0;
duration = 10e10;
movingEnable = 0;
controlsBackground[] = {};
objects[] = {};
class controls {
class statusBarText {
idc = 1000;
x = safezoneX + safezoneW - 1;
y = safezoneY + safezoneH - 0.08;
w = 1;
h = 0.04;
shadow = 2;
colorBackground[] = { 1, 0.3, 0, 0.0 }; // uncomment and increase 4th number to have a background
font = "PuristaSemibold";
size = 0.03;
type = 13;
style = 1;
text="Lade Server Informationen...";
class Attributes {
align="right";
color = "#1866c7";
};
};
};
};
Alles anzeigen
die is es definitiv nicht
wir brauchen eine in der playerHUD auch definiert ist
und standardmässig wäre das die hud_stats.hpp
aber ich weiss ja nicht was du an deinen files noch so alles verändert hast
ui.hpp
class playerHUD
{
idd=-1;
movingEnable=0;
fadein=0;
duration = 99999999999999999999999999999999999999999999;
fadeout=0;
name="playerHUD";
onLoad="uiNamespace setVariable ['playerHUD',_this select 0]";
objects[]={};
class controlsBackground
{
class foodHIcon : life_RscPicture
{
idc = -1;
text = "icons\food.paa";
x = safeZoneX+safeZoneW-0.115; y = safeZoneY+safeZoneH-0.54;
w = 0.03; h = 0.04;
};
class waterHIcon : life_RscPicture
{
idc = -1;
text = "icons\water.paa";
x = safeZoneX+safeZoneW-0.12; y = safeZoneY+safeZoneH-0.50;
w = 0.04; h = 0.04;
};
class healthHIcon : life_RscPicture
{
idc = -1;
text = "icons\health.paa";
x = safeZoneX+safeZoneW-0.11; y = safeZoneY+safeZoneH-0.445;
w = 0.02; h = 0.03;
};
class controls
{
class foodtext
{
type=0;
idc=23500;
style=0;
x=-1;
y=-1;
w=0.3;
h=0.05;
sizeEx=0.03;
size=1;
font="PuristaSemibold";
colorBackground[]={0,0,0,0};
colorText[] = { 1 , 1 , 1 , 1 };
shadow=true;
text="";
};
class watertext
{
type=0;
idc=23510;
style=0;
x=-1;
y=-1;
w=0.3;
h=0.05;
sizeEx=0.03;
size=1;
font="PuristaSemibold";
colorBackground[]={0,0,0,0};
colorText[] = { 1 , 1 , 1 , 1 };
shadow=true;
text="";
};
class healthtext
{
type=0;
idc=23515;
style=0;
x=-1;
y=-1;
w=0.3;
h=0.05;
sizeEx=0.03;
size=1;
font="PuristaSemibold";
colorBackground[]={0,0,0,0};
colorText[] = { 1 , 1 , 1 , 1 };
shadow=true;
text="";
};
};
};
Alles anzeigen
auch die kann es nicht sein weil die hat zuwenig zeilen wir suchen zeile 263
Fehler gefunden:
class playerHUD
{
idd=-1;
movingEnable=0;
fadein=0;
duration = 99999999999999999999999999999999999999999999;
fadeout=0;
name="playerHUD";
onLoad="uiNamespace setVariable ['playerHUD',_this select 0]";
objects[]={};
class controlsBackground
{
class foodHIcon : life_RscPicture
{
idc = -1;
text = "icons\food.paa";
x = safeZoneX+safeZoneW-0.115; y = safeZoneY+safeZoneH-0.54;
w = 0.03; h = 0.04;
};
class waterHIcon : life_RscPicture
{
idc = -1;
text = "icons\water.paa";
x = safeZoneX+safeZoneW-0.12; y = safeZoneY+safeZoneH-0.50;
w = 0.04; h = 0.04;
};
class healthHIcon : life_RscPicture
{
idc = -1;
text = "icons\health.paa";
x = safeZoneX+safeZoneW-0.11; y = safeZoneY+safeZoneH-0.445;
w = 0.02; h = 0.03;
};
class controls
{
class foodtext
{
type=0;
idc=23500;
style=0;
x=-1;
y=-1;
w=0.3;
h=0.05;
sizeEx=0.03;
size=1;
font="PuristaSemibold";
colorBackground[]={0,0,0,0};
colorText[] = { 1 , 1 , 1 , 1 };
shadow=true;
text="";
};
class watertext
{
type=0;
idc=23510;
style=0;
x=-1;
y=-1;
w=0.3;
h=0.05;
sizeEx=0.03;
size=1;
font="PuristaSemibold";
colorBackground[]={0,0,0,0};
colorText[] = { 1 , 1 , 1 , 1 };
shadow=true;
text="";
};
class healthtext
{
type=0;
idc=23515;
style=0;
x=-1;
y=-1;
w=0.3;
h=0.05;
sizeEx=0.03;
size=1;
font="PuristaSemibold";
colorBackground[]={0,0,0,0};
colorText[] = { 1 , 1 , 1 , 1 };
shadow=true;
text="";
};
};
};
}; // <=== hat gefehlt
Alles anzeigen
Beim nächsten mal bitte mit Notepadd++ oder ähnlichem die Klammern selbstständig überprüfen. Dann beugt man solche Flüchtigkeitsfehler + Thema vor ![]()
Ok danke, ich gucke mal
//edit
Funktioniert wieder Danke schön