Author Topic: other quest script debug  (Read 9249 times)

0 Members and 1 Guest are viewing this topic.

Offline Hollywood_ShonoTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: other quest script debug
« Reply #15 on: February 28, 2009, 02:21:38 PM »
0
What you did works great and loots the runics once it sees them. So thank you very much

Offline crameep

  • Jr. Member
  • **
  • Posts: 50
  • Activity:
    0%
  • Reputation Power: 0
  • crameep has no influence.
  • Respect: +2
  • Referrals: 1
    • View Profile
Re: other quest script debug
« Reply #16 on: March 02, 2009, 01:33:20 PM »
0
Thanks! Before I help you with sorting the bags, can you clarify something for me?

Are you wanting this script to open each of these 20 bags and then open the bags inside these bags and check for runics then move one of the 20 bags to another secure? or one of the bags that have been sorted to another secure?

Offline Hollywood_ShonoTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: other quest script debug
« Reply #17 on: March 03, 2009, 10:32:20 AM »
0
Thanks! Before I help you with sorting the bags, can you clarify something for me?

Are you wanting this script to open each of these 20 bags and then open the bags inside these bags and check for runics then move one of the 20 bags to another secure? or one of the bags that have been sorted to another secure?


This is pretty much all I need it to do

I click Play
It asks what bag to go through
I click the Bag
It Opens that bag to go through the bags inside it like it does.........


The only change i need is after it open each bag and scans for the runic, I'd like it to throw it on the ground outside of the secure...


To give you an example the heartwood script that they made here...
It opens the bag in ur pack... scans the items... put it on the tile next to you then continues to scan through bags but Throws them in the same bag untill its full. If you can do that it'd be perfect...

Offline crameep

  • Jr. Member
  • **
  • Posts: 50
  • Activity:
    0%
  • Reputation Power: 0
  • crameep has no influence.
  • Respect: +2
  • Referrals: 1
    • View Profile
Re: other quest script debug
« Reply #18 on: March 03, 2009, 02:21:56 PM »
0
I see well it shouldn't bee too hard for you. i would use the exevent Drag and exevent Dropg commands, around this point in the script.

Code: [Select]
sub openBags
    set #nextCPosX #cliXRes
    set #nextCPosY 0
    set #LOBJECTID %searchbagid
    event Macro 17 0
    wait 20

    ignoreItem reset
    openloop:
    findItem %bagstoopentype C_ , %searchbagid
    if #FINDCNT > 0
    {
        ignoreItem #FINDID

        set %bagx #cliXRes - 230
        set #nextCPosX %bagx
        set #nextCPosY 0
        set #LOBJECTID #FINDID
        event Macro 17 0
        wait 20
        gosub moveitems #findid #charid %grabtype 0 ;Put the sub here so you can search each bag individualy as they are being opend, this avoids the problem of searching your pack i believe.
        set %i %i + 1
        goto openloop:
    }
return

You will want to the code  after
Code: [Select]
set %i %i + 1
here are the links to the EUO wiki with infor for each command.
http://wiki.easyuo.com/index.php/Exevent_Drag - exevent drag

http://wiki.easyuo.com/index.php/Exevent_Dropg - exevent dropg.

See if you can figure it out, if your still having troubles. Just let me know, ill try to respond a little faster next time.


Tags: