Skip to content

Instantly share code, notes, and snippets.

View Heliodex's full-sized avatar
📉
Programstinating

Lewin Kelly Heliodex

📉
Programstinating
View GitHub Profile
@TheGreatSageEqualToHeaven
TheGreatSageEqualToHeaven / LuaVersion.lua
Last active July 10, 2025 09:26
Runtime Lua version detection without _VERSION
local function luaVersion()
local f = function()
return function() end
end
if 0xffffffffffffffffffffffffffffffffffffffffffffff == 2 ^ 64 then
return "Luau"
end
if ({nil,[1] = true})[1] then
@Heliodex
Heliodex / updateMar24.md
Created April 4, 2024 07:49
Heliodex projects update for 2024 March

Heliodex project update - March 2024

We're back! This update is even less late than the previous.

Since Mercury entered its Release Candidate phase, we've received over 200 applications and the site now has more than 120 users. Since then, we've also migrated the backend from Node.js to Bun, giving us faster package installation and runtime speed, fewer dependencies, and a more stable codebase.

Our 1 April update featured a rebranding to Graphictoria 7, as well as a brilliant site redesign. It was reverted the next day, though if you did actually like the new design and branding, you can now add something similar with the Custom CSS feature in your settings.

@MarkGamed7794
MarkGamed7794 / create_atlas.py
Created April 17, 2024 00:36
California DMV Bad Apple generator
"""
Requires Pillow to be installed.
Place the licence plate font in the same directory as this file
with the name "licenceplate.ttf", then run it. It should create
a file named "font_atlas.png", which is used when generating
the frames.
"""
from PIL import Image, ImageFont, ImageDraw # type: ignore
import math
@Heliodex
Heliodex / updateApr24.md
Created May 14, 2024 04:09
update 4 for 2024 for Heliodex projects in April

Heliodex project update - April 2024

I ended up writing this update, forgetting to post it, and then losing it. That's my excuse, anyway welcome back.

The domain migration (for the site, at least) is complete, and the site is now hosted on mercury2.com. Subdomains should be working as expected and redirect to their new locations (apart from status.banland.xyz, for some reason).

Other than that, little has changed. Mercury will remain on hiatus for the next two weeks, and the client will be re-released soon after.

@Heliodex
Heliodex / updateMay24.md
Created June 7, 2024 22:10
May 2024: more updates for projects by Heliodex

Heliodex project update - May 2024

Once again that time of the year has arrived, I'm now finished with my qualifications and will be working throughout the upcoming holidays on various projects. Welcome back!

Mercury has returned from its hiatus! New applications are being accepted, albeit at a slow rate as we are a little swamped with the backlog.

Highly anticipated client development is continuing, with more focus on DLL hooking. This may take a while, estimated at 1-4 weeks, but will bring additional QoL improvements and anti-cheat. In the meantime, for the website we'll soon be merging a number of commits improving integration between the backend and database into production.

-- Licensed under the MIT License, Copyright (c) 2024 jack.ink
local function resume_with_error_check(thread: thread, ...: any): ()
local success, message = coroutine.resume(thread, ...)
if not success then
print(string.char(27) .. "[31m" .. message)
end
end
@Heliodex
Heliodex / RCCService.go
Created June 22, 2024 21:58
Mercury RCCService proxy
// "GO?
// WHY THE FUCK
// IS THIS IN GO?
// ARE YOU STUPID
// ???"
// - taskmanager, 9 January 2024
// cope harder
// don't forget da .env
@Heliodex
Heliodex / applicationSettings.json
Last active July 12, 2024 22:00
Mercury client, shared, and application settings + a whole bunch of redundant stuff
{
"applicationSettings": {
"AndroidSwipeGestureUseStartingPosition": "True",
"DFFlagAccoutrementWeldingFilteringEnabled": "False",
"DFFlagAdminServerLogs": "True",
"DFFlagAllowPackageLinkAncestoryClone": "True",
"DFFlagAnalyticsNS1BeaconSupportLimitedRobloxUrls": "True",
"DFFlagAnalyticsReportHttpStatsAtExit": "True",
"DFFlagAnimatorEnableBone_PlaceFilter": "True;5326950832;5100919959;5064251723;5716845078;5588662702;5550062757;5762960116;5792232897;5796518985;5796546949;5796554295;5790039516;5646917919;5947859215",
"DFFlagAnimatorOnSteppedKeepAlive": "True",
-- LOP_BREAK, LOP_COVERAGE and LOP_NOP aren't possible without the C API
-- Vector constants are supported but need to be commented in and need the ctor renamed
-- LOADKX and JUMPX support can be commented out
---------------------------------------------------------------------------------------
-- PREPVARARGS
local a = "hello world"; -- LOADK
a,a,a,a,a,a = nil, true, false, 1, 9e9, function() --[[ RETURN ]] end; -- LOADNIL, LOADB 1, LOADB 0, LOADN 1, LOADK 9e9, DUPCLOSURE (no captures)
FUNC_GLOBAL = newproxy; -- GETIMPORT, SETGLOBAL
local t = { }; -- NEWTABLE 1 1
local function stub() -- NEWCLOSURE (ref, val, ref captures)
--!native
-- uuid
-- function for generating a uuid, based on https://gist.github.com/jrus/3197011
local uuid_format = "%x%x%x%x%x%x%x%x-%x%x%x%x-4%x%x%x-%x%x%x%x-%x%x%x%x%x%x%x%x%x%x%x%x"
local wrap_in_curly_braces_format = "{%*}"
local string_format = string.format
local random_seed = math.randomseed
local random = math.random