Author Topic: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)  (Read 88840 times)

0 Members and 2 Guests are viewing this topic.

Offline valen2.0

  • Full Member
  • ***
  • Posts: 229
  • Activity:
    0%
  • Reputation Power: 3
  • valen2.0 has no influence.
  • Respect: +63
  • Referrals: 0
    • View Profile
0
#raisedgardenbedsftw

 :laugh: :laugh:

I will see if I have time to take a look at this but, I haven't been able to even work on my own as of late so we shall see!

Offline enditys

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • enditys has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
0
They don't have raised garden beds on the free server im on, so unfortunately its only the old fashioned way of raising plants.  I have another script I found that works every day but 1-3 which is odd.  I will prolly just ask if anyone can help me figure out what to change to get it to run 1-3, as it always will do plants on days 4-9 but never 1-3.  Since this script seems just dead since its used for a specific server I think.

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +205
  • Referrals: 2
    • View Profile
0
It was made for official servers which means many itemids may be different. Did you compare the itemids of the bowls, potions, etc to make sure that they are the same?

Offline enditys

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • enditys has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
0
Ya I did check the item ID's, I didn't find any that were different, added a few plant types of course that were missing.  But the item ID's were the same.  It does find the actual items and counts them so that leads me to believe the script is finding them,  but it won't open their respective gump.

Offline enditys

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • enditys has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
0
Just double checked all the ITEM Id's they are all the same OLI,QLI ect same as official.  Just looked again the script doesn't call for specific id's but only the types, so all the type are correct.
« Last Edit: March 06, 2018, 08:39:40 PM by enditys »

Offline enditys

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • enditys has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
0
Well I've spent a few days now trying to figure this script out, I just cant understand why it won't do anything ;/.  All id's are the same, all gumps seem to be the same.  *Cries*

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
0
I wonder if the new build have something to do with it,   We know that old script had been having issue with menu,  no one test it out after Cheffe release it few month ago.

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +205
  • Referrals: 2
    • View Profile
0
I don't play free shards but maybe it is a timing issue, check the waits or see if there is an overall speed setting. Maybe you need to slow it down to adjust for lag/connection. It was written for OSI, not free shards.

Offline Gandolf

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Gandolf has no influence.
  • Respect: +24
  • Referrals: 1
    • View Profile
0
well the scrip works ,but it misses a lot of plants I started with 500
but now I have 194 left any ideas thx.

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
0
I only stack 125, this way I can monitor status and numbers.  I can be that  u lag or how know

Offline Gandolf

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Gandolf has no influence.
  • Respect: +24
  • Referrals: 1
    • View Profile
0
Having trouble filling water picture said can't find that
and about 10 second it fills it any ideas . thx

Offline Gandolf

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Gandolf has no influence.
  • Respect: +24
  • Referrals: 1
    • View Profile
Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
« Reply #176 on: November 20, 2020, 05:00:50 AM »
0
Can someone tell me why the scrip stop  before finishing plants like I have 1500 plants it will do 700 then scrips stops scrip still running but doing nothing

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
« Reply #177 on: November 20, 2020, 05:37:53 AM »
0
As you step (F7) through the script, what is happening?

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: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
« Reply #178 on: November 20, 2020, 02:07:01 PM »
0
this is were it stops
  scanjournal !temp_jindex
      str pos #JOURNAL !charname 1
      set !namepos #STRRES
      str count #JOURNAL !charname
      set !namecnt #STRRES
      str pos #JOURNAL :_ 1
      set !smcpos #STRRES
      str pos #JOURNAL !text 1
      set !textpos #STRRES
      if !textpos < !smcpos && !smcpos <> 0 || !smcpos = 1 || :_ notin #JOURNAL || VALID notin !args
        set !pass #TRUE
      else
        set !pass #FALSE
      if ( !text in #journal && ( ( !namepos = 1 && !namecnt <= 1 ) || !pass ) )
      {
        set !temp_jindex !temp_jindex + 1
        if ADVANCE in !args
          set !_jindex !temp_jindex
        set #LPC !temp_lpc
        namespace pop
        set !TM_FunctionCalled #TRUE
        return #TRUE

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: neo's Horticulturist v1.2 out 09/22/2011 Get your own seeds of renewal! :)
« Reply #179 on: November 20, 2020, 06:45:45 PM »
0
I am looking at version 1.2 (the latest one). If you are using a different one, please say so.

If it really stops on that return statement, then there is probably a really ugly logic issue where subroutines are not cleanly returned.

There is a limit to how many gosub/return pairs can be left open. I do not know the number, but it definitely has a limit. Maybe this is being reached.

There is a known issue with your character name, where you need to filter out Lord/Lady if your fame reaches that level that has shown up in other scripts. If your character is Lord/Lady... maybe that needs to be changed, but I would expect it to fail earlier.

I would be curious about some variable values when it is looping:
!temp_jindex
!temp_index
%0
%1
%2
%3
%4
#menubutton

There are 2 routines that use TM_AdvJournalScan: gather and movebowls_button. The movebowls_button sub looks pretty clean and will tell you that your container is full, if it runs into an issue dropping your bowls into a secure.

The gather routine is collecting from plants.

So which is it trying to do? move bowls to your secure or gather plant resources?

 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: