SRL Archive - FAQ

Problem with running scripts on simba.


rastaman92

2013-03-05 07:02:37

Hey guys i've been using simba for a week. I've easily worked out all the anti leeches and stuff however when I run scripts it just hovers over the thing it's suppose to click. I've changed the colours and everything too but I don't think it's the colour. If anyone could it help me it would be deeply appreciated, i've been trying to work it out all night and it's becoming very annoying!
Thank you

tealc

2013-03-05 07:03:57

are you searching for uptext before clicking because uptext doesn't work great

rastaman92

2013-03-05 07:07:41

uptext? no idea what that is lol could you break that down to nooby terms :). Like I downloaded the willow banker for 07 and it just hovers over the tree. It doesn't click on it. It does recognise the tree but it's not doing anything about it. At first I thought it was the script but now it's doing it with all of them. I don't know whether I need to download smart 8 for it to work, and i'm running simba 0.99 I think.

tealc

2013-03-05 07:13:17

try changing this line from

if (P07_ContainsText(GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 13423640, 65, 'P07UpChars'), [Location])) then

if(true) then

if that will clicks its the uptext

rastaman92

2013-03-05 07:19:28

nope it still just hovers :/ it's driving me crazy, any ideas? Thank you for the quick responses though it means alot.

tealc

2013-03-05 07:30:31

try changing

If P07_FindObj(x, y, Location, TreeColor, 5) Then
to

if(FindColorSpiral(X, Y, TreeColor, MSX1, MSY1, MSX2, MSY2)) then

Runehack123

2013-03-05 07:31:37

From: rastaman92
nope it still just hovers :/ it's driving me crazy, any ideas? Thank you for the quick responses though it means alot.


Chances are you're stuck in an infinite loop of some sort.
If you don't know what the problem is then you need to debug more. e.g. Writeln('We found an egg')
If you put a global constant e.g. Debug as a boolean at the start of your script you can define it as true/false depending on whether you want to see what's going on.
Then instead of writing Writeln('We found an egg') if an egg is found do..
If Debug Then
Writeln('We found an egg')
That way you can disable debugging. Debug everything if you don't know where it's messing up on. You should be doing that to see where your script gets stuck if it ever breaks down! That way you can quickly find the problem.

rastaman92

2013-03-05 07:38:11

From: Runehack123
Chances are you're stuck in an infinite loop of some sort.
If you don't know what the problem is then you need to debug more. e.g. Writeln('We found an egg')
If you put a global constant e.g. Debug as a boolean at the start of your script you can define it as true/false depending on whether you want to see what's going on.
Then instead of writing Writeln('We found an egg') if an egg is found do..
If Debug Then
Writeln('We found an egg')
That way you can disable debugging. Debug everything if you don't know where it's messing up on. You should be doing that to see where your script gets stuck if it ever breaks down! That way you can quickly find the problem.



Thank you mate, i'll try that however it's EVERY script that's doing this to me. Would it not be something client based or something? It was working before then I tried to set up smart 8. It stopped working but i've done several wipe outs to simba and clean installs but its still doing the same stuff and I haven't installed smart 8 again. Thanks for the replies.

Sjoe

2013-03-05 08:01:33

Did u set the graphics up correctly? Brightness fullest.

rastaman92

2013-03-05 08:35:13

From: Sjoekeloe
Did u set the graphics up correctly? Brightness fullest.


yeah I did i've almost tried everything to my knowledge. Here's a screenie.
Thanks for your help
[ATTACH=CONFIG]19684[/ATTACH]