Skip to content

Instantly share code, notes, and snippets.

public class GameContext : DbContext
{
public DbSet<Unit> Units { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder
.UseNpgsql("Host=192.168.1.27;Database=tac_scribe;Username=tac_scribe;Password=tac_scribe",
o => o.UseNetTopologySuite())
.UseSnakeCaseNamingConvention();
-- Table: public.units
-- DROP TABLE public.units;
CREATE TABLE public.units
(
id text COLLATE pg_catalog."default" NOT NULL,
"position" geography NOT NULL,
altitude double precision NOT NULL DEFAULT 0,
type text COLLATE pg_catalog."default",
local logger = CinCLogger
local world = world
local ipairs = ipairs
local coord = coord
local coroutine = coroutine
local atmosphere = atmosphere
local math = math
local command = function (_)
logger.info("Command get_airbases called")
{
"name": "Anapa-Vityazevo",
"lon": 37.35978347755592,
"lat": 45.01317473377168,
"alt": 43.00004196166992,
"dotGraph": true,
"runways": [
{
"name": "Runway 0 4",
"direction": 4,
using QuikGraph;
using QuikGraph.Algorithms;
using QuikGraph.Graphviz;
using System;
using System.Collections.Generic;
namespace GraphTest
{
class Program
{
2020-06-14T20:05:16 Events Incoming: 198 Processed: 137 Ignored: 61 Queue Size: 0 Objects Written: 79 Deleted: 0
2020-06-14T20:05:17 Events Incoming: 232 Processed: 171 Ignored: 61 Queue Size: 0 Objects Written: 79 Deleted: 0
2020-06-14T20:05:18 Events Incoming: 205 Processed: 139 Ignored: 66 Queue Size: 0 Objects Written: 81 Deleted: 0
2020-06-14T20:05:19 Events Incoming: 233 Processed: 171 Ignored: 62 Queue Size: 0 Objects Written: 81 Deleted: 0
2020-06-14T20:05:20 Events Incoming: 237 Processed: 170 Ignored: 67 Queue Size: 0 Objects Written: 81 Deleted: 0
2020-06-14T20:05:21 Events Incoming: 205 Processed: 139 Ignored: 66 Queue Size: 0 Objects Written: 81 Deleted: 0
2020-06-14T20:05:22 Events Incoming: 236 Processed: 174 Ignored: 62 Queue Size: 0 Objects Written: 81 Deleted: 0
2020-06-14T20:05:23 Events Incoming: 2 Processed: 1 Ignored: 1 Queue Size: 0 Objects Wri
{
"luis_schema_version": "6.0.0",
"intents": [
{
"name": "bogeyDope",
"features": [
{
"modelName": "awacsCallsign"
},
{
10e02,T=0.9736265|7.6430775|7.04|||188.6|-694545.44|522727.28|192.8,Type=Ground+AntiAircraft,Name=rapier_fsa_blindfire_radar,Pilot=Einheit #018,Group=IRAK SAM #004,Color=Red,Coalition=Allies,Country=iq
10f02,T=0.9739612|7.6433537|7.05|||188.6|-694511|522755.72|192.8,Type=Ground+AntiAircraft,Name=rapier_fsa_launcher,Pilot=Einheit #019,Group=IRAK SAM #004,Color=Red,Coalition=Allies,Country=iq
11002,T=-0.1922647|7.293208|4.86|0.1||321.1|-810072.38|492381.69|325.8,Type=Ground+AntiAircraft,Name=rapier_fsa_blindfire_radar,Pilot=Einheit #020,Group=IRAK SAM #005,Color=Red,Coalition=Allies,Country=iq
11102,T=-0.1919344|7.2934864|4.81|0.1||321.1|-810037.88|492410.13|325.8,Type=Ground+AntiAircraft,Name=rapier_fsa_launcher,Pilot=Einheit #021,Group=IRAK SAM #005,Color=Red,Coalition=Allies,Country=iq
-- Table: public.units
-- DROP TABLE public.units;
CREATE UNLOGGED TABLE public.units
(
id text COLLATE pg_catalog."default" NOT NULL,
"position" geography NOT NULL,
altitude double precision DEFAULT 0,
type text COLLATE pg_catalog."default",
2020-03-21 03:46:46.475 INFO VOICECHAT: Connected peer ID = 36
2020-03-21 03:46:46.475 INFO VOICECHAT: peer name = DOLT 1-2 | RurouniJones
2020-03-21 03:46:46.475 INFO VOICECHAT: Coalition id = 0
2020-03-21 03:46:46.475 INFO VOICECHAT: Default mic_mode: 2
2020-03-21 03:46:46.660 INFO LuaNET: Trying to Launch SRS @ C:\Program Files\DCS-SimpleRadio-Standalone
2020-03-21 03:46:52.740 INFO Dispatcher: loadMission C:\Users\jeff\Saved Games\DCS.openbeta\Tracks\Multiplayer\Persian Gulf At War 1.0.0_afternoon-20200321-124646.trk
2020-03-21 03:46:52.741 INFO WORLDGENERAL: loading mission from: "C:\Users\jeff\Saved Games\DCS.openbeta\Tracks\Multiplayer\Persian Gulf At War 1.0.0_afternoon-20200321-124646.trk"
2020-03-21 03:46:53.149 INFO EDCORE: (dDispatcher)enterToState_:4
2020-03-21 03:46:53.169 INFO Dispatcher: Terrain theatre PersianGulf
2020-03-21 03:46:53.171 INFO Dispatcher: Start