Skip to content

Instantly share code, notes, and snippets.

@noah-
noah- / noah_classic.nip
Created June 15, 2020 20:09
classic pickit
[type] == scepter && [quality] <= rare # [paladinskills] == 2 && [skillblessedhammer] == 3 && ([skillconcentration] == 3 || [fcr] >= 10)
[type] == scepter && [quality] <= rare # [paladinskills] == 1 && [skillblessedhammer] == 3 && [skillconcentration] == 3 && [fcr] >= 10
([type] == scepter || [type] == mace || [type] == sword || [name] == flail) && [quality] <= rare # [paladinskills] == 2 && (([coldresist] + [fireresist] + [lightresist]) >= 41)
[type] == amulet && [quality] == rare # [amazonskills]+[sorceressskills]+[necromancerskills]+[paladinskills]+[barbarianskills] >= 1 && [fireresist] >= 16 && [lightresist] >= 16 && [coldresist] >= 16 && (([maxhp]+[maxmana] >= 50 && [strength]+[dexterity] >= 15) || [fcr] == 10) && [itemlevelreq] <= 30
[type] == amulet && [quality] == rare # [amazonskills]+[sorceressskills]+[necromancerskills]+[paladinskills]+[barbarianskills] == 2 && (([fireresist] >= 16 && [lightresist] >= 16 && [coldresist] >= 16) || ([fireresist]+[lightresist]+[coldresist] >= 45 && ([fcr] == 10 || [
@noah-
noah- / D2BotTCPIP.dbj
Created April 20, 2020 22:33
D2BotTCPIP.dbj - added cases handling tcpip menu
var StarterConfig = {
MinGameTime: 120, // Minimum game length in seconds. If a game is ended too soon, the rest of the time is waited in the lobby
PingQuitDelay: 30, // Time in seconds to wait in lobby after quitting due to high ping
CreateGameDelay: 10, // Seconds to wait before creating a new game
ResetCount: 999, // Reset game count back to 1 every X games.
CharacterDifference: 99, // Character level difference. Set to false to disable character difference.
ChatActionsDelay: 2, // Seconds to wait in lobby before entering a channel
// ChannelConfig can override these options for individual profiles.
JoinChannel: "", // Default channel. Can be an array of channels - ["channel 1", "channel 2"]
/**
* @filename Precast.js
* @author noah-, kolton
* @desc handle player prebuff sequence
*/
var Precast = new function () {
this.haveCTA = -1;
this.BODuration = 0;
this.BOTick = 0;
@noah-
noah- / AutoChaos.js
Last active October 23, 2022 13:46
See comments at the end for install instructions. AutoChaos is an anonymous Team CS script without any explicit in-game communication.
/**
* @filename AutoChaos.js
* @author noah-@github.com
* @desc AutoChaos is an anonymous Team CS script without any explicit in-game communication.
* This script is designed for running Classic Taxi CS.
*/
function AutoChaos() {
this.taxi = "";
this.tpID = 0;
this.lastCall = 0;
@noah-
noah- / classic.nip
Created July 19, 2018 01:16
classic pickit
[type] == scepter && [quality] <= rare # [paladinskills] == 2 && (([fcr] >= 10 && [skillblessedhammer] == 3) || ([skillblessedhammer] == 3 && [skillconcentration] >= 2) || [skillholyshield] >= 3 || [coldresist] + [fireresist] + [lightresist] >= 40)
[type] == scepter && [quality] <= rare # [paladinskills] == 1 && [fcr] >= 10 && ([skillblessedhammer]+[skillconcentration] == 6)
[type] == amulet && [quality] == rare # [amazonskills]+[sorceressskills]+[necromancerskills]+[paladinskills]+[barbarianskills] >= 1 && [fireresist]+[lightresist]+[coldresist]+[poisonresist] >= 64 && (([maxhp]+[maxmana] >= 50 && [strength]+[dexterity] >= 15) || [fcr] == 10)
[type] == amulet && [quality] == rare # [amazonskills]+[sorceressskills]+[necromancerskills]+[paladinskills]+[barbarianskills] == 2 && ([fireresist]+[lightresist]+[coldresist]+[poisonresist] >= 64 || ([fireresist]+[lightresist]+[coldresist]+[poisonresist] >= 45 && ([fcr] == 10 || [maxhp]+[maxmana] >= 50)))
[type] == ring && [quality] == rare # [fcr] == 10 && ([maxhp] >=
@noah-
noah- / jslint.config
Created April 4, 2018 16:59
JSLint options for kolbot libs
JSLint options:
/*jslint indent: 4, maxerr: 50, bitwise: true, sloppy: true */
Predefined list:
include, print, me, Town, Pather, td, getTickCount, delay, Precast, getParty, Pickit, takeScreenshot, getUnit, quit, Config, Packet, clickMap, getBaseStat, clickItem, getCursorType, Misc, Attack, getPresetUnits, Sort, getDistance, copyUnit, getRoom, getLocaleString, DataFile, D2Bot, scriptBroadcast, isIncluded, FileTools, showConsole, getInteractedNPC, getDialogLines, getUIFlag, sendPacket, getPacket, CollMap, getPath, Skill, rand, PresetUnit, getPresetUnit, getArea, getWaypoint, getScript, Room, AutoMule, say, AnniSystem, load, addEventListener, getMercHP, getMercHP, Experience, ClassAttack, checkCollision, gold, Cubing, Storage, Runewords, getLocation, ControlAction, login, sendCopyData, locationAction, TorchSystem, TorchSystem, getControl, debugLog, Scripts, getCollision, AutoRush, transmute, submitItem, NPC, MuleLogger, createGame, joinGame, Line, removeEventListener, NTIP, Gambling, Nihlathak, FastDiablo,