Skip to content

Instantly share code, notes, and snippets.

View SinZ163's full-sized avatar

Trent Monahan SinZ163

  • Telstra
  • Australia
View GitHub Profile
@SinZ163
SinZ163 / A_output.txt
Last active January 15, 2022 04:06
Full list of valid panels
Label is actually real?
html = false
text =
function SetLocString()
function SetAlreadyLocalizedText()
Panel is actually real?
TextButton is actually real?
text =
ToggleButton is actually real?
text =
ActivateMainWindow
Activated
ActiveControllerTypeChanged
AddStyle
AddStyleAfterDelay
AddStyleToEachChild
AddTimedStyle
AnimationEnd
AnimationStart
AppendChildrenFromLayoutFileAsync
import re
import traceback
ID = "discord"
permission = 3
cmdList = ("pycalc", "convert", "utc", "workshop", "match", "prize", "valvetime", "api")
def execute(self, name, params, channel, userdata, rank):
pass
colBold = chr(2)
colItalics = chr(29)
colGreen = chr(3)+"03"
colBlue = chr(3)+"02"
colBrown = chr(3)+"07"
colEnd = chr(3)
for function in functions:
className = function[0]
functionName = function[1]
@SinZ163
SinZ163 / gist:d8229b07ccbdd0559c0e2ce5bc904af8
Last active March 2, 2019 13:30
ModDota/API Validation test
WARNING: [CCustomGameEventManager.RegisterListener arg `handler`] - handle should be casted to something more meaningful.
WARNING: [CCustomGameEventManager.Send_ServerToAllClients arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [CCustomGameEventManager.Send_ServerToPlayer arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [CCustomGameEventManager.Send_ServerToTeam arg `eventData`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseAbility.GetAbilityKeyValues return] - table should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetAbilityTuningValueFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetBountyRunePickupFilter arg `hContext`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGameMode.SetCustomXPRequiredToReachNextLevel arg `hTable`] - handle should be casted to something more meaningful.
WARNING: [CDOTABaseGa
@SinZ163
SinZ163 / code.js
Created June 3, 2018 15:46
DeckGL bug
var deckgl = new deck.DeckGL({
container: 'map',
mapboxApiAccessToken: '**REDACTED**',
mapStyle: '**REDACTED**',
longitude: 144.5339197,
latitude: -37.8545151,
zoom: 9,
bearing: 30,
pitch: 30
});
using System;
using System.Collections.Generic;
public class Program
{
public static void Main(string[] args)
{
var list = new List<Skill<DifficultyPoint>>();

Console Commands

  • New command: ik_enable_only_this_chain - Disables all chains except for the mentioned one on the selected entity(ies), by name of the chain. Arguments: {chain_name} [entity_name | {class_name} | no argument picks what player is looking at]
  • New command: snd_print_current_mixer_mixgroup - Get data related to mix group matching string
  • Removed command: irrad_atlas_print_stats
  • Removed command: irrad_flush
  • Removed command: snd_getmixer

Console Variables

  • ai_show_hull_attacks: Added new attribute help_text with value of Show AI hull traces for melee attacks. 1 = show them for attacks, 2 = show them for tests.
--- @class CBaseAnimating : CBaseModelEntity
--- Animating models
--- Returns the duration in seconds of the active sequence.
--- @return float
function CBaseAnimating:ActiveSequenceDuration()
end
+ "visuals"
+ {
+ "asset_modifier0"
+ {
+ "type" "particle_create"
+ "modifier" "particles/econ/items/chaos_knight/chaos_knight_ti7_shield/chaos_knight_ti7_golden_shield_ambient.vpcf"
+ }
+ "asset_modifier"
+ {
+ "type" "particle"