Author Topic: Mwinc. Enchanted Apple Crafter  (Read 21364 times)

0 Members and 1 Guest are viewing this topic.

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: Mwinc. Enchanted Apple Crafter
« Reply #15 on: April 13, 2010, 10:57:57 AM »
0
Fixed, Lol there was no harm in her asking to fix it. I wrote it and posted it, my responsibility while I am still active to keep it up to date.

Get crack'in bucko!!  lol.  ;)

p.s. Thanks for the fix....  (waves magic Reputation wand....)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline manwincTopic starter

  • 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: Mwinc. Enchanted Apple Crafter
« Reply #16 on: April 13, 2010, 04:14:26 PM »
0
Yeah, I was hunting for the rest of my crafting scripts to fix and realized I never put them in the script library, just in the finished script board. Guess I'll fix em and post em in the right spot.
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 Longhorn

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • Longhorn has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #17 on: May 17, 2016, 04:50:10 AM »
0
Is there a Grapes of Wrath version?  If not could you point out what I'd have to edit to make this work for grapes? (provided Mwinc is ok with his work being edited/altered)


Edit: I changed
gosub resource UUF 1 10
gosub resource QQD 1 10


To:
gosub resource XUF 1 10
gosub resource PQD 1 10

and im grabing grapes and greater strength, I just cant figure out how to change the menu selection from apples to grapes

Edit #2 found

gosub contsizewait %Craftmenu
gosub setting %2
gosub category %3
gosub page %4
gosub rownum %5

Changed to

gosub contsizewait %Craftmenu
gosub setting %2
gosub category %2
gosub page %4
gosub rownum %5

its taking the grapes and greater strength, making the grapes of wrath. Now i just need to figure out how to put the grapes of wrath into the secure.
« Last Edit: May 17, 2016, 05:33:47 AM by Longhorn »

Offline Insideout

  • Full Member
  • ***
  • Posts: 183
  • Activity:
    0%
  • Reputation Power: 2
  • Insideout has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #18 on: December 24, 2017, 01:19:38 PM »
0
Can I get someone else to try and run this and see if my stuff is just gooofed up. Lol I don't wanna make 20k apples by clicky clicky lol but these fund my Music Gears addiction.

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: Mwinc. Enchanted Apple Crafter
« Reply #19 on: December 24, 2017, 01:24:40 PM »
0
weird, because it not event the same tool.   DId you check to ensure the ID of the tool is provided.    What are you using for cooking tool?

Offline Insideout

  • Full Member
  • ***
  • Posts: 183
  • Activity:
    0%
  • Reputation Power: 2
  • Insideout has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #20 on: December 24, 2017, 01:25:53 PM »
0
I can't get it to load past the Intro lol

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: Mwinc. Enchanted Apple Crafter
« Reply #21 on: December 24, 2017, 04:25:56 PM »
0
Insideout,   I copy the version from the front and hit play.   It made 6 apples with the supply available.   It grab what it needed and craft it.   

Work asintended

