Author Topic: Bod turn in reward gump  (Read 7872 times)

0 Members and 1 Guest are viewing this topic.

Offline BlacklistedTopic starter

  • Jr. Member
  • **
  • Posts: 75
  • Activity:
    0%
  • Reputation Power: 2
  • Blacklisted has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Bod turn in reward gump
« on: May 12, 2017, 12:25:00 PM »
+1
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?




Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #1 on: May 12, 2017, 01:57:38 PM »
+1
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.

Offline BlacklistedTopic starter

  • Jr. Member
  • **
  • Posts: 75
  • Activity:
    0%
  • Reputation Power: 2
  • Blacklisted has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #2 on: May 12, 2017, 02:21:18 PM »
+1
Thanks ghost :) How do you determine a BOD value?

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #3 on: May 12, 2017, 02:51:32 PM »
+1
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. 

Offline BlacklistedTopic starter

  • Jr. Member
  • **
  • Posts: 75
  • Activity:
    0%
  • Reputation Power: 2
  • Blacklisted has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #4 on: May 12, 2017, 03:35:57 PM »
+1
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.

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #5 on: May 12, 2017, 04:54:53 PM »
+1
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.

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Bod turn in reward gump
« Reply #6 on: May 12, 2017, 06:12:34 PM »
+2




Code: [Select]
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
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline BobOzarius

  • Full Member
  • ***
  • Posts: 103
  • Activity:
    0%
  • Reputation Power: 2
  • BobOzarius has no influence.
  • Respect: +26
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #7 on: May 13, 2017, 12:37:42 AM »
+1
Thank the lord! Manwinc is starting to use some form of spacing convention in his scripts! Halleluja!  ;)

Offline BlacklistedTopic starter

  • Jr. Member
  • **
  • Posts: 75
  • Activity:
    0%
  • Reputation Power: 2
  • Blacklisted has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #8 on: May 13, 2017, 04:36:32 AM »
+1
Amazing thanks Manwinc, i'll take a look at this today :)

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Bod turn in reward gump
« Reply #9 on: May 13, 2017, 09:43:21 AM »
+1
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.
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6204
  • Activity:
    3.2%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +274
  • Referrals: 3
    • View Profile
Re: Bod turn in reward gump
« Reply #10 on: May 13, 2017, 10:26:43 AM »
+1
My favorite Manwinc storage area -

Namespace Local I_love_DA_Boobies

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Bod turn in reward gump
« Reply #11 on: May 13, 2017, 11:34:13 AM »
+1
I come across gems like that all the time. Most recent was this one.


Repeat
until Rich
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6204
  • Activity:
    3.2%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +274
  • Referrals: 3
    • View Profile
Re: Bod turn in reward gump
« Reply #12 on: May 13, 2017, 12:45:37 PM »
+1
I come across gems like that all the time. Most recent was this one.


Repeat
until Rich

lol

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Bod turn in reward gump
« Reply #13 on: May 13, 2017, 11:13:57 PM »
+1
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.....
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline BobOzarius

  • Full Member
  • ***
  • Posts: 103
  • Activity:
    0%
  • Reputation Power: 2
  • BobOzarius has no influence.
  • Respect: +26
  • Referrals: 0
    • View Profile
Re: Bod turn in reward gump
« Reply #14 on: July 02, 2017, 12:56:22 AM »
+1
 :P

Code: [Select]
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 "

Code: [Select]
Finditem %Sharp_Objects C_ , #backpackid
if #findcnt < 1
{
display Nothing to Cut your Wrists with
Halt
}

Code: [Select]
;=======================================================
; Things to come
; Sort 120/115/110 Binders/PS into Appropriate Containers
; Steal Your Account Info (And your Rabbits)
; You have a pretty mouth...
;=====================================================

Code: [Select]
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)

Code: [Select]
;=======================================================
;<------------- A Balls 2 Chin Production --------------->
;=======================================================

Code: [Select]
if #Dex < 60 ; WTF ARE YOU DOING CROSSHEALING
« Last Edit: July 02, 2017, 01:15:54 AM by BobOzarius »

Tags: