Author Topic: Miffy's Item Finder  (Read 105100 times)

0 Members and 2 Guests are viewing this topic.

Offline BobOzarius

  • Full Member
  • ***
  • Posts: 103
  • Activity:
    0%
  • Reputation Power: 2
  • BobOzarius has no influence.
  • Respect: +26
  • Referrals: 0
    • View Profile
Re: Miffy's Item Finder
« Reply #105 on: April 23, 2017, 09:47:24 AM »
0
I always thought deleting a control before you created another of the same name was just good house cleaning.  ;)

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #106 on: April 23, 2017, 09:48:14 AM »
0
It shouldn't be any issue at all to fix scripts with that issue though... that's a very simple fix.

True, and for many that's possible.  But most scripters are long long gone and don't support their scripts.  Most people try a script, it doesn't work and they give up.  So in order to help support scripts still in the wild, it would be nice to help them survive.  In all honestly, in the long run it's not really the tool that's the most important but what people do with it.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #107 on: April 23, 2017, 09:49:48 AM »
0
I always thought deleting a control before you created another of the same name was just good house cleaning.  ;)

Heh, well EasyUO didn't care before it did..
Please read the ScriptUO site RULES
Come play RIFT with me!

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: Miffy's Item Finder
« Reply #108 on: April 23, 2017, 09:51:08 AM »
0
Glad that I had a good teacher and build my menu right.   

Code: [Select]
sub PauseSupport
   menu delete EUOButton3
   set #menubutton #false
  menu Font Size 8
  menu Font Style
  menu Font Color Window
menu Font BGColor Red
menu Button EUOButton3 180 19 43 21 Resume
repeat
    until #menubutton <> #false
    if #menubutton = EUOButton3
       gosub ResumeSupport
return

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #109 on: April 23, 2017, 09:53:40 AM »
0
Glad that I had a good teacher and build my menu right.   

Code: [Select]
sub PauseSupport
   menu delete EUOButton3
   set #menubutton #false
  menu Font Size 8
  menu Font Style
  menu Font Color Window
menu Font BGColor Red
menu Button EUOButton3 180 19 43 21 Resume
repeat
    until #menubutton <> #false
    if #menubutton = EUOButton3
       gosub ResumeSupport
return

Yeh, like BobO points out, that's good practice.  If you use a modern OO language, it won't let you do that unless you delete it first.  I always thought it was kinda silly that EasyUO allowed for it.  If you don't know what you're doing, that might cause some odd behavior for your menus.
Please read the ScriptUO site RULES
Come play RIFT with me!

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: Miffy's Item Finder
« Reply #110 on: April 23, 2017, 09:57:52 AM »
0
My first menu , I had the problem. and  I wasn't able to figure it out why it was bugging.  Took MWinc 2 hrs to notice that I forget to delete the button before I create another.   None was looking at the menu :) 

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #111 on: April 23, 2017, 10:00:23 AM »
0
My first menu , I had the problem. and  I wasn't able to figure it out why it was bugging.  Took MWinc 2 hrs to notice that I forget to delete the button before I create another.   None was looking at the menu :)

No doubt this will happen to others as well.  I just made the request at EasyUO and hopefully Cheffe can look into it.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline pixijayne

  • Jr. Member
  • **
  • Posts: 54
  • Activity:
    0%
  • Reputation Power: 1
  • pixijayne has no influence.
  • Respect: +10
  • Referrals: 0
    • View Profile
Re: Miffy's Item Finder
« Reply #112 on: October 28, 2017, 12:28:21 PM »
0
TM  .....

I'm having a small problem ...

With the N/A  EQUAL  GREATER  LESS  options in the 3 boxes  ....

I can't get them to change as I want them to.

I can get the top one to change from  N/A to  >  and thats it ....

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #113 on: October 28, 2017, 03:44:13 PM »
0
TM  .....

I'm having a small problem ...

With the N/A  EQUAL  GREATER  LESS  options in the 3 boxes  ....

I can't get them to change as I want them to.

I can get the top one to change from  N/A to  >  and thats it ....

You need to make this mod here:

http://www.scriptuo.com/index.php?topic=24.msg116929#msg116929
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline pixijayne

  • Jr. Member
  • **
  • Posts: 54
  • Activity:
    0%
  • Reputation Power: 1
  • pixijayne has no influence.
  • Respect: +10
  • Referrals: 0
    • View Profile
Re: Miffy's Item Finder
« Reply #114 on: October 28, 2017, 03:47:22 PM »
0
Groovy  ...

That was one of the places I was poking my unwanted keystrokes   ...

Thanks TM !!!!

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #115 on: October 29, 2017, 07:58:26 AM »
0
Note you need to make that change with the 2 other buttons just down the script.  Exactly the same code and change except the buttons are 7 and 8.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Miffy's Item Finder
« Reply #116 on: May 26, 2020, 12:30:24 PM »
0
I thought I used this often, but it wouldn't work for me last night. I was still running the 992 version. Even the 993 version doesn't have all 3 of the buttons corrected.

