SRL Archive - MSI Bugs

Bug in MSI_MainLoop;


Gu3st...

2010-12-11 09:09:56

The current MSI_MainLoop; is coded in such a way that when it's AtBank it will bank the materials, and then walk to the desired location (Like the mine or the place you chop the wood)

Using scripts that require you to withdraw items (like Cooking, where you have to withdraw raw materials), the script will withdraw the items, deposit the items and then walk to the desired location.

What I want to do is to add a "BankObjects : function: Boolean;" to TScript; in Globals.simba which will make the script do the correct action.
I.E; Cooking script would have MSI_SetupCooking as BankObjects because atm Cooking.simba handles withdrawing and depositing in that function.
Mining scripts would have MSI_BankMaterials as BankObjects.

Questions, Suggestions, Comments?


Alright.. New problem; skills that are not gathering skills (Mining, WC, Fishing are all gathering skills), but skills that require items to be taken out of the bank wont work with the current MSI_MainLoop. I think the procedure requires a complete re-write where all types of skills is in mind.

Sir R. M8gic1an

2010-12-11 09:24:26

Sounds gd

~RM

Gu3st...

2010-12-11 09:52:38

Tested and committed

Gu3st...

2010-12-12 18:12:28

New problem..
Will be looking into this in the morning

NCDS

2010-12-12 19:04:01

From: Zyt3x
New problem..
Will be looking into this in the morning


Mind posting what it is..?

Gu3st...

2010-12-12 19:06:10

From: NCDS
Mind posting what it is..?
First post ;)

NCDS

2010-12-12 19:11:43

From: Zyt3x
First post ;)


I posted on the cooking thread. ;)

3Garrett3

2010-12-12 23:34:30

Couldn't this be covered the same way MSI has dealt with such things in the past? Make separate functions in the skill includes and then make a case statement based on the skill? Or have different functions for different types (gathering, etc) and do the case statement things.

Coh3n

2010-12-13 00:24:45

I'm assuming this has been taken care of when you added the BankMaterials pointer, Zyt3x?

Nice job by the way. ;)