SRL Archive - OSR Help

I literally have no idea what im doing


Qwertyer

2013-03-14 13:16:34

*insert a funny photo of a dog in lab coat looking stupid here*

im trying to run essence harvester and when i start the script it loads rs, logs in and then nothing just stands still.

my client said

Error: Exception: Access violation at line 78
The following DTMs were not freed: [0, 1, 2, 3, SRL - Lamp bitmap, 5, 6, 7, 8, 9]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap, 5]

HALP PLEASE
shouldnt be that hard im just noob :(

Premix

2013-03-14 18:10:15

Could you post the line you are having problems with? Easier to see :)

Qwertyer

2013-03-15 10:42:08

SMART_CANVAS.FastDrawClear(1);

kyleinkman

2013-03-15 10:58:58

From: Qwertyer
*insert a funny photo of a dog in lab coat looking stupid here*

im trying to run essence harvester and when i start the script it loads rs, logs in and then nothing just stands still.

my client said

Error: Exception: Access violation at line 78
The following DTMs were not freed: [0, 1, 2, 3, SRL - Lamp bitmap, 5, 6, 7, 8, 9]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap, 5]

HALP PLEASE
shouldnt be that hard im just noob :(


But on a serious note, can you please link to the script you are trying to use?

Qwertyer

2013-03-15 11:03:10

http://villavu.com/forum/showthread.php?t=98424

kyleinkman

2013-03-15 11:07:42

in his op he tells you how to set it up correctly, id suggest going to this section of his thread


And that might solve your problem :) happy botting

Qwertyer

2013-03-15 11:24:29

changed smartgraphigs and atleast something happened it loaded paint but still just stands still at bank

TypeSend(aL[aLi]);
is the next thing it says, how am i suposed to figure these out w/o knowing anything bout coding? haha

Premix

2013-03-15 11:53:55

I had the same problem with the script. After trying hours fixing it, I found it out. Not why the error popped up, just changed the code a little bit.

What I did first, was changing the aL (Line 97) to what i wrote under this text. In the aL, it was a lot of random text that got spammed out.
In my opinion, it's very easy to see if someone is using the script if the text keep coming up.
So the change I did, was that I removed all the text.

aL:=[''];


The aL above is connected to the procedure Sing. The aL was used in the TypeSend together with ALi.
Just change the TypeSend line to: TypeSend('');
That's what did the trick for me atleast.

procedure Sing;
begin
if aLi=length(aL)-2 then
aLi:=0;
TypeSend('');
inc(ALi);
wait(2000);
end;


I hope it helped, if it didn't, please PM me and I'll try to help even more and maybe some better explaining :)
Next time you encounter a problem like this, just try to change a little part of the code that has the error or some of the code that is connected. You can always use CTRL+Z to reset the last changes you did.
Happy botting, Qwertyer :) I also love this script <3

Qwertyer

2013-03-15 12:03:09

yay, it started running, thanks alot to all of you :)

kyleinkman

2013-03-15 12:08:25

From: Qwertyer
yay, it started running, thanks alot to all of you :)


no problem glad to help

Premix

2013-03-15 13:44:01

From: Qwertyer
yay, it started running, thanks alot to all of you :)

No problem :) Glad to help. Tell me if you need more help with other scripts :P