Here is how to correct it without a delete at all. I say that because I have had delete and recreate of the same button fail in menus. The buttons become unresponsive.
Code: easyuo
  1.   if #MENUBUTTON = EUOButton6
  2.   {
  3.     set #MENUBUTTON 0
  4.     if %include_button1 = N/A
  5.     {
  6.       set %include_button1 GREATER
  7.       menu setprop EUOButton6 text >
  8.       goto skip_EUOButton6
  9.     }
  10.     if %include_button1 = GREATER
  11.     {
  12.       set %include_button1 GREATEREQ
  13.       menu setprop EUOButton6 text >=
  14.       goto skip_EUOButton6
  15.     }
  16.     if %include_button1 = GREATEREQ
  17.     {
  18.       set %include_button1 LESS
  19.       menu setprop EUOButton6 text <
  20.       goto skip_EUOButton6
  21.     }
  22.     if %include_button1 = LESS
  23.     {
  24.       set %include_button1 LESSEQ
  25.       menu setprop EUOButton6 text <=
  26.       goto skip_EUOButton6
  27.     }
  28.     if %include_button1 = LESSEQ
  29.     {
  30.       set %include_button1 EQUAL
  31.       menu setprop EUOButton6 text =
  32.       goto skip_EUOButton6
  33.     }
  34.     if %include_button1 = EQUAL
  35.     {
  36.       set %include_button1 N/A
  37.       menu setprop EUOButton6 text N/A
  38.       goto skip_EUOButton6
  39.     }
  40.   }
  41.   skip_EUOButton6:
  42.   if #MENUBUTTON = EUOButton7
  43.   {
  44.     set #MENUBUTTON 0
  45.     if %include_button2 = N/A
  46.     {
  47.       set %include_button2 GREATER
  48.       menu setprop EUOButton7 text >
  49.       goto skip_EUOButton7
  50.     }
  51.     if %include_button2 = GREATER
  52.     {
  53.       set %include_button2 GREATEREQ
  54.       menu setprop EUOButton7 text >=
  55.       goto skip_EUOButton7
  56.     }
  57.     if %include_button2 = GREATEREQ
  58.     {
  59.       set %include_button2 LESS
  60.       menu setprop EUOButton7 text <
  61.       goto skip_EUOButton7
  62.     }
  63.     if %include_button2 = LESS
  64.     {
  65.       set %include_button2 LESSEQ
  66.       menu setprop EUOButton7 text <=
  67.       goto skip_EUOButton7
  68.     }
  69.     if %include_button2 = LESSEQ
  70.     {
  71.       set %include_button2 EQUAL
  72.       menu setprop EUOButton7 text =
  73.       goto skip_EUOButton7
  74.     }
  75.     if %include_button2 = EQUAL
  76.     {
  77.       set %include_button2 N/A
  78.       menu setprop EUOButton7 text N/A
  79.       goto skip_EUOButton7
  80.     }
  81.   }
  82.   skip_EUOButton7:
  83.   if #MENUBUTTON = EUOButton8
  84.   {
  85.     set #MENUBUTTON 0
  86.     if %include_button3 = N/A
  87.     {
  88.       set %include_button3 GREATER
  89.       menu setprop EUOButton8 text >
  90.       goto skip_EUOButton8
  91.     }
  92.     if %include_button3 = GREATER
  93.     {
  94.       set %include_button3 GREATEREQ
  95.       menu setprop EUOButton8 text >=
  96.       goto skip_EUOButton8
  97.     }
  98.     if %include_button3 = GREATEREQ
  99.     {
  100.       set %include_button3 LESS
  101.       menu setprop EUOButton8 text <
  102.       goto skip_EUOButton8
  103.     }
  104.     if %include_button3 = LESS
  105.     {
  106.       set %include_button3 LESSEQ
  107.       menu setprop EUOButton8 text <=
  108.       goto skip_EUOButton8
  109.     }
  110.     if %include_button3 = LESSEQ
  111.     {
  112.       set %include_button3 EQUAL
  113.       menu setprop EUOButton8 text =
  114.       goto skip_EUOButton8
  115.     }
  116.     if %include_button3 = EQUAL
  117.     {
  118.       set %include_button3 N/A
  119.       menu setprop EUOButton8 text N/A
  120.       goto skip_EUOButton8
  121.     }
  122.   }
  123.   skip_EUOButton8:
  124. goto item_finder_loop1

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 gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6190
  • Activity:
    3%
  • 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: +273
  • Referrals: 3
    • View Profile
Re: Miffy's Item Finder
« Reply #117 on: May 26, 2020, 03:23:46 PM »
0
nice I'll give it a try after alterations since this is one of two scripts I use the most.

Offline TrailMyxTopic starter

  • 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: Miffy's Item Finder
« Reply #118 on: May 29, 2020, 07:24:35 PM »
0
Thanks, Gaderian.  One of these days I need to play with the props that Cheffe added.  I suppose it's better than exploiting a bug in his code that was there since the early 00s.  lol
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline nosparechange

  • Newbie
  • *
  • Posts: 5
  • Activity:
    0%
  • Reputation Power: 0
  • nosparechange has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Miffy's Item Finder
« Reply #119 on: December 05, 2020, 10:09:32 AM »
0
How do I get the link to the text files?