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 pestcontrol | |
| class PestControlMethods { | |
| // normally defined class. the fields and methods inside however are all static. | |
| // no need to instance the fields in this class | |
| // static because we only want 1 LIST containing the games. | |
| // the list contains the instances running. | |
| static List<ActivePCGame> ACTIVE_GAMES = new ArrayList(10); // 10 games |
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
| --> Animable [com/dreamscape/ay] | |
| --> Node [com/dreamscape/b/a/a] | |
| -> getNext com/dreamscape/b/a/a.b a | |
| -> getKey com/dreamscape/b/a/a.id long | |
| --> NodeSub [com/dreamscape/b/a/b/b] | |
| -> getPrevNodeSub com/dreamscape/b/a/b/b.d b | |
| => getNextNodeSub BROKEN | |
| => getUuid BROKEN |
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
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <injector> | |
| <interfaces> | |
| <add> | |
| <classname>com/dreamscape/ay</classname> | |
| <interface>Animable</interface> | |
| </add> | |
| <add> | |
| <classname>com/dreamscape/b/a/a</classname> | |
| <interface>Node</interface> |
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
| "C:\Program Files\Java\jdk1.8.0_202\bin\java.exe" -Xss4M -javaagent:C:\Users\Jak\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.6183.20\lib\idea_rt.jar=53367:C:\Users\Jak\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.6183.20\bin -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_202\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_202\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_ |
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 org.parabot.osscape.callback; | |
| import org.parabot.api.output.Verboser; | |
| import org.parabot.core.Context; | |
| import org.parabot.core.reflect.RefClass; | |
| import org.parabot.core.reflect.RefMethod; | |
| import org.parabot.osscape.Loader; | |
| import org.zenyte.min.api.accessors.*; | |
| import org.parabot.osscape.api.methods.Game; | |
| import org.parabot.osscape.api.wrapper.Tile; |
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 net.arrav.task; | |
| import com.google.common.base.Preconditions; | |
| import net.arrav.world.World; | |
| import java.util.*; | |
| /** | |
| * A sequence of {@link LinkedTask}s that are ran in <i>FIFO</i> order, and the | |
| * solution to scheduling tasks in bulk. The problem with scheduling many tasks |
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
| class Inventory { | |
| val items: Array<Item> = arrayOf() | |
| } | |
| fun Inventory.isfull(): Boolean { | |
| items[0] = Item(1) | |
| return true | |
| } |
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 nl.bartpelle.veteres.content.npcs.slayer | |
| import co.paralleluniverse.fibers.Suspendable | |
| import nl.bartpelle.skript.Script | |
| import nl.bartpelle.veteres.content.combat.EntityCombat | |
| import nl.bartpelle.veteres.content.combat.PlayerCombat | |
| import nl.bartpelle.veteres.model.AttributeKey | |
| import nl.bartpelle.veteres.model.Entity | |
| import nl.bartpelle.veteres.model.entity.Npc | |
| import nl.bartpelle.veteres.util.CombatStyle |
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
| // Al Kharid mine shortcut exit | |
| r.onObject(16550) @Suspendable { | |
| if (it.player().skills().level(Skills.AGILITY) < 38) { | |
| it.message("You need an agility level of 38 to negotiate these rocks.") | |
| } else { | |
| it.player().lock() // disallows movement, logout, eating, most things you can do | |
| it.delay(1) // wait 1 tick | |
| it.player().looks().render(738, 737, 737, 737, 737, 737, -1) // change the stand,walk,run,turn anims to "holding hands out" | |
| it.player().sound(2244, 10, 4) // play a sound effort | |
| it.player().pathQueue().clear() // clear any previous requested walking destinations |
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 org.rs2server.rs2.model.pathfinder; | |
| import org.rs2server.rs2.clipping.RegionClipping; | |
| import org.rs2server.rs2.clipping.TileControl; | |
| import org.rs2server.rs2.model.GameObject; | |
| import org.rs2server.rs2.model.GameObjectDefinition; | |
| import org.rs2server.rs2.model.Location; | |
| import org.rs2server.rs2.model.Mob; | |
| import org.rs2server.rs2.model.NPC; | |
| import org.rs2server.rs2.model.Player; |