Log in

View Full Version : Problem starting scripts



MarkRavan
01-10-2012, 12:15 AM
On every script I try to use it says this

Exception in Script: Unable to find file 'ObjectDTM\ObjDTMInclude.simba' used from ''

or

Exception in Script: Unable to find file 'SRL/SRL/Misc/Smart.scar' used from ''

Can anyone help me with this?

Tickyy
01-10-2012, 12:17 AM
Click here (http://villavu.com/forum/showthread.php?p=851555#post851555) :).

YoHoJo
01-10-2012, 12:19 AM
For the first error, you're using a script that uses object DTMs. This include must be downloaded and manually installed. I'm sure if you read thr first post on the script's thread there is a link to the object DTM thread. Search for it, read it, and download/install it.

Second error, not sure but it's a common error. Re-read the install thread and make sure you followed all steps.

Spelletje
01-10-2012, 12:27 AM
I reinstalled simba the same as I have done before only this time I get this error

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Kyle Undefined
01-10-2012, 12:28 AM
We need more information, what's the line of code that gets highlighted orange when it gives that error? What file is it in?

Brandon
01-10-2012, 12:28 AM
I reinstalled simba the same as I have done before only this time I get this error

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

You need java 6u29 from yohojo's tutorial on how to fix simba/smart lag.

MarkRavan
01-10-2012, 12:54 AM
Exception in Script: Unable to find file 'SRL\SRL.scar' used from ''
is still there, and there is no highlighted or red line. :/

YoHoJo
01-10-2012, 12:55 AM
Exception in Script: Unable to find file 'SRL\SRL.scar' used from ''
is still there, and there is no highlighted or red line. :/

Post in the thread, and tell author to update scrip to SRL 5.
If you ever get Unable to find file 'SRL\SRL.scar' that means author needs to update script.

MarkRavan
01-10-2012, 12:58 AM
Ohhh, sorry. Thank you! Is there any way I can find out whether the script is SRL 5 before I download it?

YoHoJo
01-10-2012, 01:09 AM
If it has anything '.scar' at the top, it's not SRL5 yet.

It's pretty simple to update them, just change the .scar to .simba, and you might get one of two more errors, fix those,and it's ready to go.

Spelletje
01-10-2012, 01:13 AM
Tried it with ZMI-Extreme(1.1)

A second tab called smart will appear this is the one that gives the error

as in to what line get orange highlighted

SRL Compiled in 15 msec
SMART Initialized.
Loaded: Server 35, Members: False, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

this bit is red and the bottom line was all orange

95 function IsRealMouseInBox(B : TBox): Boolean;
96 var
97 P : TPoint;
98 begin
99 GetRealMousePos(P.X, P.Y);
100 Result := PointInBox(P, B);
101 end;

removed it 4 times installed it 5 times now, cleaned the reg, the cache, defraged, shut down and restarted tried about all. Different locations, starting as administrator, all users as administrator, makes no difference

whatev
01-10-2012, 01:55 AM
Tried it with ZMI-Extreme(1.1)

A second tab called smart will appear this is the one that gives the error

as in to what line get orange highlighted

SRL Compiled in 15 msec
SMART Initialized.
Loaded: Server 35, Members: False, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

this bit is red and the bottom line was all orange

95 function IsRealMouseInBox(B : TBox): Boolean;
96 var
97 P : TPoint;
98 begin
99 GetRealMousePos(P.X, P.Y);
100 Result := PointInBox(P, B);
101 end;

removed it 4 times installed it 5 times now, cleaned the reg, the cache, defraged, shut down and restarted tried about all. Different locations, starting as administrator, all users as administrator, makes no difference

One thing I would suggest is to install the directory on your desktop. This should clear up access violations. I've had the same problem with access violations even after running as an admin, and this was the solution.

Spelletje
01-10-2012, 02:47 PM
One thing I would suggest is to install the directory on your desktop. This should clear up access violations. I've had the same problem with access violations even after running as an admin, and this was the solution.

made no difference what so ever

Kyle Undefined
01-10-2012, 04:21 PM
Do you have the correct Java installed and running?

Spelletje
01-10-2012, 09:58 PM
Gave this error with java 6 update 29 and still gives the exact same error with java 6 update 30