Hat sich erledigt... Aus welchem Grund auch immer, war das Bild im falschen Format.
Beiträge von FarmersSohn
-
-
Moin zusammen,
ich habe mir ein Z-Menü im Arma 3 GUI-Editor erstellt, indem ich mit Photoshop einen Hintergrund erstellt habe und die ganzen RscButtonMenus, etc. einfach nur noch unsichtbar auf das Bild gezogen habe. Wenn ich mir per Script das Menü im Eden Editor öffnen lasse, sind alle Buttons und Listen richtig ausgerichtet. Wenn ich jedoch die hpp auf den server lade und das Z-Menü öffne, ist alle nach rechts verschoben. Alle Elemente sind auf Safezone eingestellt.
Im Editor
Im Spielplayer_inv.hpp
C
Alles anzeigen//////////////////////////////////////////////////////// // GUI EDITOR OUTPUT START (by Hans Titoff, v1.063, #Lufuvu) //////////////////////////////////////////////////////// #include "player_sys.sqf" class playerSettings { idd = playersys_DIALOG; movingEnable = 1; enableSimulation = 1; class controlsBackground { class MainBackground: Life_RscPicture { idc = 1200; text = "textures\player_inv.jpg"; x = 0.133906 * safezoneW + safezoneX; y = 0.126 * safezoneH + safezoneY; w = 0.733229 * safezoneW; h = 0.693 * safezoneH; }; }; class controls { class itemList: Life_RscListBox { idc = 1500; x = 0.427291 * safezoneW + safezoneX; y = 0.255222 * safezoneH + safezoneY; w = 0.125625 * safezoneW; h = 0.272593 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class moneyEdit: Life_RscEdit { idc = 1400; text = "1"; //--- ToDo: Localize; x = 0.618594 * safezoneW + safezoneX; y = 0.533 * safezoneH + safezoneY; w = 0.0563541 * safezoneW; h = 0.0275556 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class NearPlayers: Life_RscCombo { idc = 2100; x = 0.560468 * safezoneW + safezoneX; y = 0.566926 * safezoneH + safezoneY; w = 0.115156 * safezoneW; h = 0.0182963 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class moneyDrop: Life_RscButtonMenu { idc = 2400; x = 0.560521 * safezoneW + safezoneX; y = 0.533222 * safezoneH + safezoneY; w = 0.0542709 * safezoneW; h = 0.0281481 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class itemEdit: Life_RscEdit { idc = 1401; text = "1"; //--- ToDo: Localize; x = 0.48401 * safezoneW + safezoneX; y = 0.564148 * safezoneH + safezoneY; w = 0.05375 * safezoneW; h = 0.0262963 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class iNearPlayers: Life_RscCombo { idc = 2101; x = 0.426666 * safezoneW + safezoneX; y = 0.595407 * safezoneH + safezoneY; w = 0.110469 * safezoneW; h = 0.0182964 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class RemoveButton: Life_RscButtonMenu { idc = 2401; x = 0.427187 * safezoneW + safezoneX; y = 0.562296 * safezoneH + safezoneY; w = 0.05375 * safezoneW; h = 0.0290741 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class UseButton: Life_RscButtonMenu { idc = 2402; x = 0.483489 * safezoneW + safezoneX; y = 0.531963 * safezoneH + safezoneY; w = 0.05375 * safezoneW; h = 0.0275556 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class DropButton: Life_RscButtonMenu { idc = 2403; x = 0.426614 * safezoneW + safezoneX; y = 0.532889 * safezoneH + safezoneY; w = 0.0542708 * safezoneW; h = 0.0258149 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonSettings: Life_RscButtonMenu { idc = 2404; x = 0.456614 * safezoneW + safezoneX; y = 0.675296 * safezoneH + safezoneY; w = 0.0865625 * safezoneW; h = 0.0401851 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonMarket : Life_RscButtonMenu { idc = 2405; x = 0.547032 * safezoneW + safezoneX; y = 0.677148 * safezoneH + safezoneY; w = 0.0870834 * safezoneW; h = 0.0374074 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonKeys: Life_RscButtonMenu { idc = 2406; x = 0.635885 * safezoneW + safezoneX; y = 0.677148 * safezoneH + safezoneY; w = 0.0870834 * safezoneW; h = 0.0374074 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonErfahrung : Life_RscButtonMenu { idc = 2407; x = 0.457135 * safezoneW + safezoneX; y = 0.730407 * safezoneH + safezoneY; w = 0.085 * safezoneW; h = 0.0355556 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonMyGang: Life_RscButtonMenu { idc = 2408; x = 0.367188 * safezoneW + safezoneX; y = 0.676852 * safezoneH + safezoneY; w = 0.0865625 * safezoneW; h = 0.0374074 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonCell: Life_RscButtonMenu { idc = 2409; x = 0.277084 * safezoneW + safezoneX; y = 0.676852 * safezoneH + safezoneY; w = 0.0870833 * safezoneW; h = 0.0374074 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class ButtonSyncData: Life_RscButtonMenu { idc = 2410; x = 0.456614 * safezoneW + safezoneX; y = 0.632111 * safezoneH + safezoneY; w = 0.0870834 * safezoneW; h = 0.0401851 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; class Licenses_Menu : Life_RscControlsGroup { idc = 2300; x = 0.335104 * safezoneW + safezoneX; y = 0.261704 * safezoneH + safezoneY; w = 0.0797916 * safezoneW; h = 0.260555 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; class Controls { }; }; class Life_Licenses: Life_RscStructuredText { idc = 1100; x = 0.331458 * safezoneW + safezoneX; y = 0.262593 * safezoneH + safezoneY; w = 0.0823958 * safezoneW; h = 0.260555 * safezoneH; colorText[] = {0,0,0,0}; colorBackground[] = {0,0,0,0}; colorActive[] = {0,0,0,0}; }; }; }; //////////////////////////////////////////////////////// // GUI EDITOR OUTPUT END ////////////////////////////////////////////////////////
Player_inv.jpg
Falls einer ne Idee hat wärs super, wenn er sich meldet.
Grüße Moritz
-
Bei linux musst du die dependencies der extdb installiern. Guck da einfach auf der extdb download page. Und bei mir war es so dass ich nicht die Neuste extdb3 version verwenden konnte, sondern eine version älter. Denk dran tbmalloc.dll brauch linux nich weil er sie eh nicht verwenden kann. Dafür halt die dependencies...
LG
-
-
Moin zusammen,
ich bin gerade dabei ein Berufsystem zu entwickeln, bei dem man zur Jobbörse gehen muss um sich einen Beruf auszusuchen. Der NPC bei der Jobbörse hat ein User Interface, in dem verschieden Knöpfe sind um entweder Bauer oder ähnlich zu werden. Die Knöpfe sollen eine bestimmte Lizenz vergeben, je nachdem was man werden will. Ich habe bereits eine Abfrage eingebaut, dass man nur einen neuen Job annehmen kann, wenn man noch keinen hat. Ich tue mich allerdings mit der onButtonClick action des Buttons schwer. Also meine Frage, wie kann man über einen Button eine bestimmte Lizenz erwerben?
Der Dialog:
Code: berufswahl.hpp
Alles anzeigenclass berufswahl { idd = 5555; class ControlsBackground { }; class Controls { class HeadBg { type = 0; idc = 0; x = safeZoneX + safeZoneW * 0.29375; y = safeZoneY + safeZoneH * 0.22444445; w = safeZoneW * 0.4125; h = safeZoneH * 0.04888889; style = 0; text = ""; colorBackground[] = {0.3687,0.102,0.102,0.6111}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class MainBg { type = 0; idc = 0; x = safeZoneX + safeZoneW * 0.29375; y = safeZoneY + safeZoneH * 0.27888889; w = safeZoneW * 0.4125; h = safeZoneH * 0.49555556; style = 0; text = ""; colorBackground[] = {0.102,0.102,0.102,0.754}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class Heading { type = 0; idc = 0; x = safeZoneX + safeZoneW * 0.29375; y = safeZoneY + safeZoneH * 0.22444445; w = safeZoneW * 0.4125; h = safeZoneH * 0.04555556; style = 0; text = "Berufsauswahl"; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaBold"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class GetBauer { type = 1; idc = -1; x = safeZoneX + safeZoneW * 0.34375; y = safeZoneY + safeZoneH * 0.38111112; w = safeZoneW * 0.096875; h = safeZoneH * 0.05444445; style = 0; text = "Bauer - 10.000 $"; borderSize = 0; colorBackground[] = {0.102,0.102,0.102,1}; colorBackgroundActive[] = {1,0,0,1}; colorBackgroundDisabled[] = {0.2,0.2,0.2,1}; colorBorder[] = {0,0,0,0}; colorDisabled[] = {0.2,0.2,0.2,1}; colorFocused[] = {0.2,0.2,0.2,1}; colorShadow[] = {0,0,0,1}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; offsetPressedX = 0.01; offsetPressedY = 0.01; offsetX = 0.01; offsetY = 0.01; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1.0}; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1.0}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1.0}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1.0}; onButtonClick = "[false, false, false, bauer] call life_fnc_buyLicense; closeDialog 0;"; }; class GetMetallbauer { type = 1; idc = -1; x = safeZoneX + safeZoneW * 0.54375; y = safeZoneY + safeZoneH * 0.38111112; w = safeZoneW * 0.096875; h = safeZoneH * 0.05444445; style = 0; text = "Metallbauer - 10.000 $"; borderSize = 0; colorBackground[] = {0.102,0.102,0.102,1}; colorBackgroundActive[] = {1,0,0,1}; colorBackgroundDisabled[] = {0.2,0.2,0.2,1}; colorBorder[] = {0,0,0,0}; colorDisabled[] = {0.2,0.2,0.2,1}; colorFocused[] = {0.2,0.2,0.2,1}; colorShadow[] = {0,0,0,1}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; offsetPressedX = 0.01; offsetPressedY = 0.01; offsetX = 0.01; offsetY = 0.01; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1.0}; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1.0}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1.0}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1.0}; onButtonClick = "[false, false, false, metallbauer] call life_fnc_buyLicense; closeDialog 0;";//Hier brauche ich Hilfe }; class Close { type = 1; idc = -1; x = safeZoneX + safeZoneW * 0.469375; y = safeZoneY + safeZoneH * 0.61555556; w = safeZoneW * 0.058125; h = safeZoneH * 0.02333334; style = 0+2; text = "EXIT"; borderSize = 0; colorBackground[] = {0.102,0.102,0.102,1}; colorBackgroundActive[] = {1,0,0,1}; colorBackgroundDisabled[] = {0.2,0.2,0.2,1}; colorBorder[] = {0,0,0,0}; colorDisabled[] = {0.2,0.2,0.2,1}; colorFocused[] = {0.2,0.2,0.2,1}; colorShadow[] = {0,0,0,1}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; offsetPressedX = 0.01; offsetPressedY = 0.01; offsetX = 0.01; offsetY = 0.01; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1.0}; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1.0}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1.0}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1.0}; onButtonClick = "closeDialog 0; "; }; }; };
Die Funktion:
Code: fn_berufswahl.sqf#include "..\..\script_macros.hpp" //Ja ich weiß unnötig createDialog "berufswahl"; if(license_civ_bauer || license_civ_metallbauer) then { closeDialog 0; hint localize "STR_NOTF_AlreadyJob"; };
Ich hoffe ihr konntet mein anliegen verstehen und mir helfen.
Mit freundlichen Grüßen, Moritz B.
-
So! Sache hat sich erledigt. Es gibt 2 Punkte, an denen es liegen kann. Einmal in der Config_SpawnPoints.hpp, da muss die class: Altis in class: Malden umgenannt werden.
Code
Alles anzeigenclass CfgSpawnPoints { class Malden { class Civilian { class Kavala { displayName = "Kavala"; spawnMarker = "civ_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = "!license_civ_rebel"; }; class Athira { displayName = "Athira"; spawnMarker = "civ_spawn_3"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; class Pyrgos { displayName = "Pyrgos"; spawnMarker = "civ_spawn_2"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; class Sofia { displayName = "Sofia"; spawnMarker = "civ_spawn_4"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; class RebelN { displayName = $STR_SP_Reb_N; spawnMarker = "Rebelop"; icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa"; conditions = "license_civ_rebel"; }; class RebelS { displayName = $STR_SP_Reb_S; spawnMarker = "Rebelop_1"; icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa"; conditions = "license_civ_rebel"; }; class RebelE { displayName = $STR_SP_Reb_E; spawnMarker = "Rebelop_2"; icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa"; conditions = "license_civ_rebel"; }; }; class Cop { class Kavala { displayName = "Kavala HQ"; spawnMarker = "cop_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; class Athira { displayName = "Athira HQ"; spawnMarker = "cop_spawn_3"; icon = "\a3\ui_f\data\map\MapControl\fuelstation_ca.paa"; conditions = ""; }; class Pyrgos { displayName = "Pyrgos HQ"; spawnMarker = "cop_spawn_2"; icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa"; conditions = ""; }; class Air { displayName = $STR_MAR_Police_Air_HQ; spawnMarker = "cop_spawn_4"; icon = "\a3\ui_f\data\map\Markers\NATO\b_air.paa"; conditions = "call life_coplevel >= 2 && {license_cop_cAir}"; }; class HW { displayName = $STR_MAR_Highway_Patrol; spawnMarker = "cop_spawn_5"; icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa"; conditions = "call life_coplevel >= 3"; }; }; class Medic { class Kavala { displayName = $STR_SP_EMS_Kav; spawnMarker = "medic_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa"; conditions = ""; }; class Athira { displayName = $STR_SP_EMS_Ath; spawnMarker = "medic_spawn_2"; icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa"; conditions = ""; }; class Pyrgos { displayName = $STR_SP_EMS_Pyr; spawnMarker = "medic_spawn_3"; icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa"; conditions = ""; }; }; };
Und in der fn_initCiv.sqf, da wie die meisten ja wissen auf Altis random in Häusern nahe der Stadt gespawnt. Also muss das auskommentiert werden:
Code
Alles anzeigen#include "..\script_macros.hpp" /* File: fn_initCiv.sqf Author: Bryan "Tonic" Boardwine Description: Initializes the civilian. */ private _altisArray = ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"]; private _tanoaArray = ["Land_House_Small_01_F"]; private _spawnBuildings = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort; /* civ_spawn_1 = nearestObjects[getMarkerPos "civ_spawn_1", _spawnBuildings,350]; civ_spawn_2 = nearestObjects[getMarkerPos "civ_spawn_2", _spawnBuildings,350]; civ_spawn_3 = nearestObjects[getMarkerPos "civ_spawn_3", _spawnBuildings,350]; civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4", _spawnBuildings,350]; */ waitUntil {!(isNull (findDisplay 46))}; if (life_is_alive && !life_is_arrested) then { /* Spawn at our last position */ player setVehiclePosition [life_civ_position, [], 0, "CAN_COLLIDE"]; } else { if (!life_is_alive && !life_is_arrested) then { if (LIFE_SETTINGS(getNumber,"save_civilian_positionStrict") isEqualTo 1) then { _handle = [] spawn life_fnc_civLoadout; waitUntil {scriptDone _handle}; CASH = 0; [0] call SOCK_fnc_updatePartial; }; [] call life_fnc_spawnMenu; waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open. waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done. } else { if (life_is_arrested) then { life_is_arrested = false; [player,true] spawn life_fnc_jail; }; }; }; life_is_alive = true; player addRating 9999999;
MFG
-
Guten Tag zusammen,
wir sind gerade dabei einen Malden Life Server auf zu setzten. Die Karte ist auch schon fertig verschoben. Das Erste Problem mit dem Spawn, dass wir hatten, habe ich schon gelöst. Denn bei der 5.5 wird in der Spawn Cfg geschrieben, ob Tanoa oder Altis und ich habe Altis dann in Malden geändert und die Spawnauswahl lädt, doch egal wo man spawnt, man spawnt unten links in der Ecke und ja die Spawn Marker sind alle da . Aber in der Slotauswahl steht immer KI obwohl an der Mission nichts geändert ist. Deswegen gibt es auch nicht viel mehr zu beschreiben. Ich haue mal unten den RPT rein und vielleicht kann ja einer helfen.
MFG Moritz
-
Moin zusammen,
vielleicht kennen mich ja mittlerweile doch ein paar Leute hier im Forum aber das spielt ja keine Rolle... Also hier nochmal eine kleine Vorstellung.
Mein Name ist Moritz besser bekannt als Farmers Sohn und ich bin 16 Jahre alt. Ich habe mit dem jetzigen Island Life Network Team jetzt schon mehrere Arma III Server Projekte geleitet.
Die größten wären da Nameless Life und Island Life.
Island Life war bis jetzt mein größtes Projekt mit einer Spielerzahl von ca. 40-60 Spieler auf einem Zeitraum von 3 Monaten. Leider ist das Projekt durch Fehler und zeitlichen Problemen
im Admin-Team kaputt gegangen. Ich war erst am überlegen, ob ich mit der gesamten Arma III Server Geschichte aufhöre und nur noch als normaler Spieler tätig bin. Aber schnell habe ich wieder gemerkt, dass
ohne Server und ohne Aufgaben (Scripting, Web-Development, etc.) einfach nicht geht. Also sitzt das Island Life Team bzw. das, was davon über geblieben ist jetzt schon seit 2 Wochen zusammen und ist am überlegen,
was für einen Server bzw. was für ein Projekt die Arma III Community überhaupt noch brauch. Hierbei beziehe ich mich auf die Life Modifikation (Altis Life, Lakeside, Tanoa Life, etc.). Und ja auch mit Mods hätte ich bei nachfrage der Spieler keine Probleme im Gegenteil sogar.
Also nochmal zusammen gefasst, damit es auch jeder versteht... Dieser Post soll euch dazu anregen Ideen zu neuen Life Projekten zu äußern. Also lasst eurer Fantasie freien Lauf oder überlegt, wo es noch zu wenig Server
gibt. Denn ich glaube Standard Altis Life bringt mittlerweile auch nichts mehr.
PS: Bei all unseren alten Projekten, haben wir eine art "optionale MOD" benutzt also die Spieler brauchten die Mod nicht zwingend um auf den Server zu kommen allerdings wird es ihnen Empfohlen, da neue Autos und Objekte dadurch freigeschaltet werden.
Ach ja fast vergessen... Ihr könnt euch auch gerne bei uns im Forum melden! URL: http://www.network-islandlife.de
MFG FarmersSohn
-
Hi zusammen...
Wir möchten ein update unseres Servers machen. Dafür wollen wir die neue 5.0 Version benutzen. Hat einer eine Idee, wie man das Dynamic Marktsystem umschreiben muss, damit es auch auf der 5.0 läuft?
Mir fehlt es leider an Können, es selbst umzuschreiben. Es wäre nett wenn mir einer einen Tipp/Hilfe geben kann.Mit freundlichen Grüßen Moritz
-
Sorry... Das kommt davon wenn man bis 5 zockt und um 8 aufwacht
Hab deine Frage komplett falsch gelesen...
Sry @Your Life Your DecisonMFG Moritz
-
Du weist den Spielern, die dort spawnen dürfen die wurstclan Lizenz zu. Also in der MYSQL Datenbank beim Player die Licenses editieren und aus der 0 bei wurstclan eine 1 machen.
MFG Moritz
-
Ohhhhh... Du Wurst
Dann ist das ein Script Error send doch mal bitte dein RPT-Log.MFG Moritz
-
Leider finde ich keinen Crash Log und die arma3server.exe beendet sich nicht, sondern alle Spieler bleiben auf Altis stehen.
Tut mir leid, dass ich das so schlecht erläutert.MFG Moritz
-
Das ist das interessante an der ganzen Sache...
Es gibt keine error Meldung und die SatusBar hat damit leider auch nichts zu tun.MFG Moritz
-
Moin ganz kurz mal...
Unser Server stürzt nach einer Zeit einfach ab. Hat einer ne Idee?
Das ist mein RPT und ja wir haben Mods an. Hat einer vielleicht ne Idee?Danke im vorraus
-
einfach im core ordner aus der datei fn_initciv die exec fn_welcomeNotification.sqf herausnehmen.
-
Moin zusammen,
ich bin gerade echt in Not. Unser Server geht gerade ab wie Schmitz Katze aber zurzeit laufen unsere auto Restarts über den Windows Aufgabenmanager und einem Batch Script.
Doch wenn der Server einen Auto Restart macht, schmiert er nach ca. 20 - 30 Minuten ab. Wenn ich den Server allerdings mit dem selben Batch Script Restarte, schnurrt er wie ein Kätzchen und stürzt nicht ab.
Ich glaube, das dieses Problem an dem Windows-Aufgabenmanager liegt. (Arma 3 Startet auch im Hintergrund dabei!)
Also will ich die Ankündigungen und den Restart über BEC machen.
Jetzt das große Problem! Ich kann keine Teste mit den Restarts machen, weil unsere Community noch nicht an unseren Server gebunden ist.
Jetzt bitte ich, dass jemand seine Restart-Config von BEC an mich sendet, die funktioniert.
Es tut mir leid, das nächste mal bin ich netter aber es geht um leer oder voll!MFG Moritz
PS: Ich hoffe jemand kann mir helfen
-
Ok danke
Jetzt weiß ich wenigstens, dass es an der Config liegt. Mehr brauchte ich nichtVielen Dank
-
Guten Mittag und erstmal frohes neues.
Ich habe einen Altis Life Server auf der Version v.4.4. Um Restart Nachrichten und andere hilfreiche Mitteilungen zu übermitteln installierte ich BEC auf dem Server.
Der Rcon Port und das Passwort sind eingestellt. Und ich habe den Scheduler eingestellt. Jetzt startet BEC verbindet sich mit dem Server und ich kann alle Infos bei BEC sehen also wie viele Spieler on sind und so.
Doch leider kommen die Nachrichten nicht an und die batch Datei, die Bec ausführen soll wird auch nicht ausgeführt!Code: Config.cfg
Alles anzeigen# This config file is only provided as an example file. # Edit it to sute your needs. # For more info on how to edit this file. use the Readme.txt file or visit http://www.ibattle.org/install-and-configure #-------------------------------------------------------------------------------------------------------- [Bec] #-------------------------------------------------------------------------------------------------------- # Set the ip to your server. normally 127.0.0.1 will be fine. Ip = 127.0.0.1 # Set the port to the server. default port is 2302 Port = 2310 # Set the path to the BattlEye directory that is currently in use by the server. BePath = C:\A3-Life\DEV\battleye # Set the path to your Admins.xml file containing your admins. Admins = Admins.xml # Set the path to your Commands.xml file. Commands = Commands.xml #-------------------------------------------------------------------------------------------------------- [Misc] #-------------------------------------------------------------------------------------------------------- # Auto run loadbans when ban file(s) changes. # 1 or True will turn it on. # 0 or False will turn it off. # If this parameter is not defined it will use False as default. AutoLoadBans = True # Set which type of hacks that will be added to your banlist. # 0 = none. 1 = GameHack. 2 = Battleye Hack. 3 = both GameHack & Battleye Hack. # value 3 is set as default if this parameter is not defined. Ban = 3 # Set the names of your custom ban files, Separate each file with "," (comma): file1.txt, banfile2.txt, newfile.txt # If you do not use any custom ban files. delete this option or leave this option commented. # This option will check ban files for changes and automatic do a loadbans file when a file gets changed # Do not specify the default bans.txt file here. BeCustomBanFiles = Bans1.txt, file2.txt, file3.txt # Set the height & width of Becs console window ConsoleHeight = 45 ConsoleWidth = 165 # Only allow english chars. AsciiNickOnly = False # Only allow english chars to be typed on the chat. Note, Warnings must be enabled. 0 or more. AsciiChatOnly = True # If AsciiChatOnly is set True. you can define none english chars that will be accepted. # You separate each char with a , "note you need to define lower and upper case of the chars." IgnoreChatChars = €,£,æ,Æ,ø,Ø,å,Å,ö,ä,ü,ß # Set the amount of warnings a player will get before kicked. -1 is disabled. 0 instant kick # 1 == one warning on a bad word. next bad word results in kick Warnings = 3 # Kick players who has listed chars in their name when they connect DisallowPlayerNameChars = []{}()0123456789 # Min length, kicks players who has to short name when they connect. MinPlayerNameLength = 3 # Max length, kicks players who has to long name when they connect. MaxPlayerNameLength = 16 # Set the name of your Arma3server.exe if it has been renamed from arma3server.exe to something else! # if the exe has its original name. comment it out. # DO NOT SET FULL PATH TO THE EXE FILE ServerExeName = arma3server.exe # Set path to the file containing a list of bad words. Note, Warnings must be enabled. 0 or more. WordFilterFile = BadWords.txt # Set the path to the file containing whitelisted guids. #WhiteListFile = WhiteList.txt # Set custom whitelist kick message. Text must be in ascii letters. MAX 58 CHARS. BE only does ascii on messages WhiteListKickMsg = You are not whitelisted on this server. # Kick people with offensive names NickFilterFile = BadNames.txt # Set the path to the Scheduler.xml file. Scheduler = Scheduler.xml # Kick people who are idleing in the lobby, kick will happen after given time, Min time is 90 sec. use 0 to disable this function. KickLobbyIdlers = 0 # If enabled. Bec will create separate chat files for each channel along with the main file. #ChatChannelFiles = false # Set the amount of Normal players who can connect. Set it to -1 to disable it. # If set to 0 it means only players who are listed in the Admins.xml, (or whatever you call it) will be able to connect to the server. # Quick Example 1: server can holed 50 players. and you want to reserve 5 slots for admins. then set SlotLimit to 45. # Quick Example 2: server can holed 50 players. and you want to reserve 5 slots for admins and 5 slots for friends. then set SlotLimit to 40, # AND edit your admins.xml. ADD in all your frineds guid and remaining data, put them in group example 100. or whatever you feel likt. # by using this method you can give some of your friends some access to some commands if you like or none. # in general this is works like .Whitelisting X player slots for admins and friends, while leaving the remaining Y slots for public. SlotLimit = -1 # Set the message people will get when they try to connect and is not whitelisted. Text must be in ascii letters. SlotLimitKickMsg = The Server has reached its player limit. # The amount of time Bec will wait for the server to start up. Timeout = 30 #-------------------------------------------------------------------------------------------------------- [Reporter] #-------------------------------------------------------------------------------------------------------- # Reporter account. Fill in the username and password for your reporter account. # GameHacks, BattlEye Hacks will be reported to a database. all players who connect will also be checked against this database. # Set the Username for your account #User = alfred # Set the Password for your account #Password = 123456 #-------------------------------------------------------------------------------------------------------- [ChatRestriction] #-------------------------------------------------------------------------------------------------------- # Set max amount of chat lines a player is allowed to send for each channel. # Going passed the number will result in kick. -1 is disabled, 0 instant kick. # If the number is higher than 0 players will be sent warnings. Lobby = 30 Global = 5 Side = 7 Group = 9 Vehicle = 11 Command = 13 Commander = 15 Direct = 17 #-------------------------------------------------------------------------------------------------------- [ChatSpam] #-------------------------------------------------------------------------------------------------------- # Set max amount of chat lines per channel allowed within given time frame. # Set the values to 0 to disable this function(s) # Quick Example: # Lobby = 5 # Lobby_Time_Lower = 10 # Lobby_Time_Upper = 15 # If the time between each new chatlines from a player is less than CHANNEL_Time_Lower the spam counter increases by + 1. # Consider the CHANNEL (Lobby) as the spam counter. # When a player has (CHANNEL - 1) in spam counting. a warning will be sent to whom it may concern. # If the time between each new chatline from the player is Greater than CHANNEL_Time_Lower and Less than CHANNEL_Time_Upper the spam counter stay as it is. # If the time since the last chatline is greater then CHANNEL_Time_Upper the spam counter is reset to 1. # To get optimal result play around a bit with the values on your server. Lobby = 0 Lobby_Time_Lower = 0 Lobby_Time_Upper = 0 Global = 0 Global_Time_Lower = 0 Global_Time_Upper = 0 Side = 0 Side_Time_Lower = 0 Side_Time_Upper = 0 Group = 2 Group_Time_Lower = 1 Group_Time_Upper = 3 Vehicle = 0 Vehicle_Time_Lower = 0 Vehicle_Time_Upper = 0 Command = 0 Command_Time_Lower = 0 Command_Time_Upper = 0 Commander = 0 Commander_Time_Lower = 0 Commander_Time_Upper = 0 Direct = 0 Direct_Time_Lower = 0 Direct_Time_Upper = 0
XML: Scheduler.xml
Alles anzeigen<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- This file is only provided as an example file and is not practical to use in real life. Make sure you take a copy of this file rename it and keep the orginale intact for orginale refrance. And Start using your new file Now!! Web Doc : http://www.ibattle.org/install-and-configure/setting-up-the-scheduler/ BE Commands supported by the scheduler system are: say -1 some text loadbans loadscripts loadevents writebans maxping 250 #shutdown #restart #reassign #lock #unlock #mission filename (without the .pbo extension) systime uptime fortune exit ***************************************************************************************************** Description: ***************************************************************************************************** Schedules are created by adding a job with id. The first schedule should always start with id="0" <Scheduler> <job id="0"> <day></day> <start></start> <runtime></runtime> <loop></loop> <cmd></cmd> </job> <job id="1"> <day></day> <start></start> <runtime></runtime> <loop></loop> <cmd></cmd> </job> </Scheduler> The job tag has 5 sub tags. starting with: <day>.../day> The day of the week the schedule should run on. Days are seperated by ',' <day>n</day> or <day>n,n+</day> Monday starts with 1! All days <day>1,2,3,4,5,6,7</day> Monday and Friday only. <day>1,5</day> Next: <start>......</start> This tag may have one of two input format. Format 1: Contains 3 segments where each segment is a size of 2 in range of 00 - 99 Hour Min Sec [nn] [nn] [nn] nnnnnn Max value is 999999 and min value is 000000 <start>000090</start> This will make the schedule execute 90 seconds after bec has started up and logged in. Note that: <start>000130</start> Will also make the schedule execute 90 seconds after bec has started up. as 90 sec is the same as 1 min and 30 sec Format 2: Contains 2 segments where each segment is a size of 2 in range of 00 - (23&59) and each segment is seperated by ':' Hour Min Sec [nn] : [nn] : [nn] <start>23:05:30</start> This will make the schedule execute precice at 23:05:30 To execute a schedule at midnight use: <start>00:00:00</start> To execute a schedule at noon use: <start>12:00:00</start> Next: <runtime>....../runtime> This tag uses the same format as the <start> tag format 1 (hhmmss), it also only work when the loop is set to -1 or higher than 0. ie 10 <runtime>hhmmss</runtime> Next: <loop>N</loop> If -1 is used it means it will loop forever. If 0 is used the job will only be run once. If a number higher than 0 is used it will loop the set numbers. Each loop interval is set in the runtime tag. Example. <runtime>001000</runtime> <loop>5</loop> this means that the job will loop 6 times with a 10 minute delay between each job after the jobstart once "start" + number of loops Next: <cmd>Command</cmd> Set the command that is to be executed. you can use external commands. example <cmd>c:\path\myfile.bat</cmd> or just use a internal command. <cmd>uptime</cmd> SEE THE SCHEDULER_FAQ.txt for more info --> <Scheduler> <job id='0'> <day>1,2,3,4,5,6,7</day> <start>050000</start> <runtime>050000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN EINER STUNDE</cmd> </job> <job id='1'> <day>1,2,3,4,5,6,7</day> <start>053000</start> <runtime>053000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 30 MINUTEN -- FANGT NICHTS NEUES AN!</cmd> </job> <job id='2'> <day>1,2,3,4,5,6,7</day> <start>055000</start> <runtime>055000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 10 MINUTEN -- BEENDET ALLES!/cmd> </job> <job id='3'> <day>1,2,3,4,5,6,7</day> <start>055500</start> <runtime>055500</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 5 MINUTEN -- BEREITET EUCH AUFS AUSLOGGEN VOR!</cmd> </job> <job id='4'> <day>1,2,3,4,5,6,7</day> <start>055800</start> <runtime>055800</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 2 MINUTEN -- SPEICHERT EURE SACHEN!</cmd> </job> <job id='4'> <day>1,2,3,4,5,6,7</day> <start>055900</start> <runtime>060000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 1 MINUTEN -- LOGGT EUCH AUS!</cmd> </job> <job id='5'> <day>1,2,3,4,5,6,7</day> <start>060000</start> <runtime>060000</runtime> <loop>0</loop> <cmd>C:\A3-Life\start.bat</cmd> </job> <job id='6'> <day>1,2,3,4,5,6,7</day> <start>110000</start> <runtime>050000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN EINER STUNDE</cmd> </job> <job id='7'> <day>1,2,3,4,5,6,7</day> <start>113000</start> <runtime>053000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 30 MINUTEN -- FANGT NICHTS NEUES AN!</cmd> </job> <job id='8'> <day>1,2,3,4,5,6,7</day> <start>115000</start> <runtime>055000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 10 MINUTEN -- BEENDET ALLES!/cmd> </job> <job id='9'> <day>1,2,3,4,5,6,7</day> <start>115500</start> <runtime>055500</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 5 MINUTEN -- BEREITET EUCH AUFS AUSLOGGEN VOR!</cmd> </job> <job id='10'> <day>1,2,3,4,5,6,7</day> <start>115800</start> <runtime>055800</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 2 MINUTEN -- SPEICHERT EURE SACHEN!</cmd> </job> <job id='11'> <day>1,2,3,4,5,6,7</day> <start>115900</start> <runtime>060000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 1 MINUTEN -- LOGGT EUCH AUS!</cmd> </job> <job id='12'> <day>1,2,3,4,5,6,7</day> <start>120000</start> <runtime>060000</runtime> <loop>0</loop> <cmd>C:\A3-Life\start.bat</cmd> </job> <job id='13'> <day>1,2,3,4,5,6,7</day> <start>160000</start> <runtime>050000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN EINER STUNDE</cmd> </job> <job id='14'> <day>1,2,3,4,5,6,7</day> <start>163000</start> <runtime>053000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 30 MINUTEN -- FANGT NICHTS NEUES AN!</cmd> </job> <job id='15'> <day>1,2,3,4,5,6,7</day> <start>165000</start> <runtime>055000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 10 MINUTEN -- BEENDET ALLES!/cmd> </job> <job id='16'> <day>1,2,3,4,5,6,7</day> <start>165500</start> <runtime>055500</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 5 MINUTEN -- BEREITET EUCH AUFS AUSLOGGEN VOR!</cmd> </job> <job id='17'> <day>1,2,3,4,5,6,7</day> <start>165800</start> <runtime>055800</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 2 MINUTEN -- SPEICHERT EURE SACHEN!</cmd> </job> <job id='18'> <day>1,2,3,4,5,6,7</day> <start>165900</start> <runtime>060000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 1 MINUTEN -- LOGGT EUCH AUS!</cmd> </job> <job id='19'> <day>1,2,3,4,5,6,7</day> <start>170000</start> <runtime>060000</runtime> <loop>0</loop> <cmd>C:\A3-Life\start.bat</cmd> </job> <job id='13'> <day>1,2,3,4,5,6,7</day> <start>230000</start> <runtime>050000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN EINER STUNDE</cmd> </job> <job id='14'> <day>1,2,3,4,5,6,7</day> <start>233000</start> <runtime>053000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 30 MINUTEN -- FANGT NICHTS NEUES AN!</cmd> </job> <job id='15'> <day>1,2,3,4,5,6,7</day> <start>235000</start> <runtime>055000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 10 MINUTEN -- BEENDET ALLES!/cmd> </job> <job id='16'> <day>1,2,3,4,5,6,7</day> <start>235500</start> <runtime>055500</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 5 MINUTEN -- BEREITET EUCH AUFS AUSLOGGEN VOR!</cmd> </job> <job id='17'> <day>1,2,3,4,5,6,7</day> <start>235800</start> <runtime>055800</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 2 MINUTEN -- SPEICHERT EURE SACHEN!</cmd> </job> <job id='18'> <day>1,2,3,4,5,6,7</day> <start>235900</start> <runtime>060000</runtime> <loop>0</loop> <cmd>say -1 RESTART IN 1 MINUTEN -- LOGGT EUCH AUS!</cmd> </job> <job id='19'> <day>1,2,3,4,5,6,7</day> <start>240000</start> <runtime>060000</runtime> <loop>0</loop> <cmd>C:\A3-Life\start.bat</cmd> </job> <job id='20'> <day>1,2,3,4,5,6,7</day> <start>003200</start> <runtime>003000</runtime> <loop>-1</loop> <cmd>say -1 TEAMSPEAK IP -- TS.ISLANDLIFEALTIS.DE</cmd> </job> </Scheduler>
Habt ihr ne Idee oder könnt ihr mir helfen?
MFG Moritz -