K, the influx of all the posts of the simple outdated errors are overwhelming. Here's a tutorial on how to fix it yourself.
At the top of the script, you might see this:
Simba Code:
{$i SRL/SRL/Misc/paintsmart.simba}
Change it to:
Simba Code:
{$i SRL/SRL/Misc/SmartGraphics.simba}
You might also see:
Simba Code:
{$i SRL/SRL/Misc/SMART.simba}
This is for the old SMART, change it to:
Back to SmartGraphics/PaintSmart!
You might get an error on a code like this:
Simba Code:
SMART_DrawBoxEx(False,BoxHere,ClRed)
Easy fix!
Add an extra false, like so:
Simba Code:
SMART_DrawBoxEx(False,False,BoxHere,ClRed)
Now for errors like these:
Simba Code:
DrawBitmap(Pic, Smart_Canvas.Canvas, BmpPlacement.x, BmpPlacement.y);
Change to something like:
Simba Code:
SMART_DrawBitmap(True,BitMapHere,Point(x,y))
changing
SmartGetDebugDC to GetDebugBitmap fixes the errors on most outdated scripts. just got Euphonic Fighter working.
Don't change anything else though!
Towards the bottom of the script, in the setup section, you might find this:
Simba Code:
Smart_Server := 26;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;
Change those lines to:
Simba Code:
SRL_SixHourFix := True;
SMART_FixSpeed := True;
The script -should- now compile.
Runtime errors!
For any thing that uses hard coded coordinates, for the second and fourth coordinate, minus 50 from it.
Anything else I need to add, leave a message.