Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsetalias 'packie'
- unsetalias 'shoprunes'
- unsetalias 'destination'
- unsetalias 'homebook'
- clearlist 'vendors'
- clearlist 'wares'
- clearlist 'shop'
- //////////////////
- // - Features - //
- //////////////////
- //1. Will autorecall and loop entire book desired amount of times.
- //2. Uses Vendoragent to purchase.
- //3. Loads any dropped regs/bottles/scrolls/arrows or bolts into beetle.
- //4. Overloads to beetle if character overweight.
- //5. Autorecalls to dropoff between each shop for offloading.
- //6. Pretty fast
- //7. Uses magery ONLY
- //////////////////////
- // - Instructions - //
- //////////////////////
- //1. Set up runebook for shops, script supports fletcher and mageshops atm.
- //2. Have a rune or runebook for home and a container in reach of it's destination.
- //3. Use a beetle, preferably bonded.
- //4. Shops in citys shown in the list "vendors" are supported currently.
- // Both trammel and fel! (Totals 15 runes in both mageshopbook and fletcherbook!)
- // Mark one rune per shop! Do not mix fletcher and mageshop!
- //5. Input serials to the aliases in setupsection below.
- //6. Don't put script in loop. Use repeat config below! (Line)
- //7. Start the script unmounted with beetle guarding at your offload destination!
- //8. Don't gather/purchase resources AFK.
- //9. Timings/Pauses in script are adapted to a char with FC/FCR 3/4.
- ////////////////////////////////////////////\
- /// -Manual Setup! -//////////////////////////\
- /// -Put in the correct serials! -/////////////\
- ////////////////////////////////////////////////\
- ////Beetle ID Below////
- setalias 'packie' 0x13c84f
- //
- ////Runebook for shops below////
- //// Shops that are supported by this script found in "vendor"-list below.
- //// Fel and trammel used, should total 15 runes for mageshops and 15 for fletchers.
- /////////////
- //Mageshops//
- setalias 'shoprunes' 0x412b3ca0
- //Fletchers//
- //setalias 'shoprunes' 0x45988b4b
- //
- ////Chest for offload in reach of homerune below////
- setalias 'destination' 0x43c67f4c
- //
- ////Runebook/rune for home below
- setalias 'homebook' 0x4359eb7f
- ///////////////////////////////////////
- /// -What items are we buying today?
- /// - Please consider the weight if buying regs + bottles + scrolls at same time..
- // buy + name of vendoragent below pleeeease!
- //buy 'Arrows'
- buy 'Regs'
- //buy 'Bottles'
- //buy 'Scrolls'
- //////////////////////////////////////
- // - How many times do you want to run the script? - ///
- for 4
- /////////////////////////////////////////////////
- /// - End of config! - /////////////////////////
- ///////////////////////////////////////////////
- /////////////////////////////////////////////
- ///////////////////////////////////////////
- /// (Runebook buttonnumbers)
- createlist 'shop'
- pushlist 'shop' 5
- pushlist 'shop' 11
- pushlist 'shop' 17
- pushlist 'shop' 23
- pushlist 'shop' 29
- pushlist 'shop' 35
- pushlist 'shop' 41
- pushlist 'shop' 47
- pushlist 'shop' 53
- pushlist 'shop' 59
- pushlist 'shop' 65
- pushlist 'shop' 71
- pushlist 'shop' 77
- pushlist 'shop' 83
- pushlist 'shop' 89
- ///
- createlist 'wares'
- pushlist 'wares' 0x1bfb // Bolts
- pushlist 'wares' 0xf3f // Arrows
- pushlist 'wares' 0xef3 // Blank Scroll
- pushlist 'wares' 0xf0e // Empty Bottle
- pushlist 'wares' 0xf8c // Sulfurous Ash
- pushlist 'wares' 0xf86 // Mandrake Root
- pushlist 'wares' 0xf84 // Garlic
- pushlist 'wares' 0xf8d // Spidersilk
- pushlist 'wares' 0xf88 // Nightshade
- pushlist 'wares' 0xf7b // Bloodmoss
- pushlist 'wares' 0xf85 // Ginseng
- pushlist 'wares' 0xf7a // Blackpearl
- pushlist 'wares' 0xf8a // Pigiron
- pushlist 'wares' 0xf78 // Batwing
- pushlist 'wares' 0xf8e // Nox Crystals
- pushlist 'wares' 0xf8f // Gravedust
- pushlist 'wares' 0xf7d // Daemon Blood
- ///
- createlist 'vendors'
- ///Mages and Alchemists
- //Britain
- pushlist 'vendors' 0x990e4 //Sandor
- pushlist 'vendors' 0x990e5 //Harrison
- pushlist 'vendors' 0x990e7 //Lynelle
- pushlist 'vendors' 0x990e6 //Hesper
- pushlist 'vendors' 0x99275 //Alano Trammel
- pushlist 'vendors' 0x99277 //Ethanethe Trammel
- pushlist 'vendors' 0x99278 //Noella Trammel
- pushlist 'vendors' 0x99276 //Pamela Trammel
- ///Britain East
- pushlist 'vendors' 0x96b33 //Grayson
- pushlist 'vendors' 0x96b34 //Rafferty
- pushlist 'vendors' 0x96b2b //Balia
- pushlist 'vendors' 0x96b2a //Raoul
- pushlist 'vendors' 0x96bab //Rani Trammel
- pushlist 'vendors' 0x96ba8 //Ben Trammel
- pushlist 'vendors' 0x96bac //Upton Trammel
- pushlist 'vendors' 0x96ba7 //Tama Trammel
- ///Moonglow
- pushlist 'vendors' 0x1f47f //Bert
- pushlist 'vendors' 0x1f480 //Jobey
- pushlist 'vendors' 0x1f4bc //Jobihna Trammel
- pushlist 'vendors' 0x1f4be //Bae Trammel
- ///Occlo (New haven, Trammel)
- pushlist 'vendors' 0x99b0a //Lydia
- pushlist 'vendors' 0x99b5a //Aricia
- pushlist 'vendors' 0x99b5b //Kesi
- pushlist 'vendors' 0x99b0b //Armen
- pushlist 'vendors' 0xa3143 //Micael Trammel
- pushlist 'vendors' 0xa3144 //Hope Trammel
- pushlist 'vendors' 0xa3145 //Herman Trammel
- ///Serpents Hold
- pushlist 'vendors' 0xbeecc //Allyn
- pushlist 'vendors' 0x1edf8 //Adam
- pushlist 'vendors' 0x4c7be //Narmada Trammel
- pushlist 'vendors' 0x4c807 //Paco Trammel
- ///Trinsic
- pushlist 'vendors' 0x1fc54 //Gerda
- pushlist 'vendors' 0x98d03 //Daya
- pushlist 'vendors' 0x47c51 //Olayinka Trammel
- pushlist 'vendors' 0x47c49 //Jonah Trammel
- ///Vesper
- pushlist 'vendors' 0x98860 //Audrey
- pushlist 'vendors' 0x1ee66 //Fairfax
- pushlist 'vendors' 0x1ee97 //Claudine
- pushlist 'vendors' 0xbf372 //Crosby
- pushlist 'vendors' 0x9968d //Erasma
- pushlist 'vendors' 0x1ee77 //Freya Trammel
- pushlist 'vendors' 0x988dd //Afton Trammel
- pushlist 'vendors' 0xbfde3 //Adlai Trammel
- pushlist 'vendors' 0x996d0 //Akela Trammel
- pushlist 'vendors' 0x1eeb5 //Bardo(lol) Trammel
- ///Luna
- pushlist 'vendors' 0xb030c //Miakoda
- pushlist 'vendors' 0xb0354 //Lucille
- pushlist 'vendors' 0xb0353 //Amina
- pushlist 'vendors' 0xb0356 //Seung
- pushlist 'vendors' 0xb0309 //Merrik
- pushlist 'vendors' 0xb02d1 //Ravi
- //
- //
- ///Bowyers
- //Britain
- pushlist 'vendors' 0x1c998e //Nailah Trammel
- pushlist 'vendors' 0x1c998f //Yerik Trammel
- pushlist 'vendors' 0x1c9985 //Balin
- pushlist 'vendors' 0x1c9984 //Herbert
- //Nujelm
- pushlist 'vendors' 0x20758 //Paxton Trammel
- pushlist 'vendors' 0x20757 //Miguel Trammel
- pushlist 'vendors' 0x20685 //Treasa
- pushlist 'vendors' 0x20682 //Denton
- //New haven
- pushlist 'vendors' 0xffb9b //Braxton Trammel
- //Serpents Hold
- pushlist 'vendors' 0x4c6dd //Maizah Trammel
- pushlist 'vendors' 0x20333 //Kineta
- //Skara Brae
- pushlist 'vendors' 0x20605 //Canute Trammel
- pushlist 'vendors' 0x20606 //Xaveria Trammel
- pushlist 'vendors' 0x2062d //Tanner
- pushlist 'vendors' 0x2062c //Nyrna
- //Vesper
- pushlist 'vendors' 0xc3eef //Theodore Trammel
- pushlist 'vendors' 0xc3ef2 //Naimah Trammel
- pushlist 'vendors' 0xc3ebf //Lotus (Super Thai kwen deu!)
- pushlist 'vendors' 0xc3ec0 //Averill
- //Yew
- pushlist 'vendors' 0x205a4 //Darien Trammel
- pushlist 'vendors' 0x20545 //Carter Trammel
- pushlist 'vendors' 0x20585 //Brody
- pushlist 'vendors' 0x20519 //Forrest
- ///
- for 0 to shop
- ///
- /////////////////
- //BUYING/////////
- /////////////////
- useobject 'packie'
- pause 2000
- useobject 'shoprunes'
- waitforgump 0x554b87f3 15000
- replygump 0x554b87f3 shop[]
- pause 2000
- for 0 to vendors
- if @inrange 'vendors[]' '10'
- waitforcontext 'vendors[]' 1 1500
- pause 500
- useobject 'self'
- pause 700
- for 0 to wares
- while @findtype 'wares[]' 'any' 'ground' 'any' '2'
- moveitem found 'packie'
- ignoreobject found
- pause 1000
- endwhile
- endfor
- endif
- endfor
- // If overweight, move wares to beetle
- while weight > 400
- clearignorelist
- for 0 to wares
- if @findtype 'wares[]' 'any' 'backpack'
- moveitem found 'packie'
- ignoreobject found
- pause 1000
- endif
- endfor
- endwhile
- // Make sure you are mounted before recalling (Incase unbonded)
- useobject 'packie'
- pause 2000
- /////////////////
- //OFFLOADING/////
- /////////////////
- clearignorelist
- cast 'recall'
- pause 2500
- target! 'homebook'
- pause 2500
- useobject 'self'
- pause 1000
- for 0 to wares
- while @findtype 'wares[]' 'any' 'packie'
- moveitem found 'destination'
- pause 1000
- endwhile
- while @findtype 'wares[]' 'any' 'backpack'
- moveitem found 'destination'
- pause 1000
- endwhile
- endfor
- endfor
- endfor
- clearbuy
- msg ' - Script complete boss! - '
Add Comment
Please, Sign In to add comment