Sir R. M8gic1an
2009-09-13 14:03:34
Ok guys, we now have the Include Structure. I'll soon setup the svn write access when I have time; for now, you can start working locally. Basically there are 4 files that need to be planned out right now;
ItemInfo.scar , Banking.scar, Debug.scar, Walking.scar.
Remember, the most important thing is to have the plan, as in function name, params, result and description. This will allow us to ask SRL Members to do it, once we open the MSI SVN Forums; This will happen as soon as we have our things planned. If you feel that something is too complicated or complex to explain/ask of SRL Members, then feel free to do it yourself.
- - ItemInfo.scar Working on this: rogeruk
All colors and item information will be loaded from here. Remember to use constants for easier reading and scripting, no strings! If you want to only make one function to load all Items then I suggest two sets of constants:
[php]
const
Tool_Axe = 0;
Axe_Rune = 0;
Axe_Adamant = 1;
Axe_Mithril = 2;
//…
Tool_Pick = 1;
//…
[/php]
- - Objects.scar Working on this: NCDS
This file will be responsible for all the finding. Remember to make it flexible enough for all needs. Remember to also alter the types as you see fit. This file will need to be able to find objets in MS, Inv, Bank and wherever else might be needed.
- - Banking.scar Working on this: Nauman
This will deal with all banking/withdrawal, therefore it'll have to be pretty damn well organized. I would find it lovely if there was a function such as
DoBank(Deposit: TItemArray; WithDraw: TItemArray): boolean;
Which would just deal with everything.
- - Debug.scar Working on this: Rasta Magician
This will deal with all the debugging and progress report functions. Have a look here for what we are aiming for as progress report and a suggestion on how to do it, here.
- - Walking.scar Working on this: marpis
This will be the file in charge of all the main walking routines.
Place -> Bank, Bank -> Place, Lost -> Place;
It should also be able to 'ReCenter':
eg if not FindTree then ReCenter; //walks to the place where he is sure a tree should be, in case he walked away from it
So, who wants to plan out what?
~RM
ItemInfo.scar , Banking.scar, Debug.scar, Walking.scar.
Remember, the most important thing is to have the plan, as in function name, params, result and description. This will allow us to ask SRL Members to do it, once we open the MSI SVN Forums; This will happen as soon as we have our things planned. If you feel that something is too complicated or complex to explain/ask of SRL Members, then feel free to do it yourself.
- - ItemInfo.scar Working on this: rogeruk
All colors and item information will be loaded from here. Remember to use constants for easier reading and scripting, no strings! If you want to only make one function to load all Items then I suggest two sets of constants:
[php]
const
Tool_Axe = 0;
Axe_Rune = 0;
Axe_Adamant = 1;
Axe_Mithril = 2;
//…
Tool_Pick = 1;
//…
[/php]
- - Objects.scar Working on this: NCDS
This file will be responsible for all the finding. Remember to make it flexible enough for all needs. Remember to also alter the types as you see fit. This file will need to be able to find objets in MS, Inv, Bank and wherever else might be needed.
- - Banking.scar Working on this: Nauman
This will deal with all banking/withdrawal, therefore it'll have to be pretty damn well organized. I would find it lovely if there was a function such as
DoBank(Deposit: TItemArray; WithDraw: TItemArray): boolean;
Which would just deal with everything.
- - Debug.scar Working on this: Rasta Magician
This will deal with all the debugging and progress report functions. Have a look here for what we are aiming for as progress report and a suggestion on how to do it, here.
- - Walking.scar Working on this: marpis
This will be the file in charge of all the main walking routines.
Place -> Bank, Bank -> Place, Lost -> Place;
It should also be able to 'ReCenter':
eg if not FindTree then ReCenter; //walks to the place where he is sure a tree should be, in case he walked away from it
So, who wants to plan out what?
~RM