Jump to content
  • 0

Autolooting custom itemdrop


NexusXVI

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

Is there any way that you can autoloot custom item drops??

I've used @alootid and @autoloot command but it seems it doesn't affect items that are not in the actual drop list of a monster.

    -	script	Dropall	-1,{
    OnInit:
    // blacklisted monsters
    .blacklist$ = "1664|1665|1666|1667|1954|1031|1002|1062|1113|1857|1242";
    end;
     
    OnNPCKillEvent:
    getmapxy( .@map$,.@x,.@y, 0 );
    if( !compare( "|"+.blacklist$+"|","|"+killedrid+"|" ) )
    makeitem 6187,1,.@map$,.@x,.@y;
    end;
    }

already tried the mob_item_ratio.. and the item i suggested there doesn't drop on anymonsters xD

or maybe is it possible to make the item go STRAIGHT into your inventory?

I hope someone could help . :D

Edited by NexusXVI
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Change 

makeitem 6187,1,.@map$,.@x,.@y;

to 

getitem 6187,1;
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

Thanks :D

Figured that out already but this will help others

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...