View Full Version : Editing DropAll help [Quick Question]
KeepBotting
01-18-2012, 09:45 PM
Hey guys really quick here, can you help me edit this so that the bot DOESN'T drop my first inventory slot. I don't want to use DropAllExcept.
procedure DropLogs;
var i: integer;
begin
for i:= 1 to 2 do
begin
DropPattern(Random(2) + 1);
if InvCount = 0 then
break;
end;
end;
Thanks,
kbScripts and KeepBotting
why can't you just use drop all except?
KeepBotting
01-18-2012, 11:25 PM
why can't you just use drop all except?It produces a "duplicate identifier" and/or "identifier expected" error when I try to use it.
can't you just fix that error? it would be much easier than trying to change this procedure..
KeepBotting
01-18-2012, 11:35 PM
can't you just fix that error? it would be much easier than trying to change this procedure..I've tried numerous times, can't seem to get it right.
Press Play
01-19-2012, 01:58 AM
If DropAllExcept(); is not working for you, try using DropArray();
var
whichInv: Array[0..27] of Integer;
i: Integer;
//First, declare the array:
for i := 0 to 27 do
whichInv[i] := i + 2; //This will make whichInv = [2, 3, 4, 5, 6, 7, 8, 9..28]
//Then use the function:
DropArray(whichInv);
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.