Skip to content

Instantly share code, notes, and snippets.

import socket
import time
from datetime import datetime
import paho.mqtt.client as mqtt_client
# Door station configurations
DOOR_STATIONS = {
"10.10.2.28": {
"name": "Haupteingang",
"topic": "frigate/Haupteingang/klingeln/state"
From fedae0a333f35db93db079e0e5d0d85c9a36dda8 Mon Sep 17 00:00:00 2001
From: wiking-aj
Date: Sun, 14 May 2017 22:37:20 +0200
Subject: [PATCH] Add DLC Jets to Store - Start Price $30k for everything-
price balancing later
---
storeConfig.sqf | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
From d3383e110c5ef601024bd17f6f163731bce1918e Mon Sep 17 00:00:00 2001
From: wiking-aj <[email protected]>
Date: Fri, 22 Apr 2016 14:38:52 +0200
Subject: [PATCH] Keyword was renamed
---
client/functions/groupMarkers.sqf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/functions/groupMarkers.sqf b/client/functions/groupMarkers.sqf
// @file Name: A3Wasteland_settings\zeus.sqf
// Zeus (Z key)
/*******************************************************
Player UID examples :
"1234567887654321", // Meatwad
"8765432112345678", // Master Shake
"1234876543211234", // Frylock
@wiking-at
wiking-at / cameracheck.sqf
Created October 21, 2014 11:16
First Person Camera Checks
// @file Name: cameraChecks.sqf
// @file Author: AgentRev, Wiking
if (!hasInterface) exitWith {};
private ["_fpOnFoot", "_forceFP", "_forceFPveh"];
_fpOnFoot = (difficultyEnabled "3rdPersonView" && ["A3W_firstPersonCamOnFoot"] call isConfigOn);
_fpNotDriver = (difficultyEnabled "3rdPersonView" && ["A3W_firstPersonCamNotDriver"] call isConfigOn);
while {true} do
@wiking-at
wiking-at / fnc_switchcamera.sqf
Created October 19, 2014 23:24
1st Person Lock
if (!isDedicated) then { //preventing start on server
if (difficultyEnabled "3rdPersonView") then
{
while {true} do {
waitUntil {cameraView == "EXTERNAL" || cameraView == "GROUP"};
_timeStamp = ["combatTimestamp", -1] call _getPublicVar;
_abortDelay = ["A3W_combatAbortDelay", 0] call _getPublicVar;
@wiking-at
wiking-at / fn_resupplytruck.sqf
Created October 19, 2014 13:20
Resupply Truck edit (with costs)
// @file Version: 1.1
// @file Name: fn_resupplyTruck.sqf
// @file Author: Wiking, AgentRev
// @file Created: 13/07/2014 21:58
#define RESUPPLY_TRUCK_DISTANCE 20
#define REARM_TIME_SLICE 10
#define REPAIR_TIME_SLICE 1
#define REFUEL_TIME_SLICE 1
#define PRICE_RELATIONSHIP 4
@wiking-at
wiking-at / migrate-inidb-to-extdb.ps1
Last active August 29, 2015 14:07
Database Migration Script
$VerbosePreference = "SilentlyContinue"
$ErrorActionPreference= 'silentlycontinue'
Function Get-IniContent
{
<#
.Synopsis
Gets the content of an INI file
.Description
@wiking-at
wiking-at / db-migration.ps1
Created October 13, 2014 21:51
Convert Inidb to SQL
Function Get-IniContent
{
<#
.Synopsis
Gets the content of an INI file
.Description
Gets the content of an INI file and returns it as a hashtable
.Notes
@wiking-at
wiking-at / loadingscreen.hpp
Created October 13, 2014 11:26
custom loadingscreen
// @file Version: 1.0
// @file Name: loadingscreen.hpp
// @file Author: wiking.at
// www.armajunkies.de
// Definition of custom loadingscreen display.
titles[] = {"loadingscreen"};
class loadingscreen {
idd = -1;