Skip to content

Instantly share code, notes, and snippets.

Avatar
🖐️
i like ya cut g

Zsolt Zitting YellowberryHN

🖐️
i like ya cut g
View GitHub Profile
View msgpack.lua
--[[----------------------------------------------------------------------------
MessagePack encoder / decoder written in pure Lua 5.3
written by Sebastian Steinhauer <s.steinhauer@yahoo.de>
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
@Jed-
Jed- / README.md
Last active Aug 19, 2021
Sending maps outside of coop edit
View README.md

Sending maps outside of coop edit

Sometimes it would be useful if a server were able to send a custom map to its clients, in modes different from coop edit. Sendmap/getmap operations are usually blocked in such modes, both server-side and client-side. However, most other map editing messages are allowed (clients cannot send them, but they can receive and parse them). Here, I will provide a method for sending custom maps using a sequence of allowed messages.

We are going to build a modded client capable of exporting a map into a custom file format, which the server will then read and use to send data to its clients. ogz files cannot be sent directly.

Notes

@YellowberryHN
YellowberryHN / BBT-nocd.md
Created Jan 12, 2022
Big Biz Tycoon/Venture Tycoon No-CD Patch
View BBT-nocd.md

Instructions

Using a hex editor of your choice, edit the BBT.exe/VT.exe file, and look for the following bytes:

FF FF FF 85 C0 6A 01 7D

Replace it with the following bytes:

FF FF FF 85 C0 6A 01 EB

View $Discord Assets API.md

Type Asset:

  {
    "id": 123123123123,
    "name": "asset_key",
    "type": 1
  }
  • ID: The ID of the asset
@statico
statico / gpu.cpp
Last active Jun 17, 2022
Trick to tell AMD and Nvidia drivers to use the most powerful GPU instead of a lower-performance (such as integrated) GPU
View gpu.cpp
#ifdef _WIN32
// Use discrete GPU by default.
extern "C" {
// http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
// http://developer.amd.com/community/blog/2015/10/02/amd-enduro-system-for-developers/
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
#endif
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active Aug 16, 2022
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex
View Crack Sublime Text Windows and Linux.md

YouTube Channel https://www.youtube.com/c/jerrylokjianming


How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/