SRL Archive - News and General

hmm Idung source leaked?


rj

2012-12-22 14:55:20

Hehe, 16,583 lines of code, I would HATE to edit this.

link(file is to large to upload to forums lol):https://gist.github.com/4240147

P.S the kid that uploaded thought it would be 'cool' to edit class names. This was not uploaded by me.

Chris Reborn

2012-12-22 15:05:49

if it's legit i would hate to be kiko right now…

rj

2012-12-22 15:08:14

From: idodew
if it's legit i would hate to be kiko right now…


I think it's old not sure

NKN

2012-12-22 15:09:12

I'll look it over later.
In a game.

J J

2012-12-22 15:18:56

Parts of the source got leaked multiple times but yeah this time it isn't obfuscated. I looked over it like 2 weeks ago and it looks pretty legit. Incredible amount of if/else statements used in there.

Rincewind

2012-12-22 15:41:23

Stupid question probably, but can this be used to actually bot IDung?

DannyRS

2012-12-22 15:44:33

From: Rincewind
Stupid question probably, but can this be used to actually bot IDung?


Really cba reading it, but i'd assume its not the complete script

Could probably be used to do it if enough of it is there

n3ss3s

2012-12-22 15:51:59

Anyone who planned on making a dung script in color might be cutting themselves after seeing the length of a PB one, lol

DannyRS

2012-12-22 16:04:30

From: n3ss3s
Anyone who planned on making a dung script in color might be cutting themselves after seeing the length of a PB one, lol


We dont have to do all complexities at once ;) start small like kiko did, but dung is to much to do without a community effort

NKN

2012-12-22 16:07:56

From: DannyRS
We dont have to do all complexities at once ;) start small like kiko did, but dung is to much to do without a community effort

We had a pretty decent start last time we tried.

Then our leader lolquit SRL. </3

Rincewind

2012-12-22 16:17:38

From: DannyRS
Really cba reading it, but i'd assume its not the complete script

Could probably be used to do it if enough of it is there


Interesting. Well I can't code so I guess thats the end of the line for me. It would be cool if someone were to finish and release it but thats just wishful thinking.

Elvis

2012-12-22 16:19:44

It's old.

rj

2012-12-22 16:26:04

From: Rincewind
Stupid question probably, but can this be used to actually bot IDung?


Probably not, like the post above me I think its old.

Prometheus

2012-12-22 16:33:05

Wonder how long it took him to make

NKN

2012-12-22 16:42:35

Might put my Powerbot Script Writer status to the test and fix 'er up for us.

Rincewind

2012-12-22 16:49:04

From: NKN
Might put my Powerbot Script Writer status to the test and fix 'er up for us.


Good luck. I don't even code but when I took a peek it looked pretty complicated.

rj

2012-12-22 16:56:34

From: NKN
Might put my Powerbot Script Writer status to the test and fix 'er up for us.


