Skip to content

Instantly share code, notes, and snippets.

View Jire's full-sized avatar
🍖
the coding caveman

Jire Jire

🍖
the coding caveman
View GitHub Profile
package plugin.activity.theinferno
import ps.eden.server.game.content.dialogue.NPCDialogue
import ps.eden.server.game.content.dialoguee.Stages
import ps.eden.server.plugin.InitializablePlugin
/**
* @author Jire
*/
@InitializablePlugin
package ps.eden.server.game.content.dialogue
/**
* @author Jire
*/
class ActionStage(id: Int) : Stage(id) {
var defaultHandler: (() -> Any?)? = null
private set
val onButtonHandlers = HashMap<Int, () -> Any?>()
package ps.eden.server.game.content.dialogue
import ps.eden.server.game.node.entity.npc.NPC
/**
* @author Jire
*/
abstract class NPCDialogue(vararg applicableIDs: Int = intArrayOf(-1)) : Dialogue(*applicableIDs) {
override fun open(vararg args: Any?): Boolean {
package ps.eden.server.game.content.dialogue
/**
* @author Jire
*/
class Stages(val dialogue: Dialogue) {
companion object {
const val START_STAGE = 1
const val END_STAGE = -1
package ps.eden.server.game.content.dialogue
/**
* @author Jire
*/
open class Stage(val id: Int) {
lateinit var next: () -> Int
var interfaceID: Int = -1
package ps.eden.server.game.content.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() {
@Jire
Jire / 6-12-18 3:35AM
Last active June 12, 2018 07:38
Changelog of Eden 6/12/18 3:35AM
Changelog of Eden from 6/12/18 3:35AM Eastern Time
chore: ZoneBorders.forRegion now uses Location.regionStart (by Jire, 7 minutes ago)
chore: NPC transformChecked method to prevent unnecessary transformation (by Jire, 8 minutes ago)
chore: Direction.getDirection with tolerance (by Jire, 8 minutes ago)
chore: xarpus configs (by Jire, 10 minutes ago)
feat: major progress of xarpus room (by Jire, 10 minutes ago)
chore: base of pestilent bloat room (by Jire, 11 minutes ago)
feat: maiden of sugadinti NPC transform based on health (by Jire, 11 minutes ago)
feat: sotetseg room (besides shadow realm) completed (by Jire, 5 hours ago)
package ps.eden.client.jagex;
final class ObjectDefinition {
private short[] retextureOriginal;
private short[] aShortArray1477;
int anInt1478;
private int resizeX;
int anInt1480 = 1;
private int resizeZ;
@Jire
Jire / Jire's PGP Key
Last active August 24, 2018 15:09
Jire's PGP Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFtzYPUBEACbMVZmWvstJAU1/tO6eSn5iogSiYxQ9u7RjyRRwqoRXUhmTHFc
xqPNwnJFnFWz1L2jwwQGQ47XGFJqzTOQLlwWeCuOTBgiPkZtLYp7jB7+OPQSIFVU
csDxauR8cyEGZs7eDaDo91Vc+0gb5bNKc2faEUA/jPHQdkF0EE7WyyRQG4AvOqq+
In4cQSLXrUEkIusU79t9yalJ0p+r/SwyycRq9KZEXxvGDJcej3HVuVNVE+LLwOLj
TR1FZ0Mm4F+V+kOjybsOr7FIzL3aWQhMkV6yfB4+ZsqI3fpM4LUEpK71K+fP6x6a
jgFAYzDcvkPUe21iFzdhfXBuwKRPHgd3a1ktztPAT9D6ozv95KLu6ZVoq16lqVIJ
mMVwmEqiGHqajLBUaa/xTG5cSyIwHEm6/cO6b2F1353b9Dpy5yicJGA/6BBHWTZP
MOaKWF9N6+BxVqbgZ/JqRHxLcHEcizFCVPFf+c/GWyyvQFyw33SqITh+3EoF5FwU
/*
* Charlatano: Free and open-source (FOSS) cheat for CS:GO/CS:CO
* Copyright (C) 2017 - Thomas G. P. Nappo, Jonathan Beaudoin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,