The events are ordered by when they first occur in the demo.
- player_footstep
- weapon_fire
- hltv_chase
- player_jump
- weapon_reload
- hltv_status
- weapon_zoom
- player_death
| rcon sv_cheats 1; | |
| rcon weapon_accuracy_nospread 1; | |
| rcon sv_gravity 400; | |
| rcon sv_accelerate 1000000; | |
| rcon sv_airaccelerate 10000000; | |
| rcon alias +bullet "+bullet1"; | |
| rcon alias -bullet "-bullet1"; |
| using System; | |
| using System.Globalization; | |
| namespace YearCalc | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Console.Write("Input date (e.g. \"31.05\"): "); |
| moritz@mnbtux:~/git/demoinfogo-linux$ ./demoinfogo /home/moritz/Desktop/notworkingmore.dem -gameevents -nofootsteps -extrainfo > test.log | |
| decoy_detonate | |
| { | |
| userid: paszaBiceps (id:296) | |
| position: 90.625000, 796.750000, 155.500000 | |
| facing: pitch:11.601562, yaw:217.968750 | |
| team: T | |
| entityid: 96 | |
| x: -427.748840 | |
| y: 627.184082 |
The events are ordered by when they first occur in the demo.
| using System; | |
| using System.Runtime.CompilerServices; | |
| namespace LeckerBrot | |
| { | |
| public class RowCalulator | |
| { | |
| public void Calc() { | |
| for (int i = 0; i < 100000000; i++) { | |
| double zr = 0, zi = 0; |
#this file is markdown
| using RedditSharp; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace EarthPaper |
| // my usage: | |
| // var userId = generateRandomID(16) // 16 * 6 bits = 96 bits of entropy. | |
| function generateRandomID(length) { | |
| var cryptoObject = (window.crypto || window["msCrypto"]); | |
| if (!cryptoObject || !cryptoObject.getRandomValues) { | |
| throw "No supported cryptography-handler found!"; | |
| } | |
| var base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; | |
| var array = new Uint8Array(length); |
| https://docs.google.com/presentation/d/1A3IXVeWU1S9L52n3ISDvzQdAI6mStwv2Lhi6V67fYPg/edit?usp=sharing |
| private string GetCSGODir() | |
| { | |
| string steamPath = (string)Registry.GetValue("HKEY_CURRENT_USER\\Software\\Valve\\Steam", "SteamPath", ""); | |
| string pathsFile = Path.Combine(steamPath, "steamapps", "libraryfolders.vdf"); | |
| if (!File.Exists(pathsFile)) | |
| return null; | |
| List<string> libraries = new List<string>(); |