ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Insideout on September 26, 2013, 02:34:35 AM

Title: Well here we go But a few questions
Post by: Insideout on September 26, 2013, 02:34:35 AM
Okay as I have never been one for engineering I have some questions. I need a script that will use the clippers to make the plant clippings for the natural dyes and or baskets. Now that being said here comes the questions.

1. I have found an old logs to boards script that I would like to use as a base. Even though I'm making changes in the majority of the code where do I add props to the creator.

2. Being I have no real code knowledge it will be trial and error I'm sure.  But I see in the script event macros can some one point me on where to read up on these.
Title: Re: Well here we go But a few questions
Post by: Insideout on September 26, 2013, 03:49:04 AM
Okay got it converted to fit my needs for the most part. Only thing it's having a problem with is it is picking up a ghost plant that it has already cut into clippings. Is this a timing issue? Or is this the problem

%dragStack ( ( 500 - #WEIGHT ) / 2 )

as it is really only moving one plant I just haven't read up enough on how to alter this.


Title: Re: Well here we go But a few questions
Post by: dxrom on September 26, 2013, 05:58:54 AM
Probably a timing issue between cutting and moving.

If the ghosts are in your backpack just input a method to open your backpack. If they're on the ground then ride a mount and input a method to dismount and re-mount. This usually solves ghosting items for me.
Title: Re: Well here we go But a few questions
Post by: Insideout on September 26, 2013, 09:23:59 AM
Okay it's adding a ghost in both secure and in backpack.
Title: Re: Well here we go But a few questions
Post by: Insideout on September 27, 2013, 10:30:49 AM
And today went flawless hmmmmmm
Title: Re: Well here we go But a few questions
Post by: Tidus on October 19, 2013, 03:19:34 PM
ghosting is always a problem.  One person the script can run flawless and another person will have ghosting issues.  It is all about client server interaction.  It is about the speed in which you transfer with a drag and drop that causes it.  Sometimes the best way to get rid of your ghosting is to slow down how fast you are moving the item.
Title: Re: Well here we go But a few questions
Post by: xeres on October 22, 2013, 11:09:54 AM
yeah, slowing things down helps ghosting a lot.  i used to have a lot of ghosting issues when I wrote some really basic looting subs in a combat script...which i'm planning on ressurecting soon :)
Title: Re: Well here we go But a few questions
Post by: Endless Night on October 23, 2013, 07:07:28 AM
if your only moving ONE plant then this

%dragStack ( ( 500 - #WEIGHT ) / 2 )

should probably be just

%dragStack 1

But ghosting is almost always to fast of a drag and drop.
Title: Re: Well here we go But a few questions
Post by: Insideout on October 23, 2013, 11:49:14 AM
Yeah It's hit or miss. I'll change the dragstck and see if that helps if nothing else it will clean it up some.
Title: Re: Well here we go But a few questions
Post by: Endless Night on October 23, 2013, 01:53:49 PM
post your drag drop routine here and we will advise on probably whats happeneing