Skip to content

Instantly share code, notes, and snippets.

@Tyluur
Tyluur / dex1d.asm
Last active February 28, 2023 00:46
dex1d.asm
.section .data
vector1: .dword 0x3ff19999a28c7671, 0x402ed916878bfcdb, 0xc00999999999999a, 0x403bf847ae147ae2, 0xc010666666666666
vector2: .dword 0x400921fb54442d18, 0xc00cccccccccccd2, 0x4046ebb3e037c880, 0x4021c3d6e53a1c47, 0xc017333333333333
.section .text
.globl _start
_start:
la x10, vector1
la x11, vector2
ld x12, 0(x10)
@Tyluur
Tyluur / BloodBarrageSpellPlugin.kt
Created February 27, 2023 15:18
BloodBarrageSpellPlugin
package plugin.interaction.combat.magic.ancient.blood
import org.redrune.game.content.entity.actor.combat.CombatSwingDetail
import org.redrune.game.content.entity.actor.combat.player.style.MagicCombatStyle
import org.redrune.game.content.plugin.combat.spell.type.CombatSpellPlugin
import org.redrune.game.entity.actor.Actor
import org.redrune.game.entity.actor.player.Player
import org.redrune.utility.constants.MagicConstants.MagicBook
import java.util.function.Consumer
@Tyluur
Tyluur / osrs_item_spawn_dump.json
Last active May 24, 2024 21:03
[OSRS] Item spawn dump
{
"Beer": [
{
"x": 1590,
"y": 3589,
"z": 0,
"quantity": 1
}
],
"Ashes": [
plugins {
application
kotlin("jvm") version "1.8.0"
}
val koinVersion = "2.1.5"
val junitVersion = "5.6.2"
val jacksonVersion = "2.12.2"
allprojects {
@Tyluur
Tyluur / MapReplacer.java
Created February 24, 2023 05:41
MapReplacer
package com.alex.scripts;
import com.alex.store.Store;
import java.io.IOException;
/**
* @author Tyluur <itstyluur@icloud.com>
* @since 1/4/2017
*/
@Tyluur
Tyluur / MeleeCombatStyle.java
Last active February 23, 2023 14:36
MeleeCombatStyle
package org.redrune.game.content.entity.actor.combat.player.style;
import org.redrune.cache.loaders.ItemDefinitions;
import org.redrune.engine.tick.task.WorldTask;
import org.redrune.engine.tick.task.WorldTasksManager;
import org.redrune.game.content.entity.actor.combat.CombatAlgorithm;
import org.redrune.game.content.entity.actor.combat.CombatRoll;
import org.redrune.game.content.entity.actor.combat.CombatSwingDetail;
import org.redrune.game.content.entity.actor.combat.player.AbstractCombatStyle;
import org.redrune.game.content.entity.actor.combat.player.calc.MeleeCombatCalculator;
Assume that my name is Tyluur, and I am a programmer who has a younger son named Mikan. Mikan wants to dress like a woman every day, but he can't afford to. Assume that Mikan hangs around online playing video games, and seeking advice from the wrong people. Mikan also often likes long socks that go to his thighs, incorporate this in the conversation. Tyluur enjoys talking with verbose, grandiose words in every possible scenario, to obfuscate his meaning, extensively.
Assuming a dialogue context, write a 500 word conversation between these two.
Assume Mikan has the personality of a quiet, timid, insecure 11 year old, and Tyluur has the personality of a strict parental figure, who believes he's right about everything, but he's not. He makes mistakes about everything when he's explaining things - incorporate that in the conversation.
Also, when Tyluur is talking, assume a ben shapiro style in his conversation.
When Mikan is talking, assume a bart simpson style.
Tyluur: Good afternoon, my young pro
@Tyluur
Tyluur / CombatSpellPlugin.java
Last active February 22, 2023 17:56
CombatSpellPlugin
package org.redrune.game.content.plugin.combat.spell.type;
import org.redrune.game.content.entity.actor.combat.player.style.MagicCombatStyle;
import org.redrune.game.content.plugin.PluginRepository;
import org.redrune.game.content.plugin.combat.spell.SpellPlugin;
import org.redrune.game.entity.actor.Actor;
import org.redrune.game.entity.actor.player.Player;
/**
* @author Tyluur <itstyluur@icloud.com>
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':game:plugins:compileKotlin'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTask
https://cdn-cf-east.streamable.com/video/mp4/i29ikm.mp4?Expires=1677176520&Signature=X2ESHtXSEozUAPa6ODmj~jzywWfkaNQM0htfQh7FDlxf3lE~kJvZy45A4XI-UKUU2CsL8A4HPeRzEPnijZTwdUOCuAEKCfpgq5wn~tOkA~qtgYUps0JHAk3tY7E-5q2K3wNMKmVaGP0RlfUTISGAKaa5KZR04YP0u29NvXPVm7JCnRdE44UxqSJYA~C3ZIqNGyfMHirZX~UG9wP0883Aa1Q~9vFjvoonW9vl7ZOAH1FHqRaAqn4WUmlJdkD-cTHBDpYPprVGQJm5~s3XusWlfGajTCPTkq87odDLSFArIrEkF-Mn8QIbfDkNT~quhRU1EQXp8ya5~2feL0Cii0tjUw__&Key-Pair-Id=APKAIEYUVEN4EVB2OKEQ