Skip to content

Instantly share code, notes, and snippets.

View theultramage's full-sized avatar

ultramage theultramage

View GitHub Profile
@theultramage
theultramage / 2011 - GemCraft lost chapter_ Labyrinth - 1.22GS vs 1.23GSpremiumfree.diff
Created February 27, 2020 12:16
All relevant code differences between Gemcraft Labyrinth v1.22 GS and v1.23 GS premium free
diff -u -r v1.22 GS/scripts/com/giab/games/gcl/gs/ctrl/CtrlMainMenu.as v1.23 GS free/scripts/com/giab/games/gcl/gs/ctrl/CtrlMainMenu.as
--- v1.22 GS/scripts/com/giab/games/gcl/gs/ctrl/CtrlMainMenu.as 2020-02-27 12:53:26.712763200 +0100
+++ v1.23 GS free/scripts/com/giab/games/gcl/gs/ctrl/CtrlMainMenu.as 2020-02-27 12:49:50.447801000 +0100
@@ -12,7 +12,6 @@
import flash.filters.GlowFilter;
import flash.net.URLRequest;
import flash.net.navigateToURL;
- import gamersafe.GamerSafe;
public class CtrlMainMenu
@theultramage
theultramage / 2009 - GemCraft chapter 0_ Gem of Eternity - AG vs mochi.diff
Created February 10, 2020 12:20
All code differences between Gemcraft 0 v1.21A (AG) and v1.21 (GiaB/Mochi)
diff -u -r scripts-ag-nodebug/scripts/com/giab/games/gem0/giab/ctrl/CtrlAmulets.as scripts-local-nodebug/scripts/com/giab/games/gem0/giab/ctrl/CtrlAmulets.as
--- scripts-ag-nodebug/scripts/com/giab/games/gem0/giab/ctrl/CtrlAmulets.as 2020-01-22 08:47:42.387173500 +0100
+++ scripts-local-nodebug/scripts/com/giab/games/gem0/giab/ctrl/CtrlAmulets.as 2020-01-22 08:48:23.455888500 +0100
@@ -10,6 +10,7 @@
import com.giab.games.gem0.giab.constants.GameSpecs;
import com.giab.games.gem0.giab.constants.LevelSpecId;
import com.giab.games.gem0.giab.constants.StatId;
+ import com.giab.games.gem0.giab.constants.Url;
import com.giab.games.gem0.giab.entity.Player;
import com.giab.games.gem0.giab.ingame.Core;
@theultramage
theultramage / mirandang-msn-connfail.log
Last active December 9, 2016 06:53
MirandaNG log for #647 - MSN: unable to connect
[7:24:26 0964] [MSN] PS_SETSTATUS(40072,0)
[7:24:26 0964] KeepStatus: assigning status 40072 to MSN
[7:24:26 11F0] [MSN] Starting thread 000011F0 (0676FF00)
[7:24:26 11F0] [MSN] Thread started: server='s.gateway.messenger.live.com:443', type=0
[7:24:26 11F0] [MSN] Connection request to s.gateway.messenger.live.com:443 (Flags 10)....
[7:24:26 11F0] [MSN] (0000000003E2A250) Connecting to server s.gateway.messenger.live.com:443....
[7:24:26 11F0] [MSN] (0000000003E2A250) Connecting to ip 40.77.226.192:443 ....
[7:24:26 11F0] [MSN] (1276) Connected to s.gateway.messenger.live.com:443
[7:24:26 11F0] [MSN] (1276 s.gateway.messenger.live.com) Starting SSL negotiation
[7:24:27 11F0] [MSN] (1276 s.gateway.messenger.live.com) SSL negotiation successful
@theultramage
theultramage / rathena-socket.c
Last active November 15, 2016 16:57
this is what I had in mind pull/1714
if( result == SOCKET_ERROR ) {
// That is the error we intend, because we want to use a timeout
if( sErrno != S_EWOULDBLOCK ) {
// All other errors should be reported immediately
if( !silent )
ShowError("make_connection: connect failed (socket #%d, %s)!\n", fd, error_msg());
do_close(fd);
return -1;
}
@theultramage
theultramage / mirandang-skypeweb-tcpspam.txt
Last active November 13, 2016 11:29
MirandaNG log for #622 - SkypeWeb: network communication infinite loop after longer uptime
[6:20:19 84B88] [Skype] Send request to https://90-trouter-cus-b.drip.trouter.io:443/socket.io/1/?sr=ARgKAQApdCCgaKCYQKxeuMYS8rzVqe-liDDk1ZTrXOfaEQj50zJpADuG5_tQ07pZ8Ep_&issuer=edf&sp=connect&st=1478794370119&se=1478878859119&sig=q9EU9D84_eFpGGH93yhr2wzqqsPyoZQM-nqrvZrw51M&r=104.43.168.103&v=v2&p=443&ccid=oJhArF64xhLy&tc=%7B%22cv%22%3A%222014.8.26%22%2C%22hr%22%3A%22%22%2C%22ua%22%3A%22Miranda_NG%22%2C%22v%22%3A%22%22%7D&t=1478841619000
[6:20:19 84B88] [Skype] Connection request to 90-trouter-cus-b.drip.trouter.io:443 (Flags 11)....
[6:20:19 84B88] [Skype] (0000000004BF5160) Connecting to server 90-trouter-cus-b.drip.trouter.io:443....
[6:20:19 84B88] [Skype] (0000000004BF5160) Connecting to ip 104.43.168.103:443 ....
[6:20:20 84B88] [Skype] (535828) Connected to 90-trouter-cus-b.drip.trouter.io:443
[6:20:20 84B88] [Skype] (535828 90-trouter-cus-b.drip.trouter.io) Starting SSL negotiation
[6:20:20 84B88] [Skype] (535828 90-trouter-cus-b.drip.trouter.io) SSL negotiation successful
[6:20:20 84B88] [Skype] (0000
@theultramage
theultramage / powercfg-win7-all-settings.bat
Last active March 10, 2024 05:51
Show/hide all hidden settings in Win7 Power Options
@echo off
REM SET attrib=+ATTRIB_HIDE
SET attrib=-ATTRIB_HIDE
REM Harddisk settings
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 0b2d69d7-a2a1-449c-9680-f91c70521c60 %attrib%
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 %attrib%
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 dab60367-53fe-4fbc-825e-521d069d2456 %attrib%
REM Sleep transition settings