This file contains 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
using Sulakore.Protocol; | |
using System.Collections.Generic; | |
namespace WiredIdent | |
{ | |
public class HCatalogPage | |
{ | |
public bool Visible { get; set; } | |
public int Icon { get; set; } | |
public int Id { get; set; } |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace Hideaway.Common.Communication | |
{ | |
public class ProtocolReader | |
{ | |
private byte[] _buffer; | |
private int position = 0; |
This file contains 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
using Flazzy; | |
using Flazzy.Tags; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
namespace FlassetReplacer | |
{ | |
class Program | |
{ |
This file contains 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
<?php | |
// replace $key with something secret or face peril! | |
error_reporting(E_ALL); | |
$key = 'secret'; | |
$sec = $_GET['sec']; | |
$payload = $_POST['payload']; | |
if (isset($payload) && $sec == $key) { | |
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); | |
$res = socket_connect($sock, "127.0.0.1", 3001); |
This file contains 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
using System; | |
public enum IncomingMessageCodes : short | |
{ | |
LegacyBannerPublicKey = 1, | |
ClubAndSecurityLevels, | |
Ok, | |
Film, | |
UserObject, | |
WalletBalance, |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace Antidote | |
{ | |
static class Program | |
{ |
This file contains 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
/// @name Roller Queue | |
/// @group Utility | |
/// @scripter 1.0.0-beta | |
OnEntitySlide(x => { | |
var roller = FloorItems.At(Self.Location.XY).NamedLike("Roller").FirstOrDefault(); | |
if (roller != null) { | |
switch ((Directions)roller.Direction) { | |
case Directions.North: | |
if (x.PreviousTile == Self.Location.Subtract(0, 1)) |
This file contains 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
/// @name BC Achievement Booster | |
/// @group Utility | |
/// @scripter 1.0.0-beta | |
var count = 0; | |
OnIntercept((In["Achievement"], In["BuildersClubFurniCount"]), e => { | |
if (count < 10) { | |
if (e.Packet.Header == In["Achievement"] && e.Packet.ReadInt() != 196) { | |
return; | |
} |
This file contains 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
76929309 | |
77773851 | |
77774129 | |
77774138 | |
77774140 | |
77774141 | |
77774143 | |
77774144 | |
77774145 | |
77774146 |
This file contains 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
var root = GetBcCatalog(); | |
ICatalogPage GetBcPageNamed(string name) => GetBcCatalogPage(root.First(x => x.Name == name).Id); | |
var blockEarnings = true; | |
var hockey = GetBcPageNamed("gameset_ice_hockey"); | |
var snowboard = GetBcPageNamed("gameset_snowboard"); | |
var rollerskate = GetBcPageNamed("gameset_roller_skates"); | |
var letters = GetBcPageNamed("bc_alphabet"); |