Skip to content

Instantly share code, notes, and snippets.

### Core Server Settings
atavism.servername=Local
atavism.login.bindaddress=0.0.0.0
atavism.login.bindport=5042
#
### Server host names and ports
atavism.msgsvr_hostname=0.0.0.0
atavism.msgsvr_port=20377
atavism.worldmgrport=5042
---
- name: Install Basic Tools, Initialize npm, and Configure Cloud-Init
hosts: localhost
become: yes
connection: local
vars:
ansible_python_interpreter: /usr/bin/python3
script_dir: "/usr/local/code/chaos-control-plane/plugins/run-remote-ansible-playbook/"
tasks:
@kristiandelay
kristiandelay / gist:c1f17a39c5db7689b8291942b4ff1afa
Last active April 15, 2023 19:21
Trying to figure out how to set the effector transform of LimbSolver2D
Transform FindDeepChild(Transform parent, string name)
{
foreach (Transform child in parent)
{
if (child.name == name)
{
return child;
}
else
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using MoreMountains.TopDownEngine;
public class CharacterMovementPhoton : CharacterMovement
{
private PhotonView view;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using MoreMountains.TopDownEngine;
using System.Linq;
using Unity.VisualScripting;
public class LevelManagerPhoton : LevelManager
{
@kristiandelay
kristiandelay / ue4-json-parsing.cpp
Created May 10, 2022 17:07 — forked from gamerxl/ue4-json-parsing.cpp
How to parse a json response (e.g. a json array) in ue4 c++ context.
/**
* Include the PrivateDependencyModuleNames entries below in your project build target configuration:
* PrivateDependencyModuleNames.AddRange(new string[] { "Json", "JsonUtilities" });
*/
#include "Runtime/Online/HTTP/Public/Http.h"
#include "Serialization/JsonSerializer.h"
FHttpResponsePtr Response;
@kristiandelay
kristiandelay / UE4-build.bat
Created May 3, 2022 20:05 — forked from drewsberry/UE4-build.bat
UE4 Windows command line building
:: Build client
RunUAT BuildCookRun -project="full_path.uproject"^
-noP4 -platform=Win64^
-clientconfig=Development -serverconfig=Development^
-cook -allmaps -build -stage^
-pak -archive -archivedirectory="Output Directory"
:: Cook client
RunUAT BuildCookRun -project="full_project_path_and_project_name".uproject^
-noP4 -platform=Win64^
{
"swagger": "2.0",
"info": {
"title": "api.paw",
"version": "v0.0.0"
},
"host": "10.254.0.70:30060",
"schemes": [
"http"
],
@kristiandelay
kristiandelay / generate-certificates.sh
Created January 27, 2017 18:40
Generate self-signed ssl certificates.
#!/bin/bash
# set values for certificate DNs
# note: CN is set to different values in the sections below
ORG="000_Test_Certificates"
# set values that the commands will share
VALID_DAYS=360
CA_KEY=ca.key
CA_CERT=ca.crt
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching