Sir R. M8gic1an
2009-10-29 05:38:50
Hey guys, i need to know how everyone's doing, how far everyone is with their stuff, so status update time!
~RM
~RM
2009-10-29 05:38:50
2009-10-29 08:02:15
2009-10-29 16:11:46
2009-10-29 17:38:07
From: marpis
Walking.scar
http://www.villavu.com/forum/showthread.php?t=52019
+ recorded 1 tile path, east mine <-> bank :rolleyes:
2009-10-30 01:40:03
From: Rasta Magician
So is walking actually finished (except for the paths?)
Also, can we get that committed?
~RM
2009-10-31 00:05:30
2009-10-31 17:57:41
From: marpis
Well, the reflection part is practically finished although I haven't even tried to compile it yet. I try to get it committed by tonight.
My plan is to have 2 main paths (East mine, some Yew) finished 100% in color by new year, so in january we could start testing at least mining and wc. :) I am pretty sure that walking.scar will be the last section to be finished, because it is enormous job to do with color. I hope many ppl help me here ;)
2009-11-01 11:14:48
From: Cazax
IIRC we will just use Reflection for walking. It's a very hard work and it was one of the flaws of the MSI projects, since they were color based.
2009-11-10 16:11:35
2009-11-10 19:39:15
2009-11-10 20:35:10
2009-11-10 22:55:05
2009-11-11 11:27:33
From: Coh3n
If you guys don't mind, I can help out with all the different sections. I can get the info for ItemInfo.scar easily, and don't mind committing as much as I can. I don't want to take over anyone's jobs, I would just like to help out where ever I can. :smile:
Coh3n
2009-11-11 11:28:41
From: Naum
May I be able to join you with it?
We can collaborate, otherwise it's not a problem :)
2009-11-11 17:53:25
2009-11-12 05:51:06
From: Naum
Yup, me and Coh3n have started ItemInfo. But if Rogeruk wants to do stuff then we'll gladly call it off :).
After I finish my geography, ofc…
2009-11-12 08:52:11
2009-11-12 10:52:20
From: marpis
I can start writing some mining/woodcutting functions if needed :rolleyes:
2009-11-12 12:41:00
program New;
{.Include SRL/SRL/MSI/Setup.Scar}
Const MSI_TItemCount = 1;
Var
MSI_Item : Array[0..(MSI_TItemCount - 1)] Of TItem;
Const
TI_Cavada_Berries = 0;
Function MSI_GetItem(ID : Integer) : Boolean;
Begin
{ If InRange(ID, -1, MSI_TItemCount) Then
Begin
MSIDebug('MSI_GetTItem', 'ID is out of range', Debug_SmallDetails);
Exit;
End; }
Case ID Of
TI_Cavada_Berries :
With MSI_Item[TI_Cavada_Berries] Do
Begin
Name := 'Cadava Berries';
UpText := ['dava ber'];
ItemP := Point(0, 0);
Colors := [10033858, 8984493, 7804054, 6558079, 12001255, 9705915];
Stackable := True;
DTM := DTMFromString('78DA63CC616260E0606440066EBA9C0C22401A26CA980554C386A6C6'+
'C118554D0EA61A902C86391C04D4E401D570A1AA392A3D07D32E2EFC6E0600B439067C');
BMP := BitmapFromString(7, 7, 'beNoTrfVwMPGwM3G2NmRgYHTT5XTRASE3B2MIAgraa3A'+
'ASYggUDGEbaTABmEASSAyV2YH6oWwgYxpIuUdQjlAtoc+F5B8pbDzkfzmWsHkqSJlEAXXZFcdlZ6zVbI/lz8Mogto1G7JKWvFO+cCACNQHR0=');
End;
End;
End;
Procedure MSI_LoadItems(IDs : TIntegerArray);
Var I : Integer;
Begin
For I := 0 To High(IDs) Do
MSI_GetItem(IDs[I]);
End;
Procedure MSI_LoadItemRange(StartID, EndID : Integer);
Var I : Integer;
Begin
If (StartID > EndID) Then
MSIDebug('MSI_LoadTItemRange', 'EndID is greater than StartID!', Debug_SmallDetails);
For I := StartID To EndID Do
MSI_GetItem(I);
End;
Procedure MSI_FreeItemArray(TIArray : TIntegerArray);
var
I, Lo, Hi: Integer;
begin
Lo := Low(TIArray);
Hi := High(TIArray);
for I := Lo to Hi do
MSI_GetItem(I);
end;
Procedure MSI_FreeItemEx(Which : Integer);
Begin
Try
With MSI_Item[Which] Do
Begin
Name := '';
UpText := [''];
ItemP := Point(0, 0);
Colors := [0];
DTM := -1;
BMP := -1;
End;
Except End;
End;
Procedure MSI_FreeItems;
var i : Integer;
begin
for i := 0 to (MSI_TItemCount - 1) do
MSI_FreeItemEx(i);
end;
Procedure MSI_FreeItemRange(StartID, EndID: Integer);
Var
I : Integer;
Begin
If (StartID > EndID) Then
MSIDebug('MSI_LoadTItemRange', 'EndID is greater than StartID!', Debug_SmallDetails);
For I := StartID To EndID Do
MSI_FreeItemEx(I);
End;
var x,y:integer;
Begin
SetupSRL;
SetupMSI;
MSI_LoadItems([TI_Cavada_Berries]);
If FindBitmapToleranceIn(MSI_Item[TI_Cavada_Berries].BMP, x, y, mix1, miy1, mix2, miy2, 30) Then
MMouse(x, y, 0, 0);
End.