allora in passato ho sempre usato sto script per consegnare bod, bodswap. ora riscaricandolo non mi va, perchè mi sbaglia i tasti, per esempio invece di aprire il backpack del pet preme su release, invece di ritirare il bod clicca su buy.
se qualcuno sa come aggiustarlo o ha una versione funzionante, mi farebbe un gran piacere XD. posto lo script
se qualcuno sa come aggiustarlo o ha una versione funzionante, mi farebbe un gran piacere XD. posto lo script
codice:
; =====================================================================
; Script Name: Penny's Bod Swapper
; Author: Pennylane
; Version: 2.3
; Client Tested With: 5.0.7.1 (patch 38)
; Euo Version Tested With: 1.5 Ver 102
; Shard Osi / Fs: Osi, Fs
; Revision Date: 12/24/06
; Public Release: 10/24/05
; Global Variables Used: N/A
; Purpose:exchanges filled bods for new, moves rewards to pack animal.
; Will detect and save user specified cloth colors while dying the rest.
; Returns smithy prospecting hammers, shovels, and pickaxes to vendor
; (optional) while saving fortification powder, scrolls, anvils & hammers.
; =====================================================================
; --------------------------Version Updates----------------------------
; =====================================================================
; ver. 2.3 Dec. 26 2006
; fixed the weight issue again
; ver. 2.2 Dec. 24 2006
; added check to only dismount if riding a beetle (based on followers = 3)
; ver. 2.1 Dec. 24, 2006
; fixed as small issue with it not finding the tinker kids on RunUO shards
; (thank you BookWibble!)
; added gold to the loot options to be moved to the packy
; fixed a couple of freeshard gump issues
; changed the weight equation to account for elven chars
; fixed a gump offset for making sewing kits
; added aqua cloth to the save list
; fixed the guildmaster smithy bod issue (TY Twi!)
; ver. 2.0 Nov. 23, 2005
; added option to hardcode pack animal, bod books, reward bag & vendors
; added the ability to save all cloth colors without dying
; added all tinker kit options for OSI and RunUO shards
; added *some* RunUO compatability (no guarantees)
; added option to choose between OSI and RunUO shards
; cleaned up journal scanning code (ty Kedrick Valorite for tips!)
; a lot of other little tuneups that I have already forgotten
; =====================================================================
; ---------------------------directions--------------------------------
; =====================================================================
; -If you play a RunUO shard set %runuo to #true in customizable options below
; -Follow the directions in the cutomizable options below to choose your cloth
; colors or to save pickaxes, shovels and prospecting hammers (they are returned
; to the vendor by default)
; -Hardcode options are available below. If you aren't sure what your doing,
; DON'T DO IT
; -Put a bag, backpack or pouch on your pack animal
; -Have 2 bod books in your pack, one with your filled bods and one that is empty.
; -Tailors: you need an unused dye tub, tinker kit, sewing kit and ingots
; (in case your sewing kit breaks)
; -Press Play and follow the prompts.
; -Rate the script while your char is turning in bods!
; =====================================================================
; -----------------------customizable options--------------------------
; =====================================================================
; if you play a RunUO server set this to #true
set %RunUO #false
; If you are on a run uo shard where the location is different
; set this to the number location on the popup menu to open your pack animal
; the first option is #1, count down from the top
set %packpop 10
; If you are on a run uo shard where the location is different
; set this to the number location on the popup menu to get bod
; the first option is #1, count down from the top
set %vendorpop 4
; if you want to keep any of the items below, just remove the type from
; the list in %return
set %return npf_qpf_gbg_twf ;gargoyle pickaxes ( 2 types ), prospecting
; hammers, sturdy shovels
; if you have lag set this to #true
set %lag #false
;/////////////////////////////////////////////////////////////////////////////////////
; Below are the different colors of bod cloth listed by reward level
; if you want to save any of these colors, change #false to #true
; the colors listed are as they are named on the Tower of Roses bod reward site
;/////////////////////////////////////////////////////////////////////////////////////
;Level 1 Colors//
;////////////////
set %green #false
set %greenblue #false
set %dkturquoise #false
set %aqua #false
;////////////////
;Level 2 Colors//
;////////////////
set %turquoise #false
set %purple #false
set %dkpurple #false
set %bloodred #false ;done
;////////////////
;Level 3 Colors//
;////////////////
set %neonblue #false
set %neonpurple #false
set %neonpink #false
set %neonyellow #false
;////////////////
;Level 4 Colors//
;////////////////
set %neongreen #false
set %redblue #false
set %navy #false
set %charcoal #false
;////////////////
;Level 5 Colors//
;////////////////
set %blaze #true
set %icewhite #true
set %iceblue #false
set %icegreen #false
; =====================================================================
; ------------------------- Hardcode Options --------------------------
; =====================================================================
; If you don't know what you are doing, or if you use different books,
; bags, or vendor shops each time, don't alter these. This is for people
; who wish to hardcode their own setup.
set %packanimal N/A ;change N/A to the container id of your pack animal
set %rewardbag N/A ;change N/A to the id of the bag on your packy
set %filledbook N/A ;change N/A to the id of your book containing filled bods
set %emptybook N/A ;change N/A to the id of your empty bod book
set %tailorvendor N/A ;the id of the tailor vendor you use
set %smithyvendor N/A ;the id of the smithy vendor you use
; ===================================================================== ;
; ----------------------do not edit beyond here------------------------ ;
; ===================================================================== ;
ignoreitem reset
set %human HS_IS
set %elf AV_XU
if %lag #true
{
set %shortwait 20
set %longwait 40
}
else
{
set %shortwait 10
set %longwait 20
}
gosub setup
;sub bodswap
mainloop:
set %get_new #true
gosub weight_check
gosub item_check
gosub get_bod
gosub turn_in
if %get_new
gosub get_new
goto mainloop
; =====================================================================
; --------------------------subroutines-------------------------------
; =====================================================================
sub get_bod
openbook:
set %journal #jindex
finditem %filled c_ , #backpackid
set #lobjectid #findid
event macro 17
wait %shortwait
for %i %journal #jindex
{
scanjournal %i
if the_book_is_empty. in #journal
{
if %smithy
{
gosub turn_in
if %get_new
gosub get_new
}
if %tailor
{
gosub turn_in
if %get_new
gosub get_new
gosub combine
gosub dye
wait %shortwait
}
display No more bods to turn in$
+I hope you found this script helpful$
+Thank you for rating it!$
halt
;return %filled_book_empty
}
gosub waitforgump generic_gump 615_454
if ! %gumpopened
goto openbook:
dropbod:
set %journal #jindex
gosub click_offset 43 104
wait %shortwait
for %i %journal #jindex
{
scanjournal %i
if there_is_not_enough_room in #sysmsg
{
gosub empty %loot
goto openbook
}
if the_book_is_empty. in #journal
{
if %smithy
{
gosub turn_in
if %get_new
gosub get_new
}
if %tailor
{
gosub turn_in
if %get_new
gosub get_new
gosub combine
gosub dye
wait %shortwait
}
display No more bods to turn in$
+I hope you found this script helpful$
+Thank you for rating it!$
halt
;return %filled_book_empty
}
}
finditem %bod c_ , #backpackid
gosub waitforgump generic_gump 615_454
if #findkind = -1
goto dropbod
gosub click_offset 385 430
return
;===================================================
sub turn_in
find_bodguy:
set %journal #jindex
finditem %bodguy g_2
if #findkind = -1
{
finditem %bodguy g_8
event pathfind #findx #findy #findz 2
wait 30
goto find_bodguy
}
dropbod:
finditem %bod c_ , #backpackid
set %filledbod #findid
wait 5
exevent drag %filledbod
wait %longwait
exevent dropc %bodguy
wait %longwait
for %i %journal #jindex
{
scanjournal %i
if enough_room_in_your_backpack in #journal
{
if %smithy
gosub empty %loot
if %tailor
{
gosub combine
gosub dye
gosub empty %loot
}
}
if I_am_not_interested_in_this. in #journal
{
gosub put_away
set %get_new #false
return
}
}
finditem %bod c_ , #backpackid
if #findkind = -1
return
goto find_bodguy



Commenta