1. Best way to start designing a new script is to map our exactly what you want it to do action by action correct? Then start to write out the script to accomplish the action map?
What you mean by this? As i understand we are talking about coding structure. In this case i always would try to make a plain process flow. What are your targets , what you want to accomplish.
I normaly start by a simple flow like
program new;
begin
//Login
// Move to Bank
// Get a BodBook
// Move to Smith
// Get a Bod
// Move to Tailor
// Get a Bod
// Drop bods to book
/Logout
end.
Then i think about wich actions can be compressed. Like Get Bod, it doesnt make sense making multiple getbod functions, make one work for all.
In case of design i recommning following structure :
Prorgramm Name ( Program Test;)
Units ( uses library;) ---> You will learn later
Variables ( Var one : Bool; two : Cardinal)
Constants ( const eins = 1; yikes = False;)
Methods
Main Body
Later On when you are able to structure your script i will show you a bit about units...
2. Auto log in's? Am I correct that I do not have to write something for this as the Stealth client will re log you in if there is a disconnect?
You can connect the selected profile by "Connect();" make sure you autoselected server\char else it will hangup. There is also an method for enable or disable autoreconnect but then you must handle that your script only interact when you are connected.
You also can disconnect and changeprofile
3. Pascal Language. Is there a recommended light reading book in English somewhere that I can review. Having not programmed anything really since my apple II+ computer way back in the day some basic understanding might help.
I learned it by using it and look into other samples or consult google. Pascal script inside of Stealth doestn support all features from pascal. So most samples about console\gui\threads wont help you out.
4. In the current scripts I use for EUO there are set up screen or actions to target your storage boxes etc. Is it better to just Hard code the id's? Does stealth even use these set up screens? Never made on so no clue how you do it..
You can by building up a virtual cursor if you catch that point i can write you a sample. I personally use dynamic ID-generating by functions or drop them static because i run my scripts clientless and dont care for a setup each time.