LOOT HELP

Status
Not open for further replies.

MRPRANKSTER

New member
Joined
Oct 26, 2006
Messages
53
Reaction score
0
Points
0
I was wondering if anyone could assist me in adding the proper lines to smoothly loot a corpse? I don't care if it keeps all the items it loots.

I am using the shroud xp macro.

ATM I have added a few lines under the

Sub CombatSub
.....
....
....
....
/if (!${Target.ID} || ${Target.Type.Equal[Corpse]}) {
/attack off
/tar corpse
/loot
/delay 1

/keypress esc
/keypress esc
/keypress forward
/keypress back


It works kinda, it repeats looting and each time it loots my toon turns a little untill the corpse is not infront of it then my toon runs off to the next target.

I have tried to add
/autoinventory
/notify LootWnd DoneButton leftmouseup
/delay 1

however that did noting for me.

any help would be great thanks
 
Code:
#include Ninjadvloot.inc

Sub Main
:Main
/if (${SpawnCount[corpse Radius 50 ZRadius 50]}) /call LootMobs
/goto :Main

/return
 
Could you go into some depth on where to put this? I tried to put #include Ninjadvloot.inc in the beginning of the macro and put the rest after the corpse part of the mac. I even tried DLing a Ninjadvloot.inc I found but still cant get it to work. any help you could give would be great thanks
 
I prefer to use ninja loot as it doesnt require the use of mq2moveutils it has is own movement code in the .inc file

add the .inc file and the loot.ini to macro folder
add these lines in bold to the afk shroud macro
Code:
[COLOR="Red"]#include ninjaloot.inc[/COLOR]

Sub Main
[COLOR="Red"]/call NLPresetup[/COLOR]
/declare RV_HasTarget        int outer  0
   /declare RV_TargetDead       int outer  0
   /declare RV_SlowDone         int outer  0
   /declare RV_DebuffDone       int outer  0
   /declare RV_ROOM             int outer  0
   /declare RV_CORR             int outer  0
   /declare RV_GOTO             int outer  0
   /declare RV_CNT              int outer  0
   /declare X2                  int outer  0
   /declare Y2                  int outer  0
   /declare LocXP2              int outer  0
   /declare LocXM2              int outer  0
   /declare LocYP2              int outer  0
   /declare LocYM2              int outer  0
:Start

   /call GetTarget

   :KillAdds
   /if (${RV_HasTarget}) /call CombatSub
   [COLOR="Red"]/call NLAutoloot[/COLOR]
   
   /call ResetSub

   /if (${Target.ID}) {
      /delay 1s
      /varset RV_HasTarget 1
      /goto :KillAdds
   }

   /call BandSub
   
   /goto :Start
   
/return
 

Attachments

  • Loot.ini
    502 bytes · Views: 50
  • ninjaloot.inc
    14.2 KB · Views: 60
ohh yea forgot to past in the /call declare line
 
Thanks got the ninjaloot working. One more question I set the default to autoloot to start creating a loot file however it dose not always loot everything. Sometimes it loots 2x on one corpse real fast and then the corpse poofs without looting an item. Or it will have 2 items on the corpse but only loot one and the corpse poofs again. any ideas why it might be doing this? It seems to be hiding the corpses. Not to concerned with the current zone but would be nice to fix it if I decide to do other zones with items or maybe the wand camp. It seems to be hiding the corpses
 
What is the corpse timer at when you start to loot?
 
My ini I posted is set to loot only coin in fh and destroy the other loots. This is how I set mine up change if you want to loot and it will loot an item unless you set it up to destroy it.

[Loot]
AutoLootMode=ON
AutoLootDistance=100
[A]
A=NULL
A Piece of Rat Fur=destroy

B=NULL
[C]
C=NULL
[D]
D=NULL
[E]
E=NULL
[F]
F=NULL
[G]
G=NULL
Giant Bat Wing=destroy
[H]
H=NULL

I=NULL
[J]
J=NULL
[K]
K=NULL
[L]
L=NULL
Large Ball of Clay=Keep
[M]
M=NULL
[N]
N=NULL
[O]
O=NULL
[P]
P=NULL
[Q]
Q=NULL
[R]
R=NULL
Rat Ears=destroy
Rat Whiskers=destroy

S=NULL
[T]
T=NULL

U=NULL
[V]
V=NULL
[W]
W=NULL
[X]
X=NULL
[Y]
Y=NULL
[Z]
Z=NULL
 
Status
Not open for further replies.