SRL Archive - Bugs

SMART ERROR - "result:= SmartGetColor(x, y);"


Mike408

2010-09-26 17:10:10

everytime i try to run a script that uses SMART, i get this error and it comes up with this piece of text highlighted. What is the problem?

Mike408

2010-09-26 17:22:33

From: Mike408
everytime i try to run a script that uses SMART, i get this error and it comes up with this piece of text highlighted. What is the problem?

this happens with every script i use, whether its a regular simba, MSI, or even just a smart compile script. Im almost 100% sure its my SMART plugins or something. someone please help…

Wizzup?

2010-09-26 17:24:46

What does the debug say (The text below the script)

Mike408

2010-09-26 17:47:44

From: Wizzup?
What does the debug say (The text below the script)


SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 43, Members: False, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 82
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL/logs/SRL log 26-09-10 0.txt] has not been freed in the script, freeing it now.

The logs are empty

Wizzup?

2010-09-26 17:48:52

Do you see the SMART window come up?

Mike408

2010-09-26 17:53:41

No the error occurs before smart can load.

Wizzup?

2010-09-26 18:05:44

That is weird. I assume you have Java installed, and didn't run into other errors before? What script are you trying? Do other scripts work? What Windows version are you on?

Mike408

2010-09-26 18:23:32

From: Wizzup?
That is weird. I assume you have Java installed, and didn't run into other errors before? What script are you trying? Do other scripts work? What Windows version are you on?


It is weird. It worked before the rs updat and the srl updates. I'm using win7 and ubuntu 10.10, both have the same problem. I assume I have java installed becausecit worked 2 weeks ago. It does the same thing with all scripts that use smart. Whether it's win or ubuntu.

Wizzup?

2010-09-26 18:31:19

From: Mike408
It is weird. It worked before the rs updat and the srl updates. I'm using win7 and ubuntu 10.10, both have the same problem. I assume I have java installed becausecit worked 2 weeks ago. It does the same thing with all scripts that use smart. Whether it's win or ubuntu.


Do you have the latest SRL and Simba then? (Do you have the SRL downloader enabled)
If it worked two weeks ago you probably have Java installed. I suggest trying some other scripts.

Mike408

2010-09-26 18:34:46

From: Wizzup?
Do you have the latest SRL and Simba then? (Do you have the SRL downloader enabled)
If it worked two weeks ago you probably have Java installed. I suggest trying some other scripts.

I tried other scripts, MSI, regular scripts, and even the SMART test script still doesnt work. I have SRL updates enabled. I might just try setting up simba from scratch and uninstalling my current setup. :/

Wizzup?

2010-09-26 18:37:40

From: Mike408
I tried other scripts, MSI, regular scripts, and even the SMART test script still doesnt work. I have SRL updates enabled. I might just try setting up simba from scratch and uninstalling my current setup. :/


Or rename the current setup and reinstall Simba; see if that helps. :)

Mike408

2010-09-26 18:43:28

From: Wizzup?
Or rename the current setup and reinstall Simba; see if that helps. :)


Ill let you know how it goes.

Mike408

2010-09-26 19:00:41

uninstalled, reinstalled. Same exact problem…
I noticed something I failed to mention previously…in the console it says:

ERROR:33:26 'RoundClose' expected found 'object' in libsmart
ERROR:33:26 'Begin' expected found 'object' in libsmart
ERROR:33:26 'End' expected found 'object' in libsmart
ERROR:33:26 'SemiColon' expected found 'object' in libsmart

what i meant to say earlier, is that even if you run different scripts, it isn't really the script. Because if I try to run
program new;
{$i srl/srl/misc/smart.scar}
{$i srl/srl.scar}
{$i reflection/reflection.simba}

begin
SetupSRL;
SetupReflectionEx(False);
end.


Then it still comes up with the SAME error. It is something wrong with an extension and/or SMART.

Sir R. M8gic1an

2010-09-26 19:18:21

What file is the error in? Also, as the error debug does not count comment lines, do remember the error might be further down.

~RM

Mike408

2010-09-26 19:21:01

From: Sir R. Magician
What file is the error in? Also, as the error debug does not count comment lines, do remember the error might be further down.

~RM


How would I check where the error is?
Also, how do i make the console pop back up. It disappeared and now it wont open when i click the console button.

i luffs yeww

2010-09-26 21:34:50

One of the menu buttons says show/hide console I think. Might be a view > something console thing too.

About the error (ERROR:33:26 'RoundClose' expected found 'object' in libsmart.. etc..), that's in SMART for everyone. It's been that way for awhile now.

The main error.. Trying loading SMART up without reflection.


{$Define SMART}
{$i SRL/SRL.scar}

begin
SMART_Server := 64;
SMART_Members := True;
SMART_Signed := True;
SMART_SuperDetail := False;
SetupSRL;
end.

mastaraymond

2010-09-27 03:29:44

You don't have Java installed..