Progressive Stealing (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{RTOC}}
while the engine may be complete, we still need to find out what items people should steal from each shop at different skill ranks. So if you play around with the script and set your own items that work well for you, let us know! I hope in time, and with all of your input, we can have it progress up to very high levels. As of right now, we do not support traveling to different provinces, but after I finish rossman's, theren, and lang, I will be linking them all to river haven, crossing, and leth. For those of you with high survivals, and who need a large run. Enjoy!
This script is nearly 14,000 lines long and Elanthipedia doesn't seem very happy about allowing that to be pasted here, so instead a link below to the copy at the [http://scripts.whistlethis.com/index.php DragonRealms Script Repository] is provided. As of right now, we do not support traveling to different provinces, but after we finish Therengia we may try linking that with Zoluren and Ilithi for those of you with high survivals, and who need a large run.


As of December 30, 2009, we are still actively building and improving this script, so please report bugs to [mailto:Challeirra@gmail.com Challeirra] and [mailto:KalicMasiacl@yahoo.com Kalic]. Feedback is highly appreciated, especially regarding success levels and instances where you may be getting caught (so we should adjust the default items). Suggestions and requests for additional features will be given due consideration because we want the user experience to be as good as possible.
http://cid-37bd3177941fb765.skydrive.live.com/browse.aspx/Stealing%20Script


