View gist:fb7d8aa0b873eb6d17eb57a4fe422cbe
val service: ExecutorService = Executors.newFixedThreadPool(512)
fun main(args: Array<String>) {
val jsonFile = File("aws.json")
val o = JsonParser().parse(FileReader(jsonFile)).asJsonObject
val arr = o.get("prefixes").asJsonArray
for (ipE in arr) {
val prefix = ipE["ip_prefix"].asString
val ipPrefix = prefix.split("/")[0].replace(".0.0", "")
View Dialogue.kt
package modules.dialogue
import ps.eden.server.game.content.dialogue.DialoguePlugin
import ps.eden.server.game.node.entity.player.Player
import kotlin.reflect.KVisibility
/**
* @author Jire
*/
abstract class Dialogue(vararg val applicableIDs: Int) : DialoguePlugin() {
View Stages.kt
package modules.dialogue
/**
* @author Jire
*/
class Stages(val dialogue: Dialogue) {
companion object {
const val START_STAGE = 1
const val END_STAGE = -1
View TzHaarKetKehDialogue.kt
package plugin.activity.theinferno
import modules.dialogue.NPCDialogue
import modules.dialogue.Stages
import ps.eden.server.plugin.InitializablePlugin
/**
* @author Jire
*/
@InitializablePlugin
View TzHaarKetKehDialogue.kt
package plugin.activity.theinferno
import modules.dialogue.NPCDialogue
import modules.dialogue.Stages
import ps.eden.server.plugin.InitializablePlugin
/**
* @author Jire
*/
@InitializablePlugin
View TzHaarKetKehDialogue.kt
package plugin.activity.theinferno
import modules.dialogue.NPCDialogue
import modules.dialogue.Stages
import ps.eden.server.plugin.InitializablePlugin
/**
* @author Jire
*/
@InitializablePlugin
View Kotlin Shellcode Injection.kt
fun injectShellcode(vararg shellcode: Int) {
val length = shellcode.size
val hProcess = (lms!! as WindowsProcess).handle
val internalBlock = Kernel32.VirtualAllocEx(hProcess, 0, shellcode.size,
WinNT.MEM_COMMIT, WinNT.PAGE_EXECUTE_READWRITE)
val buffer = Memory(shellcode.size.toLong())
for (i in 0..shellcode.lastIndex) buffer.setByte(i.toLong(), shellcode[i].toByte())
View osrs145-items
This file has been truncated, but you can view the full file.
{
"id": 0,
"name": "Dwarf remains",
"examine": "It's a Dwarf remains.",
"value": 1,
"stackable": false,
"noted": false,
"noteId": -1,
"doubleHanded": false,
View gist:6546316d9ca85feaf4f863ff24cfa455
[COLOR="#A52A2A"][SIZE=5]Deadman releases @ 3PM Eastern Time, Friday 5/5/17[/SIZE][/COLOR]
[COLOR="#A52A2A"][SIZE=5]Our Deadman mode features TONS of OSRS content, including over 40 quests (no quest requirements)!![/SIZE][/COLOR]
Visit our website: [URL="https://eden.ps"][SIZE=5][COLOR="#0000FF"]Home Page[/COLOR][/SIZE][/URL]
Download the DMM client: [URL="https://eden.ps"][SIZE=5][COLOR="#0000FF"]Deadman Download[/COLOR][/SIZE][/URL]
Or download the economy: [URL="https://eden.ps"][SIZE=5][COLOR="#0000FF"]Eco Server Download[/COLOR][/SIZE][/URL]
Make sure you use the Create Account button in the client to start a new account.
You can use either client to connect to both servers, the only difference is the default world.
View PluginFixer.java
package ps.eden.server.plugin;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.HashMap;