Aber wir wollen doch nicht so ein Aloch sein wie du...
Bitte den Umgangston anpassen. Danke
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.
Aber wir wollen doch nicht so ein Aloch sein wie du...
Bitte den Umgangston anpassen. Danke
Copy Paste klappt nicht immer zu 100%
'"[100,100,0]"'
Wegen 5.0
Fixed. Danke ![]()
Und du bist der Meinung das dir hier jemand ohne deine Logs helfen kann / wird?
class adac {
title = "STR_MAR_Clothing_Store_Adac";
conditions = "";
side = "opfor";
uniforms[] = {
{ "NONE", $STR_C_Remove_uniforms, 0, "" },
{ "U_C_WorkerCoveralls", JM, 0, "" },
{ "Tenue_secu", JM, 0, "" }
};
headgear[] = {
{ "NONE", $STR_C_Remove_headgear, 0, "" }
};
goggles[] = {
{ "NONE", $STR_C_Remove_goggles, 0, "" }
};
vests[] = {
{ "NONE", $STR_C_Remove_vests, 0, "" }
};
backpacks[] = {
{ "NONE", $STR_C_Remove_backpacks, 0, "" },
{ "invisible_bergen", "", 0, "" }
};
};
Alles anzeigen
Bin ich dabei doch mir geht es gerade mehr darum das das Joinen nicht geht aber bei allen anderen also als Med Cop oder Civ schon
Guck doch bitte mal in die Download Sektion dort habe ich das Framework mit Opfor veröffentlicht. Schau dir doch bitte dort einfach die Datein an und Vergleich die bitte mit deinen
Er hat es als Z Item wie So Cyber Kontaktlinsen
Mein Script ist mit einem I-Item
Mit welchem Fehler schmeißt er dich denn raus ?
Das Script ist von Soulkobk.
Erstellt eine Datei namens fullScreenNightVision.sqf
Via ExecVM.
/*
//Author: soulkobk (soulkobk.blogspot.com)
//Edited by Kuchenplatte.com
*/
if (!hasInterface) exitWith {};
var_fullScreenNightVision =
[
"G_Combat_Goggles_tna_F"
];
fn_fullScreenNightVision = {
params ["_displayCode","_keyCode","_isShift","_isCtrl","_isAlt"];
_handled = false;
if (_keyCode in actionKeys "NightVision") then
{
switch var_fullScreenNightVisionMode do
{
case 0: {
if (cameraView != "GUNNER") then
{
if (goggles player in var_fullScreenNightVision) then
{
player action ["nvGoggles", player];
var_fullScreenNightVisionMode = currentVisionMode player;
_handled = true;
};
};
};
case 1: {
if (cameraView != "GUNNER") then
{
if (goggles player in var_fullScreenNightVision) then
{
player action ["nvGogglesOff", player];
var_fullScreenNightVisionMode = currentVisionMode player;
_handled = true;
};
};
};
};
};
_handled
};
waitUntil {alive player};
player addEventHandler ["GetOutMan", {
params ["_player", "_role", "_vehicle", "_turret"];
switch var_fullScreenNightVisionMode do
{
case 1: {
if (goggles _player in var_fullScreenNightVision) then
{
_player action ["nvGoggles", _player];
var_fullScreenNightVisionMode = currentVisionMode _player;
};
};
case 0: {
if (goggles _player in var_fullScreenNightVision) then
{
_player action ["nvGogglesOff", _player];
var_fullScreenNightVisionMode = currentVisionMode _player;
};
};
};
}];
var_fullScreenNightVisionMode = currentVisionMode player;
waitUntil {!(isNull (findDisplay 46))};
(findDisplay 46) displayAddEventHandler ["KeyDown", "_this call fn_fullScreenNightVision;"];
Alles anzeigen
ich kann dir aus erfahrung sagen, dass unter Linux ein Server wie unter Windows zu realisieren ist. Habe dabei auch keine schlechten Erfahrungen gemacht.
Stimme ich zu.
Linux ist etwas komplizierter. Aber ich selbst habe damals zu heute keinerlei Unterschiede in der Performance gemerkt.
Cheers,
Da mich 1000 Leute über PN angeschrieben haben - veröffentliche ich das Tutorial für das einfügen der Opfor Fraktion für das Framework 5.0.
Script: Einfügen der 4ten Fraktion
Version : Altis Life 5.0
Schwierigkeitsgrad: Fortgeschrittene
Ich untersage hiermit das das verbreiten in anderen Forum untersagt ist - es gibt ja hier spezielle Kanditen die das mal gerne tun.
Anleitung:
(Modedit) dieser Link führt euch zum weiterführenden Teil dieses Tutorials [klick mich]. Erst NACH dem Tutorial machen.
Öffnet eure Config_Master.hpp und fügt ein:
Öffnet eure core/init.sqf und fügt ein :
//Set bank amount for new players
case east: {
life_paycheck = LIFE_SETTINGS(getNumber,"paycheck_adac");
};
case east: {
//Initialize Adac and blah
_handle = [] spawn life_fnc_initAdac;
waitUntil {scriptDone _handle};
};
Öffnet eure /core/shops/fn_atmMenu.sqf
Öffnet eure /core/session/fn_updateRequest.sqf
_flag = switch(playerSide) do {case west: {"cop"}; case civilian: {"civ"}; case independent: {"med"}; case east: {"adac"};};
Öffnet eure /core/session/fn_requestReceived.sqf
case east: {
CONST(life_adacLevel,(_this select 7));
CONST(life_coplevel,0);
if (LIFE_SETTINGS(getNumber,"save_playerStats") isEqualTo 1) then {
life_hunger = ((_this select 9) select 0);
life_thirst = ((_this select 9) select 1);
};
};
Öffnet eure /core/session/fn_updatePartial.sqf
_flag = switch(playerSide) do {case west: {"cop"}; case civilian: {"civ"}; case independent: {"med"}; case east: {"adac"};};
Öffnet eure /core/medical/fn_respawned.sqf
Öffnet eure /Functions.hpp
Unter : class Master_Directory { file = "core";
das hier einfügen: class initAdac {};
Und sowohl als auch das in die gleiche Class einfügen :
Öffnet eure /dialog/function/fn_spawnPointCfg.sqf
Öffnet eure /Config_SpawnPoints.hpp
class adac {
class Kavala {
displayName = "Adac HQ";
spawnMarker = "adac_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
Öffnet eure /core/pmenu/fn_p_updateMenu.sqf
_side = switch (playerSide) do {case west:{"cop"}; case civilian:{"civ"}; case independent:{"med"};case east:{"adac"};};
Öffnet eure /core/functions/fn_playerSkins.sqf
case east: {
if (uniform player isEqualTo "U_Rangemaster") then {
player setObjectTextureGlobal [0, "textures\medic_uniform.jpg"];
};
};
Öffnet eure /core/pmenu/fn_cellphone.sqf
Erstellt eine Datei : /core/fn_initAdac.sqf
#include "..\script_macros.hpp"
/*
File: fn_initAdac.sqf
Author: Bryan "Tonic" Boardwine
Description:
Initializes the adac..
*/
private["_end"];
player addRating 99999999;
waitUntil {!(isNull (findDisplay 46))};
//Hier wird geblacklisted
if ((FETCH_CONST(life_adacLevel)) < 1 && (FETCH_CONST(life_adminlevel) isEqualTo 0)) exitWith {
["Notwhitelisted",FALSE,TRUE] call BIS_fnc_endMission;
sleep 35;
};
[] 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.
Alles anzeigen
Erstellt einen Ordner : /core/adac
Erstellt die Datei fn_adacLoadout.sqf
#include "..\..\script_macros.hpp"
/*
File: fn_adacLoadout.sqf
Author: Bryan "Tonic" Boardwine
Edited by: Kuchenplatte
Description:
Loads the medic out with the default gear.
*/
private ["_handle"];
_handle = [] spawn life_fnc_stripDownPlayer;
waitUntil {scriptDone _handle};
player addUniform "U_Rangemaster";
player addItem "FirstAidKit";
player addItem "Toolkit";
player linkItem "ItemMap";
player linkItem "ItemCompass";
player linkItem "ItemWatch";
[] call life_fnc_playerSkins;
[] call life_fnc_saveGear;
Alles anzeigen
Erstellt die Datei : fn_adacMarkers.sqf
/*
File: fn_adacMarkers.sqf
Author: -
Description:
Marks adac on the map for other adac. Only initializes when the actual map is open.
*/
private["_markers","_adac"];
_markers = [];
_adac = [];
sleep 0.5;
if(visibleMap) then {
{if(side _x == east) then {_adac pushBack _x;}} foreach playableUnits; //Fetch list of adac / opfor
//Create markers
{
if(_x != player) then {
_marker = createMarkerLocal [format["%1_marker",_x],visiblePosition _x];
_marker setMarkerColorLocal "ColorOPFOR";
_marker setMarkerTypeLocal "Mil_dot";
_marker setMarkerTextLocal format["%1", _x getVariable["realname",name _x]];
_markers pushBack [_marker,_x];
};
} foreach _adac;
while {visibleMap} do {
{
private["_marker","_unit"];
_marker = _x select 0;
_unit = _x select 1;
if(!isNil "_unit" && !isNull _unit) then {
_marker setMarkerPosLocal (visiblePosition _unit);
};
} foreach _markers;
if(!visibleMap) exitWith {};
sleep 0.02;
};
{deleteMarkerLocal (_x select 0);} foreach _markers;
_markers = [];
_adac = [];
};
Alles anzeigen
====================================================================================================
@Life_Server
Öffnet eure /@life_server/addons/life_server/init.sqf
Öffnet eure /Functions/MYSQL/fn_insertRequest.sqf
//Prepare the query statement..
_query = format ["INSERT INTO players (pid, name, cash, bankacc, aliases, cop_licenses, med_licenses, civ_licenses, civ_gear, cop_gear, med_gear, adac_gear, adac_licenses) VALUES('%1', '%2', '%3', '%4', '%5','""[]""','""[]""','""[]""','""[]""','""[]""','""[]""','""[]""','""[]""')",
_uid,
_name,
_money,
_bank,
_alias
];
Öffnet eure /Functions/MYSQL/fn_queryRequest.sqf
//East
case east: {format["SELECT pid, name, cash, bankacc, adminlevel, donorlevel, adac_licenses, adaclevel, adac_gear, adac_stats, playtime FROM players WHERE pid='%1'",_uid];};
case east: {
//Pa* * e Stats
_new = [(_queryResult select 9)] call DB_fnc_mresToArray;
if (_new isEqualType "") then {_new = call compile format["%1", _new];};
_queryResult set[9,_new];
//Playtime
_new = [(_queryResult select 10)] call DB_fnc_mresToArray;
if (_new isEqualType "") then {_new = call compile format["%1", _new];};
_index = TON_fnc_playtime_values_request find [_uid, _new];
if (_index != -1) then {
TON_fnc_playtime_values_request set[_index,-1];
TON_fnc_playtime_values_request = TON_fnc_playtime_values_request - [-1];
TON_fnc_playtime_values_request pushBack [_uid, _new];
} else {
TON_fnc_playtime_values_request pushBack [_uid, _new];
};
[_uid,_new select 1] call TON_fnc_setPlayTime;
};
Alles anzeigen
Öffnet eure /Functions/MYSQL/fn_updateRequest.sqf
case east: {_query = format["UPDATE players SET name='%1', cash='%2', bankacc='%3', adac_licenses='%4', adac_gear='%5', adac_stats='%6', playtime='%7' WHERE pid='%8'",_name,_cash,_bank,_licenses,_gear,_stats,_playtime_update,_uid];};
Öffnet eure /Functions/MYSQL/fn_updatePartial.sqf
case east: {_query = format["UPDATE players SET adac_licenses='%1' WHERE pid='%2'",_value,_uid];};
Öffnet eure /Functions/Systems/fn_getVehicles.sqf
Öffnet eure /Functions/Systems/fn_vehicleCreate.sqf
Öffnet eure /Functions/Systems/fn_spawn_Vehicle.sqf
if ((_vInfo select 1) isEqualTo "adac" && (_vInfo select 2) isEqualTo "C_Offroad_01_F") then {
[_vehicle,"adac_offroad",true] remoteExecCall ["life_fnc_vehicleAnimate",_unit];
};
=================================
Mission.sqm
Spawn : adac_spawn_1
Variable: "adac_1" und Beschreibung "ADAC Whithlist 1"
MYSQL
ALTER TABLE `players` ADD (`adac_licenses` TEXT NOT NULL);
ALTER TABLE `players` ADD (`adac_gear` TEXT NOT NULL);
ALTER TABLE `players` ADD (`adaclevel` enum('0','1','2','3','4','5') NOT NULL DEFAULT '0');
ALTER TABLE `players` ADD (`adac_stats` VARCHAR(32) NOT NULL DEFAULT '"[100,100,0]"');
Best Regards
Kuchenplatte
Ich glaube er meint, dass du einen Shop erstellst, so einen wie der normale Lizenz Shop, bloß als Condition für diesen Shop, brauchst du eine bestimmte Lizenz, die du dir z.B. im normalen Lizenz Shop kaufen kannst.
Koreckt ![]()
Einfach ein Lizenzshop mit der Condition die man benötigt.
Wie wäre es wenn man auch sagt was konkret falsch war damit der Thread zukünftig auch noch Leuten hilft, aber das ist ja vielen egal, hauptsache an sich selbst denken und wenns gelöst is dann fertig....
Wie mich sowas nervt ! "Lag an mehreren Sachen..." WORAN ???!!!
Da ich selbst einen Exile Server betreibe und diesen Fehler auch kenne - kann es an verschieden falschen Codeformen in der Mission liegen oder selbst an der extDB
1. Schritt
Erstellt in eurem "scripts" Ordner eine Datei mit folgendem Inhalt :
/* Filename: welcomebonus.sqf
// Author: Kuchenplatte
// Release : 10.Juni 2018
*/
private _loginCount0 = 5;
private _loginCount1 = 10;
private _loginCount2 = 15;
private _loginCount3 = 20;
private _loginCount4 = 25;
private _loginCount5 = 30;
private _loginCount6 = 35;
private _loginCount7 = 40;
private _loginCount8 = 45;
private _loginCount9 = 50;
private _foodArray = ["apple","boltcutter","redgull"];
private _drinkArray = ["apple","boltcutter","redgull"];
private _itemArray = ["apple","boltcutter","redgull"];
private _logins = profileNamespace getVariable ["altislife_Logins",0];
_logins = _logins + 1;
profileNamespace setVariable ["altislife_Logins",_logins];
saveProfileNamespace;
systemChat format ["Willkommen zurück %1!",(name player)];
systemChat format ["Danke das du dich zum %1x eingeloggt hast!",_logins];
if (_logins > _loginCount9) exitWith {systemChat "Have fun.";};
systemChat "Du wirst gleich deine Belohnung bekommen!";
sleep 10;
systemChat "Hier ist deine Belohnung!";
systemChat "Have fun.";
_Altis_AddFoodDrink = {
private _food = _foodArray call BIS_fnc_selectRandom;
private _drink = _drinkArray call BIS_fnc_selectRandom;
[true,_food,1] call life_fnc_handleInv;
[true,_drink,1] call life_fnc_handleInv;
};
if (_logins <= _loginCount0) then {
[true,"waterBottle",1] call life_fnc_handleInv;
[true,"apple",1] call life_fnc_handleInv;
};
if ((_loginCount1 <= _logins) && (_logins < _loginCount2)) then {
[] call _Altis_AddFoodDrink;
};
if ((_loginCount2 <= _logins) && (_logins < _loginCount3)) then {
[] call _Altis_AddFoodDrink;
};
if ((_loginCount3 <= _logins) && (_logins < _loginCount4)) then {
[] call _Altis_AddFoodDrink;
private _item = _itemArray call BIS_fnc_selectRandom;
[true,_item,1] call life_fnc_handleInv;
};
if ((_loginCount4 <= _logins) && (_logins < _loginCount5)) then {
[] call _Altis_AddFoodDrink;
private _item = _itemArray call BIS_fnc_selectRandom;
[true,_item,1] call life_fnc_handleInv;
};
if ((_loginCount5 <= _logins) && (_logins < _loginCount6)) then {
[] call _Altis_AddFoodDrink;
private _item = ["redgull","tbacon"] call BIS_fnc_selectRandom;
[true,_item,1] call life_fnc_handleInv;
};
if ((_loginCount6 <= _logins) && (_logins < _loginCount7)) then {
[] call _Altis_AddFoodDrink;
private _item = ["spikestrip","salema"] call BIS_fnc_selectRandom;
[true,_item,1] call life_fnc_handleInv;
};
if ((_loginCount7 <= _logins) && (_logins < _loginCount8)) then {
[] call _Altis_AddFoodDrink;
[true,"defusekit",1] call life_fnc_handleInv;
[true,"waterBottle",1] call life_fnc_handleInv;
};
if ((_loginCount8 <= _logins) && (_logins < _loginCount9)) then {
[] call _Altis_AddFoodDrink;
[true,"defusekit",1] call life_fnc_handleInv;
[true,"storagesmall",1] call life_fnc_handleInv;
};
if (_loginCount9 <= _logins) then {
[] call _Altis_AddFoodDrink;
[true,"waterbottle",1] call life_fnc_handleInv;
[true,"redgull",1] call life_fnc_handleInv;
[true,"tbacon",1] call life_fnc_handleInv;
};
Alles anzeigen
2. Schritt :
Startet die Datei per execVM !
Items können je nach belieben verändert werden.
Fertig!
displayName = "STR_License_Copper";
deswegen ![]()
Gibts es im Tutorialbereich bitte dort mal schauen .
Allerdings hat nichts funktioniert D:
Doch - wenn man etwas liest und scrollt kommt man auf die Lösung.
Die Suchfunktion benutzen ![]()
Thema wurde oft besprochen.
hmmm sorry from denmark!! aber ich spräche ger . I cant test the player for drugs and alkohol and no Fehler in the RPT can some one help me !!!
Then you must send us your Client RPT
maybe there we will find some errors :O
Gibts Pommes dazu ?
Für dich immer ![]()