SRL Archive - S.M.A.R.T. Questions and Answers.

Editing A Script For Use With SMART..


VivaLaRofl

2008-02-25 18:28:25

Okay, I've been trying to edit Hy's Fight Caver for use with SMART, and as of yet haven't been able to get it working.


I've edited SRL.scar and SMART.scar accordingly, following Markus' tutorial on the Tutorials forum.


As of yet I haven't got the script working, and do NOT know what code I am meant to add, nor where to add it..

So I'm hoping someone can help me..

Runescapian321

2008-02-25 19:58:09

To make sure it'll work at all with SMART, try this instead of editing your SRL folders…

Put

{.include SRL/SRL/Misc/Smart.scar}

Right before all of the other includes but after the program line.

Then put

SmartSetupex(154, False, False);
SetTargetDC(SmartGetDC);

In the mainloop (the loop with only a begin and end.(no 'procedure', 'function', etc)

iamaclone

2008-02-25 23:32:06

hy's mainloop is located at "Set Me Up" if u use markus' method all u have to do is put in the smart include and SetupSRL is already in the main loop i believe

ben600006

2008-02-26 11:52:49

omg, this actualy works, i didnt know it was soooooooo simple lol, thanks for ur help Runescapian321 :)

supadude

2008-02-28 04:03:31

Wow good work runescapian it's all clear to me now i've also just gotten hy's fight cave runner up and running in smart thanks a bunch!