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
public static final int MOUSEEVENTF_ABSOLUTE = 0x8000; | |
public static final int MOUSEEVENTF_LEFTDOWN = 0x0002; | |
public static final int MOUSEEVENTF_LEFTUP = 0x0004; | |
public static final int MOUSEEVENTF_MIDDLEDOWN = 0x0020; | |
public static final int MOUSEEVENTF_MIDDLEUP = 0x0040; |
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
601 execve("/sbin/tc", ["tc", "qdisc", "show"], [/* 20 vars */]) = 0 | |
601 brk(NULL) = 0x21db000 | |
601 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
601 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
601 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
601 fstat(3, {st_mode=S_IFREG|0644, st_size=34329, ...}) = 0 | |
601 mmap(NULL, 34329, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4d9f59a000 | |
601 close(3) = 0 | |
601 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
601 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 |
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
public static void openDialogue(final Player player, int dialogueId) { | |
try { | |
System.out.println("Starting: "+dialogueId); | |
if (player == null) | |
return; | |
if (dialogueId == -1) { | |
return; | |
} | |
for (int i = 0; i < 5; i++) { | |
player.getInterfaceState().setNextDialogueId(i, -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
package server.model.players; | |
import java.util.concurrent.CopyOnWriteArrayList; | |
import server.Config; | |
import server.Server; | |
import server.event.CycleEvent; | |
import server.event.CycleEventContainer; | |
import server.event.CycleEventHandler; | |
import server.model.items.GameItem; |
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
package main | |
import ( | |
"fmt" | |
"syscall" | |
"unsafe" | |
) | |
var ( | |
user32, _ = syscall.LoadLibrary("User32.dll") |
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
// +build windows | |
package main | |
import ( | |
"os" | |
"syscall" | |
"unsafe" | |
) |
This file has been truncated, but you can view the full file.
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
#ifndef _BINFS_OUTPUT_HPP_ | |
#define _BINFS_OUTPUT_HPP_ | |
#include <string> | |
#include <vector> | |
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <iomanip> |
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
package net.runelite.cache | |
import io.netty.buffer.ByteBuf | |
import io.netty.buffer.Unpooled | |
import net.runelite.cache.fs.Container | |
import net.runelite.cache.fs.Store | |
import net.runelite.cache.fs.flat.FlatStorage | |
import net.runelite.cache.fs.jagex.DataFileWriteResult | |
import net.runelite.cache.fs.jagex.DiskStorage | |
import net.runelite.cache.fs.jagex.IndexEntry |
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
extern crate config; | |
#[macro_use] | |
extern crate serde_derive; | |
use std::{convert::Infallible, net::SocketAddr}; | |
use std::sync::Mutex; | |
use hyper::{Body, Request, Response, Server, StatusCode}; | |
use hyper::service::{make_service_fn, service_fn}; | |
use rand::prelude::SliceRandom; |
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
use crate::player::Player; | |
#[derive(PartialEq, Eq, Hash)] | |
pub enum InterfaceLocation { | |
None, | |
Main = 1 | |
} | |
#[derive(PartialEq, Eq, Hash)] |
OlderNewer