PDA

View Full Version : Include older Functions and Procedures.*old



chwiggy
05-01-2007, 07:52 AM
This is a short tutorial on how to get older functions and procedures such as well anything in the extended folder, if you dont include the files from the extended folder when using older commands you will get hit with unknown identifier errors, yes they do suck. Lol.. Ok here we go.

This tutorial assumes you know the basics of including.

1) Open your program.

2) Under your {.include SRL/SRL.scar} , include the file which holds the function or procedure you need.

Thats it. 2 Steps.

For example you may want to use

function WeAreInMM(WhichDTM: Integer): Boolean;
By: WT-Fakawi
Description:
Finds DTM in minimap.

function WeAreInMS(WhichDTM: Integer): Boolean;
By: WT-Fakawi
Description:
Finds DTM in main screen.

those two commands in your script but its not working. so you include the xDtm.scar file found in the extended folder so your script should look like this where you put your includes.


program New;
{.include SRL/SRL.scar}
{.include SRL/SRL/extended/xDTM.scar}

Including the xDTM.scar file opens up all the older functions and procedures.
Note: some of these may be out-dated with newer stuff.

Hope this helps.
This is my first tutorial on this - many people seem to be having trouble, i did until i figured it out myself rofl. :f:

chwiggy
05-03-2007, 05:01 AM
31 views, no replys - 4 days whats wrong - this is a tutorial for those new scripters is it not? ...

Rune Hacker
05-03-2007, 05:36 AM
Arent the procedures in the extended outdated or no? I never use them because i always use the one in core, but idk. And i actually never knew you needed to include the extended folders separate, cool.