Boreas
2008-12-21 20:37:19
Have you ever wanted to know all the monsters between 30-60 cmb that always drop bones and are weak against magic? I do. So I wrote a script (attached below) to dump most of the data in the RuneHQ database into an INI (also attached below, take off the '.scar'). Now you can search it to find the best place to train. Have fun.
Edit:
Example of searching
Edit:
Example of searching
program New;
var tmpstr:string;
count,time:integer;
begin
time:=getsystemtime;
for count:=0 to 586 do
begin
tmpstr:=ReadINI(inttostr(count),'100% Drop',AppPath+'\MonsterDB.ini');
if pos('bones',lowercase(tmpstr))>0 then
begin
tmpstr:=ReadINI(inttostr(count),'Combat Level',AppPath+'\MonsterDB.ini');
if strtoint(tmpstr)<70 then
begin
if strtoint(tmpstr)>20 then
begin
tmpstr:=ReadINI(inttostr(count),'Weakness',AppPath+'\MonsterDB.ini');
if pos('mag',lowercase(tmpstr))>0 then
begin
writeln(inttostr(count)+' '+ReadINI(inttostr(count),'ID',AppPath+'\MonsterDB.ini'));
end;
end;
end;
end;
end;
writeln(inttostr(getsystemtime-time));
end.Took 2094 ms.