Skip to content

Instantly share code, notes, and snippets.

@xDeda
xDeda / tfmaps.py
Last active April 22, 2021 16:20
Saves images of maps!
# Map image downloader by Tactcat!
# Never forget to save a code!
# 1 Creates /maps folder in your tfmplugins folder
# 2 Map plays
# 3 XML sent to entibo's Map Renderer (ty entibo)
# 4 Downloads return imgur image of map
# 5 Saves image in /maps map category subfolder with filename mapcode_author.png
# If the map perm subfolder doesn't exist, it'll create it
@xDeda
xDeda / monobridge.lua
Last active March 8, 2025 13:03
monobridge grav 0 module for Transformice
-- #monobridge by Tactcat#0000
-- 2 minutes of no gravity, 30 seconds of gravity
-- !go to turn on gravity early
-- shift+click to tp on
-- Command system by Shinsetsu: https://gitlab.com/shinsetsu-projects/tfm-modules
players={}
KEYS={
@xDeda
xDeda / sortMapsByPerms.lua
Last active June 26, 2026 18:34
sort transformice maps into their perm codes
-- !showPerms | shows popup with perms so far
-- !printOut | prints out maps and their perms
tfm.exec.disableAutoTimeLeft(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableAfkDeath(true)
maps = {5060806,5078438,5084927,5091466,5098693,5165203,5000032,2161166,5269771,4902795,4328665,4808370,5310019,3431537,5374110,3881440,1610895,5296535,916534,5474528,5483891,5483656,5489621,5484110,5499938,5478255,5494460,5403032,5528024,2953143,5318080,5513487,4254851,1869887,4798580,5545276,1451107,5551832,5555494,2205190,5559459,5374261,5522923,5572113,5569598,5577716,4142153,677995,5544024,5551443,5575432,5611481,4417558,5626178,5605031,4343711,5678048,4166043,5314169,5686106,1863140,5178110,5425532,5754428,1960482,4009090,5770709,5814899,2101970,5822857,4848564,5774310,5031759,5863256,5865287,5870559,5873071,5835908,4914110,5876840,5805015,679507,5230388,5842221,4187625,5882598,5883229,5866430,5880681,5887169,5492042,5735700,5887144,5913190,5936437,5961814,6000007,6019904,5041541
@xDeda
xDeda / p1Sorter.lua
Created June 26, 2026 20:14
sort p1 maps into categories
-- click category up top to put the map in the bin
-- click print to print out all sorted so far
maps = {1121345,1170748,1180637,1406777,1451107,1583395,1615095,1648676,1771248,1801218,1863140,1869887,1960482,1971455,2059472,2101434,2205190,2230090,2238442,2538612,2712448,2739697,2782039,2913746,2952484,2953143,2954141,3052551,3385539,3489036,3536539,3549686,3562108,3569448,3583410,3586920,3591443,3619335,3620493,3623250,3663013,3666747,3708762,3717518,3827116,3847602,3878078,3908930,3977560,3978302,3980048,4009090,4056746,4058006,4166043,4187625,4231620,4242670,4260278,4272457,4328665,4343711,4390118,445166,4453084,4506450,4547800,4574648,4636013,4642082,4643856,4680427,4725148,4763576,4797308,4808370,4860245,4885091,4902795,4903650,4935178,4937165,4950821,4955735,4979276,4980774,4999920,5000360,5010050,5041541,5054728,5060806,5070777,5073613,5078122,5078438,5088121,5091466,5098693,5103965,5111180,5116976,5165203,5178110,5230388,5269771,5290200,5296535,5310019,5314169,5318080,5364059,5364888,5374261,5403032