This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# uncompyle6 version 3.9.3.dev0 | |
# Python bytecode version base 2.3 (62011) | |
# Decompiled from: Python 3.8.10 (default, Jul 29 2024, 17:02:10) | |
# [GCC 9.4.0] | |
# Embedded file name: /tmp/bf2c/bf2hub/HttpClient.py | |
# Compiled at: 2014-09-03 19:41:22 | |
import socket, string | |
from urlparse import urlparse | |
class HttpClient: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"time" | |
"github.com/rs/zerolog" | |
"github.com/rs/zerolog/log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function combine(strings: string[], length: number): string[] { | |
// Init results array of required length, filled with empty strings | |
const combinations = Array(strings.length**length).fill('') | |
for (let i = length; i > 0; i--) { | |
for (let j = 0; j < combinations.length; j++) { | |
combinations[j] += strings[Math.floor(j/(strings.length**(i-1)))%strings.length] | |
} | |
} | |
return combinations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2024.04.16 16:32:56 UTC | |
# Embedded file name: bf2mld_gui.py | |
import wx | |
import wx.html | |
import sys | |
import time | |
from _winreg import * | |
import psutil | |
import threading | |
import ConfigParser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
from urllib.parse import quote | |
from pybfbc2stats import Platform, FeslClient, SecureConnection, TheaterClient | |
from pybfbc2stats.constants import FeslTransmissionType | |
from pybfbc2stats.packet import FeslPacket | |
def main(): | |
client = FeslClient('', '', Platform.pc, track_steps=False) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Battlefield 2 dedicated server with BF2CC | |
After=network-online.target | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
Type=simple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=GameSpy login emulation server | |
After=network-online.target | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
Type=simple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=ParaWorld dedicated server "manager" | |
After=network-online.target | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
Type=simple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
PowerShell script to register a URL handler for the paraworld:// protocol and act as the handler. Joining a Paraworld server is only one click away. | |
Registers the URL handler if launched without any arguments. | |
Launches the game and joins the server if launched with valur -URI flag. | |
URL protocol format: paraworld://[server_ip]:[server_port] | |
#> | |
param( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
PowerShell script to register a URL handler for the bf1942:// protocol and act as the handler. Joining a Battlefield 1942 server is only one click away. | |
Registers the URL handler if launched without any arguments. | |
Launches the game and joins the server if launched with valur -URI flag. | |
URL protocol format: bf1942://[server_ip]:[server_port] | |
#> | |
param( |
NewerOlder