Will be hard simply because it was written by somebody else and you will have to remember their variable names and all that. like 200 lines of it is declaring Items and variables lol.
@Manifest(name = "shitDungeon - 4038", authors = "Cake", version = 02.10, description = "Retarded Dungeoneering", website = "http://parisisfrom.asia/")
public class shitDungeon extends ActiveScript implements KeyListener, MouseListener, MouseMotionListener,
MessageListener, PaintListener {

private final String VERSION = "K.K.K";
private final boolean freeVersion = false, liteVersion = false;

private final int SMUGGLER = 11226, SKINWEAVER = 10058;
private final int ANTIPOISON = 17566, GATESTONE = 17489, GGS = 18829, COINS = 18201, ESSENCE = 17776,
FEATHERS = 17796, PICKAXE = 16295;
private final int END_STAIRS = 50552, ENTRANCE = 48496, GNOMEBALL = 751, GREEN_CHARM = 18018, BLUE_CHARM = 18020;

private final int[] BLOCK_ANIMS = { 733, 7660, 13085, 13573, 13711 };
private final int[] BONES = { 17670, 17672, 17674, 17676, 17671, 18830, 18831, 18833, 18834 }, RINGS = { 15707,
18817, 18818, 18819, 18820, 18821, 18822, 18823, 18824, 18825, 18826, 18827, 18828 };
private final int[] DUNG_EQUIP_SLOTS = { 0, 4, 5, 7, 9, 10 };
private final int[] EXIT_LADDERS = { 50604, 51156, 51704, 54675, 56149 }, FINISH_LADDERS = { 49695, 49697, 49699,
53747, 55483 }, FINISHED_LADDERS = { 49696, 49698, 49700, 53748, 55484 };
private final int[] FIRES = { 49940, 49941, 49942, 49943, 49944, 49945, 49946, 49947, 49948, 49949 };
private final int[] FOOD_ARRAY = { 18159, 18161, 18163, 18165, 18167, 18169, 18171, 18173, 18175, 18177 };
private final int[] FRIENDLIES = { SMUGGLER, 11246, SKINWEAVER, 11086, 11087, 11088, 11089, 11090, 11091, 11092,
11093, 11094, 11095, 11002, 11003, 11004 };
private final int[] GROUP_PORTAL = { 53124, 53125, 53126, 7528, 56146 }, RUNECRAFTING_ALTARS = { 50035, 50036,
50037, 53844, 55994 };
private final int[] COSMIC_RUNES = { 16100, 17789 }, LAW_RUNES = { 16103, 17792 };
private final int[] UNLIT_LOGS = { 17682, 17684, 17686, 17688, 17690, 17692, 17694, 17696, 17698, 17700 };
private final int[] BLASTBOXES = { 19865, 19866 };
private final int[] SLAYER_MONSTERS = { 10694, 10695, 10696, 10697, 10698, 10699, 10700, 10701, 10702, 10704, 10705 };
private final int[] TIER_BASE = { 16273, 16339, 16383, 16405, 16647, 16669, 16691, 16713, 16889, 16935, 17239,
17341 };
private final int[] SECONDARY_BOWS = { 16317, 16319, 16321, 16323, 16325, 16327, 16329, 16331, 16333, 16335, 16337,
16867, 16869, 16871, 16873, 16875, 16877, 16879, 16881, 16883, 16885, 16887 };

private final int[] BASIC_DOORS = { 50342, 50343, 50344, 53948, 55762 }, GUARDIAN_DOORS = { 50346, 50347, 50348,
53949, 55763 };
private final int[] BACK_DOORS = { 49462, 50342, 50343, 50344, 53948, 55762, 50350, 50351, 50352, 53950, 55764 },
BOSS_DOORS = { 50350, 50351, 50352, 53950, 55764 };

private final int[] BLOCK_RUNED = { 50278, 50279, 50280, 53953, 55741 }, BLOCK_ROCKS = { 50305, 50306, 50307,
53962, 55750 }, BLOCK_FLAMMABLE = { 50314, 50315, 50316, 53965, 55753 }, BLOCK_MAGICAL = { 50329, 50330,
50331, 53970, 55758 }, BLOCK_SPIRIT = { 50332, 50333, 50334, 53971, 55759 };
private final int[] BLOCK_VINES = { 50323, 50324, 50325, 53968, 55756 }, BLOCK_RAMOKEE = { 50326, 50327, 50328,
53969, 55757 };
private final int[][] BLOCK_DOORS = { BLOCK_RUNED, BLOCK_ROCKS, BLOCK_FLAMMABLE, BLOCK_MAGICAL, BLOCK_SPIRIT,
BLOCK_VINES, BLOCK_RAMOKEE };
private final String[][] BLOCK_STRINGS = { { "Imbue", "Runed door" }, { "Mine", "Pile of rocks" },
{ "Burn", "Flammable debris" }, { "Dispel", "Magical barrier" }, { "Exorcise", "Dark spirit" },
{ "Prune-vines", "Vine-covered door" }, { "Dismiss", "Ramokee exile" } };

private final int[] SKILL_BARRED = { 50272, 50273, 50274, 53951, 55739 }, SKILL_LOCKED = { 50287, 50288, 50289,
53956, 55744 }, SKILL_PULLEY = { 50299, 50300, 50301, 53960, 55748 }, SKILL_KEYED = { 50308, 50309, 50310,
53963, 55751 }, SKILL_BARRICADE = { 50317, 50318, 50319, 53966, 55754 };
private final int[] SKILL_COLLAPSING = { 50281, 50282, 50283, 53954, 55742 }, SKILL_PADLOCK = { 50293, 50294,
50295, 53958, 55746 }, SKILL_LIQUID = { 50335, 50336, 50337, 53972, 55760 };
private final int[][] SKILL_DOORS = { SKILL_BARRED, SKILL_LOCKED, SKILL_PULLEY, SKILL_KEYED, SKILL_BARRICADE,
SKILL_COLLAPSING, SKILL_PADLOCK, SKILL_LIQUID };
private final String[][] SKILL_STRINGS = { { "Force-bar", "Barred door" }, { "Disarm", "Locked door" },
{ "Fix-pulley", "Broken pulley door" }, { "Repair", "Broken key door" },
{ "Chop-down", "Wooden barricade" }, { "Repair", "Collapsing doorframe" },
{ "Pick-lock", "Padlocked door" }, { "Add-compound", "Liquid lock door" } };

private final int[] PUZZLE_DOORS = { 49306, 49335, 49336, 49337, 49338, 49375, 49376, 49377, 49378, 49379, 49380,
49387, 49388, 49389, 49462, 49463, 49464, 49504, 49505, 49506, 49516, 49517, 49518, 49564, 49565, 49566,
49574, 49575, 49576, 49577, 49578, 49579, 49603, 49604, 49605, 49606, 49607, 49608, 49625, 49626, 49627,
49644, 49645, 49646, 49650, 49651, 49652, 49677, 49678, 49679, 53987, 53988, 53989, 53990, 53992, 54000,
54001, 54006, 54067, 54070, 54071, 54072, 54073, 54106, 54107, 54108, 54109, 54236, 54274, 54284, 54299,
54300, 54315, 54316, 54317, 54318, 54319, 54320, 54335, 54360, 54361, 54362, 54363, 54404, 54417, 54418,
54620, 55478, 55479, 55480, 55481, 56079, 56081, 56526, 56527, 56528, 56529 };
private final int[] WARPED_PUZZLE_DOORS = { 32370, 32406, 33607, 33634, 33637, 33654, 33712, 34269, 34865, 35273,
35348, 35863, 35907, 37199, 37201, 39522, 39854, 39856, 39863, 39901, 39965, 55482, 56082, 56530 };
private final int[] NECROMANCERS = { 10196, 10197, 10198, 10199, 10200, 10201, 10202, 10203, 10204, 10205, 10206 };
private final int[] SUMMONING_OBELISKS = { 50205, 50206, 50207, 53883, 54650, 55605 };

private final int[] ROK_MELEE = { 18817, 18818, 18819 }, ROK_RANGE = { 18820, 18821, 18822 }, ROK_MAGIC = { 18823,
18824, 18825 };
private final int[][] KINSHIP_CUSTOM_RINGS = { ROK_MELEE, ROK_RANGE, ROK_MAGIC };

private final int[] JOURNAL_MISC = { 15726, 15727, 15729, 15732, 15733, 15735, 15736, 15739, 15740, 19682, 19683,
19684, 19852, 19853, 19854, 19860, 19861, 19862, 19863, 19864 };
private final int[] JOURNAL_CHRONICLES = { 15708, 15709, 15710, 15711, 15712, 15713, 15714, 15715, 15716, 15717,
15718, 15719, 15720, 15721, 15722, 15723, 15724, 15725, 19676, 19677, 19678, 19679, 19680, 19681, 19846,
19847, 19848, 19849, 19850, 19851 };

private final int[] JOURNAL_NOTES = { 15730, 15741, 15742, 19687, 19857, 15728, 15734, 15737, 19685, 19855, 15731,
15738, 15743, 19686, 19856 };
private final int[] SAGA_MEMORIES = { 4315, 4317, 4319, 70195 };

private final char[] ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".toCharArray();
private final Monster[] HOODED_MONSTERS = { Monster.FORGOTTEN_WARRIOR0CHAIN, Monster.FORGOTTEN_WARRIOR0PLATE,
Monster.FORGOTTEN_RANGER, Monster.ZOMBIE0MELEE, Monster.ZOMBIE0RANGE, Monster.SKELETON0MELEE,
Monster.SKELETON0RANGE, Monster.HILL_GIANT };
private final Slot[] EQUIP_SLOTS = { Slot.HELMET, Slot.BODY, Slot.SHIELD, Slot.LEGS, Slot.HANDS, Slot.FEET };

private final String[] KEY_COLORS = { "Orange", "Silver", "Yellow", "Green", "Blue", "Purple", "Crimson", "Gold" };
private final String[] KEY_SHAPES = { "triangle", "diamond", "rectangle", "pentagon", "corner", "crescent",
"wedge", "shield" };

private final String[] HOODED_DEACTIVATORS = { "Forgotten mage", "Necromancer", "Seeker", "Reborn mage" };
private final String[] PRIORITY_MONSTERS = { "Necromancer", "Reborn mage", "dragon" }, SECONDARY_MONSTERS = {
"shade", "mage" };
private final String[] DISTANCE_MONSTER = { "Forgotten ranger", "Forgotten mage", "Mysterious shade", "Zombie",
"Hydra", "Icefiend", "Animated book", "Skeleton", "Thrower troll", "Ice elemental", "Lesser demon",
"Greater demon", "Necromancer", "Ghost" };
private final String[] POISON_MONSTER = { "Dungeon spider", "Cave crawler", "Night spider" };
private final String[] METAL_TIERS = { "Novite", "Bathus", "Marmaros", "Kratonite", "Fractite", "Zephyrium",
"Argonite", "Katagon", "Gorgonite", "Promethium", "Primal" };
private final String[] LEATHER_TIERS = { "Protoleather", "Subleather", "Paraleather", "Archleather",
"Dromoleather", "Spinoleather", "Gallileather", "Stegoleather", "Megaleather", "Tyrannoleather",
"Sagittarian" };
private final String[] CLOTH_TIERS = { "Salve", "Wildercress", "Blightleaf", "Roseblood", "Bryll", "Duskweed",
"Soulbell", "Ectograss", "Runic", "Spiritbloom", "Celestial" };
private final String[] WOOD_TIERS = { "Tangle", "Seeping", "Blood", "Utuku", "Spinebeam", "Bovistrangler",
"Thigat", "Corpsethorn", "Entgallow", "Grave", "Sagittarian" };
private final String[] MELEE_SLOTS = { "helm", "body", "kiteshield", "plate", "gauntlets", "boots" };
private final String[] RANGE_SLOTS = { "coif", "body", "", "chaps", "vambraces", "boots" };
private final String[] MAGIC_SLOTS = { "hood", "top", "", "bottom", "gloves", "boots" };

private static final String[] FOOD_NAMES = { "Heim crab", "Red-eye", "Dusk eel", "Giant flatfish",
"Short-finned eel", "Web snipper", "Bouldabass", "Salve eel", "Blue crab", "Cave moray" };
private static final SimpleDateFormat LOG_DATE = new SimpleDateFormat("d MMM',' HH:mm:ss");

private final double RANDOMIZED = Random.nextDouble(0.75, 1.25);
private final int BLOOD_NECKLACE = 17291, HEXHUNTER_BOW = 17295, SHADOW_SILK_HOOD = 17279;
private final Point MM_CENTER = new Point(627, 88);
private final String EMPTY_TIMER = "00:00:00";
private final Tile ORIGIN = new Tile(0, 0, 0), DAEMONHEIM = new Tile(3450, 3720, 0);

private static boolean developer, shadowHooded, isCursing, partyFormed;
private static int dungLevel, prayerLevel, slayerLevel;
private static ArrayList<Tile> roomFlags = new ArrayList<Tile>();
private static CopyOnWriteArrayList<LogMsg> logger = new CopyOnWriteArrayList<LogMsg>();
private static Point cp = new Point(0, 0), mp = new Point(0, 0);
private static String username;

private Tile[][] roomNodes;
private Case[] cases;
private final int[] alphaInt = new int[128];
private int[] animBreaker;
private int[] foods = FOOD_ARRAY, goodFoods, topFoods, improvements;
private final int[] equipmentTiers = { 0, 0, 0, 0, 0, 0 }, initialEquipmentTiers = { 0, 0, 0, 0, 0, 0 },
tempTiers = { 0, 0, 0, 0, 0, 0 };
private String[] armorTiers = METAL_TIERS, weaponTiers = METAL_TIERS, slotNames = MELEE_SLOTS;

private ArrayList<String> partyMembers = new ArrayList<String>();
private boolean cooperativeParty, partyMode, isLeader = true, showPartySettings, afking;
private final int designedFor = 1;
private int partyIndex;
private int partySize = 1;
private String partyLeader;
private Timer reqTimer;

private final ArrayList<Integer> bounds = new ArrayList<Integer>(), sales = new ArrayList<Integer>(),
saves = new ArrayList<Integer>(), keyStore = new ArrayList<Integer>();
private ArrayList<Door> bossPath = new ArrayList<Door>(), deathPath = new ArrayList<Door>();
private final ArrayList<Door> goodPath = new ArrayList<Door>();
private final ArrayList<Room> rooms = new ArrayList<Room>();
private final ArrayList<Tile> badTiles = new ArrayList<Tile>(), perm = new ArrayList<Tile>();
private ArrayList<Tile> puzzlePoints = new ArrayList<Tile>();

private Image HEADER, BACKGROUND, MOUSE;
private Image STATISTICS, OPTIONS, STATISTICS_H, OPTIONS_H, TAB_SELECTED, TEXT_STATISTICS, TEXT_OPTIONS,
TEXT_BINDS;
private Image STOP, STOP_S, INFO, INFO_S, HELP, HELP_S, HIDE, HIDE_H, LOGO;
private Image SIDEBAR, SIDEBAR_SELECT, CHECKBOX, CHECKBOX_A, CHECKBOX_H;
private Image UPARROW, UPARROW_S, DOWNARROW, DOWNARROW_S, MINIS, MINIS_S;
private Image MAP_TAB, BUTTON, BUTTON_A;

private boolean stopAtNext, stopScript, memberWorld = true, newDungeon = true, inDungeon, levelRequirement = true,
welcomeBack;
private boolean isDead, unreachable, outOfAmmo, lockDown, skipRoom, isRushing, skipDoorFound, hideSecondary, relog;
private boolean explore, open, bossFight, bossFinished, retrace, finish, exit;
private boolean settingsFinished, forcePrestige, aborted, twoHanded, cookReady, spawnRoom;
private boolean puzzleSolved, puzzleRepeat, roomSwitch, disableBossPath, getFeathers, scoreSubmitted;
private double tpf;
private int attackMode = -1, backupMode = -1, defaultMode = -1;
private final int defenseMode = 3;
private int weaponTier = 11;
private int attackTier;
private int defenseTier;
private int combatLevel = 60, newWeapon, startArmor, armorSlot = -1, currentWep = -1, primaryWep = -1,
secondaryWep = -1, arrows = -1, blastBox = -1;
private int abortedCount, controlledAborts, dungeonCount, prestigeCount, puzzleCount, restartCount;
private int roomNumber, complexity = 6, rushTo = 18, aComplexity = 6, rComplexity = 1, fNumber, maxFloor = -1,
trueMax = -1, dungStartLevel, totalLevelsGained;
private int dungStart, dungGain, strStart, strGain, attStart, attGain, defStart, defGain, rngStart, rngGain,
mgcStart, mgcGain, hitStart, hitGain, prayStart, prayGain, summStart, summGain;
private int runeStart, runeGain, mineStart, mineGain, fireStart, fireGain, woodStart, woodGain, smthStart,
smthGain, crftStart, crftGain, agilStart, agilGain, thevStart, thevGain, herbStart, herbGain, cnstStart,
cnstGain, cookStart, cookGain, fishStart, fishGain, slayStart, slayGain;
private int tokens, deaths, bossStage, bossId, cProg = -1, ceph, deph, seph, bossHp = 100, levelGoal;
private final int defaultPitch = (int) (RANDOMIZED * 60);
private int userRank;
private int uncaughtLoops;
private int currLoops;
private int startHp = -1;
private long fastestMillis = Integer.MAX_VALUE, slowestMillis = 0;

private Case rotation = null;
private Combat tempMode = Melee.NONE;
private Door nearDoor, bossDoor, oldDoor;
private Dungeoneering combatSpell;
private Food fish;
private Floor floor = Floor.ALL;
private GroundItem nearItem;
private Logs logs;
private NPC nearMonster;
private static Room targetRoom;
private Room newRoom, currentRoom, startRoom, groupRoom, bossRoom, gateRoom;
private Size floorSize = Size.SMALL;
private String dir, settingsFile, extrasFile, partyFile, powerName, messageBreaker;
private String controlStatus, secondaryStatus = "", status = "Welcome to iDungeon Pro " + VERSION + "!",
settingStatus = "Hover over an option to find out more", warnStatus;
private String fastestTime = EMPTY_TIMER, slowestTime = EMPTY_TIMER;
private String armorType, bossName, failReason = "", lastMessage = "", strongestMonster, weaponType = "Unknown";
private Style combatStyle = Style.MELEE, primaryStyle = Style.MELEE, protection, ringStyle;
private Tile safeTile;
private Timer bossTimer, breakTimer, doorTimer, dungTimer, failTimer = new Timer(Random.nextInt(360000, 480000)),
generateTimer, idleTimer = new Timer(0), prayTimer, puzzleTimer, runTimer = new Timer(0);
private Timer cameraTimer = new Timer(0), foodTimer, itemTimer = new Timer(1), fightTimer = new Timer(1),
leaveTimer;

The Killer

2012-12-22 16:58:29

From: rjj95
Will be hard simply because it was written by somebody else and you will have to remember their variable names and all that. like 300-400 lines of it is declaring Items and variables lol.


Never underestimate the powers of nkn!:stirthepot:
lol jks, what powers? :P:sasmokin:

Benny

2012-12-22 17:01:43

From: NKN
Might put my Powerbot Script Writer status to the test and fix 'er up for us.


Would be a hefty goal sir!

Impressive though just the complexity of the script.

DeiJaiVui

2012-12-22 17:05:52

Oh my god look at the variables lol!

NKN

2012-12-22 17:12:28

Variables r easy.

Click space, brings up a list that apply to that command.

Rezozo

2012-12-22 17:43:26

From: -Benny
Would be a hefty goal sir!

Impressive though just the complexity of the script.


True, except this is not the complete code to my going-over-ness…of it. :p

I have a couple copies of the older versions. Maybe Ill check this again later to see if it matches them 'character for character'.
~Rez

weequ

2012-12-22 18:07:12

I'd be careful with this. Who knows if it contains a password stealer.

Justin

2012-12-22 18:28:17

Wow, So many lines!

Cake_

2013-01-15 06:20:06

From: rjj95
Hehe, 16,583 lines of code, I would HATE to edit this.

link(file is to large to upload to forums lol):https://gist.github.com/4240147

P.S the kid that uploaded thought it would be 'cool' to edit class names. This was not uploaded by me.


Sorry for the bump, but just wanted to reply to this.

Yes, it was a hell to update and fix it.

No shit, it's over 16k lines.

It's actually because the script is shit, therefor I renamed it to shitDungeon, and it's not just a edit in the class name, it's in the images etc and I'm 20 years old.

slushpuppy

2013-01-15 06:23:39

Classic, using procedural flow for an OOP language. Why not use any of the advance features that java provides??

If anyone is impressed- don't be.

From: idodew
if it's legit i would hate to be kiko right now…


I am not sure about he current source, but i believe this is the monster he used for rsbuddy. I remember some admins talking about how big his script is.. and in 1 file.

Cake_

2013-01-15 07:17:14

From: slushpuppy
Classic, using procedural flow for an OOP language. Why not use any of the advance features that java provides??

If anyone is impressed- don't be.



I am not sure about he current source, but i believe this is the monster he used for rsbuddy. I remember some admins talking about how big his script is.. and in 1 file.


Because kiko is actually shit, he doesn't know how to make it smaller and I didn't have time to do it thanks to exams.