ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Alpha on November 03, 2009, 01:33:20 AM

Title: Anyone have a bulletproof Drag / Drop Sub they could post??
Post by: Alpha on November 03, 2009, 01:33:20 AM
I've been using   sub Moveitem    from EUO etc for awhile now & I still have periodic problems with it....  I occasionally run into problems with it trying to exevent drag something B4 it dropped the previous item.. or it fails to register that it actually did drop the item because of a ghost image of said item in your backpack etc..  Anyway I was just wondering if there was a better standard out and about that people were using that I wasn't aware of.   Perhaps TM's included some slick journal scanning etc heh..  Anyway.. was just curious... all this dragging and dropping of blue / red / yellow crystalls to my secure isn't as stable as I'd like...     >  ;- )
Title: Re: Anyone have a bulletproof Drag / Drop Sub they could post??
Post by: TrailMyx on November 03, 2009, 01:38:00 AM
You can pretty much zero any problem with ghosting by opening the source container before dragging.  We do this with the quester, and it literally does 10000s of iterations.  Since we initiated this method, we've had ZERO ghosting complaints.  Just about any generic move function can be adapted.
Title: Re: Anyone have a bulletproof Drag / Drop Sub they could post??
Post by: 12TimesOver on November 03, 2009, 02:20:13 AM
I did the exact same thing with the unload routines in my miner, only way to deal with ity really.

X
Title: Re: Anyone have a bulletproof Drag / Drop Sub they could post??
Post by: Scrripty on November 03, 2009, 03:17:17 AM
You can pretty much zero any problem with ghosting by opening the source container before dragging.  We do this with the quester, and it literally does 10000s of iterations.  Since we initiated this method, we've had ZERO ghosting complaints.  Just about any generic move function can be adapted.

I fixed the AXE area lumberjacker so it worked flawlessly when unloading at home secure with this very fix. :)
Title: Re: Anyone have a bulletproof Drag / Drop Sub they could post??
Post by: Endless Night on November 03, 2009, 05:55:54 AM
Sounds like a script I have started working on .. care to team up on the project.
Title: Re: Anyone have a bulletproof Drag / Drop Sub they could post??
Post by: _C2_ on November 03, 2009, 06:27:46 AM
I find an issue with spiky connections.  I am considering playing with a drag check during the drop proccess.

exevent drag #findid #findstack
wait 15
while #liftkind (whatever the command is for having somethign on your cursor
  {
   exevent dropc %secure
   wait 20
  }

maybe this would stop it from redragging while it had something and causing issues