SRL Archive - News and General

Hey trying to use ashamans alter script need help


rowan131

2012-08-16 12:03:16

It used to work before it got me from 70-95 prayer with no problems a month or 2 ago. Now when i am trying to run it for 95-99 prayer i get this error.
[Error] C:\Simba\Includes\srl/srl/misc/paintsmart.simba(41:33): Unknown identifier 'SmartGetDebugDC' at line 40
Compiling failed.
Does anyone know how i fix this so i can get my 99 prayer? I haven't changed any settings in simba and downloaded the newest version last week v991 I think it is. I went to this link followed the instructions and now extensions don't need to be updated so I am assuming it downloaded it.
Thanks.

P1ng

2012-08-16 12:25:07

There will be red text at the top of your script, these are includes and need to be changed to go with the latest updates to SRL and Simba.

change {$i SRL/SRL/misc/paintsmart.simba} to {$i SRL/SRL/misc/smartgraphics.simba}

That should get it working, if you recieve more errors post them here.

NKN

2012-08-16 12:34:15

That actually won't get it working, as a bunch of the procedures have an extra parameter added.
After you do the above step, add an extra 'false' after either true or false in it.


SMART_DrawBoxEx(False,Box1,clRed)
This is an example of a bad procedure. It should be:

SMART_DrawBoxEx(False,False,Box1,clRed)
Note the extra false? Add it on the next few errors. :)