Skip to content

Instantly share code, notes, and snippets.

package main
import (
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"net/url"
"os"
package main
import (
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"net/url"
"os"
{
"openapi": "3.0.1",
"info": {
"title": "Mod.DynamicEncounters",
"version": "1.0"
},
"paths": {
"/bp/download/{folder}/{file}": {
"get": {
"tags": [
@Xairooo
Xairooo / sources.list
Created February 4, 2022 17:09
/etc/apt/sources.list
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
###### Ubuntu Update Repos
#!/bin/bash
# Name: install_ts3-server.sh
# Description: Automagically installs the Linux TeamSpeak 3 Server
# ==> VARIABLES <==
# user to run the ts3server and where to install it
TS3_USER="teamspeak3"
TS3_DIR="/opt/ts3server"
TS3_VER="3.13.6"
modded class ActionDismantlePart: ActionContinuousBase
{
protected bool DismantleCondition( PlayerBase player, ActionTarget target, ItemBase item, bool camera_check )
{
if ( player && !player.IsLeaning() )
{
Object target_object = target.GetObject();
if ( target_object && target_object.CanUseConstruction() )
{
string part_name = target_object.GetActionComponentName( target.GetComponentIndex() );
override void handleBuyRPC(PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
{
Param3<int, int, string> rpb = new Param3<int, int, string>(-1, -1, "");
ctx.Read(rpb);
int traderUID = rpb.param1;
int itemID = rpb.param2;
itemDisplayNameClient = rpb.param3;
m_Trader_IsSelling = false;
class Hologram
{
protected ItemBase m_Parent;
protected EntityAI m_Projection;
protected PlayerBase m_Player;
protected ProjectionTrigger m_ProjectionTrigger;
protected bool m_IsColliding;
protected bool m_IsCollidingGPlot;
protected bool m_IsSlope;
---------------------------------------------
Log C:\Users\xairo\AppData\Local\DayZ\crash_2019-07-17_19-27-17.log started at 17.07. 19:31:49
------------------------------------
XAIRO, 17.07 2019 19:31:49
NULL pointer to instance
Class: 'PM_InvitationCltHandler'
Function: 'ReceiveInvitation'
modded class ItemBase
{
string gdzBaseItems [] = { "BarbedWire", "Barrel_Blue", "Barrel_Green", "Barrel_Red", "Barrel_Yellow", "BarrelHoles_Blue", "BarrelHoles_Green", "BarrelHoles_Red", "BarrelHoles_Yellow", "CarTent", "CombinationLock", "Fence", "HescoBox", "LargeTent", "MediumTent", "CableReel", "Spotlight", "Watchtower", "PowerGenerator" };
int gdzLen = 19;
int gdzI;
bool gdzFoundType = false;
bool gdzDoDmg(Object buidlingObject)
{
for(gdzI = 0; gdzI < gdzLen; gdzI++)