Author Topic: Droping items problem  (Read 2068 times)

0 Members and 1 Guest are viewing this topic.

Offline VicVegaTopic starter

  • Jr. Member
  • **
  • Posts: 71
  • Activity:
    0%
  • Reputation Power: 0
  • VicVega has no influence.
  • Respect: +8
  • Referrals: 0
    • View Profile
Droping items problem
« on: January 24, 2010, 07:23:56 AM »
0
Si I've started to play again and I have some problems with my fishing script (wich worked fine before).

Droping boots of fishes in particular. So drops fishes and boots fine till a moment when it drops the fishes or the boots, and they go right back to the backpack.

So it enters in an infinite loop.

Code: [Select]
sub dropBoots
  set %bootsType TVI_ZVI_ZVI_PVI_NVI
  finditem %bootsType C_ , #backpackID
  while #findKind <> -1
  {
    exevent drag #findID #findStack
    wait 1s
    exevent dropg #charPosX #charPosY #charPosZ
    wait 1s
    finditem %bootsType C_ , #backpackID
  }
return

So now I've made a change in this part and it generates a random number (0 or 1) in order to drop the items right at my feet or a tile before:

Code: [Select]
sub dropBoots
  set %bootsType TVI_ZVI_ZVI_PVI_NVI
  finditem %bootsType C_ , #backpackID
  while #findKind <> -1
  {
    set %dropPosY #charPosY - #random % 2
    exevent drag #findID #findStack
    wait 1s
    exevent dropg #charPosX %dropPosY #charPosZ
    wait 1s
    finditem %bootsType C_ , #backpackID
  }
return

That works better but still it gets stuck droping fishes or boots, but much less times.

When this happens I've tried stoping the script and write a little one in order to drop the items and it happens the same, unless I change the tile I'm droping them.

Any idea why this could be happening?

I've stop playing for almost a year and I'm playing in the same server.
To learn, read.
To know, write.
To master, teach.

Offline 12TimesOver

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: Droping items problem
« Reply #1 on: January 24, 2010, 07:33:17 AM »
0
APparently there is an issue at the moment with dropping on the same tile you are standing on. The suggested workaround is to drop to a tile next to you instead.

PITA but unfortunately I believe it is an issue out of our control at the moment.

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline VicVegaTopic starter

  • Jr. Member
  • **
  • Posts: 71
  • Activity:
    0%
  • Reputation Power: 0
  • VicVega has no influence.
  • Respect: +8
  • Referrals: 0
    • View Profile
Re: Droping items problem
« Reply #2 on: January 24, 2010, 09:49:18 AM »
0
Do you mean that you can drop items in a tile distance from the character without problems?

I've tested it with only a tile back and it has the same problem.
To learn, read.
To know, write.
To master, teach.

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: Droping items problem
« Reply #3 on: January 24, 2010, 10:27:31 AM »
0
Try my dropon ground sub located here.... (it trys ever spot around you)

http://www.scriptuo.com/index.php?topic=2454.msg33436#msg33436
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: