So sieht es aus
Kann closed werden
So sieht es aus
Kann closed werden
Ok. Danke für die Antwort
Dieser hat gefunzt Vielen Dank Leute
Da haut er mir den selben Error raus Oo
Ich verstehe es gerade nicht.
Diese hier:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END' at line 4
Er lässt mich irgendwie die Procedure nicht anlegen Oo
Dann sagt er immer Error.
Hammer! Vielen Dank
Die Antwort kam ja mal schnell
Das wäre natürlich auch noch eine Möglichkeit. Dazu hätte ich dann auch eine Frage. Es werden alle Nachrichten durchgehend gespeichert. Kann man es irgendwie machen, dass die Nachrichten bei jedem Restart komplett wieder gecleant werden?
Danke schonmal für deine Antwort
Es geht darum, dass Dispatches in das Tagebuch im Briefing eingetragen werden sollen, so dass es für die Medics/Cops möglich ist dort nochmal die Dispatches nachzulesen.
Weis zufällig jemand, wie man das ganze so in etwa angehen könnte?
Danke schonmal
Das gleiche wie das Herr Variatox gemacht hat und dann einfach die fn_tazed.sqf erweitern mit dem Ace Damage.
Ich suche das ebend nochmal raus.
Ich habe gerade das Problem, dass der Taser mal funktioniert und mal wieder nicht. Kannst du mir vielleicht sagen, wie genau du die fn_tazed.sqf erweitert hast?
Wäre dir echt dankbar.
Liebe Grüße
Hat tatsächlich geklappt
Dankeschön mein Guter
Hier die fn_gather.sqf
#include "..\..\script_macros.hpp"
/*
File: fn_gather.sqf
Author: Devilfloh
Description:
Main functionality for gathering.
*/
private ["_maxGather","_resource","_amount","_maxGather","_requiredItem"];
while{true} do {
if (life_action_inUse) exitWith {};
if !(isNull objectParent player) exitWith {};
if (player getVariable "restrained") exitWith {hint localize "STR_NOTF_isrestrained";};
if (player getVariable "playerSurrender") exitWith {hint localize "STR_NOTF_surrender";};
if (life_interrupted) exitWith {life_interrupted = false;};
life_action_inUse = true;
_zone = "";
_requiredItem = "";
_exit = false;
_resourceCfg = missionConfigFile >> "CfgGather" >> "Resources";
for "_i" from 0 to count(_resourceCfg)-1 do {
_curConfig = _resourceCfg select _i;
_resource = configName _curConfig;
_maxGather = getNumber(_curConfig >> "amount");
_zoneSize = getNumber(_curConfig >> "zoneSize");
_resourceZones = getArray(_curConfig >> "zones");
_requiredItem = getText(_curConfig >> "item");
{
if ((player distance (getMarkerPos _x)) < _zoneSize) exitWith {_zone = _x;};
} forEach _resourceZones;
if (_zone != "") exitWith {};
};
if (_zone isEqualTo "") exitWith {life_action_inUse = false;};
if (_requiredItem != "") then {
_valItem = missionNamespace getVariable "life_inv_" + _requiredItem;
if (_valItem < 1) exitWith {
switch (_requiredItem) do {
//Messages here
};
life_action_inUse = false;
_exit = true;
};
};
if (_exit) exitWith {life_action_inUse = false;};
_amount = round(random(_maxGather)) + 1;
_diff = [_resource,_amount,life_carryWeight,life_maxWeight] call life_fnc_calWeightDiff;
if (_diff isEqualTo 0) exitWith {
hint localize "STR_NOTF_InvFull";
life_action_inUse = false;
};
switch (_requiredItem) do {
case "pickaxe": {player say3D "mining";};
default {player say3D "harvest";};
};
for "_i" from 0 to 4 do {
player playMoveNow "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";
waitUntil{animationState player != "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";};
sleep 0.5;
};
if ([true,_resource,_diff] call life_fnc_handleInv) then {
_itemName = M_CONFIG(getText,"VirtualItems",_resource,"displayName");
titleText[format [localize "STR_NOTF_Gather_Success",(localize _itemName),_diff],"PLAIN"];
};
sleep 1;
};
life_action_inUse = false;
Moin ihr lieben,
vielleicht kann mir ja jemand helfen. Unter der 5.0 sehen die Dateien ja doch ein wenig anders aus vom Inhalt her.
Habe es jetzt selber versucht einzubinden, jedoch wird die Schleife nicht ein einziges Mal ausgeführt.
Man gathert ganz normal, wie vorher auch.
Jetzt führt er zumindest schonmal die Funktion aus. Vielen Dank
Er findet gerade nur die .paa Dateien nicht. Da weis ich bis gerade aber noch nicht warum. Ich schau nochmal nach, ob alles richtig ist vom Pfad her.
Das aktuellste Pack aus dem Forum hier. Altis Life 5.0
Kann mir vielleicht jemand helfen?
Habe alles so eingefügt, wie es hier steht. Bekomme auch keine Fehler in der Log.
Beim Mausrad wird die Funktion angezeit, aber es passiert einfach komplett gar nichts. Habe auch schon die Sachen probiert, die hier im Thread standen.
Weis keiner einen Rat? Ich bekomme es einfach nicht hin, dass eine Whitelist steht.
BEC Config:
# 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 Battleye Extended Controls - 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 = 2305
# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\server\A3Master\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 = False
# 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 = {}%§+;:/█
# 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 = 30
# 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 = NewArmaExeName.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 = Du stehst leider nicht auf der Whitelist.
# 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 = 660
# If enabled. Bec will create separate chat files for each channel along with the main file.
ChatChannelFiles = true
# 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 = Der Server ist voll! Versuche es erneut..
# 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 =
# Set the Password for your account
#Password =
#--------------------------------------------------------------------------------------------------------
[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 = -1
Side = -1
Group = -1
Vehicle = -1
Command = -1
Commander = -1
Direct = -1
#--------------------------------------------------------------------------------------------------------
[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
[Heartbeat]
BanFile0 = C:\server\A3Master\battleye\bans.txt
Whitelist.txt:
6b0e24094dc3b9f110c445e6d8a5da40
92ff05645947e257242cc51c9a043abb
0da9c4e26b686576db080a4378dc84bf
Hallo liebe Community,
ich würde gerne die Whitelist Funktion von BEC nutzen.
Ich habe sie auch bereits schon zum laufen bekommen, aber sobald ich mehr als nur eine GUID eintrage, kommt der vorher eingetragene nicht mehr auf den Server, weil er angeblich nicht auf der Whitelist steht.
Ich weis echt nicht, was ich da falsch mache.
Vielleicht hatte ja schonmal jemand dieses Problem und weis einen Rat.
Danke im Vorraus.
Liebe Grüße
Es wurde gelöst. Die Firewall hat einfach die ganze Zeit komplett alles blockiert. Danke nochmal an alle, für die Hilfe.