Nice bot! It works on my server! But i have some problems with the pick-up command, i post my config script here, please help me if i wrote something wrong.
const
//Keyboard targeting
useKeyboardTargeting = true;
keyboardTargetMaxWait= 800; //in ms
keyboardTargetCommand= 'F2'; //can i use also /nexttarget command?
//Mouse targeting
useMouseTargeting = false;
mouseTargetMode = 2; // 0 - center, 1 - up, 2 - down
mouseTargetUseShift = true;
mouseTargetUseCtrl = false;
mouseTargetDoubleClick = false;
mouseTargetAllowMix = true;
mouseTargetMaxWait = 800; //ms
mouseTargetMinRange = 200; //px
//Camera rotation
useRotation = false;
rotationMode = 0; //0 - left, 1 - right
rotationTime = 1200; //ms
//Rest
useRest = true;
restMinHp = 50; //%
restMinCp = 0; //%
restMinMp = 20; //%
restSitCommand = '/sit';
restStandCommand = '/stand';
//Mob killing
firstAttackCommand = 'F1';
firstAttackCommandBlockTime = 600; //ms
repeatAttackCommand = 'F1';
repeatAttackCommandBlockTime = 500; //ms
repeatAttackCommandEvery = 5000; //ms
hp60PrecentAttackCommand = 'F3';
hp60PrecentAttackCommandBlockTime = 0; //ms
hp30PrecentAttackCommand = '';
hp30PrecentAttackCommandBlockTime = 0; //ms
mobDeathCommand = ''; //i tried also to put here the F4 command assigned to the pickup but didnt works
mobDeathCommandBlockTime = 0; //ms
//Pickup
pickupCommand = 'F4'; //pickup dont works
pickupCount = 0; // 0 - disabled
pickupBlockTime= 400; // ms
//KS Protection //i dont know what is that, i disable it
enableKSProtection = false; //You wont attack mob
//Stuck Protection
enableStuckProtection = false;
stuckProtectionTimer = 30000; //ms
//ClickProtection
enableClickProtection = false;
clickProtectionRange = 20; //px
//List of Mobs to kill
var mouseTargetTargetsList:TStringList; //bot seems dont take care about this command
procedure setMouseTargetsNames;
begin
mouseTargetTargetsList.Add('Spelunking Ant');
end;
//------------END-OF-CONFIGURATION----------------------------------------------
I repeat that bot attack mobs, but leave drop on the floor :| please help me with the code, or post your code :p