ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: Blacklisted on May 12, 2017, 12:25:00 PM
-
I have writen a script to turn in BOD's to the Blacksmith however at the moment it is just clicking the save reward points then it moves on and gets a new BOD then turns in a filled one.
I've been trying to figure out a way to grab the value of the points to then determine if not to save the points or spend them on say POF.
I cant see the reward points value anywhere in the journal, anyone any ideas how I can grab that reward pont value?
-
I turn in the BOD by value. I have a book that is junk = point and the POF is in is own book, This way I just need to change the location of the click depending on the reward.
-
Thanks ghost :) How do you determine a BOD value?
-
That because all my POF are in the book from the last 8 years. I have so many deeds That I haven't try to sort them. But if u use MeWonUo
http://www.scriptuo.com/index.php?topic=8671.0 you can mod it to what u want. U have the base, need just to rebuild the table to reward.
-
Ahhh I get what you mean, so I guess I could sort the bods into books of reward type then use the books name to determine where to click on the reward gump. I take with the new Bod system that each BOD will always have a specific reward point value associated with it and is not random.
-
Not sure if that the most efficient way to do it, but it work for me. I still require to do more testing and finish the array. I started and get busy with other project.
-
Sub Bod_Reward_Value
Namespace Push
Namespace Local Mwinc_Bod_Point_Calc
set !Bod %1
For !Attempt 1 5
{
Event Property !Bod
if Blessed in #Property
Break
wait 5
}
if Blessed in #Property
{
set !Value 0
if Make: , #Spc , 10 in #property
set !Value !Value + 10
if Make: , #Spc , 15 in #property
set !Value !Value + 25
if Make: , #Spc , 20 in #property
set !Value !Value + 50
if Exceptional in #Property
set !Value !Value + 200
if Dull , #spc , Copper , #spc , Ingots in #Property
set !Value !Value + 200
if Shadow , #spc , Iron , #spc , Ingots in #property
set !Value !Value + 250
if Copper , #Spc , Ingots in #property && Dull , #Spc , Copper Notin #Property
set !Value !Value + 300
if Bronze , #Spc , Ingots in #Property
set !Value !Value + 350
if Gold , #spc , Ingots in #Property
set !Value !Value + 400
if Agapite , #Spc , Ingots in #Property
set !Value !Value + 450
if Verite , #Spc , Ingots in #Property
set !Value !Value + 500
if Valorite , #Spc , Ingots in #Property
set !Value !Value + 550
set #result !Value
}
Else
set #Result Property
Namespace Pop
Return #Result
Here is what I have so far for small smithing bods. You can add more things for larges if you wish.
Gosub Bod_Reward_Value (Bod id)
#Result is the Point value
-
Thank the lord! Manwinc is starting to use some form of spacing convention in his scripts! Halleluja! ;)
-
Amazing thanks Manwinc, i'll take a look at this today :)
-
I think you mean,
"Manwinc is starting to use SUO to auto indent his scripts"
It's actually harder for me to read indented scripts like that believe it or not.
-
My favorite Manwinc storage area -
Namespace Local I_love_DA_Boobies
-
I come across gems like that all the time. Most recent was this one.
Repeat
until Rich
-
I come across gems like that all the time. Most recent was this one.
Repeat
until Rich
lol
-
I think you mean,
"Manwinc is starting to use SUO to auto indent his scripts"
It's actually harder for me to read indented scripts like that believe it or not.
You are an ODD, ODD fellow, MW.....
-
:P
menu text apples 13 20 ~ Man Whores Inc ~
menu font size 12
wait 3
menu text apples 90 60 "Obey Us"
wait 3
menu text apples 70 80 " We have candy "
Finditem %Sharp_Objects C_ , #backpackid
if #findcnt < 1
{
display Nothing to Cut your Wrists with
Halt
}
;=======================================================
; Things to come
; Sort 120/115/110 Binders/PS into Appropriate Containers
; Steal Your Account Info (And your Rabbits)
; You have a pretty mouth...
;=====================================================
Menu Text mwincsetup 50 80 Fear The Hell Monkeys
wait 10
Menu Text mwincsetup 50 120 They PARA SPAM!
wait 10
Menu Font size 10
Menu Font Color Silver
Menu Text Mwincsetup 50 150 (and they stole my cookies)
;=======================================================
;<------------- A Balls 2 Chin Production --------------->
;=======================================================
if #Dex < 60 ; WTF ARE YOU DOING CROSSHEALING
-
lol
-
Ohhhhhh the memoriesss
-
Upon searching for what script the Balls 2 chin production was in, You should not have that \>:(
-
But but but. I don't. Those snippets were given to me just to post here. I don't have those scripts.