SRLTSX - Legacy of a Thousand Suns Extention

By SReject Last update Nov 29, 2012 — Installed 27,050 times.

Script Summary: An extension for Kongregate's Legacy of a thousand Suns.



Version: 0.0.1

Thumb

This is an ALPHA release(meaning the script isn't complete).

Exacting Version: 0.0.1(0.0.s)




This concept was originally doomcats. Reguardless of preferance, you should thank him for giving me the original idea, and working with me to develop my own version



About

What it Does:
This script makes interactions between Kong and Legacy of a Thousand Suns easier in a number of ways.
1: It customizes the way raid links are displayed so instead of getting the LOTS image and name you get information about the raid such as raid name, difficulty, fair share, optimal share and more!
2: Allows for certain raids to be hidden, such as those seen before, those you have already clicked on, or all raids.
3: Adds a tab to kongregate's chat to make toggling options easier and to view the raids you have seen posted in chat.
4: Adds a few commands to the chat input box to make things a little easier. These commands include, /clear, /toggle, /raid, and many more :D

What's On This Page:
Donations: Information on how to contribute financially to this script.
Installation: Information on how to install the script.
Trouble Shooting: Information about how to fix the script not working for you
Chat Commands: These are commands that can be used in chat
My To Do List: A this of things I want to do/add to the script
Updates: A list of Updates and bug fixes for the current version of the script
Contact Me: A list of ways to contact me for whatever reasons


Donations

I do this for fun at no charge, but if you wish to contribute to keep the project alive CLICK HERE
This is NOT an agreement or contract that entitles you to anything from me, or the continuation of this script.

Contributers:
Gruntar
Selenica
Kudon
IronLionz
InfamouzNoSkill
beefy3
PwnageDan
spartarising
Anonymous(x4)


Installation

If you have installed my other version, or a version of doomcats, you will need to remove it BEFORE installing this

Google Chrome:
1. Open chrome://chrome/extensions in a new tab
2. Right click the green button that says "Install" at the top right of the screen
3. Click "Save As" or similar, select a directory and name the file "srltsx.user.js"
4. Click "Save" or "Ok"
5. Navigate to where the file was saved
6. Drag it onto the extension tab we opened first off.
7. Click "Ok" when the confirmation box appears
8. Refresh your LoaTS tab

Firefox:
You need Grease Monkey for Firefox before installing this script.
Click the green button that says "Install" at the top right of your screen then refresh the LoaTS Page

Opera:
If you haven't done so, you will need to setup a userscript directory in Opera before you can install this script:
        Mac Users: Click O Menu > Preferences > Advanced > Content > JavaScript Options
        Windows & *nix: Click O Menu > Settings > Preferences > Advanced > Content > JavaScript options
        Select the directory where you will put your User JavaScript files.

Right Click the green button that says "Install" at the top right of this page
Click "Save Target As" and save the file as SRLTSX.user.js in your user script directory
Reload Opera

Other Browsers:
I haven't had a chance to test with other browsers, once I do I will put up instructions of how to install this script :)


Trouble Shooting

Chrome::
In the addressbar, enter: chrome://settings/extensions
Click the checkbox in the top right corner labeled "Developer mode"
Click the triangle to the left of "SRLTSX 0.0.1"
Copy the text after "ID:" and store it somewhere for later referance
Click the "Remove" button for "SRLTSX 0.0.1"
Close Chrome
Open up "My Computer"
In the addressbar enter:
%userprofile%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\
Locate the folder with a name matching the the ID you copied from the Extensions tab and delete it
Restart Chrome
Reinstall this script

Firefox:
Click the monkey head in the top right of firefox
Click "Manage User Scripts"
Click "remove" beside "SRLTSX 0.0.1"
Restart Firefox
Install this script
Restart Firefox


Chat Commands

Command: /clear
Clears the currently active chat window
Example: /clear

Command: /version
Displays current script version information
Example: /version

Command: /update
Download and Installs latest version of script
Example: /update

Command: /reload
Reloads the game without refreshing the page
Example: /reload

Command: /tabdis
Tells you your current display settings for the LOTS tab
Example: /tabdis

Command: /tabdis hide|show
Toggles your current display settings for the LOTS tab
Example: /tabdis hide

Command: /lr [raidurl]
Command: /loadraid [raidurl]
Loads the specified raid url without refreshing the page
Example: /lr http://www.kongregate.com/games/5thPlanetGames/...

Command: /toggle
Displays if seen and visited raids are shown/hidden
Example: /toggle

Command: /toggle [seen|visited]
Displays if seen/visited raids are shown/hidden
Example: /toggle seen

Command: /toggle [seen|visited] [show|hide]
Sets seen/visited raids to shown or hidden
Example: /toggle seen show

Command: /raid [raidname]
Displays information about the specified raid
[raidname] can be a partial name of a raid. Information will be displayed for each matching raid
Example: /raid tele

Command: /raid [raidname] [difficulty]
Displays information about the specified raid at the specified difficulty
[raidname] can be a partial name of a raid. Information will be displayed for each matching raid
[difficulty] is a number between 1 and 4, where 1 is normal, 2 is hard, 3 is legendary and 4 is nightmare
Example: /raid tele 4

Command: /raidformat [on|off]
Toggles raid link formatting on or off
Example: /raidformat on

Command: /raidformat [format]
Changes your current raid format to the one you specify
Example: /raidformat <visited:(v) ><name> - <diff> <fs>/<os>

Tag nameDescription
<seen:text>
If a raid has been seen before, "text" will be displayed
<visited:text>
If a raid has been visited before, "text" will be displayed
<image>
Displays the Legacy of a Thousand Suns' icon
<name>
Display's the raid boss's name
<diff>
Displays the raid's difficulty in short format("N" for normal, "H" for hard, and so on)
<diff:num>
Displays the raid's difficulty in number format("1" for normal, "2" for hard, and so on)
<diff:long>
Displays the raid's difficulty in long format("Normal" for normal, "Hard" for hard, and so on)
<size>
Displays the maximum amount of players that can hit the raid
<dur>
Displays the maximum duration the raid will last(ie: 72hrs)
<dur:num>
Displays the maximum duration but without "hrs" appended to it
<stat>
Displays what stats can be used to hit the raid in short format("S" for stamina, "H" for Honor, "E" for Energy)
<stat>
Displays what stats can be used to hit the raid in long format("Stamina", "Honor", "Energy")
<health>
Displays the maximum health for the raid
<health:num>
Displays the maximum health for a raid as a number
<fs>
Displays fair share for the raid
<fs:Num>
Displays fair share for the raid as a number
<os>
Displays optimal share for the raid
<os:Num>
Displays optimal share for the raid as a number
<bossId>
Displays the bossId taken from kv_raid_boss=... in the raid link
<raidId>
Displays the raid link's unique Id.
<hash>
Displays the raid link's hash code.


My To do list includes but isn't limited to

Chat Additions:
User specified raid backgrounds(not sure how I want to do this)
Customizable Hot keys to auto-add chat commands to input box
/help command for everything here
/raid <url>

Options Tab:
Import/Export Settings Button
Split long messages
Fix chat scrollbar bug

Raids Tab:
Sort Options
Search Options
Import/Export Buttons
Clear Raids Button
Raid count
collapse raid info when link is clicked

Help Tab:
Everything....

Misc:
Test/bug fix for Opera and Safari
Update Checker/Installer
Setup a database inwhich the script will post remote public raids to


Bug Fixes/Updates

September 18, 2012 0.0.1(0.0.q)-0.0.1(0.0.s)
Fixed LOTS Tab issue caused by change in kong's CSS
Added G. Rahn Raid
Added Gut Phager Raid
Minor changes to speed a few things up
Can now toggle the LOTS tab display to show or hide it Reguards skullcrusher202

July 26, 2012 0.0.1(0.0.m)-0.0.1(0.0.p)
Fixed Broken link fixer not formatting fixed links correctly
Fixed race condition where at times elements where being added to a non-present GUI element
Right clicking a raid now marks the raid as visited
Fixed Issue where when "hide visited raids" was enable, certain non-visited raids were being hidden
Fix LOTS sub-tabs 'sticking' so once you changed from a sub-tab you couldn't return to it.
Replaced "Help" sub-tab with "About" sub-tab.
Reworked broken link detector/fixer to work with kong's update

July 25, 2012 0.0.1(0.0.l):
Reworked health/fs/os System to fix raids not following the general pattern
Added raid data for Celeb, and Temple
Corrected Raid data for pox, wahsh
Switched Raids and Options Sub-tab
Raids tab is now the default Sub-tab


License

"SReject's Legacy of a Thousand Suns script for Kongregate" (henceforth known as "SRLTSX") is free to download and use unlimited times on unlimited devices. You're allowed to modify the script for personal use, but you need written permission from SReject to distribute those modifications. If you plan to distribute SRLTSX in whole or in part, modified or not, as part of an application other than in userscript form, some fees may apply. Contact SReject for pricing.


Warrenty

This userscript comes with no assurance or guarantee of functionality, suitability, or other promise of working as you intend. SRLTSX is provided as-is.


Contact Information

On kong I am: SReject
You can e-mail at: froggiedafrog@aim.com