Skip to content

Instantly share code, notes, and snippets.

View Infinitay's full-sized avatar

infinity Infinitay

  • United States
  • 06:24 (UTC -04:00)
View GitHub Profile
import requests
import threading
import queue
import re
from dataclasses import dataclass
from typing import List, Optional
import time
import os
from urllib.parse import urlparse
@Infinitay
Infinitay / osrs-cache-abex-teleport-nexus-map.ts
Last active March 11, 2026 07:51
Extracts the available teleports on the Portal Nexus and constructs an array of teleport objects to easily view the name and associated teleport id (POH_NEXUS_TELE varbit value). The script is used in Abex's Cache Viewer tool: https://abextm.github.io/cache2/#/editor
import * as c2 from "@abextm/cache2";
import * as context from "viewer/context";
interface Teleport {
teleportID: number // Associated with the varbit POH_NEXUS_TELE_#
teleportName: string
}
interface NexusTeleport extends Teleport {
alternativeTeleports?: Teleport[]