[http://scripts.whistlethis.com/script.php?n=299 Progressive Stealing Script]


==Introduction for New Users==
<pre>
List of functions:


This script can be started in many, many locations in major cities and a few clans and villages. It will check your skill level, ensure that you are ready to make a run (not wearing armor or holding anything), and take you on a stealing loop throughout your province, stopping at each location to hide, sneak in, and steal an appropriate item, with a number of attempts based on several different factors. You can choose whether to simply drop items, or stow them for the script to pawn and/or bin. When it gets back to where it started, or when your experience is mind locked, the script will take you to the pawn shop to get rid of your goods and, if you are a thief, take the ones that can't be sold and drop them in the thief bin. Thieves will also make use of various special abilities including Khris, tunnels, and SLIP SNEAK if applicable.
INTELLIGENT DESIGN
- Progressive items and quantities automatically set based on your skill level (this is where we need more data)
- Usable by any class, but thieves will utilize class features including all applicable Khris, slip sneak, and tunnels (non-thieves won't bother attempting these)
- Checks for armor before starting and ensures your bags don't contain any items that you will later be pawning
- Each province loops, so you can start anywhere in the province, but will stop and go to pawn when you arrive back at your starting location
- Intelligent Pawning/binning system for stolen goods, with thieves binning anything that won't pawn
- Exp check at each shop to pawn/bin early if mind locked
- Skips any shops where you have nothing set to steal
- Automatically displays HELP pages on first run only


This script is highly reactive to many situations you will encounter while stealing. It uses an advanced method of travel which does not get caught up by failure to move due to RT. It can notice if you have been arrested and end up in jail, or have your hand cut off due to getting caught in a clan, and recover from both of these situations. If arrested, it pleads for you, pays your debt and collects your items if necessary, ensures that you have everything from your sack, and starts up again at the next shop that was on your route. If your hand is chopped off, it will take you to the nearest auto-empath and get healed -- unless you're an empath, in which case you'll go to a good mana spot and heal yourself up -- before resuming at the next shop on your route. If you get engaged in combat for some reason, it will continue to retreat until you successfully move away from the threat, and continue on its way. If you encounter stealable NPCs along your route, you will automatically stop to steal from them before continuing on.
CUSTOMIZABLE
- Preset but easily adjustable items to be stolen
- Toggles to adjust item difficulty (EASY, HARD) and quantity of items stolen (LESS, MORE)
- Toggle to include MARK, PERC HEALTH, or POWER at each shop
- Toggle to choose whether to include clans in stealing route
- Toggle whether stun (if not due to clan justice) and/or death will instantly log you out
- Additional toggles can be added on request


Furthermore, there are many ways to customize your scripting experience. Several toggles are included at the top of the script, which allow you to choose whether to include clans on your route, whether to have the script automatically log out upon death or any stun that isn't clan justice, and whether to MARK or do POWER perception or PERCeive health (or none of the above) at each shop. In addition, you can start the script using the modifiers EASY, HARD, LESS, or MORE to adjust your the items or quantities you steal across the board. You can use up to two of these modifiers (including doubling them up if you choose). Usage for this is
REACTIVE
.(scriptname) <toggle>
- Knows whether you act or move as expected, and retries if you get stuck due to roundtime or type ahead lines
- Reacts to arrest, death, and being stunned at any time
- If arrested, pleads, pays debt and gets sack if necessary, retrieves items from sack, and picks up where it left off as if nothing happened
- If caught by clan justice (when they chase you down and cut off your hand), automatically heals up (if empath) or goes to the auto-empath for healing, then resumes where it left off
- Retreats if engaged anywhere and immediately runs to the next shop
- Automatically steals from mobile NPCS you encounter while traveling between shops
- Skips any shops that are closed for the night


Some help pages will be shown the first time you run the script. View these again with .(scriptname) HELP. Also you can start the script in any location and if it is not a valid starting location, you will be given a list of your options.
START LOCATIONS

- Crossing inside any shop, inside gates, or outside bank (16 shops)
==List of functions==
- Arthe Dale inside any shop or inside gate (5 shops)

- Tiger Clan inside any shop or inside gate (3 shops)
===Intelligent Design===
- Leth Deriel inside any shop, inside gates, or town center (10 shops)
* Progressive items and quantities automatically set based on your skill level (this is where we need more data)
* Usable by any class, but thieves will utilize class features including all applicable Khris, slip sneak, and tunnels (non-thieves won't bother attempting these)
* Checks for armor before starting and ensures your bags don't contain any items that you will later be pawning
* Each province loops, so you can start anywhere in the province, but will stop and go to pawn when you arrive back at your starting location
* Intelligent Pawning/binning system for stolen goods, with thieves binning anything that won't pawn
* Exp check at each shop to pawn/bin early if mind locked
* Skips any shops where you have nothing set to steal
* Automatically displays HELP pages on first run only

===Customizable===
* Preset but easily adjustable items to be stolen
* Toggles to adjust item difficulty (EASY, HARD) and quantity of items stolen (LESS, MORE)
* Toggle to include MARK, PERC HEALTH, or POWER at each shop
* Toggle to choose whether to include clans in stealing route
* Toggle whether stun (if not due to clan justice) and/or death will instantly log you out
* Additional toggles can be added on request

===Reactive===
* Knows whether you act or move as expected, and retries if you get stuck due to roundtime or type ahead lines
* Reacts to arrest, death, and being stunned at any time
* If arrested, pleads, pays debt and gets sack if necessary, retrieves items from sack, and picks up where it left off as if nothing happened
* If caught by clan justice (when they chase you down and cut off your hand), automatically heals up (if empath) or goes to the auto-empath for healing, then resumes where it left off
* Retreats if engaged anywhere and immediately runs to the next shop
* Automatically steals from mobile NPCS you encounter while traveling between shops
* Skips any shops that are closed for the night

===Start Locations===
* Crossing inside any shop, inside gates, or outside bank (16 shops)
* Arthe Dale inside any shop or inside gate (5 shops)
* Tiger Clan inside any shop or inside gate (3 shops)
* Leth Deriel inside any shop, inside gates, or town center (10 shops)
.....(total of 34 shops per Zoluren run if you have thief tunnels)
.....(total of 34 shops per Zoluren run if you have thief tunnels)
- Shard inside any shop, bank, or inside gates; includes Marachek's Oak and others nearby (25 shops)
* Shard inside any shop, bank, or inside gates; includes Marachek's Oak and others nearby (25 shops)
- Horse Clan inside any shop tent (except potter) or inside path (6 shops)
* Horse Clan inside any shop tent (except potter) or inside path (6 shops)
- SCC inside weapon or leather shop or inside gate (2 shops)
* SCC inside weapon or leather shop or inside gate (2 shops)
.....(total of 33 shops per Ilithi run)
.....(total of 33 shops per Ilithi run)
- Ratha inside any shop, lower bank, or outside sewers (14 shops)
* Ratha inside any shop, lower bank, or outside sewers (14 shops)
- Determines your province and lists all available start locations for it if you start anywhere that isn't one </pre>
* Determines your province and lists all available start locations for it if you start anywhere that isn't one </pre>

==How to Edit the Items You Steal==

Find the item sections like the one below. The first three letters (ZOL) are the province code. RANKADJ will be followed by various numbers depending on the skill level, but you can read the skill level in the first variable below it, so find the one that corresponds to your ranks. Each item is set in a variable based on the storecode, for example ADbard is the Arthe Dale bard shop, Ctann is the Crossing tannery, Cbath is the Crossing bathhouse, and so on. If applicable, the shop will have a spot for the location you need to steal the item FROM, such as in the bathhouse, where the towel is on a stand. Finally, the quantity of each item you steal is set here as well.

<pre>
ZOL.RANKADJ6:
setVariable skillrange 200-249
setvariable ADbard itharr's
setvariable ADbardQuant 2
setvariable ADodd earring
setvariable ADoddQuant 2
setvariable ADthread pattern
setvariable ADthreadQuant 2
setvariable ADfash trousers
setvariable ADfashQuant 2
setvariable ADweap <nothing>
setvariable ADweapQuant 0
setvariable Ctann shears
setvariable CtannQuant 2
setvariable Cstit blouse
setvariable CstitQuant 2
setvariable Cbath towel
setvariable CbathItemLoc on stand
setvariable CbathQuant 2
</pre>

Note 1: You will bypass a shop which has <nothing> set as the item. An empty variable or incorrect item will NOT skip it; you will end up sneaking in and trying to steal, and then leave when it fails to find an item. Also if you set it to <nothing>, the quantity for that shop is then irrelevant.

==Common Script Bugs==

Be aware that if the script does not move on from its loop immediately after one circuit, then it means we've lost the start location variable for some reason, and letting it continue to run is probably not going to resolve this or ever stop the loop (important for thieves because you're going to get caught if this happens). This can also occur if the match text we have used for the shop changes from day to night and we didn't know and aren't using a match that works for both.

If for some reason you seem to be just running by all the shops without actually going in to try to steal anything (and it's not due to having all the items for your skill bracket as yet unset), then we've probably forgotten an instance where we need to deactivate the MOVEON feature that happens when you are mind locked, have your hand chopped off, or reach the shop you started at.

Revision as of 11:47, 30 December 2009

This script is nearly 14,000 lines long and Elanthipedia doesn't seem very happy about allowing that to be pasted here, so instead a link below to the copy at the DragonRealms Script Repository is provided. As of right now, we do not support traveling to different provinces, but after we finish Therengia we may try linking that with Zoluren and Ilithi for those of you with high survivals, and who need a large run.

As of December 30, 2009, we are still actively building and improving this script, so please report bugs to Challeirra and Kalic. Feedback is highly appreciated, especially regarding success levels and instances where you may be getting caught (so we should adjust the default items). Suggestions and requests for additional features will be given due consideration because we want the user experience to be as good as possible.

Progressive Stealing Script

Introduction for New Users

This script can be started in many, many locations in major cities and a few clans and villages. It will check your skill level, ensure that you are ready to make a run (not wearing armor or holding anything), and take you on a stealing loop throughout your province, stopping at each location to hide, sneak in, and steal an appropriate item, with a number of attempts based on several different factors. You can choose whether to simply drop items, or stow them for the script to pawn and/or bin. When it gets back to where it started, or when your experience is mind locked, the script will take you to the pawn shop to get rid of your goods and, if you are a thief, take the ones that can't be sold and drop them in the thief bin. Thieves will also make use of various special abilities including Khris, tunnels, and SLIP SNEAK if applicable.

This script is highly reactive to many situations you will encounter while stealing. It uses an advanced method of travel which does not get caught up by failure to move due to RT. It can notice if you have been arrested and end up in jail, or have your hand cut off due to getting caught in a clan, and recover from both of these situations. If arrested, it pleads for you, pays your debt and collects your items if necessary, ensures that you have everything from your sack, and starts up again at the next shop that was on your route. If your hand is chopped off, it will take you to the nearest auto-empath and get healed -- unless you're an empath, in which case you'll go to a good mana spot and heal yourself up -- before resuming at the next shop on your route. If you get engaged in combat for some reason, it will continue to retreat until you successfully move away from the threat, and continue on its way. If you encounter stealable NPCs along your route, you will automatically stop to steal from them before continuing on.

Furthermore, there are many ways to customize your scripting experience. Several toggles are included at the top of the script, which allow you to choose whether to include clans on your route, whether to have the script automatically log out upon death or any stun that isn't clan justice, and whether to MARK or do POWER perception or PERCeive health (or none of the above) at each shop. In addition, you can start the script using the modifiers EASY, HARD, LESS, or MORE to adjust your the items or quantities you steal across the board. You can use up to two of these modifiers (including doubling them up if you choose). Usage for this is .(scriptname) <toggle>

Some help pages will be shown the first time you run the script. View these again with .(scriptname) HELP. Also you can start the script in any location and if it is not a valid starting location, you will be given a list of your options.

List of functions

Intelligent Design

  • Progressive items and quantities automatically set based on your skill level (this is where we need more data)
  • Usable by any class, but thieves will utilize class features including all applicable Khris, slip sneak, and tunnels (non-thieves won't bother attempting these)
  • Checks for armor before starting and ensures your bags don't contain any items that you will later be pawning
  • Each province loops, so you can start anywhere in the province, but will stop and go to pawn when you arrive back at your starting location
  • Intelligent Pawning/binning system for stolen goods, with thieves binning anything that won't pawn
  • Exp check at each shop to pawn/bin early if mind locked
  • Skips any shops where you have nothing set to steal
  • Automatically displays HELP pages on first run only

Customizable

  • Preset but easily adjustable items to be stolen
  • Toggles to adjust item difficulty (EASY, HARD) and quantity of items stolen (LESS, MORE)
  • Toggle to include MARK, PERC HEALTH, or POWER at each shop
  • Toggle to choose whether to include clans in stealing route
  • Toggle whether stun (if not due to clan justice) and/or death will instantly log you out
  • Additional toggles can be added on request

Reactive

  • Knows whether you act or move as expected, and retries if you get stuck due to roundtime or type ahead lines
  • Reacts to arrest, death, and being stunned at any time
  • If arrested, pleads, pays debt and gets sack if necessary, retrieves items from sack, and picks up where it left off as if nothing happened
  • If caught by clan justice (when they chase you down and cut off your hand), automatically heals up (if empath) or goes to the auto-empath for healing, then resumes where it left off
  • Retreats if engaged anywhere and immediately runs to the next shop
  • Automatically steals from mobile NPCS you encounter while traveling between shops
  • Skips any shops that are closed for the night

Start Locations

  • Crossing inside any shop, inside gates, or outside bank (16 shops)
  • Arthe Dale inside any shop or inside gate (5 shops)
  • Tiger Clan inside any shop or inside gate (3 shops)
  • Leth Deriel inside any shop, inside gates, or town center (10 shops)

.....(total of 34 shops per Zoluren run if you have thief tunnels)

  • Shard inside any shop, bank, or inside gates; includes Marachek's Oak and others nearby (25 shops)
  • Horse Clan inside any shop tent (except potter) or inside path (6 shops)
  • SCC inside weapon or leather shop or inside gate (2 shops)

.....(total of 33 shops per Ilithi run)

  • Ratha inside any shop, lower bank, or outside sewers (14 shops)
  • Determines your province and lists all available start locations for it if you start anywhere that isn't one

How to Edit the Items You Steal

Find the item sections like the one below. The first three letters (ZOL) are the province code. RANKADJ will be followed by various numbers depending on the skill level, but you can read the skill level in the first variable below it, so find the one that corresponds to your ranks. Each item is set in a variable based on the storecode, for example ADbard is the Arthe Dale bard shop, Ctann is the Crossing tannery, Cbath is the Crossing bathhouse, and so on. If applicable, the shop will have a spot for the location you need to steal the item FROM, such as in the bathhouse, where the towel is on a stand. Finally, the quantity of each item you steal is set here as well.

    ZOL.RANKADJ6:
        setVariable skillrange 200-249
        setvariable ADbard itharr's
        setvariable ADbardQuant 2
        setvariable ADodd earring
        setvariable ADoddQuant 2
        setvariable ADthread pattern
        setvariable ADthreadQuant 2
        setvariable ADfash trousers
        setvariable ADfashQuant 2
        setvariable ADweap <nothing>
        setvariable ADweapQuant 0
        setvariable Ctann shears
        setvariable CtannQuant 2
        setvariable Cstit blouse
        setvariable CstitQuant 2
        setvariable Cbath towel
        setvariable CbathItemLoc on stand
        setvariable CbathQuant 2

Note 1: You will bypass a shop which has <nothing> set as the item. An empty variable or incorrect item will NOT skip it; you will end up sneaking in and trying to steal, and then leave when it fails to find an item. Also if you set it to <nothing>, the quantity for that shop is then irrelevant.

Common Script Bugs

Be aware that if the script does not move on from its loop immediately after one circuit, then it means we've lost the start location variable for some reason, and letting it continue to run is probably not going to resolve this or ever stop the loop (important for thieves because you're going to get caught if this happens). This can also occur if the match text we have used for the shop changes from day to night and we didn't know and aren't using a match that works for both.

If for some reason you seem to be just running by all the shops without actually going in to try to steal anything (and it's not due to having all the items for your skill bracket as yet unset), then we've probably forgotten an instance where we need to deactivate the MOVEON feature that happens when you are mind locked, have your hand chopped off, or reach the shop you started at.