Skip to content

Instantly share code, notes, and snippets.

View computerquip's full-sized avatar
🕳️

Zachary L computerquip

🕳️
  • San Antonio, TX
View GitHub Profile
@computerquip
computerquip / ut2004-key-gen.py
Last active September 22, 2024 03:25
UT2004 Key Generator Bottle App
from bottle import default_app, route
import hashlib
import ctypes
import secrets
# Copyright (c) 2005-2023, NumPy Developers.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
commit 9eb5bf4515aba998e215049baf62c0be153eb70a
Author: Zachary Lund <admin@computerquip.com>
Date: Sun Jul 16 17:17:41 2023 -0500
UI: Use QUuid for uuid generation
diff --git a/UI/update/shared-update.cpp b/UI/update/shared-update.cpp
index ef1b0b075..cfacda50f 100644
--- a/UI/update/shared-update.cpp
+++ b/UI/update/shared-update.cpp
@computerquip
computerquip / guid.patch
Created July 18, 2023 04:02
Some random guid patch I have for some reason
commit 9eb5bf4515aba998e215049baf62c0be153eb70a
Author: Zachary Lund <admin@computerquip.com>
Date: Sun Jul 16 17:17:41 2023 -0500
UI: Use QUuid for uuid generation
diff --git a/UI/update/shared-update.cpp b/UI/update/shared-update.cpp
index ef1b0b075..cfacda50f 100644
--- a/UI/update/shared-update.cpp
+++ b/UI/update/shared-update.cpp
This file has been truncated, but you can view the full file.
7.0.22.51805 prod=7.0.0.0) has been loaded at 0x7FFE47160000 ~ 0x7FFE47172000 (0x12000); finding import table items to hook.
[15:56:37 CPP/INF] [xivfixes:redirect_openprocess] OpenProcess(0x00000410, 0, 12976) was invoked by thread 23408. Redirecting to DuplicateHandle.
[15:56:37 CPP/INF] [global_import_hook] "C:\WINDOWS\SYSTEM32\XInput1_3.dll" ("Microsoft Common Controller API" ver 9.18.944.0) has been loaded at 0x400000 ~ 0x41E000 (0x1E000); finding import table items to hook.
[15:56:37 CPP/INF] [global_import_hook] Hooking kernel32.dll!GetProcAddress imported by C:\WINDOWS\SYSTEM32\XInput1_3.dll
[15:56:37 CPP/INF] [global_import_hook] "C:\WINDOWS\SYSTEM32\XInput9_1_0.dll" ("XNA Common Controller" ver 10.0.22621.1) has been loaded at 0x7FFE48C80000 ~ 0x7FFE48C88000 (0x8000); finding import table items to hook.
[15:56:37 CPP/INF] [global_import_hook] Hooking kernel32.dll!GetProcAddress imported by C:\WINDOWS\SYSTEM32\XInput9_1_0.dll
[15:56:37 CPP/INF] [global_import_hook] "G:\SquareEnix\FINAL FANTASY XIV - A
2023-05-29 20:52:45.674 -05:00 [INF] --------------------------------------------------------------------------------
2023-05-29 20:52:45.680 -05:00 [INF] Initializing a session..
2023-05-29 20:52:46.173 -05:00 [INF] This is Dalamud - Core: ab39b58a, CS: 7c59a83 [2115]
2023-05-29 20:52:46.607 -05:00 [INF] Lumina is ready: G:\SquareEnix\FINAL FANTASY XIV - A Realm Reborn\game\sqpack
2023-05-29 20:52:47.281 -05:00 [INF] [PLUGINM] Now reloading all PluginMasters...
2023-05-29 20:52:47.285 -05:00 [INF] [PLUGINR] Fetching repo: https://kamori.goats.dev/Plugin/PluginMaster
2023-05-29 20:52:47.332 -05:00 [INF] [SPL] [T3] PM repos OK!
2023-05-29 20:52:47.349 -05:00 [INF] [PLUGINM] Scheduled deletion: cleaning up C:\Users\computerquip\AppData\Roaming\XIVLauncher\installedPlugins\Browsingway\1.5.4.0
2023-05-29 20:52:47.358 -05:00 [INF] [SPL] [T3] PMC OK!
2023-05-29 20:52:47.398 -05:00 [INF] LASTEXCEPTION:eyJXaGVuIjoiMjAyMy0wNS0yOVQyMDo1Mjo0Ny4zODAxNzAzLTA1OjAwIiwiSW5mbyI6IlN5c3RlbS5JbnZhbGlkT3BlcmF0aW9uRXhjZXB0aW9uOiBT
0 0x000055f04d0cd55b __gnu_cxx::__atomic_add /usr/include/c++/6/ext/atomicity.h 53
1 0x000055f04d0cd61b __gnu_cxx::__atomic_add_dispatch /usr/include/c++/6/ext/atomicity.h 96
2 0x000055f04d0d501f std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy /usr/include/c++/6/bits/shared_ptr_base.h 134
3 0x000055f04d0d4233 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator= /usr/include/c++/6/bits/shared_ptr_base.h 679
4 0x000055f04d0d3597 std::__shared_ptr<sio::message, (__gnu_cxx::_Lock_policy)2>::operator= /usr/include/c++/6/bits/shared_ptr_base.h 870
5 0x000055f04d0d35c1 std::shared_ptr<sio::message>::operator= /usr/include/c++/6/bits/shared_ptr.h 93
6 0x000055f04d0cf789 <lambda(sio::event&)>::operator()(sio::event &) const /home/kita/Projects/KiTA Workspace/SocketIO_cpp/main.cpp 264
7 0x000055f04d0d03fd std::_Function_handler<void(sio::event&), remote_shell(std::__cxx11::string)::<lambda(sio::event&)> >::_M_invoke(const std::_Any_data &, sio::event &) /usr/inclu
System Information:
OS Version:
Linux Distribution: Ubuntu 14.04.2 LTS
Kernel Version: 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015
Hardware Info:
Machine Type To be filled by O.E.M. To be filled by O.E.M. To be filled by O.E.M.
CPU Type AuthenticAMD x86_64
CPU Info AMD FX(tm)-8350 Eight-Core Processor
CPU Speed 4000 MHz
diff --git a/src/voglcore/vogl_port.h b/src/voglcore/vogl_port.h
index 7a718b3..4b53a1b 100644
--- a/src/voglcore/vogl_port.h
+++ b/src/voglcore/vogl_port.h
@@ -29,6 +29,7 @@
// The guts of those functions live in the platform-specific CPP files.
#pragma once
+#include "vogl_threading.h"
#include "vogl_core.h"
diff --git a/src/voglcore/vogl_port_posix.cpp b/src/voglcore/vogl_port_posix.cpp
index 0df14e4..a911059 100644
--- a/src/voglcore/vogl_port_posix.cpp
+++ b/src/voglcore/vogl_port_posix.cpp
@@ -37,11 +37,42 @@
#include <sys/mman.h>
#include <sys/syscall.h>
#include <sys/time.h>
+#include <map>
/home/computerquip/Projects/magnum/src/Magnum/Trade/AbstractImporter.cpp: In member function ‘virtual void Magnum::Trade::AbstractImporter::doOpenFile(const string&)’:
/home/computerquip/Projects/magnum/src/Magnum/Trade/AbstractImporter.cpp:80:50: error: no matching function for call to ‘Magnum::Trade::AbstractImporter::doOpenData(Corrade::Containers::Array<unsigned char>)’
doOpenData(Utility::Directory::read(filename));
^
/home/computerquip/Projects/magnum/src/Magnum/Trade/AbstractImporter.cpp:80:50: note: candidate is:
/home/computerquip/Projects/magnum/src/Magnum/Trade/AbstractImporter.cpp:61:6: note: virtual void Magnum::Trade::AbstractImporter::doOpenData(Corrade::Containers::ArrayReference<const char>)
void AbstractImporter::doOpenData(Containers::ArrayReference<const char>) {
^
/home/computerquip/Projects/magnum/src/Magnum/Trade/AbstractImporter.cpp:61:6: note: no known conversion for argument 1 from ‘Corrade::Containers::Array<unsigned ch