Log in

View Full Version : I seem to have problems with "SMART_SetupDebug();" and others.



satkan
07-16-2012, 06:50 PM
Hi there,

As i have an excuse for a dumb question, as it is my birthday,
i'm going to ask the following.


How come that whatever script i try to run in Simba keeps prompting with the same error?
(In this instance it is from inside the Ghouling Ghoul Script.)




[Error] C:\Simba\Includes\SRL/SRL/misc/paintsmart.simba(165:5): Unknown identifier 'SMART_SetupDebug' at line 164
Compiling failed.

It also keeps referring to

SMART_SetupDebug();


I presume this is due to something being faulty in the paintsmart class...
As the error is situated there.




Also, in other scrips i seem to get errors at :

[Error] C:\Users\Jelle\Desktop\Brandons simba\Scripts\P1ngAWA v2.simba(39:3): Unknown identifier 'Smart_Server' at line 38
Compiling failed.


Smart_Server := 10;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;



These are also of the same type of error, so it keeps me wondering.

I'm currently using Brandon's Simba setup as posted as a temporary fix for the Smart client, but that shouldn't be a problem.


Anyways, hopefully someone can enlighten me with some information on how to solve this issue.

For he who gives me an answer which solves my problem i ofcourse shall grant 100k rsgp if he so pleases.

Thanks in advance,
Kind regards,
Satkan.

Abu
07-16-2012, 06:53 PM
Replace paintsmart.simba with SmartGraphics.simba

Read this (http://villavu.com/forum/showthread.php?t=84334) for more info on the updates that have been made to SRL

satkan
07-16-2012, 07:07 PM
That indeed seems to do the trick.

Sadly, now "Canvas.Handle := SmartGetDebugDC;" popped up.

Sigh, i wonder if i'd ever be able to even run a script. '-.-

satkan
07-16-2012, 07:19 PM
Nevermind,

I just started to rule out all the smart related code,

and just launched in browser.


Pm me for your gp if you want.

P1ng
07-16-2012, 10:54 PM
Go to my AnyWhere Alcher's thread in my signature and you will find that I posted a working version when used in conjunction with the quickfix in my video.
I even posted a proggy of me running this quickfix version yesterday for over 6hrs..
|--------------------------------------|
|------->P1ngs Anywhere A1cher<--------|
|--------------------------------------|
# Of Alchs 5623
XP Gained: 365495
Breaks Taken: 6
Levels Gained: 0
Time running: 06h 04m 38s
|--------------------------------------|

As for the ghouling script, yes, do as abu says and change the include at the top of the script where its says {$i SRL/SRL/misc/paintsmart.simba} in red writing.
Completely remove that line and in it's place put {$i SRL/SRL/Misc/SmartGraphics.Simba}