Skip to content

Instantly share code, notes, and snippets.

View mastercoms's full-sized avatar
❤️
loving every moment of this.

mcoms mastercoms

❤️
loving every moment of this.
View GitHub Profile
@mastercoms
mastercoms / autoexec.cfg
Last active November 27, 2016 17:39
tf2cfg-1.6.0-beta7
// master comfig - 1.6.0 (November 27 2016)
// doesn't set things to their default values like in other fps configs
// so don't worry if an option is missing
// launch options: -high -novid -nojoy -noff -nohltv
// if you use a controller or joystick, remove -nojoy
// if you use haptic feedback, remove -noff
// if you use sourcetv, remove -nohltv
// if you update the config, add -autoconfig,
// launch tf2, then remove -autoconfig from your launch options
@mastercoms
mastercoms / autoexec.cfg
Created November 29, 2016 18:49
tf2cfg-1.6.0-rc1
// master comfig - 1.6.0 (November 29 2016)
// doesn't set things to their default values like in other fps configs
// so don't worry if an option is missing
// launch options: -high -novid -nojoy -noff -nohltv
// if you use a controller or joystick, remove -nojoy
// if you use haptic feedback, remove -noff
// if you use sourcetv, remove -nohltv
// if you update the config, add -autoconfig,
// launch tf2, then remove -autoconfig from your launch options
@mastercoms
mastercoms / autoexec.cfg
Last active February 9, 2023 15:26
potato
// launch options: -high -novid -nojoy -noff -nohltv
adsp_alley_min 0
adsp_courtyard_min 0
adsp_door_height 0
adsp_duct_min 0
adsp_hall_min 0
adsp_low_ceiling 0
adsp_opencourtyard_min 0
adsp_openspace_min 0
@mastercoms
mastercoms / autoexec.cfg
Last active December 14, 2016 00:14
master comfig reloaded b1
// launch options:
// -novid -nojoy -noff -nohltv -nod3d9ex
// general graphics
mat_queue_mode 2
host_thread_mode 2
cl_threaded_client_leaf_system 1
// fade objects out earlier
lod_TransitionDist -5000
cl_jiggle_bone_framerate_cutoff 66
@mastercoms
mastercoms / slackjsonnetty
Created January 16, 2017 06:40
code so far
try {
URL url = new URL(webhookUrl);
bootstrap.handler(new SlackSenderInitializer(sslCtx, this, webhookUrl, message));
ByteBuf buf = Unpooled.copiedBuffer(message.toJsonString(), StandardCharsets.UTF_8);
try {
Channel channel = bootstrap.connect(url.getHost(), url.getPort() == -1 ? url.getDefaultPort() : url.getPort()).channel();
FullHttpRequest request = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, webhookUrl);
request.headers()
.set(HttpHeaders.Names.HOST, url.getHost())
.set(HttpHeaders.Names.CONNECTION, HttpHeaders.Values.CLOSE)
// ~~~~ Mastercoms's TF2 Config ~~~~
// --- Network ---
// send to server at most this times per second
cl_cmdrate 66
cl_updaterate
// reduce delay between entity interpolation to minimum, set to 2 for some room for error
cl_interp_ratio 1
// adjust delay between interpolating entities, set to 0 to use interp ratio
cl_interp 0
@mastercoms
mastercoms / worlds.yml
Created March 27, 2017 14:09
Aether style world
general:
sea_level: 90
overworld:
coordinate-scale: 2737.648
height:
scale: 2737.648
noise-scale:
x: 00.0
z: 400.0
detail:
@mastercoms
mastercoms / worlds.yml
Created March 27, 2017 14:22
Aether syle v2
general:
sea_level: 10
overworld:
coordinate-scale: 612.843
height:
scale: 2737.648
noise-scale:
x: 100
z: 100
detail:
@mastercoms
mastercoms / worlds.yml
Created March 28, 2017 15:28
Aether style v3
general:
sea_level: 64
overworld:
coordinate-scale: 684.412
height:
scale: 2737.648
noise-scale:
x: 100
z: 100
detail:
Running net.glowstone.net.QueryTest
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.439 sec <<< FAILURE!
testFullStats(net.glowstone.net.QueryTest) Time elapsed: 0.282 sec <<< FAILURE!
Argument(s) are different! Wanted:
channelHandlerContext.write(
DatagramPacket(000000000173706c69746e756d008000686f73746e616d650041204d696e656372616674205365727665720067616d657479706500534d500067616d655f6964004d494e4543524146540076657273696f6e0031377731336100706c7567696e7300476c6f7773746f6e6520313233206f6e2042756b6b69742078797a006d617000776f726c64006e756d706c61796572730032006d6178706c617965727300323000686f7374706f727400323535363500686f73746970003132372e302e302e31000001706c617965725f00006261726e657967616c6500566976616c6168656c7669670000)
);
-> at net.glowstone.net.QueryTest.testChannelRead(QueryTest.java:165)
Actual invocation has different arguments:
channelHandlerContext.write(