Jump to content

Problem with craft script


Arsec

Recommended Posts

LABEL(BSSD)

 

 

 

// Checks if you have 60 MP, if not it waits 60 seconds and restarts the script

 

CharStatus(CMP,<,60)

 

{

 

Delay(60000)

 

JMP(BSSD)

 

}

 

 

 

// Checks if you have at least 2 D Grade Crystals, if not the script will be ended

 

ITEMCOUNT(Crystal: D Grade [id=1458],<,2)

 

{

 

EXIT()

 

}

 

 

 

// Checks if you have at least 8 Spirit Ore, if not the script will be ended

 

ITEMCOUNT(Spirit Ore[iD=3031],<,8)

 

{

 

EXIT()

 

}

 

 

 

// Uses the BSSD recipe, waits a second and then it should click [Create]

 

USEITEM(Recipe: Blessed Spiritshot: D[iD=3953])

 

Delay(1000)

 

DLGSEL([Create])

 

 

 

//Checks if you have less then 20000 BSSD, if you do, the script will be restarted otherwise it will be ended

 

ITEMCOUNT (Blessed Spiritshot: D Grade[iD=3948],<,20000)

 

{

 

JMP(BSSD)

 

}

 

 

 

EXIT()

 

 

 

Can you please tell me what's wrong with this script. The script seems to 'stop' for like 5 seconds at the red line, and it doesn't create the 100 blessed spiritshots. It just restarts the script stops 5 seconds at the red line, restarts etc...

 

 

 

-- XiZ

Link to comment
Share on other sites

OMFG it works now ^^

 

 

 

i had the id for the recipe: bssd wrong, it's 3953 in stead of 3954.

 

 

 

I'll edit it in the start post so if anyone want's to use it, it works now :)

 

 

 

-- XiZ

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...