Offline Gandolf

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Gandolf has no influence.
  • Respect: +24
  • Referrals: 1
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #22 on: November 06, 2019, 10:44:41 AM »
0
this scrip work great but now can't get past the loaded menu any ideas. thx

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #23 on: November 06, 2019, 11:35:38 AM »
0
Can you provide some details? Free shard vs OSI? EUO client version? UO client version?

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Offline Gandolf

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Gandolf has no influence.
  • Respect: +24
  • Referrals: 1
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #24 on: November 06, 2019, 12:21:53 PM »
0
UO client version? 1.6.0.332 and 334 and goes to loading and that is it
« Last Edit: November 06, 2019, 12:25:08 PM by Gandolf »

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #25 on: November 06, 2019, 02:22:56 PM »
0
the 1.6.0.334 Easyuo version is good.
What is the UO client you are trying to start? (if it won't launch, then what is it if you launch manually?)
Are you running Easyuo with "run as administrator" rights? (right click on the program when starting to run it to choose running as admin).

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Offline Thargorff

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 1
  • Thargorff has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #26 on: December 19, 2020, 09:11:11 AM »
0
I am too cant get past the load window with bow and apple, tried to change numbers as suggested but i dont think its the crafting menu itself, the script just wont start at first line. OSI shards, everything updated

Post Merge: December 19, 2020, 09:22:57 AM
made it work, somehow. At the beginning of the script there are couple lines :

set %intro True
if %intro = True
gosub Intro
gosub setup

I deleted first three lines and it started working, no menu, just asking to pick your secure container. Intro sub is missing? that be my guess, will see how long it will work me, i guess it going to make as many enchanted apples as i have supplies for

Post Merge: December 19, 2020, 10:33:54 AM
Ok, more findings, its running like a champ if you have enough tools in the inventory, drags apples/pots from secure no problem, puts enchanted apples back in the crate. Once you are out of tools, it is trying to make cook tools out of wood and looking for them in the wooden item section, not making them even though there is wood in the main and secure. Could not make it to make tools (skillet) from tools category.
I did change  set %Craftmenu 530_497, otherwise with 530-507 the craft menu was at screen bottom for some reason. At  this point my .00001% share of your scripting knowledge at dead end.
« Last Edit: December 19, 2020, 10:33:54 AM by Thargorff »

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #27 on: December 20, 2020, 06:58:53 PM »
0
Well, the intro sub is there. It looks like it is supposed to be a cute animation - but it fails in the middle for a non-obvious reason - at least to me. From what it looks to be doing that kind of drawing is probably  confused by a re-used name or something. Commenting out the "gosub intro" section is probably the best solution since it is only cosmetic.

I believe the 530_497 is the current craft menu size. Changing that may break some of the crafting steps.

Since you said it is trying to make a skillet out of wood, most likely the craft menu changed since this was last posted. New click locations on the menu probably need to be defined to make the correct item (skillet).

While I have cooking on a character somewhere, I don't do a lot of cooking. Is a skillet the only cooking tool - do you know? (Most of the cooking I ever did in game was cooking fish steaks... double click fish steak pile, target my cooking source -> either get cooked fish or burn them... *ahem* so that was a few years ago.)

If the crafting menu is off screen that can cause some issues. An appropriately placed "contpos 0 0" after the crafting menu shows up might solve it wandering away.

The account where my character with cooking is currently occupied, so I will try it again later and try to report what I find.

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Offline manwincTopic starter

  • 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: Mwinc. Enchanted Apple Crafter
« Reply #28 on: December 21, 2020, 03:09:21 PM »
0
Sad that the changes to menus messed up that intro.

I'll see what I can do for modern osi
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 Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Mwinc. Enchanted Apple Crafter
« Reply #29 on: December 21, 2020, 05:29:05 PM »
0
The new EasyUO menu code doesn't like the reuse of 'apple' for both the text message and the graphic.

I altered the text references to a new name and it works fine.

Code: easyuo
  1. sub INTRO
  2. menu window Title Apples
  3. menu window size 300 100
  4. menu show 0 0
  5. menu window color silver
  6. menu font bgcolor silver
  7. menu font size 16
  8. menu font color black
  9. menu text apples 75 75 Loading....
  10. menu image create apples 0 0 200 200
  11. set #lpc 400
  12. menu clear
  13. menu font bgcolor silver
  14. menu font size 16
  15. ; Revised apples -> applest
  16. menu text applest 75 75 Loading....
  17. ; End Revision - Gaderian
  18. menu image create stick1 0 0 300 300
  19. menu image rectangle stick1 69 46 85 60 black #true 2
  20. menu image ellipse stick1 70 1 85 16 black 1
  21. menu image line stick1 77 16 77 36 black 2
  22. menu image line stick1 77 20 100 20 black 2 ;arm 1
  23. gosub BOW
  24. menu image line stick1 77 36 83 46 black 2
  25. menu image line stick1 77 36 71 46 black 2
  26. menu image create head 0 0 300 300
  27. menu image ellipse head 170 15 185 30 black 1 ;end stick1
  28. menu image ellipse head 174 10 180 15 red 1
  29. menu image line head 177 7 177 10 black 1
  30. menu image line head 170 20 185 20 white 2
  31. menu image line head 185 20 190 25 white 2
  32. menu image create apples 0 0 300 300
  33. menu image line apples 177 30 177 50 black 2
  34. menu image line apples 177 34 172 43 black 2
  35. menu image line apples 177 50 183 60 black 2
  36. menu image line apples 177 50 171 60 black 2
  37. menu image Rectangle apples 220 0 250 60 2511000 #true 2
  38. menu image create Arrow 0 0 300 300
  39. menu image line arrow 80 20 120 20 black 2
  40. menu image line Arrow 120 17 120 23 black 2
  41. menu image line arrow 120 17 125 20 black 2
  42. menu image line arrow 120 23 125 20 black 2
  43. menu image line arrow 85 20 80 17 black 2
  44. menu image line arrow 85 20 80 23 black 2
  45. for %number 1 6
  46. {
  47. set %x_Menu_Pos ( %number * 10 + 0 )
  48. menu image pos arrow %x_Menu_Pos 0 300 300
  49. wait 1
  50. }
  51. set %X_Menu_Pos2 0
  52. for %number 1 4
  53. {
  54. set %X_Menu_pos %X_menu_Pos + 10
  55. Set %x_Menu_Pos2 %X_Menu_Pos2 + 10
  56. menu image pos arrow %x_Menu_Pos 0 300 300
  57. menu image pos Head %X_Menu_Pos2 0 300 300
  58. wait 1
  59. }
  60. for %number 1 10
  61. {
  62. set %y2 %number + 30
  63. menu image line apples 220 30 220 %y2 Red 3
  64. wait 5
  65. }
  66. menu font bgcolor silver
  67. menu font color black
  68. menu font size 16
  69. menu text apples 100 0 BOOM!
  70. wait 15
  71. menu text apples 100 20 HEAD
  72. menu text apples 100 40 SHOT!
  73. wait 15
  74. menu clear
  75. menu Font Color Black
  76. menu font bgcolor Silver
  77. menu font size 25
  78. menu text apples 13 20 ~ Man Whores Inc ~
  79. menu font size 12
  80. wait 3
  81. menu text apples 90 60 "Obey Us"
  82. wait 3
  83. menu text apples 70 80 " We have candy "
  84. wait 10
  85. menu clear
  86. return
  87.  

After the menu image options are done, the new reference to the text "apples" doesn't seem to upset it as much as having the text label defined before the graphic use - though by the new menu design rules, these now are supposed to be unique...

Apparently reusing the ID in text messages is not as crippling as reusing it in graphic situations in the new EasyUO...  ;)

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Tags: