SRL Archive - Unofficial Development

[Unofficial] OldschoolRS07 Include


DannyRS

2013-02-23 09:50:18

About

THIS IS NOW OUTDATED

PLEASE UPDATE TO SRL-OSR HERE

Must be called in this order:


{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

SetupSRL;
P07_DeclarePlayer;
SetupP07Include;


This is not a Script. it is an include, it will not bot anything for you, you must write a script to use it!!


If you are unfamiliar with my similar project: Projectrs06 SRL Include please take a moment to read and familiarize yourself with what it is,



{$I P07Include.Simba}
SetupP07Include; //call in your script

Designed for Brightness all the way to the right! (up full)



Setup

Designed for a browser (I'm using Chrome), not S.M.A.R.T, but it will probably work in there too (remember to drag the green target from Simba's toolbar onto the RS client)

NEW Video Tutorial by YoHoJo:
General Setup:http://youtu.be/Iox4LylEj40
Get SMART to load RS07 (So you can minimize the bot): http://youtu.be/0N-RWHwHHAY

    Save and Move P07Include To: Simba\Includes\
    Save, Extract and Move P07UpChars(folder) To: Simba\Fonts\


Example how to use in a Script:


Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

End.

Matsetst

2013-02-23 10:14:10

ah sweet :D

OwnageVesta

2013-02-23 10:22:56

Thanks man! :D

DannyRS

2013-02-23 10:25:22

It's largely just a modified version of the private server include we developed to work for 07, so if you find any errors I made while copying and pasting stuff, please let me know so I can update :)

imangry

2013-02-23 10:26:35

Works well upto i try use If (P07_IsUpTextMultiCustom(['Mine','Rocks']))Then

then it seems to crash with the error:

Error: Exception: Font [P07UpChars] not found. at line 107
The following DTMs were not freed: [0, 1]

I have installed them both in the right place I just don't see what im doing wrong.
Any help?

DannyRS

2013-02-23 10:27:09

From: imangry
Works well upto i try use If (P07_IsUpTextMultiCustom(['Mine','Rocks']))Then

then it seems to crash with the error:

Error: Exception: Font [P07UpChars] not found. at line 107
The following DTMs were not freed: [0, 1]

I have installed them both in the right place I just don't see what im doing wrong.
Any help?


Try Restarting Simba to load the new Font you just added? Alternatively make sure it's only one folder that contains bitmap's (not a folder inside a folder that windows makes when you extract sometimes)

imangry

2013-02-23 10:32:33

From: DannyRS
Try Restarting Simba to load the new Font you just added? Alternatively make sure it's only one folder that contains bitmap's (not a folder inside a folder that windows makes when you extract sometimes)
Thanks forgot to restart. :duh:

DannyRS

2013-02-23 10:33:42

From: imangry
Thanks forgot to restart. :P


Let me know if everything works ok, there's quite a bit to test by myself, I tried my best to make sure I got everything working perfect before releasing publicly :)

And I'm running several scripts using it, they seem to be working just fine!

rj

2013-02-23 10:39:38

yesshhh!!

DannyRS

2013-02-23 10:40:37

From: rjj95
yesshhh!!


No gold-farming scripts without decent anti-leech please :p preferably no public gold farming ones at all ^^

rj

2013-02-23 10:48:05

From: DannyRS
No gold-farming scripts without decent anti-leech please :p preferably no public gold farming ones at all ^^


DW will have anti leech

The Killer

2013-02-23 10:51:25

hmm, I presume you havn't got randoms done yet? :P

DannyRS

2013-02-23 10:54:29

From: The Killer
hmm, I presume you havn't got randoms done yet? :P


I have a few of em done, but that's far too much for me to do alone lol, didn't add any randoms to the Include as the code is very messy atm,

I'm sure the SRL Random Team shall return soon tho!!

rj

2013-02-23 11:19:04

I added basic randoms that logs out if it can't find anything, also found a smokey rock:

{
Smoke info
Best color: 6850447
tolerance 4
Hue mod 0.11
Sat mod 0.38
CTS:2
}

It's the best I could do

anony

2013-02-23 12:07:04

Thank you!

the elve age

2013-02-23 13:03:49

I'm new to all this Simba business :P, but basically just code that allows simba to load the RS07 client? Right? Like I said, I haven't used Simba since it was called Scar.

rj

2013-02-23 13:09:05

From: the elve age
I'm new to all this Simba business :P, but basically just code that allows simba to load the RS07 client? Right? Like I said, I haven't used Simba since it was called Scar.


Your from mopar right? And simba can load RS but you can also just use it with the browser

lil str kid

2013-02-23 13:11:32

From: rjj95
Your from mopar right? And simba can load RS but you can also just use it with the browser


Out of curosity how can it be loaded within simba so you can do whatever you want on your computer?

DannyRS

2013-02-23 13:14:01

From: the elve age
I'm new to all this Simba business :P, but basically just code that allows simba to load the RS07 client? Right? Like I said, I haven't used Simba since it was called Scar.


no thats S.M.A.R.T, this gives you:


rj

2013-02-23 13:15:35

From: lil str kid
Out of curosity how can it be loaded within simba so you can do whatever you want on your computer?


On Runescape? You have to use the SMART include, on RS 2007 I'm not sure but I know it's easy you can just edit smart params. I'm not the person to ask though

marc2333

2013-02-23 13:42:06

Hey, what is an anti leech ? Is it like just a part of the code where user needs to complete/custum the script ? Not planning on making gold farming bots but I was just curious.

intensity254

2013-02-23 13:49:46

"[Error] C:\Simba\Includes\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56" Any idea?

BigRedJapan

2013-02-23 13:49:52

So basicly its the same ways as coding just we need to put P07_ before every procedure and string!

rj

2013-02-23 13:53:24

Danny, the drop procedure needs to be updated to look more human like :) also it hits the logout button a lot by accident.

DannyRS

2013-02-23 13:55:06

From: intensity254
"[Error] C:\Simba\Includes\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56" Any idea?


you need {$I SRL/SRL.Simba} aswell before {$I P07Include.Simba}

From: rjj95
Danny, the drop procedure needs to be updated to look more human like :) also it hits the logout button a lot by accident.


:O I'll take a look

rj

2013-02-23 13:57:24

From: DannyRS
you need {$I SRL/SRL.Simba} aswell before {$I P07Include.Simba}



:O I'll take a look


Also I think the login procedure may need to be fixed it's hard to explain the bug test it out yourself

DannyRS

2013-02-23 14:00:52

From: rjj95
Also I think the login procedure may need to be fixed it's hard to explain the bug test it out yourself


are you sure you used green target, both work flawless for me

dont drag it onto the navbar!

intensity254

2013-02-23 14:02:44

I'm lost. I keep getting the same error and I have everything set up properly.

DannyRS

2013-02-23 14:04:14

From: intensity254
I'm lost. I keep getting the same error and I have everything set up properly.


run this


Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
End.

Emperia

2013-02-23 14:05:12

From: DannyRS
are you sure you used green target, both work flawless for me

dont drag it onto the navbar!


The drop procedure is bugged just like rjj95 said, it doesnt drop properly and it accidently switches to the logout tab.

But it's working fairly good other than that, keep it up! :)

DannyRS

2013-02-23 14:06:16

From: Emperia
The drop procedure is bugged just like rjj95 said, it doesnt drop properly and it accidently switches to the logout tab.

But it's working fairly good other than that, keep it up! :)


how can i recreate this bug?

Emperia

2013-02-23 14:07:33

From: DannyRS
how can i recreate this bug?


I'm sorry, I don't quite understand what you're asking me atm.

DannyRS

2013-02-23 14:09:15

From: Emperia
I'm sorry, I don't quite understand what you're asking me atm.


are you just calling P07_DropAll; and it's buggy? it works flawlessly for me

Emperia

2013-02-23 14:11:06

From: DannyRS
are you just calling P07_DropAll; and it's buggy? it works flawlessly for me


I suppose, well it drops like 8 items max in the inventory, accidently drops item(s) which it shouldn't drop, and it goes to the logout sometimes so you'll have to open up the inventory yourself.

intensity254

2013-02-23 14:12:23

From: DannyRS
run this


Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
End.


Did it. "Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
End."

Everything is setup but I can't get it working.

DannyRS

2013-02-23 14:13:02

From: Emperia
I suppose, well it drops like 8 items max in the inventory, accidently drops item(s) which it shouldn't drop, and it goes to the logout sometimes so you'll have to open up the inventory yourself.


what the hell lol, do you have team viewer so you can show me?


From: intensity254
Did it.

Everything is setup but I can't get it working.


did you install simba right? http://www.youtube.com/watch?v=mho1ek92jgY

Emperia

2013-02-23 14:16:27

From: DannyRS
what the hell lol, do you have team viewer so you can show me?


I don't sorry, I was just about to say it works well now, but after the 3rd/4th inventory drop it accidently went on the logout tab again. Seems to happen every now and then.

eShade

2013-02-23 14:19:30

Dropping works fine for me, thanks :)

Emperia

2013-02-23 14:27:04

It has accidently logged me out twice now, hmm.

DannyRS

2013-02-23 14:33:39

From: Emperia
It has accidently logged me out twice now, hmm.


2mins double checking math

@Emperia, run this for me with a full inv plz, show me the image that opens in simba,


Program DropDebugger;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}
{$I SRL/SRL/Misc/Debug.Simba}

Procedure P07_DebugBoxes(DSlotX,DSlotY:Integer);
Var
xsx,ysy,R,C:Integer;
FoundItem:T2DPointArray;
Begin
SetLength(FoundItem,1);
xsx:=565;
ysy:=215;
For R:=0 To 3 Do
Begin
For C:=0 To 6 Do
Begin
if (R=DSlotX) and (C=DSlotY) Then
Begin
FoundItem[0]:=[Point((xsx+(R*42)),(ysy+(C*36))),Point((xsx+(R*42)+27),(ysy+(C*36)+25))];
DebugATPA(FoundItem,'testbox');
End;
End;
End;
End;

Begin
SetupP07Include;
ActivateClient;
P07_DebugBoxes(1,6);
End.

The Killer

2013-02-23 14:45:07

Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Why not just use the TUser record in the srl include?
Other than that GoodJob :), Don't know why you didn't keep it SRL+ but that's your choice at the end of the day.

DannyRS

2013-02-23 14:48:22

From: The Killer
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Why not just use the TUser record in the srl include?
Other than that GoodJob :), Don't know why you didn't keep it SRL+ but that's your choice at the end of the day.


1. SetupSRL will break the include
2. its not a script so why, most tutorials here require up-text and etc

rj

2013-02-23 14:49:50

Btw, a lot of people are getting this error:

What is it?

The Killer

2013-02-23 14:53:25

From: rjj95
Btw, a lot of people are getting this error:

What is it?

The fonts are wrong or have been loaded wrong.

rj

2013-02-23 14:53:57

From: The Killer
The fonts are wrong or have been loaded wrong.


Is it the script or the include?

DannyRS

2013-02-23 14:55:49

From: rjj95
Btw, a lot of people are getting this error:

What is it?


"a lot of people" means who, just you? try a simba restart?

is this on uptext?

rj

2013-02-23 15:09:43

From: DannyRS
"a lot of people" means who, just you? try a simba restart?

is this on uptext?


check my powerminer thread I'm not getting it

DannyRS

2013-02-23 15:15:00

From: rjj95
check my powerminer thread I'm not getting it


its your forum crap not the include :p

rj

2013-02-23 15:22:11

From: DannyRS
its your forum crap not the include :p


Hows the form messing with it?

DannyRS

2013-02-23 15:22:58

From: rjj95
Hows the form messing with it?


Font settings idk, the guy got it working anyway, maybe wasn't

bot2stake1

2013-02-23 15:26:24

Thanks a lot for putting this up, I am able to run rjj95's powerminer now (got it working)

CC94

2013-02-23 15:47:38

How do i add this bro? Im a new fag

bdenizb

2013-02-23 15:48:33

It says:

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

purezfire

2013-02-23 15:48:55

Looks great! How would i get this working with smart 8 though? Is there any way to change the link the smart client loads?

DannyRS

2013-02-23 15:49:41

From: CC94
How do i add this bro? Im a new fag


read the OP.

Ashaman88

2013-02-23 15:54:01

randoms are really annoying on here :( can't bot forever like on reg rs

purezfire

2013-02-23 15:54:26

danny help with smart pl0xx
refer to my post above if you can, im totally stumped.

bdenizb

2013-02-23 15:55:08

It also says:

[Error] C:\Simba\Includes\P07Include (1).simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

CC94

2013-02-23 15:57:13

wheres simba\fonts i cant find it.

CC94

2013-02-23 16:02:39

Exception in Script: Unable to find file 'P07Include.Simba'

i added the things to font and includs like Op said??

DannyRS

2013-02-23 16:04:33

From: CC94
Exception in Script: Unable to find file 'P07Include.Simba'

i added the things to font and includs like Op said??


In the wrong places then

http://en.wikipedia.org/wiki/Folder_%28computing%29

bdenizb

2013-02-23 16:06:08

Plz answer man :)

CC94

2013-02-23 16:08:39

Alright thanks.

DannyRS

2013-02-23 16:12:14

From: bdenizb
It also says:

[Error] C:\Simba\Includes\P07Include (1).simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


dont try to compile the Include, you need in a script,

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

bdenizb

2013-02-23 16:14:12

Do you have skype, I need some serious help!! :D

jake115

2013-02-23 16:17:53

danny look at your messages

DannyRS

2013-02-23 16:24:57

From: jake115
danny look at your messages


I do read all my pm's, I don't sell scripts sorry!

mcbain

2013-02-23 17:19:43

Woo! Thank youuuu. time to start scripting for myself :D

DannyRS

2013-02-23 17:21:56

From: mcbain
Woo! Thank youuuu. time to start scripting for myself :D


That's exactly what I want to hear !!

unregistered user

2013-02-23 18:49:40

anyone have a working findbank / template i could use?

btw tyvm danny!

J J

2013-02-23 18:54:27

Nice release man I'll look into making some scripts tomorrow!

DannyRS

2013-02-23 18:58:26

From: J J
Nice release man I'll look into making some scripts tomorrow!


Aww ty for not flaming me about making something public !

it probably looks a tad messy (no-one really see's it anyway), but meh its all working, I just fixed loginplayer a tad coz jagex think it's funny to make it so whenever you click the client anywhere on screen the username/password focus switches ! should log you in every time now,

edit - found another different text screen, added that and re-committed the update (1.2), the autoupdater seems to work for me atleast ;)

killer06

2013-02-23 20:17:11

thanks mate currently power minning dat iron. but need to baby sit like every 20mins.

and thanks to the guy at first site wich posted smoking rock colors, works fine :P

punkerpunk13

2013-02-23 20:33:16

Thanks for this. Really needed the camera angle functions.. :P

sprunt

2013-02-23 20:50:32

Sorry im new but im getting;

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

DannyRS

2013-02-23 20:51:37

From: sprunt
Sorry im new but im getting;

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


You don't compile it, it's not a script lol

killer06

2013-02-23 21:09:34

in a random event if the tab disappears the open tab function will always click on it if you call it. just wanted you to know.

DannyRS

2013-02-23 21:11:58

From: killer06
in a random event if the tab disappears the open tab function will always click on it if you call it. just wanted you to know.


Yea the old version had a failsafe for that, but I felt it best to always try and reset, I'll put it back next update ;)

Twinki

2013-02-23 21:38:34

I'm new to scripting with Simba, and was wondering if I have to use P07_FindObj(1267066, 10, 15, ['pen', 'lose', 'oor'], 3)

I'm watching YohoJo's tutorial vids and i'm confused with if P07_FindObj(1267066, 10, 15, ['pen', 'lose', 'oor'], 3) and FindObjCustom(x, y, ['att', 'ack'], [123456, 345678], 5);

Do I have to use your FindObj for 07? If so can I just put P07_FindObj in front of (x, y, ['att', 'ack'], [123456, 345678], 5);

DannyRS

2013-02-23 21:53:50

From: Twinki
I'm new to scripting with Simba, and was wondering if I have to use P07_FindObj(1267066, 10, 15, ['pen', 'lose', 'oor'], 3)

I'm watching YohoJo's tutorial vids and i'm confused with if P07_FindObj(1267066, 10, 15, ['pen', 'lose', 'oor'], 3) and FindObjCustom(x, y, ['att', 'ack'], [123456, 345678], 5);

Do I have to use your FindObj for 07? If so can I just put P07_FindObj in front of (x, y, ['att', 'ack'], [123456, 345678], 5);


I didn't write that function ^^ I can't remember what it does and I'm in bed atm, contact Awkwardsaw and ask him how to use it ^^, some functions are written by the devs from P06Iclude, the writer's name is above the function in blue text :p

If you are that new to Simba, I'd strongly suggest looking into making your own object finding procedure

Twinki

2013-02-23 21:56:49

From: DannyRS
I didn't write that function ^^ I can't remember what it does and I'm in bed atm, contact Awkwardsaw and ask him how to use it ^^, some functions are written by the devs from P06Iclude, the writer's name is above the function in blue text :p


It just finds an object, pretty much the same as FindObj. Was just wondering if I have to use yours in 07, since it goes by color I don't see any difference from using yours and FindObj(var cx, cy: Integer; Text: string; Color, Tol: Integer): Boolean;

Muusta

2013-02-23 21:57:01

What do you mean with: SetupP07Include; //call in your script

Ive done everything right, i tried the code you told another user to try, the one that popped up a blue box.

SeanStar

2013-02-23 23:02:50

[ATTACH=CONFIG]19310[/ATTACH]
Works great! I even got it to work with smart! Very nice! (Changing the param page to http://oldschool1.runescape.com/,j1 and setting RSReady to True)

goobernoob

2013-02-23 23:39:57

Anyone have skype and willing to help me?

Zaros

2013-02-24 03:02:30

For whatever reason, P07_LoginPlayer wasn't working correctly (not going to the password field) .. fixed it by slowing it down and making it send tab

DannyRS

2013-02-24 04:20:50

From: Zaros
For whatever reason, P07_LoginPlayer wasn't working correctly (not going to the password field) .. fixed it by slowing it down and making it send tab


I think I had it send enter, should do the same thing :O


From: Muusta
What do you mean with: SetupP07Include; //call in your script

Ive done everything right, i tried the code you told another user to try, the one that popped up a blue box.


This is not a script, it's not going to bot anything for you lol

YoHoJo

2013-02-24 04:29:22

From: Zaros
For whatever reason, P07_LoginPlayer wasn't working correctly (not going to the password field) .. fixed it by slowing it down and making it send tab


Same for me. What's the key/code for tab?

Would be nice for login function to detect weather or not you've clicked Existing User or not too (just as an extra).

Why name Inventory Slot 1 0?
SRL has never done this before? Number the slots starting at 1 instead of 0 please.

Zaros

2013-02-24 04:33:45

From: DannyRS
I think I had it send enter, should do the same thing :O

Enter being 13, yes? Well it SHOULD work, but it wasn't.


From: YoHoJo
Same for me. What's the key/code for tab?

Would be nice for login function to detect weather or not you've clicked Existing User or not too (just as an extra).


I took a stab at it being ASCII code for the keys, I guess I was right. Tab is 9.

DannyRS

2013-02-24 04:41:24

From: YoHoJo
Same for me. What's the key/code for tab?

Would be nice for login function to detect weather or not you've clicked Existing User or not too (just as an extra).

Why name Inventory Slot 1 0?
SRL has never done this before? Number the slots starting at 1 instead of 0 please.


I just decided to keep eveything in programming language, because I didn't know what in SRL started at 0, and what started at 1, kinda too late to change it now, and it's better to have it one way or the other throughout all functions,

What do you mean detect if you've clicked existing user?

From: Zaros
Enter being 13, yes? Well it SHOULD work, but it wasn't.

I took a stab at it being ASCII code for the keys, I guess I was right. Tab is 9.


Ok guess I'll change it to 9 later :/ enter works fine for me

ILikeSmoothHeads

2013-02-24 04:47:02

Could someone help me with setting up smart for 07? I tried to change the url to oldschool, but it's not working:

Says cannot get smart params:
** Failed To Grab Smart Parameters **
** Please check your internet connection/firewall **
Successfully executed.

skype: smooth.heads if anyone can help

oszolom

2013-02-24 05:58:23

I have problem, but my bot see colors coper, tin and iron. only he dont click on Copper.

Please help.

Simba 0.99 has been released. The release pages will be updated in a few
days.

The latest Simba is Simba 992. Changes from 991 are mostly just lape
updates: http://villavu.com/forum/showthread.php?t=94351


Thank you for using Simba,
Hakuna Matata.

Compiled successfully in 16 ms.
Successfully executed.

SirBanana

2013-02-24 07:25:55

My include just updated. Removed P07_FindObj ?

DannyRS

2013-02-24 07:29:09

From: SirDub
My include just updated. Removed P07_FindObj ?


yes because it was rather bad, I'll add a good one later

The Killer

2013-02-24 07:49:09

Going to try and make a lobster fisher with this ^.^, wish me luck?
The fonts work now right? :d

DannyRS

2013-02-24 07:56:23

From: The Killer
Going to try and make a lobster fisher with this ^.^, wish me luck?
The fonts work now right? :d


font's always did, goodluck :)

Zippers

2013-02-24 08:07:08

Hey danny, can you add me on skype? I need your help: vespuccipb

DannyRS

2013-02-24 08:07:55

From: Zippers
Hey danny, can you add me on skype? I need your help: vespuccipb


busy atm, leave me a PM with your issue

Zippers

2013-02-24 08:22:21

I really don't get how to edit a script and make it work for the 2007 client.
Sorry for being new, can someone please assist me on skype I would really appreciate it: vespuccipb

Rob Schneider

2013-02-24 09:38:24

Very nice include! Currently I've only tried P07_IsUpTextMultiCustom (which works extremely well by the way). Thanks for this!

turkkanka

2013-02-24 10:25:04

Compiled successfully in 1810 ms.
Checking P07Include VersionNumber
Local : 1.0 / Latest : 1.3
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
Compiled successfully in 1779 ms.
Checking P07Include VersionNumber
Local : 1.0 / Latest : 1.3
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
keeps saying this over and over. i even manually placed the includes in the right folders /simba. any help im just too nooby.
im using this include for the 2007 powerminer.

turkkanka

2013-02-24 10:26:42

not to mention i restarted the computer, my script and all.

DannyRS

2013-02-24 10:42:49

From: turkkanka
Compiled successfully in 1810 ms.
Checking P07Include VersionNumber
Local : 1.0 / Latest : 1.3
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
Compiled successfully in 1779 ms.
Checking P07Include VersionNumber
Local : 1.0 / Latest : 1.3
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
keeps saying this over and over. i even manually placed the includes in the right folders /simba. any help im just too nooby.
im using this include for the 2007 powerminer.


re-download it from my original post? I checked auto-updater is working fine

turkkanka

2013-02-24 10:54:05

aight i updated everything, all is well now. One thing the firewall warning is from this include i guess?

l6bustank

2013-02-24 11:10:01

anyone tried it yet?

thekilar

2013-02-24 11:14:01

For some reason the uptext keeps returning an empty String, thanks though :).

DannyRS

2013-02-24 11:20:34

From: thekilar
For some reason the uptext keeps returning an empty String, thanks though :).


did you drag the green target from Simba onto the RS window? and install the Font?

From: turkkanka
aight i updated everything, all is well now. One thing the firewall warning is from this include i guess?


No idea

From: l6bustank
anyone tried it yet?


I use this myself for some things ^^ so yes

SmellyPenguin

2013-02-24 13:31:21

Thank you very much for this! I am going to try my best to develop a simple bot :)

Pinecones

2013-02-24 14:08:29

This works well. The only problem I have noticed is that with FindObj, when it seems to find the object itll move the mouse again and then terminate. Meaning… as the mouse jumps around to find the object, once it finds it, it moves the mouse once more and stops.

sanchitsharma

2013-02-24 14:29:32

Exception in Script: Unable to find file 'AntiLeech.Simba'

DannyRS

2013-02-24 14:30:49

From: sanchitsharma
Exception in Script: Unable to find file 'AntiLeech.Simba'


that's script related don't post it here

johnnyhart

2013-02-24 14:42:17

Thanks for this! Works great. Any idea how to get it working in SIMBA? I've got it working in chrome but can't work out how to do it in SIMBA. Thanks again :)

DannyRS

2013-02-24 14:45:57

From: johnnyhart
Thanks for this! Works great. Any idea how to get it working in SIMBA? I've got it working in chrome but can't work out how to do it in SIMBA. Thanks again :)


what…?

Zaros

2013-02-24 14:47:16

From: DannyRS
Ok guess I'll change it to 9 later :/ enter works fine for me


Yeah, I mean when I normally log in I can use enter.. Just not sure why it wouldn't work now.

johnnyhart

2013-02-24 15:11:16

From: DannyRS
what…?


Sorry, I meant SMART not SIMBA :D

DannyRS

2013-02-24 15:12:31

From: johnnyhart
Sorry, I meant SMART not SIMBA :D


Oh, I'm not dealing with SMART ^^

beow

2013-02-24 17:56:38

Checking P07Include VersionNumber
Local : 1.0 / Latest : 1.4
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
It says the local is 1.0 but when i open p07include.simba it states that it is 1.4. not sure why simba still thinks its only 1.0 :(
redownloading include and restarting my pc does nothing to fix the issue

DannyRS

2013-02-24 18:00:48

From: beow
Checking P07Include VersionNumber
Local : 1.0 / Latest : 1.4
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
It says the local is 1.0 but when i open p07include.simba it states that it is 1.4. not sure why simba still thinks its only 1.0 :(
redownloading include and restarting my pc does nothing to fix the issue


very weird, search for p07include.simba on pc delete all, re-download

Eejit

2013-02-24 18:24:04

Looks good.

Just one question, is there any was to see an api for this? I'm fairly new to Simba scripting.

DannyRS

2013-02-24 18:35:57

From: eejit
Looks good.

Just one question, is there any was to see an api for this? I'm fairly new to Simba scripting.


After including in a script, open in left hand side of simba Includes->P07Include

djborec

2013-02-24 19:35:22

I tried out your Include ,but I still have problem with uptext while opening bank in al kharid it does not work . I do not know what could be wrong ,interesting is that when I stop and then start script again it works like charm . But once I press disable SMART and again enable is not working.

DannyRS

2013-02-24 19:37:33

From: djborec
I tried out your Include ,but I still have problem with uptext while opening bank in al kharid it does not work .


drag over it, take a screenshot, show me, and I'll check if it is

unfeared

2013-02-24 20:08:07

Awesome, thanks alot, really. My first post in 6 years.

DannyRS

2013-02-24 20:32:23

From: unfeared
Awesome, thanks alot, really. My first post in 6 years.


Haha, welcome out of the lurking closet!

YoHoJo

2013-02-24 20:53:24

Dropping no longer works.
It right clicks, but doesn't find the ChooseOption texts.
So DropAll just goes around right clicking random inveteracy slots until the end.

Edit:
Having trouble finding uptext at times
ex:
Is rturning:
' r
9c-
4 9c-
9c-
9c-

Or blank lines.

Wetish

2013-02-24 21:23:45

@YoHoJo

I was having some problems with it not obtaining any text because the coordinates were put off because of the navigation bar. Call this before your texting finding:
SRL_EnableNavBar;

YoHoJo

2013-02-24 21:32:22

From: Wetish
@YoHoJo

I was having some problems with it not obtaining any text because the coordinates were put off because of the navigation bar. Call this before your texting finding:
SRL_EnableNavBar;


Thanks for help, I actually already call that.
It's just that sometimes text is not ready properly if the screen/background is 'odd'. So just gotta move camera or something.

SmellyPenguin

2013-02-24 21:45:05

Wow, I've been looking through some of the functions and I love them! So many possibilities with this bot! Also, I'm working on a rune essence miner (my first script). If I do release it, will omitting a couple breaks and quotes be substantial enough to act as an anti-leech function?

SmellyPenguin

2013-02-24 21:51:23

Function P07_GetUpText: String;

Returns the text in the upperleft corner of Project06 (often referred to as UpText).

What does that do? Is that only got Project06? If not, what text is this referring to?

Edit: Nevermind, I was thinking of something else :P

ineedbot

2013-02-24 22:16:18

Now how about 2007 SPS?

rj

2013-02-24 22:21:04

From: ineedbot
Now how about 2007 SPS?


No, if he releases it it should only be SRL members +

ineedbot

2013-02-24 22:53:11

whatever, i do a comparison to the original sps and 06 sps, theres only like 15 changes… ill do it myself.

rj

2013-02-24 23:05:39

From: ineedbot
whatever, i do a comparison to the original sps and 06 sps, theres only like 15 changes… ill do it myself.


Don't release it if you do.

SmellyPenguin

2013-02-24 23:17:24

From: rjj95
Don't release it if you do.


I don't think you can restrict his ability to release code that is allowed on these forums.

"No, if he releases it it should only be SRL members +"

Implies that that is your opinion.

JPHamlett

2013-02-24 23:44:54

Nothing works for me with this…..countColor doesn't even work……..

Countcolor(56656, P07_MIX1, P07_MIY1, P07_MIX2, P07_MIY2);

Haven't looked into it yet.

Zaros

2013-02-25 00:38:59

From: YoHoJo
Dropping no longer works.
It right clicks, but doesn't find the ChooseOption texts.
So DropAll just goes around right clicking random inveteracy slots until the end.

Edit:
Having trouble finding uptext at times
ex:
Is rturning:

Or blank lines.


Yeah, I'm having trouble with making mine drop stuff out of the inv… Damn ChooseOption. I tried calling SRL_EnableNavBar beforehand.. doesn't seem to do anything for me.

I'll go mess around with it and see if I make any progress

DannyRS

2013-02-25 01:32:01

JUST FYI - I'm pretty sure if you call SetupSRL; this include will not work, I don't know what the hell goes on in there, but it breaks it, so smart pairing stuff must be called manually, and you need to switch SetupSRL; with SetupP07Include;

When you load 07 applet in smart, does the smaller than current NavBar come with it too?

Like I said I'm VMing not using smart, chrome browser, drag green target onto the main screen (don't drag it onto the navigation bar)


From: Zaros
Yeah, I'm having trouble with making mine drop stuff out of the inv… Damn ChooseOption. I tried calling SRL_EnableNavBar beforehand.. doesn't seem to do anything for me.

I'll go mess around with it and see if I make any progress


@Zaros, please tell me this is P07_ChooseOptionMulti and not ChooseOption?, remember 99% of the official options won't work on 07,

From: YoHoJo
Thanks for help, I actually already call that.
It's just that sometimes text is not ready properly if the screen/background is 'odd'. So just gotta move camera or something.

@YoHoJo, I'm guna guess here when you have smart enabled and you call SetupSRL, it offset's everything by 50 pixels? Alternatively the client is offset in smart by a few pixels, meaning it's looking in wrong place for the text, needs to be exact, because that's how I designed it,

@YoHoJo @JPHamlett, Could you Both try it in a browser for me please, not smart, and see if it works, maybe then I can locate the issue with SetupSRL; and remedy it

Zaros

2013-02-25 01:44:00

From: DannyRS
JUST FYI - I'm pretty sure if you call SetupSRL; this include will not work, I don't know what the hell goes on in there, but it breaks it, so smart pairing stuff must be called manually, and you need to switch SetupSRL; with SetupP07Include;

When you load 07 applet in smart, does the smaller than current NavBar come with it too?

Like I said I'm VMing not using smart, chrome browser, drag green target onto the main screen (don't drag it onto the navigation bar)




@Zaros, please tell me this is P07_ChooseOptionMulti and not ChooseOption?, remember 99% of the official options won't work on 07,


Yeah yeah, P07. I figured we could just assume at this point.. My bad :)

No navbar, just the applet.

DannyRS

2013-02-25 01:57:39

From: Zaros
Yeah yeah, P07. I figured we could just assume at this point.. My bad :)

No navbar, just the applet.


Try it in a browser for me please? and just use a wait(2000); writeln(P07_GetUpText); I just tried it, works flawless for me :/

I believe it's smart / setupsrl that is causing the problem

Zaros

2013-02-25 02:01:00

From: DannyRS
Try it in a browser for me please? and just use a wait(2000); writeln(P07_GetUpText); I just tried it, works flawless for me :/

I believe it's smart / setupsrl that is causing the problem


Actually even in smart the uptext works pretty well (I tested it previously), the P07_ChooseOptionMulti doesn't for me. I think you're probably right about it being smart. Now if I could find that offset… lol

DannyRS

2013-02-25 02:06:07

From: Zaros
Actually even in smart the uptext works pretty well (I tested it previously), the P07_ChooseOptionMulti doesn't for me. I think you're probably right about it being smart. Now if I could find that offset… lol


I don't know why SetupSRL breaks the font, I'll have to look into it lol, try P07_ChooseOptionMulti(['Something']); In a browser for me?

If the uptext is sometimes working Idk why the hell the options is not because their the same font :/

Everything still works for me in a browser

YoHoJo

2013-02-25 02:25:42

Danny, no it's just the Text being read wrong.

I'm using, SMART and including/calling old SRL, but I use the EnableNavBar function which gets rid of any offsets problems.

The UpText is read properly most of the times, but certain background etc cause it to be read all wrong.

Also any plans to 'break this up' into separate include files just like SRL used to be?

Also going back to my inventory slot comment, I really think we should keep it in line with how SRL standards always were. Making inv slot 1 called 1, and not 0, etc.

DannyRS

2013-02-25 02:35:57

From: YoHoJo
Danny, no it's just the Text being read wrong.

I'm using, SMART and including/calling old SRL, but I use the EnableNavBar function which gets rid of any offsets problems.

The UpText is read properly most of the times, but certain background etc cause it to be read all wrong.

Also any plans to 'break this up' into separate include files just like SRL used to be?

Also going back to my inventory slot comment, I really think we should keep it in line with how SRL standards always were. Making inv slot 1 called 1, and not 0, etc.


Hmm, maybe the tolerance needs to be higher, but the text always works for me, is your brightness up full? The only backgrounds that should affect it is stuff like, snow behind white text and such, but if you make sure to use one string from the white and one from the Blue/Yellow/Orange, then it should be ok

I was going to break it up eventually, but seeing as it's just me doing this, I'm keeping it all in one for ease of install, because I don't want to bite of more than I can chew,

I'll change the inv and bank functions all to 1-28 rather than 0-27 when I commit the next update, but all the hate from people who already used it like this will be directed at you <3

BoxxyBabee

2013-02-25 02:40:05

Hello I am new into these forums and learning scripting for 2007 RS. I am writing a simple bot that involves walking and I am trying to use the P07_FindMMFlag function to delay the next command until the Mini Map flag disappears. However I can not seem to get wait from the function or change the Boolean return regardless of the mini map flag being present or not.

YoHoJo

2013-02-25 02:40:28

We need to find some people willing and able to get randoms working :D, JJ will be one for sure!

I'm to busy with school to take on something that big D: but I'll be writing regular scripts for sure!

I just want to make this as much at SRL always has been before, and will defiantly help you convert/add more functions over in a few days when I get the time to do so.

We should get a git up as I suggested in another thread so everyone can push and pull and whatever else so it'll all be more organized.

Is character chat etc stuff ready? As in the yellow text above people's heads?
Is that text same as UpText?
That will be useful for logging out when we get randoms for now until we get them working again.

DannyRS

2013-02-25 02:44:05

From: BoxxyBabee
Hello I am new into these forums and learning scripting for 2007 RS. I am writing a simple bot that involves walking and I am trying to use the P07_FindMMFlag function to delay the next command until the Mini Map flag disappears. However I can not seem to get wait from the function or change the Boolean return regardless of the mini map flag being present or not.


Click the minimap, maybe wait about 500ms, then call it, it should then wait till the flag disappears till it breaks that loop,

@YoHoJo I don't know if the text is the same yet, I assume it is, but none of the chatbox text has been added to this

BoxxyBabee

2013-02-25 02:49:20

Thank you that was it. Sorry to be noobish but currently I am only using your included functions and looking to expand. Do you have a suggestion for beginning movement includes/algorithms (Such as walking to the bank a decent distance away)

DannyRS

2013-02-25 02:52:09

From: BoxxyBabee
Thank you that was it. Sorry to be noobish but currently I am only using your included functions and looking to expand. Do you have a suggestion for beginning movement includes/algorithms (Such as walking to the bank a decent distance away)


You'll have to search the tutorials section for walking methods that only use color such as DTM, TPA, and color's,

Walking long distances is quite challenging in oldrs because of how much the color's shift when the minimap reloads

djborec

2013-02-25 03:02:24

I do not know if it helps with uptext problem, but if you stop and start your script ,it will work without any problems. So for me its probably SMART problem.

SmellyPenguin

2013-02-25 03:37:01

What would be the best method of detecting an NPC with your provided includes?

DannyRS

2013-02-25 03:41:05

From: SmellyPenguin
What would be the best method of detecting an NPC with your provided includes?


It's best to write your own, but I added P07_FindObj (Official SRL FindObj by Starblaster), if you can find a tutorial on using that, maybe give that a go

SmellyPenguin

2013-02-25 04:05:29

From: DannyRS
It's best to write your own, but I added P07_FindObj (Official SRL FindObj by Starblaster), if you can find a tutorial on using that, maybe give that a go


I attempted to use FindColor and Mouse as it works for my walking (I have no idea what SPS is, I'm a newb) but it did nothing when I ran the script. I know that the script completed the procedure because the Writeln I put after the procedure showed.

Just tried P07_FindObj and it worked! Thank you very much! :)

Also, I don't feel the neccessity of making a new thread for such a small issue, but what does the variant "button" mean?
    procedure Mouse(mousex, mousey, ranx, rany: Integer; button: variant);

BoxxyBabee

2013-02-25 04:10:04

From: SmellyPenguin
I attempted to use FindColor and Mouse as it works for my walking (I have no idea what SPS is, I'm a newb) but it did nothing when I ran the script. I know that the script completed the procedure because the Writeln I put after the procedure showed.

Just tried P07_FindObj and it worked! Thank you very much! :)

Also, I don't feel the neccessity of making a new thread for such a small issue, but what does the variant "button" mean?
    procedure Mouse(mousex, mousey, ranx, rany: Integer; button: variant);


Which mouse button you want to use. Such as mouse_left or mouse_right.
mouse_Right = 0
mouse_Left = 1
mouse_Middle = 2

SmellyPenguin

2013-02-25 04:17:07

Thank you BoxxyBabee.

BoxxyBabee

2013-02-25 04:21:52

I am not able to call the RadialWalk function. Getting the following error written and the Globals include opens up to line 664:

"Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1]"

I assume this has to do with not being able to use SetUpSRL. Any work around?

DannyRS

2013-02-25 06:38:55

From: BoxxyBabee
I am not able to call the RadialWalk function. Getting the following error written and the Globals include opens up to line 664:

"Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1]"

I assume this has to do with not being able to use SetUpSRL. Any work around?


As far as I know radial walk cannot be used because it's built around the official minimap :/

xtrapsp

2013-02-25 06:48:08

Danny, You know if we are making a SPS map for this RS?

DannyRS

2013-02-25 06:50:07

From: xtrapsp
Danny, You know if we are making a SPS map for this RS?


The map has to be client hacked / made from scratch by screenshotting, and with the minimap color's changing soo much constantly, map rotating by it'self -+25 degrees off the true north, SPS is not very viable

I tried it, and it only worked just barely and broke pretty bad once I relogged and got new map colors

xtrapsp

2013-02-25 06:55:18

From: DannyRS
The map has to be client hacked / made from scratch by screenshotting, and with the minimap color's changing soo much constantly, map rotating by it'self -+25 degrees off the true north, SPS is not very viable

I tried it, and it only worked just barely and broke pretty bad once I relogged and got new map colors


I'm pretty sure there was a method where you could remove the minimap over the top bit? So it is just a block of the minimap… I think it was somewhere in the blackbook of Runescape

DannyRS

2013-02-25 07:03:02

From: xtrapsp
I'm pretty sure there was a method where you could remove the minimap over the top bit? So it is just a block of the minimap… I think it was somewhere in the blackbook of Runescape


I was trying to mod open source private server software to draw a full map from the array file the client has, but I'm bad at java, I got very close, but not quite :p

J J

2013-02-25 07:44:14

I'm not sure if you added this in a future release but I've made this for a script
Function P07_WaitChooseOptionMulti(Text: TStringArray; MaxTime: Integer): Boolean;
var
T: Integer;

begin
MarkTime(T);
while TimeFromMark(T) < MaxTime do
begin
if P07_ChooseOptionMulti(Text) then
begin
Result := True;
break;
end;
Wait(RandomRange(20, 60));
end;
end;

Pretty much the same as your WaitUptext one.

DannyRS

2013-02-25 07:49:46

@J J

I think the way I wrote chooseoption will make that kinda useless, because it will move the mouse away from the options box to close it if the option is not found, just like the SRL one does,

Whats the advantage from doing it like that? I added a GetChooseOptions: TStringArray; to the next release that could be used to constantly monitor the window for X amount of time, what's the point of waitiption multi? Just to have a wait at the end? Or something else?

I could use that to make it check the options and compare the strings every loop and then choose the option when found? Is that what you want?

Also if your writing a script and post something I'll likely add to the Include, don't name it with P07_ because when I commit the update, you'll get Duplicate identifiers :p !!

unfeared

2013-02-25 08:03:50

What do you suggest using for walking right now in 07?

uaexed

2013-02-25 08:04:55

The compass and camera angle aren't working at all.

DannyRS

2013-02-25 08:17:22

From: uaexed
The compass and camera angle aren't working at all.


The mouse must be over the client and you must have focus of the window for the key press to be sent to the client, I never tested the full 360 degree's one by one tho, so some may be broken,


From: unfeared
What do you suggest using for walking right now in 07?


TPA or DTM probably but I'm still looking into what's best

Nations_collapse

2013-02-25 08:20:35

Reason why the uptext doesnt work in my browser to my simple script picker :(

(*
GetUpText
~~~~~~~~~

.. code-block:: pascal

function GetUpText : string;

Returns the text in the upperleft corner of Project06 (often referred to as UpText).

.. note::

by DannyRS

Example:

.. code-block:: pascal

DannyRS

2013-02-25 08:23:28

From: Nations_collapse
Reason why the uptext doesnt work in my browser to my simple script picker :(

(*
GetUpText
~~~~~~~~~

.. code-block:: pascal

function GetUpText : string;

Returns the text in the upperleft corner of Project06 (often referred to as UpText).

.. note::

by DannyRS

Example:

.. code-block:: pascal



I coppied the Layout of my other project and missed updating that documentation… Rest assured it is UpText for 07 and not a private server,

I'm only human and currently doing this completely by myself, so bear with me lol,

Did you use "SetupSRL"? Remove it if you did, and it should work

J J

2013-02-25 11:45:09

From: DannyRS
@J J

I think the way I wrote chooseoption will make that kinda useless, because it will move the mouse away from the options box to close it if the option is not found, just like the SRL one does,

Whats the advantage from doing it like that? I added a GetChooseOptions: TStringArray; to the next release that could be used to constantly monitor the window for X amount of time, what's the point of waitiption multi? Just to have a wait at the end? Or something else?

I could use that to make it check the options and compare the strings every loop and then choose the option when found? Is that what you want?

Also if your writing a script and post something I'll likely add to the Include, don't name it with P07_ because when I commit the update, you'll get Duplicate identifiers :p !!

Oh I didn't really look at the code. If that is indeed what happens then it doesn't make sense.
I just wanted to right click then wait like 500 ms for a certain option to appear.

DannyRS

2013-02-25 12:16:07

From: J J
Oh I didn't really look at the code. If that is indeed what happens then it doesn't make sense.
I just wanted to right click then wait like 500 ms for a certain option to appear.


Adding to a commit in a moment, along with 1-28 (used to be 0-27) array changes YoHoJo wanted, sorry everyone! please update your scripts

uaexed

2013-02-25 12:19:35

Will we be seeing SPS for 07 from you?

DannyRS

2013-02-25 12:26:16

From: uaexed
Will we be seeing SPS for 07 from you?


SPS doesn't work well on OldRS Minimap, so unlikely, sorry

Maybe if I can get it working to a higher accuracy

johnnyhart

2013-02-25 14:25:46

Getting this error after 1.5 update:
Exception: Range check error at line 636
Line 636: If (Not FindColorTolerance(X,Y,13758452,600,175,620,197,16)) Then

johnnyhart

2013-02-25 14:26:46

My bad, I didn't have the rs client targeted

DannyRS

2013-02-25 14:29:25

From: johnnyhart
Getting this error after 1.5 update:
Exception: Range check error at line 636
Line 636: If (Not FindColorTolerance(X,Y,13758452,600,175,620,197,16)) Then


What function did you call?

From: johnnyhart
My bad, I didn't have the rs client targeted


Ah ok np ;)

johnnyhart

2013-02-25 14:30:12

Anyone got this working with SMART? Would really appreciate it if someone could help me get it running with SMART. Even if it's just a little hint. Thanks

DannyRS

2013-02-25 14:31:30

From: johnnyhart
Anyone got this working with SMART? Would really appreciate it if someone could help me get it running with SMART. Even if it's just a little hint. Thanks


As far as I know this include will be buggy in smart, no Idea tho ^^

BoxxyBabee

2013-02-25 14:43:21

I have been working with DTMs with a little bit of success. The constant rotation of the minimap still causes the Radial DTM function to fail randomly after working 10 times before.

DannyRS

2013-02-25 14:48:03

From: BoxxyBabee
I have been working with DTMs with a little bit of success. The constant rotation of the minimap still causes the Radial DTM function to fail randomly after working 10 times before.


I'm having most success with TPA and ATPA walking

DannyRS

2013-02-25 15:01:38

From: ironup
\Simba\Scripts\[07] Draynor Willow Banker [1.1].simba(137:3): Identifier expected at line 136
Compiling failed.

Is this issue normal? didnt really find from any tutorial clue…?


That's script related, please post issues with scripts in the creator's thread

J J

2013-02-25 15:23:53

From: johnnyhart
Anyone got this working with SMART? Would really appreciate it if someone could help me get it running with SMART. Even if it's just a little hint. Thanks

Works for me except since the last update it does not read uptext (properly) anymore so my script is broken :(

Simba's GetColor does not work either.. I'm really confused what I did because it adds +25 to the Y offset for some reason when I didn't change anything :S

EDIT: My fault… finally managed to fix my offsets, uptext works fine now.

DannyRS

2013-02-25 15:24:50

From: J J
Works for me except since the last update it does not read uptext (properly) anymore so my script is broken :(


mine work fine, are you using setupsrl or smart?

I didn't touch up-text I don't think

J J

2013-02-25 15:35:50

From: DannyRS
mine work fine, are you using setupsrl or smart?

I didn't touch up-text I don't think

Yeah was my own fault for some reason it was adding 25 to the Y values so I just changed the globals to 0. It worked fine before, after I added SPS to my script it started to fail.

DannyRS

2013-02-25 15:37:00

From: J J
Yeah was my own fault for some reason it was adding 25 to the Y values so I just changed the globals to 0. It worked fine before, after I added SPS to my script it started to fail.


the offset's in main SRL mess with it lol :p does SPS work well for you? accuracy is bad for me

J J

2013-02-25 15:58:48

From: DannyRS
the offset's in main SRL mess with it lol :p does SPS work well for you? accuracy is bad for me

I edited SPS myself it works really well for me even though I'm in Al Kharid. I'll take a look at yours.

PRO tip:
KeyDown(17);
Result := SPS_Walk07Path(Path);
KeyUp(17);

To make it run without checking if you have run % and setting run to true etc.

DannyRS

2013-02-25 16:04:14

From: J J
I edited SPS myself it works really well for me even though I'm in Al Kharid. I'll take a look at yours.

PRO tip:
KeyDown(17);
Result := SPS_Walk07Path(Path);
KeyUp(17);

To make it run without checking if you have run % and setting run to true etc.


didn't release my sps edit publicly :P

Fishh

2013-02-25 16:18:26

Currently getting this error:

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1]

Fonts location: C:\Simba\Fonts\P07UpChars

Any help please? New to Simba and Pascal, just getting started.

Cheers.

EDIT: As far as I can see it should be found, it's in the right location.

DannyRS

2013-02-25 16:19:29

From: Fishh
Currently getting this error:

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1]

Fonts location: C:\Simba\Fonts\P07UpChars

Any help please? New to Simba and Pascal, just getting started.

Cheers.


Restart Simba to load the new font's

Fishh

2013-02-25 16:22:57

From: DannyRS
restart simba


I'm officially a moron.

Cheers, lol.

Knoot

2013-02-25 18:45:13

Hello, I managed to make a script using Simba. How do I add SMART to it?

Prometheus

2013-02-25 18:49:15

Thank you for this, Danny. Going to use this on the scripts I make for 07scape :)

DannyRS

2013-02-25 18:49:28

From: Knoot
Hello, I managed to make a script using Simba. How do I add SMART to it?


No idea, not my area of focus, you will have to wait for someone to update S.M.A.R.T in the official Includes, sorry!

From: [PRO]metheus
Thank you for this, Danny. Going to use this on the scripts I make for 07scape :)


No Problem, just trying to do my part!

speedster

2013-02-25 19:40:01

Simba/Smart is quite easy to figure out, Danny would be nice if you could help us out with an improved SPS :)

DannyRS

2013-02-25 19:45:51

From: speedster
Simba/Smart is quite easy to figure out, Danny would be nice if you could help us out with an improved SPS :)


Like I keep mentioning! SPS does not work very well in 07Scape, because of minimap wobble and color changes, so it's not really worth using it,

Until maybe the creator's of it can find a way to make it more viable

Sjoe

2013-02-25 19:50:38

Nice job so far Danny :)

DannyRS

2013-02-25 19:57:18

From: Sjoekeloe
Nice job so far Danny :)


Aww thanks, guna go to bed now, it's been another long day of answering PM's lol

SmellyPenguin

2013-02-25 20:48:36

From: DannyRS
The mouse must be over the client and you must have focus of the window for the key press to be sent to the client, I never tested the full 360 degree's one by one tho, so some may be broken,




TPA or DTM probably but I'm still looking into what's best


I was experimenting with the compass functions and P07_MakeCompassDegree(k) didn't work too well. When I rotated the compass and ran the script again, it barely moved the compass, not making it the degrees I wanted. P07_MakeCompassNorth works and is close enough North for me :P

Also for walking, I used FindColor and Mouse. I don't remember how to do DTMs so I might look into it again.

Maxipads

2013-02-25 22:42:02

[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.

This is what I get when I try to run a script, it's got to to with the include I believe but can't figure out how to fix it :( I'm trying haha :)

rj

2013-02-25 23:12:30

From: Maxipads
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.

This is what I get when I try to run a script, it's got to to with the include I believe but can't figure out how to fix it :( I'm trying haha :)


You don't run the script..

SlaveCooking

2013-02-26 01:06:27

Error: Exception: Font [P07UpChars] not found. at line 226

I keep getting the dame font errors and I have tried restarting….

DannyRS

2013-02-26 01:24:34

From: SlaveCooking
Error: Exception: Font [P07UpChars] not found. at line 226

I keep getting the dame font errors and I have tried restarting….


Read the instructions in my first post, it tells you what to do with the files


From: Maxipads
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.

This is what I get when I try to run a script, it's got to to with the include I believe but can't figure out how to fix it :( I'm trying haha :)


You are putting the wrong parameter's into something in your script, or you didn't put all files in their correct places

Justin

2013-02-26 03:13:59

@DannyRS


function P07_DidClick(Red: Boolean; Time: integer): boolean;
var
TimeOut, x, y, w, h, R, G: integer;
B: TBox;
begin
GetMousePos(x, y);
GetClientDimensions(w, h);
B := IntToBox(x - 15, y - 15, x + 15, y + 15);
if B.x1 < 0 then B.x1 := 0;
if B.y1 < 0 then B.y1 := 0;
if B.x2 > w then B.x2 := w;
if B.y2 > h then B.y2 := h;
TimeOut := GetSystemTime + Time;
while (GetSystemTime < TimeOut) do
begin
R := CountColorTolerance(255, B.x1, B.y1, B.x2, B.y2, 15);
G := CountColorTolerance(65535, B.x1, B.y1, B.x2, B.y2, 15);
if Red then
begin
if (G > 8) then
Exit;
Result := (R > 20);
end else
begin
if (R > 5) then
Exit;
Result := (G > 35);
end;
if Result then
Exit;
end;
end;

function P07_DidRedClick: Boolean;
begin
Result := P07_DidClick(true, 1000);
end;

function P07_DidYellowClick: Boolean;
begin
Result := P07_DidClick(false, 1000);
end;

Might come in handy

DannyRS

2013-02-26 03:27:29

From: Justin
@DannyRS

Might come in handy


What exactly does didclick do? Reading red and yellow for something and checking if the mouse is on screen?

I think something like this is what I need to stop people telling me the camera functions don't work, but Could you explain more what the getcolors are for? Or what this function is normally used for?

Does it just check if you clicked near something of that color? Or am I being stupid?

Justin

2013-02-26 03:41:53

From: DannyRS
What exactly does didclick do? Reading red and yellow for something and checking if the mouse is on screen?

I think something like this is what I need to stop people telling me the camera functions don't work, but Could you explain more what the getcolors are for? Or what this function is normally used for?

Does it just check if you clicked near something of that color? Or am I being stupid?


DidRedClick - When you click on a object on the MainScreen, When you are doing an action, Eg: Take Big Bones, when you click on the bones the Red 'X' shows.
DidYellClick - Same a DidRedClick but for yellow.

See images:

DidRedClick = True = DidYellowClick = True =

Sjoe

2013-02-26 03:52:11

From: Justin
DidRedClick - When you click on a object on the MainScreen, When you are doing an action, Eg: Take Big Bones, when you click on the bones the Red 'X' shows.
DidYellClick - Same a DidRedClick but for yellow.

See images:

DidRedClick = True = DidYellowClick = True =


I think he meant the DidClick part, but that just turns false. nvm

edit: I thought u would know this Danny lol

DannyRS

2013-02-26 03:56:12

From: Justin
DidRedClick - When you click on a object on the MainScreen, When you are doing an action, Eg: Take Big Bones, when you click on the bones the Red 'X' shows.
DidYellClick - Same a DidRedClick but for yellow.

See images:

DidRedClick = True = DidYellowClick = True =


Oh right I get it now, I'll add it, but you always know what type of click you did right? And you control when you click,

So what's the practical use? Could you give me an example of when that's going to be useful to use?


From: Sjoekeloe
I think he meant the DidClick part, but that just turns false. nvm


I was confused by the names of the procedures because I thought didclick was just going to check if you had clicked the client or not

Sjoe

2013-02-26 04:00:38

From: DannyRS
Oh right I get it now, I'll add it, but you always know what type of click you did right? And you control when you click,

So what's the practical use? Could you give me an example of when that's going to be useful to use?




I was confused by the names of the procedures because I thought didclick was just going to check if you had clicked the client or not


Many practical uses danny! every object on MS that has an action will redclick.
So u know u clicked it correctly.


Ashaman uses it in his ape atoll, if it didn't redclick the obstacle, it clicks back on MSC as a failsafe.

DannyRS

2013-02-26 04:06:43

From: Sjoekeloe
Many practical uses danny! every object on MS that has an action will redclick.
So u know u clicked it correctly.


Ashaman uses it in his ape atoll, if it didn't redclick the obstacle, it clicks back on MSC as a failsafe.


Ah I suppose that is kinda useful, for agility when clicking fast is key, I've never ran into a problem with just uptext as of yet :p

klonaro

2013-02-26 04:50:16

I get this error Exception in Script: Unable to find file 'SRL/SRL.Simba' used from 'C:\Simba\Scripts\Miner3.00.simba'

xtrapsp

2013-02-26 05:08:11

From: klonaro
I get this error Exception in Script: Unable to find file 'SRL/SRL.Simba' used from 'C:\Simba\Scripts\Miner3.00.simba'


You're calling the new RS SRL.simba…

The Claw

2013-02-26 05:15:07

Is uptext working for you guys? It's not for me, RS07FindObject doesn't work

The Claw

2013-02-26 06:42:06

Found this thread: http://villavu.com/forum/showthread.php?t=97002
An 07 version of ClickToContinue and ChooseOption would be great.

NKN

2013-02-26 07:00:53

From: The Claw
Found this thread: http://villavu.com/forum/showthread.php?t=97002
An 07 version of ClickToContinue and ChooseOption would be great.


AFAIK, ChooseOption works.
I'll make a ClickToContinue when I get home today, so I don't feel useless. :3

keeks

2013-02-26 08:31:36

nvm

DannyRS

2013-02-26 08:44:01

From: NKN
AFAIK, ChooseOption works.
I'll make a ClickToContinue when I get home today, so I don't feel useless. :3


That would require the NPC chat Font right? Or something messy like a DTM :/


From: The Claw
Is uptext working for you guys? It's not for me, RS07FindObject doesn't work


It works if you use a browser and not smart, and don't call SetupSRL;, AFAIK, i've been using the uptext without problem since release

WT-Fakawi

2013-02-26 08:55:12

Breaking into this thread: Did you perform a roll back DannyRS? or did you start with SRL 5 and reverse engineered this?

DannyRS

2013-02-26 09:00:37

From: WT-Fakawi
Breaking into this thread: Did you perform a roll back DannyRS? or did you start with SRL 5 and reverse engineered this?


I just started from scratch (well kind of when I started making an Include for a private server that almost matched 07, link in sig for that), by sort of reading SRL5 and trying to duplicate the process for 07Scape, and simply adding new constant's to the functions that didn't need new color's such as the FindObj,

Only problem I have is it's so large(SRL5), some of the name's don't match, And I was following some kind of "most useful functions first" because atm I don't really have a structure and it's not broken into specific Includes,

The only thing's I really had to mess with myself, and drastically alter were:

UpText-Because I couldn't find the official code for rs_getUpText
ChooseOption - because the options box is completely different in 07
Compass - because The radians in SRL5 worked off the red color's which I originally wrote this for a private server where there was no red arrow, and I think it's too short in 07?

WT-Fakawi

2013-02-26 09:09:33

I am asking this because I play rs-007 just for fun and I have observed that you really really need to put FindName back into findrandoms…without this, we all end up dead in Lumbridge. I am pretty sure we can work with a SRL from 2007 and incorporate this into Simba.

sprunt

2013-02-26 09:10:53

Trying to write my first ever woodcutting script.
Keeping getting this error when using your include.

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Please help :)

DannyRS

2013-02-26 09:13:03

From: WT-Fakawi
I am asking this because I play rs-007 just for fun and I have observed that you really really need to put FindName back into findrandoms…without this, we all end up dead in Lumbridge. I am pretty sure we can work with a SRL from 2007 and incorporate this into Simba.


That find's your character name mentioned on the Mainscreen right? I think UpChar's is the same font, so it should be possible, only problem is, Simba works single threaded, so how would that work without manually calling it after every procedure, because the message only last's for a second or so on the screen, so how to get around that?

From: sprunt
Trying to write my first ever woodcutting script.
Keeping getting this error when using your include.

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Please help :)


You need {$I SRL/SRL.Simba} before you Include my Include ;) it has all the mouse stuff

WT-Fakawi

2013-02-26 09:17:25

haha silly newby:) Findname has always been part of (old) SRL. And we used to call FNR at least once every second….or we'd end up dead in lumby :) flagged!

DannyRS

2013-02-26 09:21:18

From: WT-Fakawi
haha silly newby:) Findname has always been part of SRL. And we used to call FNR at least once every second….or we'd end up dead in lumby :) flagged!


I wasn't here before random's had been long gone :p so that's a new challenge to me, so it's up to script writer's to make correct use of Findname? (or FNR)

I assume if the name is found, it then performs a more detailed check for the random's because people could just say your username?

sprunt

2013-02-26 09:26:28

From: DannyRS
You need {$I SRL/SRL.Simba} before you Include my Include ;) it has all the mouse stuff


Thank you for help, simple mistakes ha.

WT-Fakawi

2013-02-26 09:30:58

From: DannyRS
I wasn't here before random's had been long gone :p so that's a new challenge to me, so it's up to script writer's to make correct use of Findname? (or FNR)

I assume if the name is found, it then performs a more detailed check for the random's because people could just say your username?


We performed a rightclick under our name (Middle of yellow text) and read the chooseoption. That way we knew which random was adressing us. But that is all in SRLV4.1

DannyRS

2013-02-26 09:34:22

From: WT-Fakawi
We performed a rightclick under our name (Middle of yellow text) and read the chooseoption. That way we knew which random was adressing us. But that is all in SRLV4.1


Hmm, makes sense, theres no GetText OCR in Simba that returns a position? So that would need to also be created, or did I miss something?

Edit- ClickText and FindTextTPAEx, they would work right?

Guzlord

2013-02-26 11:06:07

Hi, i am not sure if this is a anti leech but i can't get past this error:
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1]
The following bitmaps were not freed: [0, 1]

I know that the DTMs, and bitmaps are warnings but i think P07Upchars is a error.
I already added the P07UpChars in my fonts folder.

DannyRS

2013-02-26 12:40:52

Version 1.6 should now work in S.M.A.R.T !

But, Only if you know how to get smart to load OldRS

Must be called in this order:


{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

SetupSRL;
P07_DeclarePlayer;
SetupP07Include;

bovman11

2013-02-26 12:52:05

[Error] I:\Simba\Includes\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


how to fix?

DannyRS

2013-02-26 12:54:39

From: bovman11
[Error] I:\Simba\Includes\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


how to fix?


You don't Compile or Run this

gboisen

2013-02-26 13:59:54

Keeps telling me I don't have 1.6 downloaded even though I do. I've tried restarting and re-downloading it, but I can't seem to get it to work.

DannyRS

2013-02-26 14:09:11

From: gboisen
Keeps telling me I don't have 1.6 downloaded even though I do. I've tried restarting and re-downloading it, but I can't seem to get it to work.


You must have another P07Include.Simba saved in simba folder somewhere ?

Edit - tested updater

Compiled successfully in 468 ms.
Checking P07Include VersionNumber
Local : 1.5 / Latest : 1.6
New P07Include Version Available! Updating...
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.
Compiled successfully in 468 ms.
Checking P07Include VersionNumber
Local : 1.6 / Latest : 1.6
You Have The Latest Version of P07Include
Successfully executed.

gboisen

2013-02-26 14:17:57

From: DannyRS
You must have another P07Include.Simba saved in simba folder somewhere ?


Thanks! Deleted other version and its working fine.

tounsi

2013-02-26 14:42:16

Thanks for your work on this Danny!

I'm having a problem, the code in the script is correct, and after I run a script, the mouse would hover over what it has to click, but it doesn't click it
You think its a problem with the script or the setup of my runescape is wrong?

Thanks!

DannyRS

2013-02-26 14:47:32

From: tounsi
Thanks for your work on this Danny!

I'm having a problem, the code in the script is correct, and after I run a script, the mouse would hover over what it has to click, but it doesn't click it
You think its a problem with the script or the setup of my runescape is wrong?

Thanks!


pm me the script plz

Gebapt

2013-02-26 14:58:27

Love to see SMART added, I Will try to script the next weeks aswell :)

MrFarbodD

2013-02-26 15:10:38

I get this:

[Hint] C:\Users\Farbod\Desktop\[07] Draynor Willow Banker [1.3].simba(130:10): Variable 'Result' never used at line 129
Compiled successfully in 359 ms.
Checking P07Include VersionNumber
Local : 1.6 / Latest : 1.6
You Have The Latest Version of P07Include
546 chopwaitt
546 chopwaitt
3588 chopwaitt
3588 chopwaitt
Successfully executed.

I've never used Simba before so do I now just run Runescape on my browser (Chrome) and let the bot do the work?

EDIT: Sorry posted in the wrong thread :(

tounsi

2013-02-26 15:12:20

From: DannyRS
pm me the script plz


Ok, I msged you, thanks in advance

Ryan [RuneCrafter]

2013-02-26 19:08:19

looking nice danny! good work man

DannyRS

2013-02-26 20:05:59

From: Ryan [RuneCrafter]
looking nice danny! good work man


Thanks ;)

Added a whole load of useful stuff to V1.7 :


Procedure P07_ClickToContinue;
Function P07_CastSpell(SpellNumber: Integer): Boolean;
Procedure P07_AutoRetaliate(ToggleTo: Boolean);
Procedure P07_CombatStance(ToggleToNum: Integer);
Function P07_WearingItem(I: Integer): Boolean;
Function P07_GetMiniMapDots(WhatDotCol: String): TPointArray;
Function P07_CountMiniMapDots(WhatDotCol: String): Integer;
Function P07_DidClick(Red: Boolean; Time: Integer): boolean; //Creds to Justin

rj

2013-02-26 20:16:49

Function P07_DidClick(Red: Boolean; Time: Integer): boolean; //Creds to Justin OFMFMFMFFFOFOFMG

Procedure P07_ClickToContinue; ofmfmfmfmfmfmfmg

DannyRS

2013-02-26 20:22:13

From: rjj95
Function P07_DidClick(Red: Boolean; Time: Integer): boolean; //Creds to Justin OFMFMFMFFFOFOFMG

Procedure P07_ClickToContinue; ofmfmfmfmfmfmfmg


Would of been nice to have the other font for ClickToContinue, but ah well to late for me to add another one now, DTM will have to do lol,

all the new functions have undergone only minor testing, so let me know of any error's

rj

2013-02-26 20:25:53

Will do, currently working on a muilti-fletcher, will release with no anti leech simply because it won't "ruin" legit trainers (does not take up rocks,trees etc etc)

Ian

2013-02-26 21:26:17

From: DannyRS
Would of been nice to have the other font for ClickToContinue, but ah well to late for me to add another one now, DTM will have to do lol,

all the new functions have undergone only minor testing, so let me know of any error's


P07_ChooseOptionMulti

gives this runtime error:
Error: Exception: You passed a wrong xe to a finder function: 1439. The client has a width of 764, thus the xe is out of bounds. at line 529


and highlights this line:
FindColors(OptionBoxTPA1, 4674653, P07_MSX1, P07_MSY1, P07_ClientWidth-1, P07_ClientHeight-1);

DannyRS

2013-02-26 21:28:27

From: BMWxi
P07_ChooseOptionMulti

gives this runtime error:

and highlights this line:
FindColors(OptionBoxTPA1, 4674653, P07_MSX1, P07_MSY1, P07_ClientWidth-1, P07_ClientHeight-1);


What the hell? Where's the 1439 coming from?

Did you Call SetupP07Include; and drag green target onto game client?

Sokil59

2013-02-26 21:36:36

AM I doing this correctly?

P07_Deposit( 1, DepositAll);

I want to deposit my entire inventory I gave the slot for the item and how many of them it should deposit. Btw I'm Using Sps for a walking method atm what should I use instead of this for rs 07 or is what I am doing ok? Here's a sample of the code for wlaking:
ToBank := [ Point(442, 144), Point(431, 186), Point(403, 218), Point(410, 261) ];
SPS_Setup(RUNESCAPE_SURFACE, ['5_8']);
SPS_WalkPath(ToBank); ( I used a rs 2013 map as I don't know how to use a rs 07 map as I am new to programming for simba).

Ian

2013-02-26 21:36:49

From: DannyRS
What the hell? Where's the 1439 coming from?

Did you Call SetupP07Include; and drag green target onto game client?


Yeah, I called it. I was using SMART not the client though.

Justin

2013-02-26 21:37:46

From: rjj95
Function P07_DidClick(Red: Boolean; Time: Integer): boolean; //Creds to Justin OFMFMFMFFFOFOFMG

Procedure P07_ClickToContinue; ofmfmfmfmfmfmfmg


Not sure if serious or trolling….

DannyRS

2013-02-26 21:38:44

From: BMWxi
Yeah, I called it. I was using SMART not the client though.


I was just using it in smart fine, why does simba think your smart is that width?

Did you call it after SetupSRL and have smart enabled?

Justin

2013-02-26 21:40:42

@DannyRS - What are the other main functions that need to be converted to work onto 07?

DannyRS

2013-02-26 21:43:42

From: Justin
@DannyRS - What are the other main functions that need to be converted to work onto 07?


I have no idea, I was just looking through SRL5 and trying to find useful thing's to add, now it's time for bed :p you should take a look too, see if you can find anything that you think we would need ;)

rj

2013-02-26 21:44:15

From: Justin
Not sure if serious or trolling….

Being serious I needed the didredclick badly

Justin

2013-02-26 22:14:53

From: DannyRS
I have no idea, I was just looking through SRL5 and trying to find useful thing's to add, now it's time for bed :p you should take a look too, see if you can find anything that you think we would need ;)


Will be doing so when i finish work :)

The Claw

2013-02-26 22:51:59

From: DannyRS
Thanks ;)

Added a whole load of useful stuff to V1.7 :


Procedure P07_ClickToContinue;
Function P07_CastSpell(SpellNumber: Integer): Boolean;
Procedure P07_AutoRetaliate(ToggleTo: Boolean);
Procedure P07_CombatStance(ToggleToNum: Integer);
Function P07_WearingItem(I: Integer): Boolean;
Function P07_GetMiniMapDots(WhatDotCol: String): TPointArray;
Function P07_CountMiniMapDots(WhatDotCol: String): Integer;
Function P07_DidClick(Red: Boolean; Time: Integer): boolean; //Creds to Justin


Any word on ChooseOption? (the function to click NPC and Option text in the chatbox interface)
And when Uptext will be fixed?

Ian

2013-02-26 22:55:19

From: The Claw
Any word on ChooseOption? (the function to click NPC and Option text in the chatbox interface)
And when Uptext will be fixed?


UpText was working fine for me, I guess it depends on the string though.

ctp

2013-02-27 01:07:33

Is there a video or something explaining this? I can't gather anything at all from the OP.

drfreshtacular

2013-02-27 01:11:40

Great work! What's everyone using for walking - I tried modifying the 06sps but got a bit stuck haha.

DannyRS

2013-02-27 03:03:40

From: The Claw
Any word on ChooseOption? (the function to click NPC and Option text in the chatbox interface)
And when Uptext will be fixed?


Can you give me an Example of how you are using uptext and it's not working?

UpText works for me, Idk why it does not for some people, you need to Use one string from the white text and one from yellow/blue string, and don't just use the entire string, for example,


If P07_IsUpTextMultiCustom(['Mine','Rock']) Then ClickMouse2(mouse_left); //should definetly work

About choseoption, that should work also, no reason it shouldn't, but it is for the right click panel in game (not the npc chat box options),

Stuff with the NPC chat box would require another Font to be installed, and I'd probably need to have a seperate Include file for that, otherwise alot of people will suddenly get error's they won't understand

kiwiownage

2013-02-27 03:19:45

If you make a IsFighting boolean I'll love you long time!

DannyRS

2013-02-27 03:25:12

From: kiwiownage
If you make a IsFighting boolean I'll love you long time!


Depends if people want Pixelshift or the green health bar being above your head?

kiwiownage

2013-02-27 03:28:52

Green health bar would probably be more reliable, but either is good! :spot:

tealc

2013-02-27 03:40:11

From: kiwiownage
Green health bar would probably be more reliable, but either is good! :spot:



{*****************************************************************************
function IsFight: Boolean;
By: realrune
Description: results true if you are in a fight.
*****************************************************************************}

function IsFight: Boolean;
var
x, y : Integer;
const
GreenStatusColor = 65280;
const
RedStatusColor = 225;
begin
if (FindColorSpiral(x, y, GreenStatusColor, 180, 90, 320, 230)) then
begin
Wait(1000 + Random(250));
Result := FindColorSpiral(x, y, GreenStatusColor, 180, 90, 320, 230);
end;
end;


{*****************************************************************************
function InFight: Boolean;
By: WT-Fakawi
Description: Returns as True if in fight.
*****************************************************************************}

function InFight: Boolean;
var
x, y : Integer;
begin
Result := (FindColor(x, y, 65280, 230, 130, 280, 180) or FindColor(x, y, 255,
230, 130, 280, 180))
end;



Try these for the health bar. They are from an old version of simba

Justin

2013-02-27 03:43:11

I am currently working on a small include. If you guys could suggest some procedures/functions that would would like to see please post below.

kiwiownage

2013-02-27 03:55:42

From: Justin
I am currently working on a small include. If you guys could suggest some procedures/functions that would would like to see please post below.


IsIdle & EatFoodatHealthPercent

Justin

2013-02-27 04:16:49

From: kiwiownage
IsIdle & EatFoodatHealthPercent

function IsMoving: Boolean;

EatFoodatHealthPercent - More up to the scripter to do this

DannyRS

2013-02-27 04:25:00

From: Justin
function IsMoving: Boolean;

EatFoodatHealthPercent - More up to the scripter to do this


^ food can be any type, so it's not practical for us to add all types

The Claw

2013-02-27 05:47:03

From: DannyRS
Can you give me an Example of how you are using uptext and it's not working?

UpText works for me, Idk why it does not for some people, you need to Use one string from the white text and one from yellow/blue string, and don't just use the entire string, for example,


If P07_IsUpTextMultiCustom(['Mine','Rock']) Then ClickMouse2(mouse_left); //should definetly work

About choseoption, that should work also, no reason it shouldn't, but it is for the right click panel in game (not the npc chat box options),

Stuff with the NPC chat box would require another Font to be installed, and I'd probably need to have a seperate Include file for that, otherwise alot of people will suddenly get error's they won't understand


Writeln(Uptext) and it didn't work, but I wasnt doing SetupP07Include, and I was also doing SetupSRL. Just SetupP07 works now but it isn't always accurate. Good enough though.

The NPC chat would be very handy to have. :)

DannyRS

2013-02-27 05:54:11

From: The Claw
Writeln(Uptext) and it didn't work, but I wasnt doing SetupP07Include, and I was also doing SetupSRL. Just SetupP07 works now but it isn't always accurate. Good enough though.

The NPC chat would be very handy to have. :)


I'll look at a seperate Include and font files for everything else Font related ;)

Are you using WriteLn(P06_GetUpText); ? UpText is the Main rs one from srl, does chooseoption work on right click for you also?

If you use two part strings from white and the secondary color, it should be more or less 100% accurate, it's just when the background matches the text color it can cause problems, but theres almost never a problem with both the color's at once, SetupSRL; should not affect it anymore when running in SMART :p

The Claw

2013-02-27 05:59:31

From: DannyRS
I'll look at a seperate Include and font files for everything else Font related ;)

Are you using WriteLn(P06_GetUpText); ? UpText is the Main rs one from srl, does chooseoption work on right click for you also?

If you use two part strings from white and the secodary color, it should be more or less 100% accurate, it's just when the background matches the trxt color it can cause problems, but theres almost never a problem with both the color's at once, SetupSRL; should not affect it anymore when runnin in SMART :p


Yeah I was and wasn't running in SMART. And yeah was similar colors to the uptext. Apart from that it seems to be a great project…keep it up, will probably be using it a fair bit :tongue:

DannyRS

2013-02-27 06:06:08

From: The Claw
Yeah I was and wasn't running in SMART. And yeah was similar colors to the uptext. Apart from that it seems to be a great project…keep it up, will probably be using it a fair bit :tongue:


Yeh I'm still troubleshooting what goes on in SetupSRL; that stops it working in a browser, strange that it works in smart but not without it now, I'll keep looking :p

gavin0627

2013-02-27 06:12:39

ths so much!

just now ,i found if i wanted to use P07 ,i must't write SetupSRL before P07
that means i must give up SMART?

i am sorry
it can join game ,but cost long time to go

no ,i make a test , it's SetupSRL cost time

Gh0stt

2013-02-27 06:22:44

Hello, Sorry for the noob question but the following;

Procedure P07_ClickToContinue;
Function P07_CastSpell(SpellNumber: Integer): Boolean;
Procedure P07_AutoRetaliate(ToggleTo: Boolean);
Procedure P07_CombatStance(ToggleToNum: Integer);
Function P07_WearingItem(I: Integer): Boolean;
Function P07_GetMiniMapDots(WhatDotCol: String): TPointArray;
Function P07_CountMiniMapDots(WhatDotCol: String): Integer;
Function P07_DidClick(Red: Boolean; Time: Integer): boolean;

These are All of the current procedures and functions that exist so far? Or is there more?

Thanks for the help. :)


EDIT: Ahh, I see if you view the simba include code it says all of them. Thanks!

DannyRS

2013-02-27 07:18:51

@Gh0stt

Thats just a list of what I added in 1.7, full list always inside the simba file ;)

Rico1993

2013-02-27 07:23:25

I just learned simba and solved the antileech, but now i got this woodcutting script working but instead of clicking the trees he is hovering over it. Its the draynorwillowbanker. can someone help please?

DannyRS

2013-02-27 07:30:11

From: Rico1993
I just learned simba and solved the antileech, but now i got this woodcutting script working but instead of clicking the trees he is hovering over it. Its the draynorwillowbanker. can someone help please?


Link me to the script, It's probably a function being used wrong

Rico1993

2013-02-27 07:33:07

http://villavu.com/forum/showthread.php?t=96948
He updated it a couple of times though, but every update it wouldnt click. im using chrome browser, maybe thats the problem?

DannyRS

2013-02-27 07:42:14

From: Rico1993
http://villavu.com/forum/showthread.php?t=96948
He updated it a couple of times though, but every update it wouldnt click. im using chrome browser, maybe thats the problem?


One moment I'll take a look, I use chrome so it shouldn't be, I'll edit this post with any non-anti leech issues I spot

Edit-
In procedure ChopTree;

Change this Line: P07_FindObj(x,y,'Willow',WillowColor,5)

To this:

P07_FindObjCustom(x,y,['Chop','down','illow'],[WillowColor],5)

Let me know if that fixes it

Rico1993

2013-02-27 07:57:24

Nope, still hovering over the trees, you dont have any antileeches in your p07 right? any other solvements?
thanks for you help btw :)

DannyRS

2013-02-27 08:09:40

From: Rico1993
Nope, still hovering over the trees, you dont have any antileeches in your p07 right? any other solvements?
thanks for you help btw :)


No P07 does not contain anti-leech because that's not what it's about ;)

Can you do a test for me, make a new script, paste this in, and press run on simba, then quickly hover over a tree and see if it print's out correctly what's in the top left corner, be sure to drag the green target onto the mainscreen of runescape, and have brightness in game up full


program new;
{$I Srl/Srl.Simba}
{$I P07Include.Simba}

Begin
SetupP07Include;
Wait(4000);
WriteLn('UpTextSays: ' + P07_GetUpText);
End.

Justin

2013-02-27 08:13:11

@DannyRS - Do I have permission to use some of your posted code to help develop the SRL007 include?

DannyRS

2013-02-27 08:13:55

From: Justin
@DannyRS - Do I have permission to use some of your posted code to help develop the SRL007 include?


Yes Ofc take anything you need ;) <3

Rico1993

2013-02-27 08:23:48

This is what simba prints out:
Compiled successfully in 858 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
UpTextSays: !  1  (and some weird other signs)
Successfully executed.

DannyRS

2013-02-27 08:35:34

From: Rico1993
This is what simba prints out:
Compiled successfully in 858 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
UpTextSays: ! 1 (and some weird other signs)
Successfully executed.


Hmm that's weird your uptext is not reading correctly, could you try a different browser for me? same test script

if you could use simba to get the co-ordinates of a box around the uptext, that would be a big help too, but IDK if you know how to do that

Rico1993

2013-02-27 09:04:47

same exact outcome :/ but alot of people are having trouble with this. and i dont know sorry :/

DannyRS

2013-02-27 09:20:22

From: Rico1993
same exact outcome :/ but alot of people are having trouble with this. and i dont know sorry :/


you know how the "walk here" comes up when your mouse is on the main screen, can you drag the mouse to the very top left of the W (as close to perfect as you can, roughly will do), look bottom left of simba for the mouse co-ordinates, remember them, write them in notepad or something, then do the same for the bottom right of the second e in "here", and then tell me the four numbers? that would help me tell if this is an OCR or co-ordinate problem,

don't worry if your not up to doing that

obsessive

2013-02-27 10:00:54

I'm getting this error as soon as I start using my script. The script finds the curse button, double clicks it instead of once, then I get this:

Hint] C:\Users\Anthony\Desktop\Simba\CurseRelease.simba(50:10): Variable 'Result' never used at line 49
Compiled successfully in 343 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Clicking curse
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]


Function P07_GetUpText: String;
Var
WhiteT,BlueT,YellowT,OrangeT,FoundText: String;
Begin
WhiteT:=GetTextAtExWrap(8, 8, 80, 21, 0, 5, 1, 14541281, 55, 'P07UpChars'); Line 108
BlueT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 13423640, 65, 'P07UpChars');
YellowT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 1235160, 40, 'P07UpChars');

Rico1993

2013-02-27 10:05:06

alright, for the top left of the W i got 336,119
For the bottom right of the E i got 399,129

Netzone

2013-02-27 10:11:31

Basically what I'm getting is
Checking P07Include VersionNumber
Local : 1.5 / Latest : 1.7
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.

Causing the script (i think) to not run. It does this every time, even though I've actually checked the include file and it does indeed say "P07_VersionNumber = '1.7';" so I don't know what wrong really.

DannyRS

2013-02-27 10:12:12

From: Rico1993
alright, for the top left of the W i got 336,119
For the bottom right of the E i got 399,129


Wow, how the hell is the top left of your client returning as such high values?

Did you definetly drag simbas green target so the red highlight was only over the runescape client? (and not chrome too)

@obsessive, you need to install the font folder and restart simba,

@netzone, you have another P07Include.Simba saved somewhere else, you need to find it and delete it(possibly in script's folder?)

Rico1993

2013-02-27 10:19:49

Sht, my bad, forgot to green target it, the real values are:
9,9 left top 72,16 right bottom

Oh and btw, i have this problem with every script :/

DannyRS

2013-02-27 10:36:36

From: Rico1993
Sht, my bad, forgot to green target it, the real values are:
9,9 left top 72,16 right bottom

Oh and btw, i have this problem with every script :/


Run my test script after green targeting? Print out? Be sure mouse is over a tree or something

Rico1993

2013-02-27 10:40:00

Compiled successfully in 951 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
UpTextSays: !  (same exact weird letters)
Successfully executed.

Maybe reinstall simba?

DannyRS

2013-02-27 11:08:53

From: Rico1993
Compiled successfully in 951 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
UpTextSays: ! (same exact weird letters)
Successfully executed.

Maybe reinstall simba?


Can I PM you some debug procedures to run when I get home? (driving atm lol)

Tombraider

2013-02-27 11:28:27

May i ask how you check your own healthbar going down?

And if there isnt a way to check it could u implement it in?

DannyRS

2013-02-27 11:33:37

From: Tombraider
May i ask how you check your own healthbar going down?


Count the green pixel's and divide them by the width of the health bar ;)

Tombraider

2013-02-27 11:48:36

Alright but that isn't your personal healthbar i need the personal healthbar for this matter. Any idea's?

DannyRS

2013-02-27 11:52:48

From: Tombraider
Alright but that isn't your personal healthbar i need the personal healthbar for this matter. Any idea's?


What do you mean personal healthbar?

Open the stats screen, read two hp numbers, take first away from second, thats the only 100% accurate way

Tombraider

2013-02-27 11:56:12

Thx for your response! I already was thinking of that, but what function do i use to compare these numbers? Images?

DannyRS

2013-02-27 11:57:58

From: Tombraider
Thx for your response! I already was thinking of that, but what function do i use to compare these numbers? Images?


You need the Numbers in the StatChar's Font, from 07, they are in srl archive, or I'll find them for you in a bit when I'm home, unless someone else here has them to give em to you?

Rico1993

2013-02-27 11:58:26

From: DannyRS
Can I PM you some debug procedures to run when I get home? (driving atm lol)


Yes thank you :)

DannyRS

2013-02-27 12:00:20

From: Rico1993
Yes thank you :)


I'm sure with your help I can locate this bug :p it's impossible for me to locate it myself because I can't re-create it lol!

Tombraider

2013-02-27 12:01:35

Would be great do you have skype? My skype:Tombie28

DannyRS

2013-02-27 12:05:52

From: Tombraider
Would be great do you have skype? My skype:Tombie28


I have skype but I only go on when I need too ;)

I'll add you when I can

wthomas

2013-02-27 12:07:25

@tombraider you coudl use these simple funcions

 
function getHp:double;
var
green,red:TpointArray;
x,y:integer;
begin
FindColorsTolerance(green,65280,240,70,275,170,0);
FindColorsTolerance(red,255,240,70,275,170,0);
result:=100*length(green)/(length(green)+length(red));
end;

function inCombat:boolean;
var
x,y:integer;
begin
result:=findcolortolerance(x,y,65280,240,70,275,170,5);
end;

They work well enough for a start. :)

Tombraider

2013-02-27 12:07:34

Thank you! Looking forward to it.

@Wthomas above:
This would only check every healthbar available at that time i need to check my characters healthbar accurately for any randoms that appear and start to attack me.

DannyRS

2013-02-27 13:51:55

Everyone having uptext issues (mouse hovering and not clicking), Please run this for me:


Program UpTextDebugger;

{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

// Drag green target from Simba onto mainscreen of runescape
// Click run, within 5 seconds hover over something ingame, Wait
// 5 Sec for debug output, Show Everything, Including image that
// Will open up, or locate it where you ran this script from
// To Danny, via PM or Here :
// http://villavu.com/forum/showthread.php?t=96863

Var
TCTS: Integer;
TCTSHM,TCTSSM: Extended;
DebuggerTPA: TPointArray;

Begin
Wait(5000);
SetupP07Include;
GetColorspeed2Modifiers(TCTSHM,TCTSSM);
TCTS:=GetColorToleranceSpeed;
WriteLn('CTS : '+ToStr(TCTS));
WriteLn('CTSHM : '+ToStr(TCTSHM));
WriteLn('CTSSM : '+ToStr(TCTSSM));
WriteLn('UpTxT : '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.00,0.00);
SetColorToleranceSpeed(0);
WriteLn('UpTxT0: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.02,0.02);
SetColorToleranceSpeed(1);
WriteLn('UpTxT1: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(TCTSHM,TCTSSM);
SetColorToleranceSpeed(TCTS);
SetLength(DebuggerTPA,4);
DebuggerTPA:=[Point(8,8),Point(170,8),Point(170,21),Point(8,21)]
DebugTPA(DebuggerTPA,'DebuggerTPA');
End.

Rico1993

2013-02-27 14:07:58

From: DannyRS
Everyone having uptext issues (mouse hovering and not clicking), Please run this for me:


Program UpTextDebugger;

{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

// Drag green target from Simba onto mainscreen of runescape
// Click run, within 5 seconds hover over something ingame, Wait
// 5 Sec for debug output, Show Everything, Including image that
// Will open up, or locate it where you ran this script from
// To Danny, via PM or Here :
// http://villavu.com/forum/showthread.php?t=96863

Var
TCTS: Integer;
TCTSHM,TCTSSM: Extended;
DebuggerTPA: TPointArray;

Begin
Wait(5000);
SetupP07Include;
GetColorspeed2Modifiers(TCTSHM,TCTSSM);
TCTS:=GetColorToleranceSpeed;
WriteLn('CTS : '+ToStr(TCTS));
WriteLn('CTSHM : '+ToStr(TCTSHM));
WriteLn('CTSSM : '+ToStr(TCTSSM));
WriteLn('UpTxT : '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.00,0.00);
SetColorToleranceSpeed(0);
WriteLn('UpTxT0: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.02,0.02);
SetColorToleranceSpeed(1);
WriteLn('UpTxT1: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(TCTSHM,TCTSSM);
SetColorToleranceSpeed(TCTS);
SetLength(DebuggerTPA,4);
DebuggerTPA:=[Point(8,8),Point(170,8),Point(170,21),Point(8,21)]
DebugTPA(DebuggerTPA,'DebuggerTPA');
End.


Compiled successfully in 1029 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
CTS : 1
CTSHM : 0.2
CTSSM : 0.2
UpTxT :
UpTxT0: !  %
UpTxT1: !  %
Successfully executed.

this is what it said, and showed me the picture of "chop oak tree"

Finiahmad

2013-02-27 14:26:51

When I try to run this on my computer it works perfectly, however, when I try to run it on a VM, I get an upchar error, is this normal?

Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]

Thanks.

EDIT: Added code

DannyRS

2013-02-27 14:30:32

From: Rico1993
Compiled successfully in 1029 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
CTS : 1
CTSHM : 0.2
CTSSM : 0.2
UpTxT :
UpTxT0: ! %
UpTxT1: ! %
Successfully executed.

this is what it said, and showed me the picture of "chop oak tree"


need to see the picture (uncompressed) :)


From: Finiahmad
When I try to run this on my computer it works perfectly, however, when I try to run it on a VM, I get an uptext error, is this normal?

Thanks.


Nope not normal, try debug script above please(on VM), will help me fix

Finiahmad

2013-02-27 14:34:39

From: DannyRS
need to see the picture (uncompressed) :)




Nope not normal, try debug script above please(on VM), will help me fix


Sorry I meant UpChars not Uptext, sorry!
Please see my edit

Sayerp

2013-02-27 14:40:43

Hey, i was wondering if this include works with creating a custom walk path as seen in this tutorial:

http://villavu.com/forum/showthread.php?t=84360&highlight=reality

Greatly appreciate any help

DannyRS

2013-02-27 14:43:32

From: Sayerp
Hey, i was wondering if this include works with creating a custom walk path as seen in this tutorial:

http://villavu.com/forum/showthread.php?t=84360&highlight=reality

Greatly appreciate any help


SPS Does not work well in 07, I'm looking into it

From: Finiahmad
Sorry I meant UpChars not Uptext, sorry!
Please see my edit


Did you forget to install the font on VM like you did on PC?

Finiahmad

2013-02-27 14:51:09

From: DannyRS
SPS Does not work well in 07, I'm looking into it



Did you forget to install the font on VM like you did on PC?


Ah, i forgot the littlest thing :duh:
Thanks it worked, great job on making this btw thanks!

Sayerp

2013-02-27 14:55:05

From: DannyRS
SPS Does not work well in 07, I'm looking into it



Did you forget to install the font on VM like you did on PC?


Ohh, ok thank you :P I'm just curious if you do manage to get SPS to work, would it be similar to how this is now (Just adding P07_xxxx) ?

vation

2013-02-27 14:59:52

I'm trying to use P07_UseKey but it doesn't do anything?

NKN

2013-02-27 16:41:56

SMART Graphics seem to be broken.
I'll test some more, and maybe post a fix.

Edit: False alarm, I just broke it when I was editting SMART

Kasterey

2013-02-27 17:19:43

So I've read every page of this thread and i'm still totally dumbfounded (the only person with a similar problem was insanity and he stopped replying, around page 2) as to how this isn't working for me. I am a total noob to this program/site, And anytime given to help me is appreciated. Here's my error and what I've done so far:
Error:

What it said on the console: [Error] C:\Program Files\Simba\Scripts\Killer06's EssMiner 1.02 (1).simba(308:50): Type mismatch at line 307
What it said in the code (on line 307): if(P07_ContainsText(P07_GetUpText, 'ubur' )) then

1. All extensions updated (SPL,SPS,MSI)
2. Your include folder in the includes folder (C:\Program Files\Simba\Includes)
3. Your fonts folder in the fonts folder (C:\Program Files\Simba\Fonts)
4. I've uninstalled and re installed simba
5. I've re-downloaded the script as well (http://villavu.com/forum/showthread.php?t=97208)
6. I've ran your uptext debugger and idk what it did but I ran it..
7. Also tested the slr, and it went into S.M.A.R.T and I had the eoc thing running

rj

2013-02-27 17:33:59

From: Kasterey
So I've read every page of this thread and i'm still totally dumbfounded (the only person with a similar problem was insanity and he stopped replying, around page 2) as to how this isn't working for me. I am a total noob to this program/site, And anytime given to help me is appreciated. Here's my error and what I've done so far:
Error:

What it said on the console: [Error] C:\Program Files\Simba\Scripts\Killer06's EssMiner 1.02 (1).simba(308:50): Type mismatch at line 307
What it said in the code (on line 307): if(P07_ContainsText(P07_GetUpText, 'ubur' )) then

1. All extensions updated (SPL,SPS,MSI)
2. Your include folder in the includes folder (C:\Program Files\Simba\Includes)
3. Your fonts folder in the fonts folder (C:\Program Files\Simba\Fonts)
4. I've uninstalled and re installed simba
5. I've re-downloaded the script as well (http://villavu.com/forum/showthread.php?t=97208)
6. I've ran your uptext debugger and idk what it did but I ran it..
7. Also tested the slr, and it went into S.M.A.R.T and I had the eoc thing running

Thats the anti leech in his script it's not the include

Kasterey

2013-02-27 17:36:14

From: rjj95
Thats the anti leech in his script it's not the include


You've saved me from more rage, thanks man ahahaha was about to start hitting things.

kiwiownage

2013-02-27 17:44:27

Any chance we could get a IsCasting or IsShooting method? (Checks to see if player is shooting spells/shooting arrows)?

<3

wthomas

2013-02-27 17:51:59

@kiwiownage: you could write one yourself, in context you could just check for the number of pixels changing over your character using PixelShift(box:Tbox,time:integer)

:)

DannyRS

2013-02-27 17:59:39

From: wthomas
@kiwiownage: you could write one yourself, in context you could just check for the number of pixels changing over your character using PixelShift(box:Tbox,time:integer)

:)


If someone could make a PixelShift and test it till it's good, I could add it, busy trying to fix up-text atm, cant mess with PixelShift

kiwiownage

2013-02-27 18:35:42

From: wthomas
@kiwiownage: you could write one yourself, in context you could just check for the number of pixels changing over your character using PixelShift(box:Tbox,time:integer)

:)


Ive tried but it doesn't seem to work :/

Function IsCasting: Boolean;
Begin
PBox := IntToBox(238, 169, 279, 217);
Result := (AveragePixelShift(PBox, 250, 350) > 45);
End;

kiwiownage

2013-02-27 18:50:30

nvm! fixed it!

rj

2013-02-27 19:23:40

Check out this cool new toy I found:

function Bank: Boolean;
var
i, CTS, c, Timeout: Integer;
TPA, TPA1, TPA2: TPointArray;
ATPA: T2DPointArray;
P: TPoint;
begin
Result := False;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
Timeout := 5000 + Random(1000);
SetColorSpeed2Modifiers(BankHue_1, BankSat_1);
FindColorsTolerance(TPA1, BankCol_1, MSX1, MSY1, MSX2, MSY2, BankTol_1);
SetColorSpeed2Modifiers(BankHue_2, BankSat_2);
FindColorsTolerance(TPA2, BankCol_2, MSX1, MSY1, MSX2, MSY2, BankTol_2);
SetColorSpeed2Modifiers(0.2, 0.2);
ColorToleranceSpeed(CTS);
CombineTPAWrap(TPA1, TPA2, TPA);
SplitTPAWrap(TPA, 5, ATPA);
SortATPASize(ATPA, True);
if Length(TPA) < 1 then
Exit;
for i := 0 to High(ATPA) do
if Length(ATPA[i]) > 30 then
begin
P := MiddleTPA(ATPA[i]);
HumanMMouse(P.X, P.Y, RandomRange( - 5, 5), RandomRange( - 5, 5));
if (P07_IsUpTextMultiCustom(['Use', 'Bank', 'ooth'])) then
begin
case LowerCase(ClickMethod) of
'booth':
Begin
RandomLeftClick;
clickmouse2(mouse_Right);
RandomChooseWait;
P07_ChooseOptionMultiHuman(['Use-q']);
Exit;
End;
'chest':
Begin
RandomRightClick;
clickmouse2(mouse_Left);
Wait(RandomRange(100, 700));
Exit;
End;
End;
Exit;
End;
End;
End;

That is some precise-ass object clicking, maybe you can add universal booth hover

DannyRS

2013-02-27 19:27:36

From: rjj95
Check out this cool new toy I found:

That is some precise-ass object clicking, maybe you can add universal booth hover


Would probably be worth adding, but we've got a bigger problem with up-text atm ;)

hunua100

2013-02-27 20:06:19

How can i update my 1.6 to 1.7?

rj

2013-02-27 20:07:38

Is makecompass degree working for anyone else? It worked for me twice then suddenly stopped working

P07_MakeCameraAngleHigh;
P07_MakeCompassDegree(CompassDegree + Random(10));

Ann_arbor

2013-02-27 20:28:37

Thanks for the include Danny!

Zorgatone

2013-02-27 20:53:23

From: SeanStar
[ATTACH=CONFIG]19310[/ATTACH]
Works great! I even got it to work with smart! Very nice! (Changing the param page to http://oldschool1.runescape.com/,j1 and setting RSReady to True)


How did you do that? Can you help me out setting mine as well? Thank you!

Conflagerate

2013-02-27 20:55:19

From: DannyRS
Everyone having uptext issues (mouse hovering and not clicking), Please run this for me:


Program UpTextDebugger;

{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

// Drag green target from Simba onto mainscreen of runescape
// Click run, within 5 seconds hover over something ingame, Wait
// 5 Sec for debug output, Show Everything, Including image that
// Will open up, or locate it where you ran this script from
// To Danny, via PM or Here :
// http://villavu.com/forum/showthread.php?t=96863

Var
TCTS: Integer;
TCTSHM,TCTSSM: Extended;
DebuggerTPA: TPointArray;

Begin
Wait(5000);
SetupP07Include;
GetColorspeed2Modifiers(TCTSHM,TCTSSM);
TCTS:=GetColorToleranceSpeed;
WriteLn('CTS : '+ToStr(TCTS));
WriteLn('CTSHM : '+ToStr(TCTSHM));
WriteLn('CTSSM : '+ToStr(TCTSSM));
WriteLn('UpTxT : '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.00,0.00);
SetColorToleranceSpeed(0);
WriteLn('UpTxT0: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.02,0.02);
SetColorToleranceSpeed(1);
WriteLn('UpTxT1: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(TCTSHM,TCTSSM);
SetColorToleranceSpeed(TCTS);
SetLength(DebuggerTPA,4);
DebuggerTPA:=[Point(8,8),Point(170,8),Point(170,21),Point(8,21)]
DebugTPA(DebuggerTPA,'DebuggerTPA');
End.

Fuck i thought my script was broken, thank god its not just me. i got
Compiled successfully in 374 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
CTS : 1
CTSHM : 0.2
CTSSM : 0.2
UpTxT : Mine Rocks
UpTxT0: Mine Rocks
UpTxT1: Mine Rocks
Successfully executed.
and the pic is "Mine Rocks / 3 more op" the back half of the 't' shows up.
http://postimage.org/image/m65if6qo9/
theres the image

Zorgatone

2013-02-27 22:32:12

From: J J
I edited SPS myself it works really well for me even though I'm in Al Kharid. I'll take a look at yours.

PRO tip:
KeyDown(17);
Result := SPS_Walk07Path(Path);
KeyUp(17);

To make it run without checking if you have run % and setting run to true etc.


Please can you help me with sps at Al Kharid? I'm trying to make a script for Runescape 2007..

Sequence

2013-02-28 01:25:29

Thank you for the work you've put into creating this DannyRS



From: rjj95
Is makecompass degree working for anyone else? It worked for me twice then suddenly stopped working

P07_MakeCameraAngleHigh;
P07_MakeCompassDegree(CompassDegree + Random(10));


It has been working fine for me so far.

DannyRS

2013-02-28 03:13:18

From: Conflagerate
Fuck i thought my script was broken, thank god its not just me. i got
Compiled successfully in 374 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
CTS : 1
CTSHM : 0.2
CTSSM : 0.2
UpTxT : Mine Rocks
UpTxT0: Mine Rocks
UpTxT1: Mine Rocks
Successfully executed.
and the pic is "Mine Rocks / 3 more op" the back half of the 't' shows up.
http://postimage.org/image/m65if6qo9/
theres the image


Your uptext is printing correctly, so all functions should work :p so something in your script must be broken


From: rjj95
Is makecompass degree working for anyone else? It worked for me twice then suddenly stopped working

P07_MakeCameraAngleHigh;
P07_MakeCompassDegree(CompassDegree + Random(10));


You can only use compass features once your script has clicked the client atleast once, or you have smart enabled

Rico1993

2013-02-28 06:18:30

From: DannyRS
Your uptext is printing correctly, so all functions should work :p so something in your script must be broken




You can only use compass features once your script has clicked the client atleast once, or you have smart enabled


Here is my debug

c00ldodo

2013-02-28 06:46:31

Im getting this error:

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

any ideas :D ?
thanks

Rico1993

2013-02-28 06:59:58

From: c00ldodo
Im getting this error:

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

any ideas :D ?
thanks


You dont have to compile include, just the script.

halgboy_tbc

2013-02-28 07:14:43

nvm.

Prayer94

2013-02-28 13:26:29

To all those having the problem of the scripts mouse hovering but not actually clicking go to simba in your c drive and make sure that the07upchars you downloaded is one folder.. As in not 07upchars with another 07upchars folder inside it.. This was my problem for all scripts and once I removed the secondary folder and had one folder with the up char files all my scripts worked.. If you dont understand I will try and explain better typed this in a rush sorry

Prayer94

2013-02-28 13:27:29

@DannyRS I think what I typed above may be a lot of people's problem.

Sk1nyNerd

2013-02-28 13:30:18

From: DannyRS
Can I PM you some debug procedures to run when I get home? (driving atm lol)


I'm getting the same errors as rico no matter what script I run. I dragged simba into the rs window on chrome. did you guys find a solution?

Compiled successfully in 858 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3, 4]

DannyRS

2013-02-28 13:33:18

From: ibot_dung11
I'm getting the same errors as rico no matter what script I run. I dragged simba into the rs window on chrome. did you guys find a solution?

Compiled successfully in 858 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3, 4]


Font not found


Install the font in OP

Prayer94

2013-02-28 13:43:34

From: DannyRS
Everyone having uptext issues (mouse hovering and not clicking), Please run this for me:


Program UpTextDebugger;

{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

// Drag green target from Simba onto mainscreen of runescape
// Click run, within 5 seconds hover over something ingame, Wait
// 5 Sec for debug output, Show Everything, Including image that
// Will open up, or locate it where you ran this script from
// To Danny, via PM or Here :
// http://villavu.com/forum/showthread.php?t=96863

Var
TCTS: Integer;
TCTSHM,TCTSSM: Extended;
DebuggerTPA: TPointArray;

Begin
Wait(5000);
SetupP07Include;
GetColorspeed2Modifiers(TCTSHM,TCTSSM);
TCTS:=GetColorToleranceSpeed;
WriteLn('CTS : '+ToStr(TCTS));
WriteLn('CTSHM : '+ToStr(TCTSHM));
WriteLn('CTSSM : '+ToStr(TCTSSM));
WriteLn('UpTxT : '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.00,0.00);
SetColorToleranceSpeed(0);
WriteLn('UpTxT0: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(0.02,0.02);
SetColorToleranceSpeed(1);
WriteLn('UpTxT1: '+ToStr(P07_GetUpText));
SetColorspeed2Modifiers(TCTSHM,TCTSSM);
SetColorToleranceSpeed(TCTS);
SetLength(DebuggerTPA,4);
DebuggerTPA:=[Point(8,8),Point(170,8),Point(170,21),Point(8,21)]
DebugTPA(DebuggerTPA,'DebuggerTPA');
End.


Anyone who follows this step by Danny and comes out with something like CTS : 1
CTSHM : 0.2
CTSSM : 0.2
UpTxT :
UpTxT0: !  %
UpTxT1: !  %

I am 90% sure you have two 07upchars folders one being inside the other, remove the first so that you only have one folder 07upchars with the files inside and providing you can solve the anti leech for the script you are using your clicking will now work :)

Sk1nyNerd

2013-02-28 13:48:45

From: DannyRS
Install the font in OP


sorry im new, where would i find that ha :P

DannyRS

2013-02-28 13:52:00

From: Prayer94
Anyone who follows this step by Danny and comes out with something like CTS : 1

I am 90% sure you have two 07upchars folders one being inside the other, remove the first so that you only have one folder 07upchars with the files inside and providing you can solve the anti leech for the script you are using your clicking will now work :)


I never thought of that tbh!, could be!

From: ibot_dung11
sorry im new, where would i find that ha :P


First post in this thread

Sk1nyNerd

2013-02-28 14:05:46

I did not move p07upcharacters to Fonts which was located in the C:, that was the problem, along with Prayer's helpful hint (the folder within the folder)
Thanks guys:)

CoolerXMaster

2013-02-28 15:38:16

Getting this error:

Exception in Script: Unable to find file 'P07Include.Simba' used from

Not sure, been browsing around for awhile now.

keeks

2013-02-28 15:53:40

im coding a script of my own, but it when I try and get it to trade with a player in the same style as trading an NPC, it comes up with this error:
http://i.imgur.com/2sjOhDx.png

DannyRS

2013-02-28 15:58:30

From: keeks
im coding a script of my own, but it when I try and get it to trade with a player in the same style as trading an NPC, it comes up with this error:
http://i.imgur.com/2sjOhDx.png


hmm what function did you call? can you show me the script

keeks

2013-02-28 16:00:12

From: DannyRS
hmm what function did you call? can you show me the script


ill pm

BigRedJapan

2013-02-28 16:08:09

Danny The
P07_DidRedClick;

Is broken!

SeanStar

2013-02-28 16:18:15

It's probably worth noting that you can get a lot of functions from SRL4 Revision 1 that don't need much editing at all to get working. Anyway, good work Danny. I'm actually working on updating the entire SRL 4 include for simba (privately)

lukas76

2013-02-28 17:37:49

I keep getting an annoying error where the updater doesn't appear to be functioning at all.

Where the script checks the website to see what the version # is and it constantly does this, I can't run any script because it says its outdated and it kills the script.

I know for a fact its updated the includes.simba (for your 07 includes at least 15 times) to version 1.7 and the updater seems to be in a infinite loop of some sort and won't get itself out of it, i've tried multiple times to get it to not check for updates.

Here's a screenie of the debug log: [ATTACH=CONFIG]19453[/ATTACH]

And here is a screenie of the includes file that is located in the correct spot: [ATTACH=CONFIG]19454[/ATTACH]

Thanks!

wthomas

2013-02-28 18:14:34

@Lukas76, Have you tried running it as admin. If you don't have write privileges then the auto updating wont do anything.

unregistered user

2013-02-28 19:34:37

have you changed the inventory slot numbering for P07_DepositInventorySlot? I know YoHo asked if you would start it at 1 instead of 0 but it was working for me last week now it is not deposit the stuff.

This is what I have:

P07_DepositInventorySlot(1,true);

nothing happens

speedster

2013-02-28 19:42:58

Just to fight the exploding rocks :)

procedure P07_FindRockBomb;
var
tpa: TPointArray;
begin
SetColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.14, 0.51);
FindColorsTolerance(tpa, 6190211, 217 , 127, 329, 228, 19);
SetColorToleranceSpeed(1);
SetColorspeed2Modifiers(0.2, 0.2);
if Length(tpa) > 65 then
begin
MMouse(P07_MMCX,P07_MMCY,1,1);
wait(95);
ClickMouse2(mouse_left);
wait(RandomRange(35000,60000)); // Edit this as you please.
end;
end;

n3ss3s

2013-02-28 20:04:37

What's the purpose of this instead of using SRL 4 which works fine?

DannyRS

2013-02-28 20:09:28

From: n3ss3s
What's the purpose of this instead of using SRL 4 which works fine?


ease of access, no idea, halted for now anyway

speedster

2013-02-28 20:16:09

Srl 4 works fine ? Where might I get SRL 4 ?:)

StonedAge

2013-02-28 22:42:38

Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]

not sure exactly what this means 100% but, i hope it helps in the next update!

DannyRS

2013-02-28 22:53:49

From: StonedAge
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]

not sure exactly what this means 100% but, i hope it helps in the next update!


Did you even read the error, or my first post,
You must install the font to simba, else it will give you this error because it can't find the font

StonedAge

2013-02-28 22:55:56

sorry i'm tired and wasnt thinking! ha truly a dumb mistake and was coming to edit post when you posted, thanks though.

DannyRS

2013-02-28 23:05:04

From: StonedAge
sorry i'm tired and wasnt thinking! ha truly a dumb mistake and was coming to edit post when you posted, thanks though.


Glad you got it fixed ;)

Btw for anyone who reads this thread, this Include is only temporary (and was designed as such), it will be completely discontinued when an official Include is released, Tho I will still disable the autoupdater and leave the final version here for archive purposes when this happens ;)

ineedbot

2013-02-28 23:28:52

Hey Danny, do you think you could add a GetCurrentHP function?

Ricky

2013-03-01 02:42:21

Nothing to see here.

MethodISP

2013-03-01 10:36:04

So how do I start the client from this Include?

JMALLORY4

2013-03-01 12:20:30

im getting the error Unable to find file 'SRL/SRL.Simba' how do i fix this?

DannyRS

2013-03-01 12:27:34

From: JMALLORY4
im getting the error Unable to find file 'SRL/SRL.Simba' how do i fix this?


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

TraCme

2013-03-01 13:23:06

Hey people,im new to simba, could anyone run simba for me please?

Dont Blink

2013-03-01 16:08:32

I am getting this when trying to use an agility bot at gnome course

[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.

PhaseCoder

2013-03-01 17:55:52

keep getting

Exception in Script: Unable to find file 'P07Incliude.Simba' used from ''

Even tho set up

Wizzup?

2013-03-01 18:12:06

From: DannyRS


If anybody publicly releases a Gold-farming script using this, with no anti-leech, I reserve the right to Remove this project and you may not re-post it here


This is really obnoxious. You cannot impose rules like this. It's completely up to you to remove the include if someone else uses it - but why even bother posting it here in the first place then?

If you're not serious about your include, then why not just work on the other include - so we do not end up with >9001 includes like in 2004? (If you're already doing this - then awesome!)

I respect the work you put into this, but forcing people to build in anti-leech is really again software freedom and other things we stand for. I'd like to see you defend this point or just remove this bold statement. :)

kevintokes

2013-03-02 01:17:17

I get this error any help would be great thanks :)

[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

And i went to line 56 and this what was there:

Procedure P07_MouseBox(X1, Y1, X2, Y2: Integer; ClickType: Integer);
Begin
MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);
ClickMouse2(ClickType);
Wait(RandomRange(37,50));
End;

====================================================================

Ok well i fixed that problem by P07 Char and now i get this error

[FATAL] terminal error, cant see bank or rune shop ending script now
Successfully executed.
The following DTMs were not freed: [0, 1, 2]

DannyRS

2013-03-02 01:38:25

From: Wizzup?
This is really obnoxious. You cannot impose rules like this. It's completely up to you to remove the include if someone else uses it - but why even bother posting it here in the first place then?

If you're not serious about your include, then why not just work on the other include - so we do not end up with >9001 includes like in 2004? (If you're already doing this - then awesome!)

I respect the work you put into this, but forcing people to build in anti-leech is really again software freedom and other things we stand for. I'd like to see you defend this point or just remove this bold statement. :)


@Wizzup?

I'm personally completely against anti-leech, it defeat's the learning process somewhat because your reading material to learn from is flawed from the get go, if I had my way anti-leech would not exist at all, I'm not trying to force people in any way, (was aimed at something like a green dragon bot farmer, with the best intentions from my part), None of my own written scripts contain any, and I only put that there out of respect for the other Member's views,

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

At the time of creation, it was effectively 40-1, So I'm sure you understand my Reasoning? With your go ahed, I'll remove that message from the OP and everything goes ;)

Edit - Updated OP


@kevintokes

Theres a few possibilites, did you try to compile the Include, don't do that, maybe your script is missing {$I Srl/Srl.Simba} from your script before the Include,

The bank / rune shop thing is part of your own script? I've never seen that before? Is it an official RS function you are using from SRL?


@TheEntireForum

Development of this is currently frozen from my part as I contribute to another Include, I've removed any message about anti-leech, this Include will never be removed by me, you may release any Script you want making use of it, Huge apology for the bother

zerra1337

2013-03-02 04:27:42

So i added it and everything but i cant get my script that i want to use to actually begin.

DannyRS

2013-03-02 04:29:27

From: zerra1337
So i added it and everything but i cant get my script that i want to use to actually begin.


Which script is this? Have you tried a different one with this Include to verify if its a script problem or an Include one?

zerra1337

2013-03-02 04:31:24

Im trying to use mxPickPocket i believe, and i have no tried to use a different script yet.

zerra1337

2013-03-02 04:35:19

I just dont understand how im supposed to run these scripts with your beginning code in the front because it causes the entire thing to end

DannyRS

2013-03-02 04:43:12

From: zerra1337
I just dont understand how im supposed to run these scripts with your beginning code in the front because it causes the entire thing to end


You don't need to add my example to the other scripts, if they make use of this, just run them as they come from the download (unless they have antileech)

Wizzup?

2013-03-02 04:49:05

From: DannyRS
@Wizzup?

I'm personally completely against anti-leech, it defeat's the learning process somewhat because your reading material to learn from is flawed from the get go, if I had my way anti-leech would not exist at all, I'm not trying to force people in any way, (was aimed at something like a green dragon bot farmer, with the best intentions from my part), None of my own written scripts contain any, and I only put that there out of respect for the other Member's views,

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

At the time of creation, it was effectively 40-1, So I'm sure you understand my Reasoning? With your go ahed, I'll remove that message from the OP and everything goes ;)


Thanks so much. It's great to see guys like you put a lot effort in this community. I might join in and port the new old SRL to Lape so I can macro on my Linux machines… ;)

DannyRS

2013-03-02 04:58:12

From: Wizzup?
Thanks so much. It's great to see guys like you put a lot effort in this community. I might join in and port the new old SRL to Lape so I can macro on my Linux machines… ;)


That would be great :p

I really need to learn how to script for Lape one of these days, I wish there was some kind of tutorial how to structure a Pascal designed script in Lape, maybe sometime in the future someone will create something like this for us Pascal Noobs :p

Netzone

2013-03-02 07:05:57

I'm having problems using
P07_MakeCameraAngleHigh;
and the compass things for my script.

program Netzone;
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

var x, y: Integer;


procedure StartCheck;
begin
Wait(RandomRange(1000,2000));
P07_MakeCameraAngleHigh;
P07_MakeCompassSouth;
P07_HoverSkill('Fishing', random(3000));
Wait(RandomRange(200,1000));
end;


begin
SetupP07Include;
ActivateClient;
StartCheck;
end.

Basically this is as far as I've gotten. The P07_HoverSkill works perfectly, but the camera options just doesn't happen.

Got any idea?

[Edit] Never mind :)

samerdl

2013-03-02 07:52:30

I really wanna use this, i dont understand anything AT ALL about scripting, can you guys make a dumb user friendly guide please? i just wanna bot and do homework/workout/work without having to play.. I dont wanna be addicted god damn it!

Netzone

2013-03-02 07:54:06

From: samerdl
I really wanna use this, i dont understand anything AT ALL about scripting, can you guys make a dumb user friendly guide please? i just wanna bot and do homework/workout/work without having to play.. I dont wanna be addicted god damn it!


http://villavu.com/forum/showthread.php?t=58935 - This thread is really good

I'd also check out the videos here; http://villavu.com/forum/showthread.php?t=67691

samerdl

2013-03-02 09:15:52

From: netzone
http://villavu.com/forum/showthread.php?t=58935 - this thread is really good

i'd also check out the videos here; http://villavu.com/forum/showthread.php?t=67691


god bless you sir!

HeadShock

2013-03-02 10:10:04

Is it possible to get someone to guide me through on running the oldscape client? Willing to pay also some cash.

tealc

2013-03-02 10:25:43

P07_ItemExists doesn't work with the frog token from the frog random event. Can anyone else confirm this?

DannyRS

2013-03-02 10:27:33

From: bob_saget
P07_ItemExists doesn't work with the frog token from the frog random event. Can anyone else confirm this?


Oo, I'd probably say it doesn't, I will look into it, nice find ;)

vinster

2013-03-02 11:20:07

When i try to run a script in this, my CMD screen just fills with:

"The automatically split characters are too wide. Try decreasing minispacing"

Anybody know of this problem?

Sokil59

2013-03-02 12:36:23

Can you add a banking method where it will right click on the bank booth or Banker and bank?(A lot of people including me are having trouble with this as it's hard to find the perfect colour as every colour in most banks are the same) Also can you add a Npc dialog selection for when you're talking to npc's please?

DannyRS

2013-03-02 12:39:09

From: Sokil59
Can you add a banking method where it will right click on the bank booth or Banker and bank?(A lot of people including me are having trouble with this as it's hard to find the perfect colour as every colour in most banks are the same) Also can you add a Npc dialog selection for when you're talking to npc's please?


All this will be in the official include soon :)

rj

2013-03-02 13:22:29

From: Sokil59
Can you add a banking method where it will right click on the bank booth or Banker and bank?(A lot of people including me are having trouble with this as it's hard to find the perfect colour as every colour in most banks are the same) Also can you add a Npc dialog selection for when you're talking to npc's please?


function Bank: Boolean;
var
i, CTS, c, Timeout: Integer;
TPA, TPA1, TPA2: TPointArray;
ATPA: T2DPointArray;
P: TPoint;
begin
Result := False;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
Timeout := 5000 + Random(1000);
SetColorSpeed2Modifiers(BankHue_1, BankSat_1);
FindColorsTolerance(TPA1, BankCol_1, DX1, DY1, DX2, DY2, BankTol_1);
SetColorSpeed2Modifiers(BankHue_2, BankSat_2);
FindColorsTolerance(TPA2, BankCol_2, DX1, DY1, DX2, DY2, BankTol_2);
SetColorSpeed2Modifiers(0.2, 0.2);
ColorToleranceSpeed(CTS);
CombineTPAWrap(TPA1, TPA2, TPA);
SplitTPAWrap(TPA, 5, ATPA);
SortATPASize(ATPA, True);
if Length(TPA) < 1 then
Exit;
for i := 0 to High(ATPA) do
if Length(ATPA[i]) > 30 then
begin
P := MiddleTPA(ATPA[i]);
HumanMMouse(P.X, P.Y, RandomRange( - 5, 5), RandomRange( - 5, 5));
if (P07_IsUpTextMultiCustom(['Use', 'Bank', 'ooth'])) then
begin

Begin
clickmouse2(mouse_Right);
P07_ChooseOptionMultiHuman(['Use-q']);
While (IsMoving) Do
FastWait;
If Not P07_BankScreen Then
Begin
Bank;
End;
Exit;
End;
Exit;
End;
End;
End;

Hexless

2013-03-02 15:25:05

anyone know how to fix this?
Exception in Script: Unable to find file 'P07Include.Simba' used from ''

vinster

2013-03-02 17:11:29

From: vinster
When i try to run a script in this, my CMD screen just fills with:

"The automatically split characters are too wide. Try decreasing minispacing"

Anybody know of this problem?

anybody?

DannyRS

2013-03-02 17:13:24

From: vinster
anybody?


Not a clue sorry, I would reinstall Simba

djborec

2013-03-02 17:54:56

P07_InvBox can you add, it should be easy just edited your other function to make this work . But with every update of P07 ,my old gets deleted so I am asking you if you could add this to function list or whatever else what will result inv box

Function P07_InvBox(SlotToCheck: Integer): TBox;
Var
xsx,ysy,x,y,R,C:Integer;
Begin
SlotToCheck:=SlotToCheck-1;
xsx:=565;
ysy:=215;
C:=(Round(SlotToCheck/4));
R:=(SlotToCheck -(C*4));
Result.x1:=xsx+(R*42);
Result.Y1:=ysy+(C*36);
Result.X2:=xsx+(R*42)+27;
Result.Y2:=ysy+(C*36)+25;
End;

Element17

2013-03-02 17:56:08

@DannyRS How are you converting all this stuff over? I might wanna join if possible and help some people. Been seeing a LOT of threads in the help section.

Sokil59

2013-03-02 18:34:37

If I Extended the MSY1,MSY2, MSX1 and MSX2 (their values) then could I possible fit the entire screen (make it able to find colours even in the chat box?)

bkidwayland

2013-03-02 19:32:14

if anyone helps me get a smart auto talker working in 07 i'll give them 50k 07 gp.

Smoeltje

2013-03-02 19:36:55

Thanks alot for this!

Incanumix

2013-03-02 22:40:53

A lot have been saying this error is from the the Include

"The automatically split characters are too wide. Try decreasing minispacing"

Can anyone provide a fix please?

Hexless

2013-03-03 05:01:01

When i tried to compile my script i got this error?
[SIMBA=[Error] C:\Simba\Includes\P07Include .simba(57:3): Unknown identifier 'MMouse' at line 56 Compiling failed.]

Sjoe

2013-03-03 05:05:11

From: Hexless
When i tried to compile my script i got this error?
[SIMBA=[Error] C:\Simba\Includes\P07Include .simba(57:3): Unknown identifier 'MMouse' at line 56 Compiling failed.]


No need to compile it :) It'll work.

Hexless

2013-03-03 05:06:40

i just tried to run it also and i got the same error :\

Hexless

2013-03-03 05:10:25

From: Sjoekeloe
No need to compile it :) It'll work.


i just tried to run it and i got the same error

Sjoe

2013-03-03 05:13:29

From: Hexless
i just tried to run it also and i got the same error :\


I edited my post.
It's an include, no need to run it.

Hexless

2013-03-03 05:19:44

From: Sjoekeloe
I edited my post.
It's an include, no need to run it.


Yes i know but i was using the include in my script and it gave me that error?

DannyRS

2013-03-03 07:15:41

From: Hexless
Yes i know but i was using the include in my script and it gave me that error?


Put {$I SRL/SRL.Simba} before the include one at the top of your script ;)

The_ELL

2013-03-03 10:28:44

Keep getting this error when attempting to run this include, I'm very new to all of this and I've not yet learned all the basics that I may need to know so please be nice haha! :-(

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280

Any fix?

Hexless

2013-03-03 11:25:40

From: DannyRS
Put {$I SRL/SRL.Simba} before the include one at the top of your script ;)


TY :) You're so thanks for making this ;)

Closure

2013-03-03 11:50:11

Not sure why I keep getting this error.

Error: Exception: You passed wrong values to a finder function: xs > xe (0,-118). at line 1563
The following DTMs were not freed: [0, 1, 2, 3, 4, 5, 6]


Le_don

2013-03-03 11:54:27

Danny can you add P07_IsUpText?

DannyRS

2013-03-03 13:11:41

From: Le_don
Danny can you add P07_IsUpText?


if P07_IsUpTextMultiCustom(['Text']) then

From: Closure
Not sure why I keep getting this error.
Error: Exception: You passed wrong values to a finder function: xs > xe (0,-118). at line 1563
The following DTMs were not freed: [0, 1, 2, 3, 4, 5, 6]


That's a script problem

kyle5471

2013-03-03 13:35:08

Was running a powermining script, had this error:

Error: Exception: Font [P07UpChars] not found. at line 544
The following DTMs were not freed: [0, 1, 2, 3]

Sjoe

2013-03-03 13:39:20

From: kyle5471
Was running a powermining script, had this error:

Error: Exception: Font [P07UpChars] not found. at line 544
The following DTMs were not freed: [0, 1, 2, 3]


Install the fonts properly, read OP :)
DannyRS explained it well enough.

ymcm

2013-03-03 18:04:53

No matter what color i type it says
[Error] C:\Users\Hay\Downloads\RS07JetonAF01.simba(17:21): Unknown identifier 'brown' at line 16
Compiling failed.

DannyRS

2013-03-03 18:08:31

From: ymcm
No matter what color i type it says
[Error] C:\Users\Hay\Downloads\RS07JetonAF01.simba(17:21): Unknown identifier 'brown' at line 16
Compiling failed.


Colors must be integers not strings, or numbers and not words, use the color picker on simba

ymcm

2013-03-03 18:15:59

From: DannyRS
Colors must be integers not strings, or numbers and not words, use the color picker on simba

Ok thank you that worked:)
Do I have to have SMART on?

DannyRS

2013-03-03 19:41:50

From: ymcm
Ok thank you that worked:)
Do I have to have SMART on?


Should work in browser and smart ;)

Sin

2013-03-03 21:18:23


(*
IsMoving
~~~~~~~~

.. code-block:: pascal

function IsMoving: Boolean;

Results true if character is moving.

.. note::

Author: marpis, edited by Sin
Last Modified: Nov. 29, 2009/March 3rd, 2013

Example:

.. code-block:: pascal

PlayerMoving := IsMoving;
*)

function P07_IsMoving: Boolean;
begin
Result := PixelShift(IntToBox(P07_MMCX-30, P07_MMCY-30, P07_MMCX+30, P07_MMCY+30), 500) > 200;
end;

joker1580

2013-03-03 21:49:31

Hey, I followerd the instructions but when i try to run the script it says 'Exception in Script: Unable to find file 'P07Include .simba' used from 'C:\Simba\Scripts\iStallThiever.simba'

I have downloaded P07Include and have put it in the includes folder, help?

DannyRS

2013-03-04 02:51:04

From: joker1580
Hey, I followerd the instructions but when i try to run the script it says 'Exception in Script: Unable to find file 'P07Include .simba' used from 'C:\Simba\Scripts\iStallThiever.simba'

I have downloaded P07Include and have put it in the includes folder, help?


Idk how that can be possible, unless you put it in the wrong place? It should only go in the includes folder, not in a folder in that

Stormscale

2013-03-04 05:06:45

I've looked all over for the past 3 hours and can't figure out how to fix this issue.. Help please or point me in the right direction. Thank you


Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Simba\Scripts\shit.simba'






I have the include saved in the appropriate spot. Also I am running this program through WINE if that helps. Thanks.

joker1580

2013-03-04 05:34:08

From: DannyRS
Idk how that can be possible, unless you put it in the wrong place? It should only go in the includes folder, not in a folder in that


Hey, Yeah it seemed weird to me, even though i dont know how to use it but it should of worked, its my fault sorry it was the script that wouldnt work, all other scripts work for me now, sorry about that, thanks for your help though

DannyRS

2013-03-04 05:58:31

From: joker1580
Hey, Yeah it seemed weird to me, even though i dont know how to use it but it should of worked, its my fault sorry it was the script that wouldnt work, all other scripts work for me now, sorry about that, thanks for your help though


Ah no worries, glad you got it working,

@Sin, I'll add that for you when I release the next version to disable the auto updater as we move to SRL-OSR ;)

CynicRus

2013-03-04 08:28:47

From: Le_don
Danny can you add P07_IsUpText?



function P07_IsUpText(UpText: string): Boolean;
begin
Result := (Pos(UpText, P07_GetUpText) > 0);
end;

ray1ray

2013-03-04 13:46:33

{$DEFINE SMART8}

when i put that in start of script for example

program PowerChop;
{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

i get an error ( opens in new tab )


SmartParams tab*
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.

These are lines 289 to 293

end;

{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');
{$ELSE}

please let me know how to fix. when not in a script and running params to load smart

program new;{$DEFINE SMART}{$i SRL/SRL.simba}begin SetupSRL();end.

it opens up the smart client 07 without an issue.

iikes2

2013-03-04 13:54:26

If you have SMART 8 don't forget to change '{$DEFINE SMART}' on the top of the code to '{$DEFINE SMART8}' otherwise it won't compile

Floris

2013-03-04 15:11:39

Im getting this message over and over again:
Checking P07Include VersionNumber
Local : 1.5 / Latest : 1.7
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.

Ive checked the file itself and it says 1.7. Even when I manually update it will still say its version 1.5.

Please help

DannyRS

2013-03-04 15:12:46

From: Floris
Im getting this message over and over again:
Checking P07Include VersionNumber
Local : 1.5 / Latest : 1.7
New P07Include Version Available! Updating…
New P07Include Version Downloaded Please Restart Your Script!
Successfully executed.

Ive checked the file itself and it says 1.7. Even when I manually update it will still say its version 1.5.

Please help


you have a second one in a different folder somewhere, delete it

Floris

2013-03-04 15:23:42

From: dannyrs
you have a second one in a different folder somewhere, delete it

tysm!

Dont Blink

2013-03-04 16:14:44

[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.

Genetics

2013-03-04 17:35:12

I am getting this issue when I use {$DEFINE SMART8}:

Compiled successfully in 843 ms.
SRL Compiled in 0 msec
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
@
Successfully executed.

It is saying that it is successfully executing, but the SMART application itself never loads up. When I just use {$DEFINE SMART} , I get this problem:

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Invalid number of parameters at line 294
Compiling failed.

Help would be appreciated.

DannyRS

2013-03-04 17:43:27

From: Genetics
I am getting this issue when I use {$DEFINE SMART8}:

Compiled successfully in 843 ms.
SRL Compiled in 0 msec
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
@
Successfully executed.

It is saying that it is successfully executing, but the SMART application itself never loads up. When I just use {$DEFINE SMART} , I get this problem:

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Invalid number of parameters at line 294
Compiling failed.

Help would be appreciated.


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

Dont Blink

2013-03-04 17:56:05

Did you see my post above…

DannyRS

2013-03-04 18:10:34

From: Dont Blink
Did you see my post above…


Whoops sorry, That's a problem with your script, or antileech

Dont Blink

2013-03-04 18:50:27

From: DannyRS
Whoops sorry, That's a problem with your script, or antileech


It even happens when I try to run your example script on the front page of this post. It is an error within the include I think.

DannyRS

2013-03-04 18:59:04

From: Dont Blink
It even happens when I try to run your example script on the front page of this post. It is an error within the include I think.


I doubt it or the other 5 thousand user's would of said something right?

Did you touch anything inside the Include at all?

You had some animation stuff too? Whats that doing there? Maybe try and reinstall Simba?

kovash77

2013-03-05 06:50:18

hmmm…

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Procedure P07_MouseBox(X1, Y1, X2, Y2: Integer; ClickType: Integer);
Begin
MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);
ClickMouse2(ClickType);
Wait(RandomRange(37,50));
End;


any suggestions? :)

iby

2013-03-05 07:14:32

getting this message - Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

kovash77

2013-03-05 07:15:24

From: iby
getting this message - Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


exactly the same as me.

iby

2013-03-05 07:18:36

annoying , every time nearly there another hurdle lol

kovash77

2013-03-05 07:19:20

From: kovash77
exactly the same as me.


ahh silly mistake. basically go back to my computer, simba > fonts. you need to extract the zip file. not copy and paste it like i did.

its fine now.

DannyRS

2013-03-05 07:29:51

Yea all you guys need to use a program (like winrar or 7zip) to extract the font's folder, its to large to upload without zipping,

Then move it to the Fonts folder ;)

Else Simba can't load the fonts from it

Moises

2013-03-05 09:51:26

I have followed every single step on YoHoJoSRL's youtube channel on how to set up this program and all test scripts have worked properly but whenever I use someone's script I keep getting this error:

Exception in Script: Unable to find file 'P07Inculude.Simba' used from 'C:\Simba\Scripts\P07_GnomeAgilityBeta2.7.simba'

@DannyRS

Netzone

2013-03-05 10:32:32

From: Moises
I have followed every single step on YoHoJoSRL's youtube channel on how to set up this program and all test scripts have worked properly but whenever I use someone's script I keep getting this error:

Exception in Script: Unable to find file 'P07Inculude.Simba' used from 'C:\Simba\Scripts\P07_GnomeAgilityBeta2.7.simba'

@DannyRS


Include usually isn't spelled like Inculude. :)

DannyRS

2013-03-05 11:03:31

From: Netzone
Include usually isn't spelled like Inculude. :)


Probably anti-leech related lol

Cheffa1

2013-03-05 13:20:13

i keep getting error Exception in Script: Unable to find file 'P07Include .simba' used from 'C:\Users\myer\Downloads\iCombatProSMART.simba' although i have installed it correctly and ran the test and it worked fine :\

Cheffa1

2013-03-05 13:24:53

From: Cheffa1
i keep getting error Exception in Script: Unable to find file 'P07Include .simba' used from 'C:\Users\myer\Downloads\iCombatProSMART.simba' although i have installed it correctly and ran the test and it worked fine :\


i am a noob has to be P07Include.simba

Mat

2013-03-05 15:10:09

Why does
P07_GetUptext, in any function of mine returns stuff like:"i ''"
Yet, when I run it at the start of my main loop:

setupSRL; SetupP07Include;
writeln(P07_getUptext);
I get "Walk here"
Any idea why?
Mat

DannyRS

2013-03-05 15:15:51

From: Mat
Why does
P07_GetUptext, in any function of mine returns stuff like:"i ''"
Yet, when I run it at the start of my main loop:

setupSRL; SetupP07Include;
writeln(P07_getUptext);
I get "Walk here"
Any idea why?
Mat


setupSRL; offsetting stuff

nesstle

2013-03-05 16:55:06

When I try the test script it won't log in but it says this

New window: 394168
Compiled successfully in 655 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include

DannyRS

2013-03-05 17:01:08

From: nesstle
When I try the test script it won't log in but it says this

New window: 394168
Compiled successfully in 655 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include


no successfully executed?

nesstle

2013-03-05 17:06:20

nope =/
EDIT: Yes it does sorry

conjo

2013-03-05 17:20:45

From: DannyRS
you need {$I SRL/SRL.Simba} aswell before {$I P07Include.Simba}

[Error] C:\Simba\Includes\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

i got this error compiling the P07Include file which would start the client right? how do i fix this? can you please do it in steps, im not rlly that much of a computer guy. there is something wrong with this:

MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);



ty for helping already

nesstle

2013-03-05 17:22:30

Danny can you do anything over teamviewer? need this 07 bot set up bad

DannyRS

2013-03-05 17:23:41

From: nesstle
nope =/
EDIT: Yes it does sorry


Very weird, have you tried in a browser and smart?

From: conjo
you need {$I SRL/SRL.Simba} aswell before {$I P07Include.Simba}

[Error] C:\Simba\Includes\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


Run the test script in first post, not the Include

nesstle

2013-03-05 17:26:55

From: DannyRS
Very weird, have you tried in a browser and smart?



Run the test script in first post, not the Include


not in smart yet, but in the browser it does nothing

DannyRS

2013-03-05 17:37:11

From: nesstle
not in smart yet, but in the browser it does nothing


Did you green target the client?

nesstle

2013-03-05 17:42:17

From: DannyRS
Did you green target the client?

yep

DannyRS

2013-03-05 17:51:50

From: nesstle
yep


Give smart a try?

smoothnshady

2013-03-05 20:35:27

thanks heaps

nesstle

2013-03-05 20:59:13

From: DannyRS
Give smart a try?

I honestly can't get this working because if I don't know what im trying to fix I can't correct whatever isn't working

rj

2013-03-05 22:42:55

Theres not much he can do, it's as simple as putting 2 folders in a file

w2f

2013-03-06 03:22:25

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

what do i do?

DannyRS

2013-03-06 03:58:16

From: w2f
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

what do i do?


Read the first post ;), download and install the Font

w2f

2013-03-06 13:06:07

i have the font its in the fonts folder in the simba folder

should i have done anyhting to the folder?

DannyRS

2013-03-06 13:07:29

From: w2f
i have the font its in the fonts folder in the simba folder


Did you unzip it? show me a screenshot of it inside the font folder

w2f

2013-03-06 13:24:26

[ATTACH]19729[/ATTACH]


does that work?

w2f

2013-03-06 13:30:42

how do i unzip it?

DannyRS

2013-03-06 13:41:57

From: w2f
how do i unzip it?


http://www.7-zip.org/

w2f

2013-03-06 13:44:18

which one do i download sorry, but thank you for all the help

DannyRS

2013-03-06 13:45:26

From: w2f
which one do i download sorry, but thank you for all the help


try the top one, 32bit

w2f

2013-03-06 13:50:12

how do i unzip it, sorry im bad at computers :L

w2f

2013-03-06 13:51:56

im at the fonts folder in the 7zip file manager but how do i unzip the po7upchars?

DannyRS

2013-03-06 13:54:59

From: w2f
how do i unzip it, sorry im bad at computers :L


Install 7zip, right click folder, extract here

w2f

2013-03-06 13:58:07

i done that but it dosent look any diffrent?

w2f

2013-03-06 14:03:17

thank you sir it works your a great help :spot:

spin3x

2013-03-06 17:33:51

DAmm, I had it working when it came out, but now I tried getting it back again and I get this error (No matter what scripts I use)

[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.

rj

2013-03-06 17:41:25

What is the bank all function called?

DannyRS

2013-03-06 18:59:02

From: spin3x
DAmm, I had it working when it came out, but now I tried getting it back again and I get this error (No matter what scripts I use)

[Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.


What procedure/function is this??

From: rjj95
What is the bank all function called?


Deposit(1,28,True); ?

ToManyColours

2013-03-06 19:35:56

I need help, it seems i am not getting any errors actually at all, all it is saying is this

Compiled successfully in 686 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include

But it is supposed to be typing in password and username (the sample script you gave) but instead it just sits still and does nothing, I have been ripping my hair out trying to get this to work, but it just sits still and says it is successful?

jackk

2013-03-06 22:36:06

From: ToManyColours
I need help, it seems i am not getting any errors actually at all, all it is saying is this

Compiled successfully in 686 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include

But it is supposed to be typing in password and username (the sample script you gave) but instead it just sits still and does nothing, I have been ripping my hair out trying to get this to work, but it just sits still and says it is successful?


Currently on the same problem, Actually tried it with the auto fight caves script. All the camera angles seem to be working just no input from the mouse.

ausaaz

2013-03-07 01:33:32

I keep getting "[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Invalid number of parameters at line 294
Compiling failed."

  Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '', -1);

I can remember changing the - Params[1], 765, 503, 's', '', '', -1); to Params[1], 765, 553, 's', '', '', -1);

After i set it back to 503, i reset the client then receive


I can remember changing [Error] C:\Simba\Includes\SRL\SRL\misc\SmartParams.Simba(78:8): Unknown identifier 'RSReady' at line 77
Compiling failed.

If RSReady then 

I have been tinkering around for a while now and im honestly stumped, I have gotten most of the other bots working, im sure its an easy fix an ill be face palming when found.. Any help would be appreciated

Is it because i opened up the SMART08 client using another bot, then switched scripts?

DannyRS

2013-03-07 01:54:38

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

Re-Install Simba and follow this guide ;)

Heterodox

2013-03-07 11:56:11

Sorry for the nooby questions, but how/is there any way to check the chatlog for messages, specifically new ones? For example, 'You fell off the log balance and hurt yourself'…

The Killer

2013-03-07 12:25:31

hmm, Can't get P07_IsUpTextMultiCustom to work for me :/, using smart.

edit: P07_GetUpText gives me
Bishing spo@@
when the uptext says net fishing spot.

DannyRS

2013-03-07 14:57:19

From: The Killer
hmm, Can't get P07_IsUpTextMultiCustom to work for me :/, using smart.

edit: P07_GetUpText gives me
Bishing spo@@
when the uptext says net fishing spot.


Real uptext coming in SRL-OSR soon thanks to Olly ;)

Does IsUpTextMC(['ishing']); not work then? :p

The Killer

2013-03-07 15:32:10

From: DannyRS
Real uptext coming in SRL-OSR soon thanks to Olly ;)

Does IsUpTextMC(['ishing']); not work then? :p


Well I'm trying to cage fish (there's net spots there too), so I had P07_IsUpTextMultiCustom(['age', 'cage', 'ge']) which didn't work.
I'll just have to you a bit of right clicking and chooseoption for now xD (and only right clicking if uptext if IsUpTextMC(['ishing']); if that works :P)

Thanks bro <3

Ricky

2013-03-08 07:43:01

Anybody got InPin working?

DannyRS

2013-03-08 07:51:14

From: Riyyi
Anybody got InPin working?


InPin is for main RS, theres no InPin in my Include :(

FancyPants

2013-03-08 12:27:18

I get:

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

After following the tutorials.

But I have the P07UpChars in the fonts file, what'd I do wrong?

DannyRS

2013-03-08 13:52:55

From: FancyPants
I get:

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

After following the tutorials.

But I have the P07UpChars in the fonts file, what'd I do wrong?


Read back a few posts about extracting the font

FancyPants

2013-03-09 08:50:58

From: DannyRS
Read back a few posts about extracting the font


I did extract it in the correct folder but I still get that error

DannyRS

2013-03-09 08:52:00

From: FancyPants
I did extract it in the correct folder but I still get that error


Restart simba, if you still get the error, you did it wrong somehow

FancyPants

2013-03-09 09:16:56

From: DannyRS
Restart simba, if you still get the error, you did it wrong somehow


After restarting my computer it now works, thanks :)
Another question though if you don't mind, how can I get it to type "@"?
If I type it to login it doesn't recognise it and just leaves it blank :/

DannyRS

2013-03-09 09:39:28

From: FancyPants
After restarting my computer it now works, thanks :)
Another question though if you don't mind, how can I get it to type "@"?
If I type it to login it doesn't recognise it and just leaves it blank :/


Hmm weird, all my accounts were made before the email update, so I can't say I ever tried, have you tried it in browser and smart? Does it not type it in both?

PartyShanked

2013-03-09 16:00:24

Any chance of docs being uploaded somewhere? Looking through the include itself is seriously inconvenient! :P

DannyRS

2013-03-09 16:24:01

From: PartyShanked
Any chance of docs being uploaded somewhere? Looking through the include itself is seriously inconvenient! :P


I would if this was not so close to being ready ;) https://github.com/SRL/SRL-OSR

micko20

2013-03-09 17:36:31

I got this error when truing to run this code.

{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

begin
SetupSRL;
P07_DeclarePlayer;
SetupP07Include;
end

if showed this.

[Error] C:\Simba\Includes\SRL-OSR/SRL/core/text.simba(805:13): Unknown identifier 'UpChars07' at line 804
Compiling failed.

DannyRS

2013-03-09 19:50:20

From: micko20
I got this error when truing to run this code.

{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

begin
SetupSRL;
P07_DeclarePlayer;
SetupP07Include;
end

if showed this.

[Error] C:\Simba\Includes\SRL-OSR/SRL/core/text.simba(805:13): Unknown identifier 'UpChars07' at line 804
Compiling failed.


You tried to replace your SRL with the development version of SRL-OSR right? You need the font's to use that version, which haven't been officially released yet ;)

Revert your SRL version to the real one and it should be fine

enigmaenigmas

2013-03-09 19:59:58

Exception in Script: Too many nested include files while processing 'SRL/SRL/core/simba.simba' from 'C:\Simba\Includes\SRL/SRL.Simba'

That's the error i'm getting, went through the whole post and it seems nobody else has had the same issue. I followed the video guides precisely and have even gone through and redone all the steps but I'm still getting the same error. Anyone have any thoughts?

DannyRS

2013-03-09 20:20:00

From: enigmaenigmas
Exception in Script: Too many nested include files while processing 'SRL/SRL/core/simba.simba' from 'C:\Simba\Includes\SRL/SRL.Simba'

That's the error i'm getting, went through the whole post and it seems nobody else has had the same issue. I followed the video guides precisely and have even gone through and redone all the steps but I'm still getting the same error. Anyone have any thoughts?


That's a really weird one :/ never seen that before, did you mess around with trying to download the SRL OSR or anything? If not, then I have no idea, you might want to ask in the appropriate help section for help :p

741dude

2013-03-09 21:08:25

Danny I have a question. When i run the test script it runs, but it doesnt do anything. The graphics settings are all right and everything. I did the EOC runescape test and it worked fine, but here is the script/cmd:

New window: 9504064
Compiled successfully in 843 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
Compiled successfully in 843 ms.
Checking P07Include VersionNumber
Successfully executed.
New window: 9504064
Compiled successfully in 843 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.



Any ideas? It just wont run or do anything but it says its the latest and stops there

faded420

2013-03-09 21:11:17

Exception in Script: Unable to find file 'P07Include.Simba' used from ''

DannyRS

2013-03-09 21:18:17

From: faded420
Exception in Script: Unable to find file 'P07Include.Simba' used from ''


You didn't follow the setup in the first post correctly

@741dude if the test script ran ok, then it's working, and everything else should work, the compass stuff doesn't unless you let the test log you in, because the mouse needs to be over the client

741dude

2013-03-09 21:20:05

Danny I have a question. When i run the test script it runs, but it doesnt do anything. The graphics settings are all right and everything. I did the EOC runescape test and it worked fine, but here is the script/cmd:

New window: 9504064
Compiled successfully in 843 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
Compiled successfully in 843 ms.
Checking P07Include VersionNumber
Successfully executed.
New window: 9504064
Compiled successfully in 843 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.



Any ideas? It just wont run or do anything but it says its the latest and stops there

741dude

2013-03-09 21:22:11

Oh ok thanks. and sorry i reposted i thought i posted it wrong. thanks for the help (:

DannyRS

2013-03-09 21:25:17

From: 741dude
Oh ok thanks. and sorry i reposted i thought i posted it wrong. thanks for the help (:


No worries ;) try putting some other stuff in a script, see if it works, although don't get too used to this as SRL-OSR is going to be released soon ;) and will render this Include mostly useless

enigmaenigmas

2013-03-10 00:44:02

Yeah, I felt it was pretty odd myself. Thanks for the input, i'll report back if anyone is able to solve the issue.

malvolio

2013-03-10 06:44:09

As soon as I run the test script SIMBA stops responding and crashes. I've followed all of the steps for the include and botting in smart. Any ideas?

dan bot

2013-03-10 09:56:19

Many thanks

jurgis0

2013-03-10 10:45:06

I get this error..
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

veseral

2013-03-10 16:04:56

The color number keeps changing and when im in a session, pick the new colour, restart the script it says something with paired but still doesn't do anything.

micko20

2013-03-10 19:11:41

From: DannyRS
You tried to replace your SRL with the development version of SRL-OSR right? You need the font's to use that version, which haven't been officially released yet ;)

Revert your SRL version to the real one and it should be fine


yes ive sorted it now thanks :) took me ages, much easier to understand code as its not far from C++ , just waiting for some scripts that work well, will get cracking on a few when ive done my degree :)

DannyRS

2013-03-10 21:16:11

From: micko20
yes ive sorted it now thanks :) took me ages, much easier to understand code as its not far from C++ , just waiting for some scripts that work well, will get cracking on a few when ive done my degree :)


Ahh nice, best of luck with your degree, I've always wanted to learn C++, but it's so hard and I lack the time right now ;)

stan0606

2013-03-10 21:59:49

Compiled successfully in 1922 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

help pls?

DannyRS

2013-03-10 22:05:40

From: stan0606
Compiled successfully in 1922 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

help pls?


Font not found, font's in the first post, read it on how to install ;) or google how to extract a zipped folder

PartyShanked

2013-03-10 22:29:19

From: DannyRS
I would if this was not so close to being ready ;) https://github.com/SRL/SRL-OSR


Looks sexy! Excited for its release, then perhaps I'll get onto releasing scripts!

derpinxeu

2013-03-11 05:17:12

[Error] C:\Simba\Includes\SRL\SRL\misc\SmartParams.Simba(78:8): Unknown identifier 'RSReady' at line 77
Compiling failed.
I get this whenev I try to run a script now

lorenzo

2013-03-11 06:24:56

Compiled successfully in 1047 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

rj

2013-03-11 06:27:20

From: lorenzo
Compiled successfully in 1047 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


you did not install the fonts

lorenzo

2013-03-11 06:28:55

how can i do it and do i need to safe it to somewhere can u add me on skype plz? iam struggle whit it for like 2 weeks i can do team share

lorenzo

2013-03-11 06:33:28

add lorenzo.woerdman on skype plz

faded420

2013-03-11 20:38:29

Exception in Script: Unable to find file 'P07Include.Simba' used from ''

lorenzo

2013-03-12 06:34:39

Compiled successfully in 1015 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

rj

2013-03-12 06:37:15

From: faded420
Exception in Script: Unable to find file 'P07Include.Simba' used from ''


You did not install the include properly

From: lorenzo
Exception in Script: Unable to find file 'P07Include.Simba' used from ''


You did not install the fonts properly

lorenzo

2013-03-12 07:33:16

how does fonts work explain plz?

DannyRS

2013-03-12 09:20:40

From: lorenzo
how does fonts work explain plz?


Theres a folder with a bunch of tiny pictures inside it, that OCR uses to match to the letters ingame, I had to zip them because the file size is too large to just upload some other way, so you have to unzip them

bzktje

2013-03-12 16:18:15

ive put the 2 files in the right folders done excactly what was said in the video http://www.youtube.com/watch?v=Iox4LylEj40&feature=youtu.be.
but when in the video he puts in the test file, when i do that it says this:
[Error] (1:1): period ('.') expected at line 0
Compiling failed.

V Mudkipz V

2013-03-12 19:38:37

awesome stuff, nice work. truely:)

Zorgatone

2013-03-12 23:20:27

Have anybody tested SRL-OSR?

adam k

2013-03-13 01:11:03

The following DTMs were not freed: [0, 1, 2, 3]

adam k

2013-03-13 01:15:49

Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]

tuptusz

2013-03-13 03:14:39

i have this problem could you help Exception in Script: Unable to find file 'srl/srl.simba' used from 'C:\Users\Owner\Downloads\EssenceHarvester (1).simba'

DannyRS

2013-03-13 06:43:23

From: Zorgatone
Have anybody tested SRL-OSR?


I'm using OSR in my oldschool scripts for just about every skill without issue, should be fine, only randoms are still to be updated atm,


From: adam k
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]


Read the first post, you need to download, extract and move the font folder


From: tuptusz
i have this problem could you help Exception in Script: Unable to find file 'srl/srl.simba' used from 'C:\Users\Owner\Downloads\EssenceHarvester (1).simba'


You probably need to enable the SRL extention in Simba, follow this setup guide: http://villavu.com/forum/showthread.php?t=47714

My_Sp3c_Ftw

2013-03-13 09:22:29

Hi, What is SRL-OSR?

ergon62

2013-03-13 13:13:07

Hey, when i click run scripts smart black box comes up, it gets to where it says loading runescape and then nothing ever happens. Any ideas? im trying to find the problem atm, but it doesn't give an error message.

Sick0

2013-03-13 13:49:10

Thanks this helped me alot :)

leetikus

2013-03-13 13:55:45

Exception in Script: Plugin(libsmartremote32) has not been found????????????

DannyRS

2013-03-13 21:38:37

From: My_Sp3c_Ftw
Hi, What is SRL-OSR?


SRL-OldSchoolRunescape,


From: ergon62
Hey, when i click run scripts smart black box comes up, it gets to where it says loading runescape and then nothing ever happens. Any ideas? im trying to find the problem atm, but it doesn't give an error message.


Did you try following the guide to setup Simba and Smart for 07 in the Oldschool help section?,


From: leetikus
Exception in Script: Plugin(libsmartremote32) has not been found????????????


Plugins folder is missing stuff or Simba install messed up, try manually updating to smart8 by moving the new stuff into plugins, the downloads for them are stickied in the smart forum section ;)

Ivo09

2013-03-15 07:03:37

Not sure if it's your include or just SMART but I always get *** Failed To Detect Clients *** when I try to run scripts. Smart console reaches starting image transfer.

DannyRS

2013-03-15 09:00:58

From: Ivo09
Not sure if it's your include or just SMART but I always get *** Failed To Detect Clients *** when I try to run scripts. Smart console reaches starting image transfer.


Thats java install / SMART related, check the smart forum section and you can probably find a fix ;)

zakum777

2013-03-15 15:26:28

This is what I get when I try to run script.

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Users\Owner\Desktop\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

DannyRS

2013-03-15 15:44:56

From: zakum777
This is what I get when I try to run script.

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Users\Owner\Desktop\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


Dont run this,

Font [P07UpChars] not found


Look in my first post

Ivo09

2013-03-16 06:43:54

From: DannyRS
Thats java install / SMART related, check the smart forum section and you can probably find a fix ;)


I have been botting for about a year previously on this java installation and when I installed this it wouldn't work. I got 32-bit java 6 and I updated to smart 8.0 and it worked for a little while and it stopped again. I've posted in 2 other threads and made my own but no luck with SMART forums. It's definitely not my java installation and I haven't changed anything, and I am up to date.

DannyRS

2013-03-16 07:25:08

From: Ivo09
I have been botting for about a year previously on this java installation and when I installed this it wouldn't work. I got 32-bit java 6 and I updated to smart 8.0 and it worked for a little while and it stopped again. I've posted in 2 other threads and made my own but no luck with SMART forums. It's definitely not my java installation and I haven't changed anything, and I am up to date.


Hmm have you tried re-installing simba and SRL?

I'll guess you did, Try installing java 6 JDK then install java 7 JRE over the top of it, that's what I do and everything works fine :/

POLAR

2013-03-16 14:45:21

When I enter your example SIMBA code to log in, it clicks onto my old school client square but doesn't do anything and it doesn't say anything back to me.

POLAR

2013-03-16 15:33:27

Error: Exception: You passed a wrong xe to a finder function: 446. The client has a width of -4262144, thus the xe is out of bounds. at line 267
The following DTMs were not freed: [0, 1, 2, 3]

I have restarted and everything.

DannyRS

2013-03-16 18:23:35

From: POLAR
Error: Exception: You passed a wrong xe to a finder function: 446. The client has a width of -4262144, thus the xe is out of bounds. at line 267
The following DTMs were not freed: [0, 1, 2, 3]

I have restarted and everything.


Did you use Simba to target the client window?

Ivo09

2013-03-16 20:35:57

From: DannyRS
Hmm have you tried re-installing simba and SRL?

I'll guess you did, Try installing java 6 JDK then install java 7 JRE over the top of it, that's what I do and everything works fine :/


That's probably the weirdest thing I've tried and it worked, smart now pairs instantly 100% of the time.

DannyRS

2013-03-16 21:12:54

From: Ivo09
That's probably the weirdest thing I've tried and it worked, smart now pairs instantly 100% of the time.


Great ;)

try2benice

2013-03-17 14:37:33

Exception in Script: Unable to find file 'SRL-OSR/SRL/core/simba.simba' used from 'C:\Simba\Includes\srl/srl.simba'
need some help here

DannyRS

2013-03-17 15:17:11

From: try2benice
Exception in Script: Unable to find file 'SRL-OSR/SRL/core/simba.simba' used from 'C:\Simba\Includes\srl/srl.simba'
need some help here


That's not related to my include sorry, check the SRL Git for SRL-OSR, I don't know if it's supposed to be used in 'C:\Simba\Includes\srl/srl.simba' :/

Greenie

2013-03-17 17:02:43

From: DannyRS
It's largely just a modified version of the private server include we developed to work for 07, so if you find any errors I made while copying and pasting stuff, please let me know so I can update :)


Hey Bro kk I really need help. I got to Here and did all steps Please HELP!
It says:
Exception in Script: Unable to find file 'P07Include.Simba' used from ''

DannyRS

2013-03-17 17:05:48

From: Greenie
Hey Bro kk I really need help. I got to Here and did all steps Please HELP!
It says:
Exception in Script: Unable to find file 'P07Include.Simba' used from ''


download 'P07Include.Simba' from my first post, move it into Simba

Rakooza

2013-03-18 05:23:27

Hi Danny,

I'm having a problem that is breaking my script every 1-5hrs.. I sometimes get a weird instant disconnect that when my script attempts to login again I get the following message: 'Login Limit Exceeded, Too many connections from your address'.. This proceeds to have my script die due to not being able to recognise the message.

Now as far as my knowledge goes, I'm assuming the option to input multiple attempts to login upon getting this message is required to be added to the P07_LoginPlayer function in the P07Include, either way I would really appreciate assistance in resolving this issue I'm having

Just a bit more info, the error seems to last about a minute or 2 after the disconnection then disappears and I'm able to login as normal, does happen to me when using a single Smart script with a single character so it's not a multi-log into same world issue either.. anyway, looking forward to a response.

Thanks in advance :D

Pic of error that destroys script:
[ATTACH=CONFIG]19994[/ATTACH]

DannyRS

2013-03-18 05:27:55

From: Rakooza
Hi Danny,

I'm having a problem that is breaking my script every 1-5hrs.. I sometimes get a weird instant disconnect that when my script attempts to login again I get the following message: 'Login Limit Exceeded, Too many connections from your address'.. This proceeds to have my script die due to not being able to recognise the message.

Now as far as my knowledge goes, I'm assuming the option to input multiple attempts to login upon getting this message is required to be added to the P07_LoginPlayer function in the P07Include, either way I would really appreciate assistance in resolving this issue I'm having

Just a bit more info, the error seems to last about a minute or 2 after the disconnection then disappears and I'm able to login as normal, does happen to me when using a single Smart script with a single character so it's not a multi-log into same world issue either.. anyway, looking forward to a response.

Thanks in advance :D


Open the Include find P07_loginplayer, and look down the bottom for until (P07_LoggedIn) or (attemps > 3) change attempts to a higher number, or just remove it so it's only untul loggedin, should do it :)

Rakooza

2013-03-18 05:31:43

Thanks for the quick reply!

I will do as you say and get back to you on my success :D

DannyRS

2013-03-18 05:34:27

From: Rakooza
Thanks for the quick reply!

I will do as you say and get back to you on my success :D


Ah right, I see from your pic now, I never added the text for that error, so it won't know what to do, so the fix will be a little more complicated, you need it to click the cancel button on a timeout, I'll think of a solution and PM you in a bit :p

Rakooza

2013-03-18 05:46:46

Thankyou, sadly I'm not at the computer to click cancel most of the time :/

Looking forward to your pm :D

Huntdafuzzma

2013-03-18 15:11:29

You probably already aware, but when dropping items sometimes will left click an item in the inventory and results in not the full inventory being dropped. Not a huge problem, but kinda annoying and results in xp loss in my script.

os rex

2013-03-18 17:37:30

[Error] C:\Simba\Includes\SRL\SRL\core\text.simba(438:34): Invalid number of parameters at line 437
Compiling failed.
what is this please help

Matsetst

2013-03-18 18:38:28

From: DannyRS
Ah right, I see from your pic now, I never added the text for that error, so it won't know what to do, so the fix will be a little more complicated, you need it to click the cancel button on a timeout, I'll think of a solution and PM you in a bit :p


Hey oldschool runescape updated and now if i try open a script with smart8 it opens the original runescape client… before the update the client opened oldschool runescape client but now it seems not to work anymore. IS this already known here ?

DannyRS

2013-03-18 19:26:51

From: Matsetst
Hey oldschool runescape updated and now if i try open a script with smart8 it opens the original runescape client… before the update the client opened oldschool runescape client but now it seems not to work anymore. IS this already known here ?


you edited / changed smartparams.simba, the SRL update over-wrote that, re-edit SP or use SRL-OSR

Merky Ace

2013-03-19 07:36:01

Hi, unfortunately I'm having the same issue as Matsetst and although I'm sure your comment has sorted most people out, I have no idea what to do DannyRS. Could you perhaps elaborate a little?

litoris

2013-03-19 07:48:32

Hey Danny, any chance you could direct people towards SRL-OSR? It even has random solving now, and it would be better if everyone started to convert to SRL-OSR.

DannyRS

2013-03-19 10:09:52

From: litoris
Hey Danny, any chance you could direct people towards SRL-OSR? It even has random solving now, and it would be better if everyone started to convert to SRL-OSR.


Yeh I need to add something to OP to direct them to OSR, I'm working on that so I don't even update this anymore, but OSR is a little harder to install right now, did wizzup add the 07 font's to SRL updater yet? (Obviously i can't tell as I had them ages ago), if the font's are there, I'll link to it ;)

This has been a fun experience with P07, but we're nearing the end of the road :)

litoris

2013-03-19 10:39:01

From: DannyRS
Yeh I need to add something to OP to direct them to OSR, I'm working on that so I don't even update this anymore, but OSR is a little harder to install right now, did wizzup add the 07 font's to SRL updater yet? (Obviously i can't tell as I had them ages ago), if the font's are there, I'll link to it ;)

This has been a fun experience with P07, but we're nearing the end of the road :)


SRL got an update today, so I suppose so.
Just put something on top of the OP saying that SRL-OSR is the new thing and that this was just a quick way to get started on botting after release.

DannyRS

2013-03-19 10:42:07

From: litoris
SRL got an update today, so I suppose so.
Just put something on top of the OP saying that SRL-OSR is the new thing and that this was just a quick way to get started on botting after release.


But the question is can I be bothered to deal with the 50 PM's a day about how to install it ;) might wait for YoHoJo to finish his install vid (if he didn't already and I missed it)

litoris

2013-03-19 10:48:00

From: DannyRS
But the question is can I be bothered to deal with the 50 PM's a day about how to install it ;) might wait for YoHoJo to finish his install vid (if he didn't already and I missed it)


Copy paste the quick guide from my chickenkiller thread (link in sig)
You could also get the thread locked and say the project is discontinued/redundant now

DannyRS

2013-03-19 10:50:57

From: litoris
Copy paste the quick guide from my chickenkiller thread (link in sig)
You could also get the thread locked and say the project is discontinued/redundant now


I'll try and add that to OP later today, I'll get it locked when OSR is added to the autoupdater ;)

micii

2013-03-20 07:28:23

Mine just says this, its keeps running and nothing happens, i followed each guide step by step

http://i.imgur.com/ukJDjaN.jpg

rs41793

2013-03-20 07:33:09

Exception in Script: Unable to find file 'P07Include.Simba' used from ''
I keep geeting this errpr can someone please help!!?

Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF

And its downloaded and in right folder

Greenie

2013-03-20 15:36:54

From: DannyRS
download 'P07Include.Simba' from my first post, move it into Simba


I did but it still wont work. Here is the screenie of what it looks like.. Im confused..


after that i load up simba ect.. and still get error.

DannyRS

2013-03-20 15:45:02

From: Greenie
I did but it still wont work. Here is the screenie of what it looks like.. Im confused..

after that i load up simba ect.. and still get error.


thats a shortcut lol, move the original simba file in there

Greenie

2013-03-20 15:47:43

From: Greenie
I did but it still wont work. Here is the screenie of what it looks like.. Im confused..


after that i load up simba ect.. and still get error.

Im confused what do you mean the original one?

DannyRS

2013-03-20 15:55:39

From: Greenie
Im confused what do you mean the original one?


Rightclick the P07Include.simba, look in the "Target" box thats up, navigate to that folder location, get the real file, and move it to where the shortcut is

pure1337

2013-03-20 18:27:54

[Error] C:\Simba\Scripts\AlkaSmeltWithLeech.simba(20:7): Unknown identifier 'P07_GetCompassAngle' at line 19

I have the P07include in the Include folder and the P07UpChar in the Fonts folder. Ive watched the video and followed it thoroughly and I cant find this error in many places.

GoofyMan2

2013-03-21 01:43:40

Exception in Script: Too many nested include files while processing 'SRL/SRL/core/simba.simba' from 'C:\Simba\Includes\SRL/SRL.Sim*ba'


Anyone know how to fix this error?

sahibjs

2013-03-21 01:55:43

From: GoofyMan2
Exception in Script: Too many nested include files while processing 'SRL/SRL/core/simba.simba' from 'C:\Simba\Includes\SRL/SRL.Sim*ba'


Anyone know how to fix this error?


Apperently you downloaded simba twice or something. Point is, you have some extra folders somewhere.

GoofyMan2

2013-03-21 19:05:51

so should I uninstall it and re install it?

GoofyMan2

2013-03-21 19:06:59

because I checked and I only have it once

bigmac21

2013-03-22 11:19:10

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.

how do i fix this? this is what is on lines 291-295
{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '', -1);
{$ENDIF}

Hitman1531

2013-03-22 14:43:33

fixed

bursilym

2013-03-22 14:59:09

New window: 1180624
Compiled successfully in 1341 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


The last two lines are the error. I have no idea what it means

rj

2013-03-22 15:54:28

From: bursilym
New window: 1180624
Compiled successfully in 1341 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


The last two lines are the error. I have no idea what it means


You didn't install the fonts correctly,extract them to C:/simba/fonts

getdum

2013-03-22 21:02:25

nothing happens when i put the cross hair on the runescape window then run it all it says is "New window: 1181412
Compiled successfully in 156 ms.
Successfully executed"

please help

Jakl

2013-03-22 21:33:39

great tutorial.

rj

2013-03-22 21:39:35

From: getdum
nothing happens when i put the cross hair on the runescape window then run it all it says is "New window: 1181412
Compiled successfully in 156 ms.
Successfully executed"

please help

Show the script.

getdum

2013-03-22 22:08:56

From: RJJ95
Show the script.


What do you mean show the script? Sorry new to this, this happened when I did the testing thing

Won

2013-03-22 22:27:03

From: RJJ95
You didn't install the fonts correctly,extract them to C:/simba/fonts


Thanks this helped!

ddf

2013-03-23 02:28:04

whenveer i try to load smart8 i get this error?
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.

idk what to do to smartparams ive replaced but doesnt say in tut to edit?

rj

2013-03-23 08:45:45

From: getdum
What do you mean show the script? Sorry new to this, this happened when I did the testing thing


copy and paste the code your using

reconrusty

2013-03-23 09:48:05

Compiled successfully in 1045 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

any suggestions to help me?

rj

2013-03-23 10:02:00

From: reconrusty
Compiled successfully in 1045 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

any suggestions to help me?

You didn't install the fonts correctly,extract them to C:/simba/fonts

sus123

2013-03-23 15:35:33

New window: 918406
New window: 4392686
Compiled successfully in 406 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
New window: 4392686
Picked colour: 5526612 at (1125, -36)
Compiled successfully in 406 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
Picked colour: 13948116 at (708, -34)
New window: 2688366
Compiled successfully in 405 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
New window: 4392686
Compiled successfully in 406 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.

bot nothing happen . the bot not login

rj

2013-03-23 17:12:05

From: sus123
New window: 918406
New window: 4392686
Compiled successfully in 406 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
New window: 4392686
Picked colour: 5526612 at (1125, -36)
Compiled successfully in 406 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
Picked colour: 13948116 at (708, -34)
New window: 2688366
Compiled successfully in 405 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.
New window: 4392686
Compiled successfully in 406 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.

bot nothing happen . the bot not login

Show the script your using

sus123

2013-03-23 18:57:30

From: RJJ95
Show the script your using


Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

End.

i do all the step like 6 times !! i dont know why its not work for me.

DannyRS

2013-03-23 19:07:06

From: sus123

i do all the step like 6 times !! i dont know why its not work for me.


Try using the green target icon from Simba on the window?

sus123

2013-03-23 19:35:11

From: DannyRS
Try using the green target icon from Simba on the window?


yes i try.
the script come in to the runesacpe window , but that it , come in , and nothing , not type , no click.

ddf

2013-03-24 01:50:54

still this error when trying to load SMART8
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Invalid number of parameters at line 294

caqrelesstom

2013-03-24 07:22:55

hi, i have had simba running perfect for a while now but now i have this problem

[Error] C:\Simba\Includes\SRL/SRL/core/text.simba(791:4): Identifier expected at line 790
Compiling failed.

i have replaced everything again but still no joy. If somebody could send me in the right direction i would appreciat it :)

Hitman1531

2013-03-24 15:09:12

With the new mouse update through SRL, the client launches in EOC runescape, not the oldschool. Any ideas how to fix?

DannyRS

2013-03-24 15:48:33

From: Hitman1531
With the new mouse update through SRL, the client launches in EOC runescape, not the oldschool. Any ideas how to fix?


Re-do the steps to make it launch 07…

kadir

2013-03-25 12:28:03

ncludes\P07Include.Simba(57:3): Unknown identifier 'Mouse' at line 56
Compiling failed.

kadir

2013-03-25 12:32:16

WhiteT:=GetTextAtExWrap(8, 8, 80, 21, 0, 5, 1, 14541281, 55, 'P07UpChars');


Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]

Assassin0125

2013-03-25 14:17:42

Im near the end, i targetted runescape, hit play and got this
New window: 5113698
[Error] (1:1): Unexpected end of file at line 0
Compiling? failed.

The Bot

2013-03-25 15:46:38

From: kadir
WhiteT:=GetTextAtExWrap(8, 8, 80, 21, 0, 5, 1, 14541281, 55, 'P07UpChars');


Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]


Redownnload the font and place it in Simba\Fonts but make sure the folder 'P07UpChars' doesn't already have a folder in it.

Smba

2013-03-25 17:21:22

'Exception in Script: Unable to find file 'SRL/SRL.Simba' used from'

need help that's what it shows up as.

rj

2013-03-25 17:40:05

From: Smba
'Exception in Script: Unable to find file 'SRL/SRL.Simba' used from'

need help that's what it shows up as.


Follow the tutorial on how to setup simba

spin3x

2013-03-25 17:42:32

I get
 [Error] C:\Simba\Includes\P07Include.Simba(67:62): Invalid number of parameters at line 66
Compiling failed.
which is
    SendKeys(Text[I],RandomRange(60,120),RandomRange(60,120));      

Help appreciated.

Hand Me A Brew

2013-03-25 18:26:55

yeah having the same problem as spine. Not sure if it's to do with just this specifically or an error in my downloading abilities lol….



[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Invalid number of parameters at line 294
Compiling failed.

StickToTheScript

2013-03-25 18:30:09

From: Hand Me A Brew
yeah having the same problem as spine. Not sure if it's to do with just this specifically or an error in my downloading abilities lol….



[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Invalid number of parameters at line 294
Compiling failed.


redownload SmartParams and replace it with the current one.

Hand Me A Brew

2013-03-25 18:34:09

Just tried that stick, still getting the same error for some reason


Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '', -1);

thats line 294 if that helps..

Hand Me A Brew

2013-03-25 19:09:26

I also see a lot of other people through this whole thread with the same problem but a different line, but nobody has gotten a response either.

sorry was suppose to be an edit on my other post -_-

CashFrags

2013-03-25 23:26:34

Running this script with my info in the two slots obviously

Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='blahblah';
P07_PlayerPass:='blahblah';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

End.

I get this console log:
Compiled successfully in 390 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.

But no login happens solution?

Thanks in advance.

Bradb

2013-03-26 04:57:15

Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='88888';
P07_PlayerPass:='9999';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

You Have The Latest Version of P07Include
Successfully executed.
New window: 5702382
Compiled successfully in 1693 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.

I get that everytime i highlight then click play all files in right place

rj

2013-03-26 05:40:57

From: Bradb
Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='88888';
P07_PlayerPass:='9999';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

You Have The Latest Version of P07Include
Successfully executed.
New window: 5702382
Compiled successfully in 1693 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Successfully executed.

I get that everytime i highlight then click play all files in right place


I think autologin is broken

Bradb

2013-03-26 06:34:38

From: RJJ95
I think autologin is broken


how do i get 07 scripts ill try a few

poopyman11

2013-03-26 06:43:32

i get this error my mouse hovers over npc like its about to work then stops and this pops up
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [0, 1, 2, 3]
[ATTACH=CONFIG]20214[/ATTACH][ATTACH=CONFIG]20215[/ATTACH]

poopyman11

2013-03-26 06:47:06

just to follow up [ATTACH=CONFIG]20216[/ATTACH]

kristjannn7

2013-03-26 11:42:44

Whenever I try to load up the Smart 8 I get this message on the black load window

"The automatically split characters are too wide. Try decreasing minispacing."

Can anyone help me?

bursilym

2013-03-26 13:54:17

Loads up eoc runescape for some scripts. Some other scripts works fine and I downloaded the danny 07 client thing multiple times to make sure. Do I have to change anything in the code?

sahibjs

2013-03-26 13:57:23

From: bursilym
Loads up eoc runescape for some scripts. Some other scripts works fine and I downloaded the danny 07 client thing multiple times to make sure. Do I have to change anything in the code?


For botting on 07, this is only half of what needs to be done.

the other half is found here http://villavu.com/forum/showthread.php?t=97786

notex

2013-03-26 14:09:51

when i try to start it, why does it open the new rs for me ?:S

sahibjs

2013-03-26 14:10:41

From: notex
when i try to start it, why does it open the new rs for me ?:S


Because of the post right directly above yours!!!!!

Because you didn't follow this rest of this tut
http://villavu.com/forum/showthread.php?t=97786

bursilym

2013-03-26 14:16:31

From: sahibjs
For botting on 07, this is only half of what needs to be done.

the other half is found here http://villavu.com/forum/showthread.php?t=97786

I followed that guide exactly. I noticed that the scripts with p07includes loas eoc and the ones with SRL loads oldschool.

sahibjs

2013-03-26 14:20:39

From: bursilym
I followed that guide exactly. I noticed that the scripts with p07includes loas eoc and the ones with SRL loads oldschool.


If you followed it exactly, it shouldn't load EOC at all! did you download smartparams and login.simba and place them in the correct folders?

bursilym

2013-03-26 14:34:52

From: sahibjs
If you followed it exactly, it shouldn't load EOC at all! did you download smartparams and login.simba and place them in the correct folders?


You are correct. Sorry my mistake. I copied those files properly before and it loaded oldschool before too. Somehow those files changed. Maybe I overwrote them by mistake. Thank you very much for your help. And to everyone having this problem, listen to the guy I quoted and copy those files to the locations.

beake

2013-03-26 15:14:40

Hey, I'm having a bit of trouble right now I've installed everything correctly (to my knowledge) but I'm getting the error message "Exception in Script: Unable to find file 'P07Include.Simba' used from ' ' "

I put P07Include.Simba in the includes folder and I made sure it wasn't an extension copying it many times. Whenever I try to run the program it gives me this error, and I've tried restarting it more than once.

Thanks :)

miccar5

2013-03-26 19:00:34

So it doesn't login for me it clicks on chrome but it does not click existing user and fill out the username and pass any ideas ?

sahibjs

2013-03-26 19:01:36

From: miccar5
So it doesn't login for me it clicks on chrome but it does not click existing user and fill out the username and pass any ideas ?


This won't log in for you. Thats supposed to be implemented into the script that you're using

poopyman11

2013-03-26 19:56:16

somebody please respond to http://villavu.com/forum/showthread.php?t=99731

rj

2013-03-26 20:37:04

From: poopyman11
somebody please respond to http://villavu.com/forum/showthread.php?t=99731


You didn't install the upchars in the right folder

07 James

2013-03-26 20:56:06

Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

???

Bradb

2013-03-27 06:26:12

Good tuts but how do i run a script?

Chromosomes

2013-03-27 10:33:18

Great tutorial, got the test script working, responded to full inventory and open bank.
One small problem… This is my first time using Simba to run a script and I have absolutely no idea how to add/run a script for rs07 using Google Chrome.
If you could link me to a tutorial or just give me a quick walk-through, that'd be great.

Edit: If it helps, I'm trying to use the script "[RS07]AutoCurser"
Located here: http://villavu.com/forum/showthread.php?t=97144


I'm getting the following error when attempting to run the script
Exception in Script: Unable to find file 'P07Incliude.Simba' used from
'C:\Simba\Scripts\CurseRelease.simba'

Another edit: All good, it was just the script, I found another that worked.

kickassmagee

2013-03-27 10:43:35

i get this error "Unable to find file 'ObjectDTM\ObjDTMInclude.simba" , the script is saved in the scripts folder i have done all the updates someone help :(

rj

2013-03-28 05:39:59

From: kickassmagee
i get this error "Unable to find file 'ObjectDTM\ObjDTMInclude.simba" , the script is saved in the scripts folder i have done all the updates someone help :(


enable the objectddtm editor under extensions –> view –> object ddtm editor

newguy

2013-03-28 18:21:15

I tried running the AIO fighter and it gave me this error
"[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(282:145): Invalid number of parameters at line 281" what does this mean?

rj

2013-03-28 20:17:48

From: newguy
I tried running the AIO fighter and it gave me this error
"[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(282:145): Invalid number of parameters at line 281" what does this mean?


You have to edit SMART params to load rs07

Vid tut: http://www.youtube.com/watch?v=0N-RWHwHHAY

adamk

2013-03-29 02:32:12

I'm trying to configure this to run 07 bots and i get this error
Error: Exception: Font [P07UpChars] not found. at line 226

rj

2013-03-29 15:51:39

From: adamk
I'm trying to configure this to run 07 bots and i get this error
Error: Exception: Font [P07UpChars] not found. at line 226


You didn't install the upchars in the right folder, you have to extract P07Upchars to C:Simba/fonts

An Easter Bunny

2013-03-29 16:31:28

wtf how do i fix this? "[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed."

Cwil

2013-03-29 16:42:06

When I try to load a 07 script EOC loads up. But when i use the Oldschool test thing and use the green window select on 07 client it logs me in and works. what should i do?

azdine

2013-03-29 18:46:06

Pleas help me i dont know how to start a script :( :(

rj

2013-03-29 19:25:01

From: azdine
Pleas help me i dont know how to start a script :( :(



From: Cwil
When I try to load a 07 script EOC loads up. But when i use the Oldschool test thing and use the green window select on 07 client it logs me in and works. what should i do?


http://www.youtube.com/watch?v=0N-RWHwHHAY

alucard123

2013-03-29 22:49:09

omg took me 5-10min to figure out tyyyyyyyy


very nice links

Cwil

2013-03-29 23:37:56

Problem solved

kragjay

2013-03-30 08:44:14

I get the same problem, someone please reply fast!

BigRedJapan

2013-03-30 13:17:26

[Error] C:\Users\FamilyVictor\Documents\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Came out of no where! Uhhh!


Procedure from P07Include.simba
Procedure P07_MouseBox(X1, Y1, X2, Y2: Integer; ClickType: Integer);
Begin
MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);
ClickMouse2(ClickType);
Wait(RandomRange(37,50));
End;

EpicBots

2013-03-30 13:25:00

From: Rules of Joe
[Error] C:\Users\FamilyVictor\Documents\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Came out of no where! Uhhh!


Procedure from P07Include.simba
Procedure P07_MouseBox(X1, Y1, X2, Y2: Integer; ClickType: Integer);
Begin
MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);
ClickMouse2(ClickType);
Wait(RandomRange(37,50));
End;


[Error] C:\Simba\Includes\SRL/SRL/core/simba.simba(462:14): Unknown identifier '' :(

iisaintzxd

2013-03-31 02:13:29

anyone know how to fix

Exception in Script: Unable to find file 'P07Include.Simba' used from ''

I have the P07Include in the includes.
http://img18.imageshack.us/img18/263/130331010647.png

rj

2013-03-31 08:52:33

From: iisaintzxd
anyone know how to fix

Exception in Script: Unable to find file 'P07Include.Simba' used from ''

I have the P07Include in the includes.
http://img18.imageshack.us/img18/263/130331010647.png

Close and open simba

iisaintzxd

2013-03-31 12:09:24

From: RJJ95
Close and open simba


But i did, many many times. I also tried restarting my computer but nothing

fkew

2013-04-01 06:02:17

Any idea about this?
Error: Exception: Access violation at line 398
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [0, 1, SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap, 5, 9]

DannyRS

2013-04-01 11:42:23

From: fkew
Any idea about this?
Error: Exception: Access violation at line 398
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [0, 1, SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap, 5, 9]


Try uninstalling simba and reinstall it somewhere else that does not require privilages, like your desktop maybe

easy111

2013-04-01 16:53:56

anyone know how to fix this? only problem ive had during the entire installation process. thanks


You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

djans

2013-04-01 19:53:29

From: easy111
anyone know how to fix this? only problem ive had during the entire installation process. thanks


You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


Same

DannyRS

2013-04-01 20:25:46

From: easy111
anyone know how to fix this? only problem ive had during the entire installation process. thanks


You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

From: djans
Same


Google how to unzip a zipped file?

BigRedJapan

2013-04-01 21:17:13

Danny are you going to update the MMouse Procedure! Its the new mouse function that Hobbit put in fucked all mouse functions now none of my scripts are running!

[Error] C:\Users\FamilyVictor\Documents\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Came out of no where! Uhhh!


Procedure from P07Include.simba
Procedure P07_MouseBox(X1, Y1, X2, Y2: Integer; ClickType: Integer);
Begin
MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);
ClickMouse2(ClickType);
Wait(RandomRange(37,50));
End;



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

DannyRS

2013-04-01 23:29:03

From: Rules of Joe
Danny are you going to update the MMouse Procedure! Its the new mouse function that Hobbit put in fucked all mouse functions now none of my scripts are running!

[Error] C:\Users\FamilyVictor\Documents\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Came out of no where! Uhhh!


Procedure from P07Include.simba
Procedure P07_MouseBox(X1, Y1, X2, Y2: Integer; ClickType: Integer);
Begin
MMouse(RandomRange(X1,X2),RandomRange(Y1,Y2),0,0);
ClickMouse2(ClickType);
Wait(RandomRange(37,50));
End;



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


Oh wow, so MMouse now goes both ways? That will break all my scripts :(

If someone can confirm this I'll push an update,

If you update SRL the function shouldn't compile error tho?

Edit - I think Hobb reverted the change, update your srl again, and try it again

BigRedJapan

2013-04-02 01:55:51

Thanks man All Figured OUt! Love Include Idk why so much hatttttters! =PXD

DannyRS

2013-04-02 10:36:28

From: Rules of Joe
Thanks man All Figured OUt! Love Include Idk why so much hatttttters! =PXD


You should try OSR it's much better now ;)

milo11

2013-04-02 11:24:20

doesn't click on the log lol, just hovers over it =)

BigRedJapan

2013-04-02 20:42:24

Yea mate just showed it to me!!! Do you know if Radial is up yet?

Janus

2013-04-03 10:59:14

Is there anything implemented to change worlds? I've made myself a shop buyer and would love to figure out a method of world hopping?

EDIT** Nevermind, I found the OSR include can do this so migrated all my code to that. I created an array to check worlds in a certain order and can leave it running for as long as I want!

fireball

2013-04-07 00:31:39

Exception in Script: Unable to find file 'P07Include.Simba' used from '' help plz so confused says this when i try to run the sample at the end of instructions

bradbailey09

2013-04-09 19:52:58

Warning: The include directory specified in the Settings isn't valid.
Warning: The font directory specified in the Settings isn't valid. Can't load fonts now

What do I do?

Botdump

2013-04-09 20:35:52

Any idea why mine says the following, but doesn't work?

Compiled successfully in 702 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include

I've tried it multiple times but my mouse just doesn't move. No errors or anything though :(

rj

2013-04-09 21:15:36

From: Botdump
Any idea why mine says the following, but doesn't work?

Compiled successfully in 702 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include

I've tried it multiple times but my mouse just doesn't move. No errors or anything though :(

What are you trying to run?

Botdump

2013-04-09 21:23:36

From: RJJ95
What are you trying to run?


I was just trying to run the test script that Danny has posted on the front page. It doesn't work with any script however.

rj

2013-04-10 20:50:14

From: Botdump
I was just trying to run the test script that Danny has posted on the front page. It doesn't work with any script however.


Just try to use the official osr include this one is no longer being updated

schoolsucxxx

2013-04-10 23:10:47

You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


This displays when i run your test, i unzipped it correctly.

DannyRS

2013-04-11 00:08:42

From: schoolsucxxx
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


This displays when i run your test, i unzipped it correctly.


Restart simba after putting the font folder in the correct place ;)

its me lauri

2013-04-11 08:01:07

Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\Katajamäki\Downloads\ineedbot's AIO Chopper[2.1].simba' :(

Zack1000

2013-04-11 17:27:34

I need help I'm trying to run a script and I keep getting this:


[Error] C:\Simba\Includes\P07Include.Simba(105:10): Duplicate identifier 'P07_GETUPTEXT' at line 104
Compiling failed.
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

DannyRS

2013-04-11 22:13:47

From: its me lauri
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\Katajamäki\Downloads\ineedbot's AIO Chopper[2.1].simba' :(


https://github.com/SRL/SRL-OSR


From: Zack1000
I need help I'm trying to run a script and I keep getting this:
[Error] C:\Simba\Includes\P07Include.Simba(105:10): Duplicate identifier 'P07_GETUPTEXT' at line 104
Compiling failed.
[Error] C:\Simba\Includes\P07Include.Simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.


You need {$I SRL/SRL.Simba} at the top not {$I SRL-OSR/SRL.Simba}?

Zack1000

2013-04-12 04:23:12

From: DannyRS
https://github.com/SRL/SRL-OSR




You need {$I SRL/SRL.Simba} at the top not {$I SRL-OSR/SRL.Simba}?



I tried adding that/changing it and it doesn't help.

yalih

2013-04-12 11:17:57

Hey I have done everthing said on the video and the text but I cannot use the red square thing on the client I use however i use the downloadable version of RS could that be the problem?

DannyRS

2013-04-12 11:20:17

From: yalih
Hey I have done everthing said on the video and the text but I cannot use the red square thing on the client I use however i use the downloadable version of RS could that be the problem?


Maybe, try using the web app?

yalih

2013-04-12 11:22:44

From: DannyRS
Maybe, try using the web app?

I cant use that it says 'Missing Plugin'… and btw Im using WINE on MAC to run simba

DannyRS

2013-04-12 11:49:20

From: yalih
I cant use that it says 'Missing Plugin'… and btw Im using WINE on MAC to run simba


Oh, then you probably need to go find a forum section to help with running simba through that :/

Clasic1

2013-04-12 14:31:42

ERROR in TMThread.LoadFile
Exception in Script: Unable to find file 'C:\Simba\Includes\P07Include.Simba' used from ''

i get this error. i followed the video watched it through many times. can i get some help please?

amer361

2013-04-13 00:40:00

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292, that is what it said any suggestions?

DannyRS

2013-04-13 02:03:13

From: amer361
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292, that is what it said any suggestions?


Try swapping {$DEFINE SMART8} or {$DEFINE SMART}

amer361

2013-04-13 13:56:20

hey i got a question when i post a flax spinner script into simba and i hit play it says "Exception in Script: Unable to find file 'srl-osr/srl.simba' used from ''" help please

DannyRS

2013-04-13 15:17:37

From: amer361
hey i got a question when i post a flax spinner script into simba and i hit play it says "Exception in Script: Unable to find file 'srl-osr/srl.simba' used from ''" help please


https://github.com/SRL/SRL-OSR

You need to manually install that atm ;)

zRukked

2013-04-13 21:42:42

Compiled successfully in 1341 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
But doesn't do anything in client?

she allon me

2013-04-14 22:08:34

how do I download the po7 include as a .samba mine keeps downloading as a notepad or .rar and its not working

Neznam

2013-04-14 22:22:41

From: she allon me
how do I download the po7 include as a .samba mine keeps downloading as a notepad or .rar and its not working


The first file is .zip/.rar which needs to be extracted with winzip or WinRAR program.
The 2nd file is .simba which you need to put exactly where it says in the first post.

KwT

2013-04-15 12:49:20

Can you please help I keep getting this error no matter what script I run:

[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.

Also is it possible if someone sets up everything for me in teamviewer :D Im really having a hard time…

momikemo

2013-04-15 21:51:16

Great, thank you for this.

clarkyboi123

2013-04-18 13:23:43

When i click to open the upChars in a file i just keep getting a black web browser flash up every 2 seconds, is there a way to fix this or just a problem with my computer?

mr vegard3

2013-04-19 10:39:16

[Error] C:\Simba\Includes\SRL-OSR/SRL/core/text.simba(805:13): Unknown identifier 'UpChars07' at line 804
Compiling failed.

[Error] C:\Simba\Includes\SRL-OSR\SRL\core\text.simba(454:34): Invalid number of parameters at line 453
Compiling failed.

I redownloaded upcharts and srl-osr, any idea?

mr vegard3

2013-04-19 10:44:29

nvm

allowkid

2013-04-21 16:36:14

Please help me i keep getting this….
'SRL/SRL.Simba' used from ''

RHYNO1919

2013-04-21 21:53:36

DAnny i keep getting this error any help would be appreciated..

Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

nareg

2013-04-22 20:35:52

I put the new two downloads in the right place, everything works except right when I press start, I get the error:Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

nonotmeplz2

2013-04-23 16:17:41

Exception in Script: Unable to find file 'SRL/SRL.Simba' used from 'C:\Simba\Includes\P07Include.Simba' now i get this? im so confuzzeled

Sjoe

2013-04-23 16:19:13

From: nonotmeplz2
Exception in Script: Unable to find file 'SRL/SRL.Simba' used from 'C:\Simba\Includes\P07Include.Simba' now i get this? im so confuzzeled


Setup SRL properly. http://villavu.com/forum/showthread.php?t=47714

nonotmeplz2

2013-04-23 16:36:21

"you need {$I SRL/SRL.Simba} aswell before {$I P07Include.Simba}" how do i get this SRL/SRL.Simba i keep getting the error im missing this and i followed the tutorial 3 times.

tioob

2013-04-25 02:53:53

ive followed all three of YoHoJos videos so far, and have even gone through twice and am still getting the same problem. when i go to test run the script above after the third video i get this message: Exception in Script: Unable to find file 'P07Include.Simba' used from '' . ive tried looking for solutions, it seems other people have had this problem and they just had to download the include or something. ive done that though so im not sure whats wrong.. help?

IMayoboeiI

2013-04-26 17:52:28

Can you please fix the login function? It doesn't seem to work..

mantanas

2013-04-27 14:00:29

hi guys,
well i was watching the guide and did it step by step and when i complete up to part 3 and i test it, it says: Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

Nickzz

2013-04-29 17:55:54

So, i'm kind of new to this, but i keep getting the same error when starting a script:

Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Simba\Scripts\NebulaFightCaves1.1.simba'

Getting this at eveery script.
Someone knows a solution?

randy marsh

2013-04-29 18:20:07

From: Nickzz
So, i'm kind of new to this, but i keep getting the same error when starting a script:

Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Simba\Scripts\NebulaFightCaves1.1.simba'

Getting this at eveery script.
Someone knows a solution?


Because u need to download the osr include

samir113

2013-04-30 10:48:43

hi guys im having trouble with this
Unable to find file 'P07Include.Simba' used from 'C:\Users\malla\Downloads\[P07] Draynor Seers Willow Maple Banker [3.02] (1).simba'
it would be great if anyone could help

Bam

2013-04-30 17:29:08

So I finally think I fixed all the errors and now I when i go to start the test script I receive this error string.

[Error] C:\Simba\Includes\SRL/SRL/core/chat.simba(397:77): Unknown identifier 'SmallChars' at line 396
Compiling failed.

zerra1337

2013-05-08 02:58:36

Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba'

I get this error when i try to run a script. I have searched the threads on here and even try searching it but i cant find anything. Do i need to rename my 07include or where can i find this srl-osr?

DannyRS

2013-05-09 11:27:25

From: zerra1337
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba'

I get this error when i try to run a script. I have searched the threads on here and even try searching it but i cant find anything. Do i need to rename my 07include or where can i find this srl-osr?


https://github.com/SRL/SRL-OSR

download as zip, extract to includes, name folder 'SRL-OSR'

projesseb

2013-05-13 19:32:33

This is exactly what happens when i run the sample script, every time

Compiled successfully in 499 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

Also i added the folder, not the zip file to my fonts folder, my folder looked exactly like yojos did on youtube, i checked, other people shared this problem on youtube as well, what should i do?

DannyRS

2013-05-14 13:23:44

From: projesseb
This is exactly what happens when i run the sample script, every time

Compiled successfully in 499 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

Also i added the folder, not the zip file to my fonts folder, my folder looked exactly like yojos did on youtube, i checked, other people shared this problem on youtube as well, what should i do?


Restart Simba?

popping

2013-05-19 15:55:34

followed all guides and get this error :/ Exception in Script: Unable to find file 'P07Include.Simba' used from ''

DannyRS

2013-05-19 17:00:18

From: popping
followed all guides and get this error :/ Exception in Script: Unable to find file 'P07Include.Simba' used from ''


Download of 'P07Include.Simba' is in first post ;)

jakethesnake

2013-05-19 18:11:38

why wont it ype in anythign after i press start it just sits there and doesnt type in on the old school log in part please help

DannyRS

2013-05-21 10:58:56

From: jakethesnake
why wont it ype in anythign after i press start it just sits there and doesnt type in on the old school log in part please help


It may be outdated by now, you should try OSR ;)

Huntdafuzzma

2013-05-21 11:27:20

It still works, I fixed the dropping issues that have always haunted it (for me atleast) just by waiting for some uptext before right clicking.

procedure P07_DropInventorySlot(SlotToDrop: Integer);
var
xsx, ysy, R, C: Integer;
begin
SlotToDrop := SlotToDrop - 1;
xsx := 565;
ysy := 215;
C := (Round(SlotToDrop / 4));
R := (SlotToDrop - (C * 4));
SlotToDrop := SlotToDrop + 1;
if P07_ItemExists(SlotToDrop) then
begin
MMouse(RandomRange((xsx + (R * 42)), (xsx + (R * 42) + 27)), RandomRange((ysy + (C * 36)), (ysy + (C * 36) + 25)), 0, 0);
P07_WaitUpTextMultiCustom(['ions'], RandomRange(100, 200)) ClickMouse2(mouse_right);
P07_ChooseOptionMulti(['rop']);
end;
end;

awesomebawsome

2013-05-21 14:49:46

So, Danny, your practice one works, and it types in my user and pass, so im sure it should work.. but when i try to run a script… it gives me the error : The include directory specified in the Settings isn't valid, Also : The font directory specified in the Settings isn't valid. Can't load fonts now. <- that error and i have no clue why, because it says at the top of the scripts..{$I SRL/SRL.Simba} and also {$I P07Include.Simba}, which im sure makes it appear like it works.. but like i said.. i try to run and just get those errors. its starting to really annoy me because i dont know why!

DannyRS

2013-05-21 15:13:17

From: awesomebawsome
So, Danny, your practice one works, and it types in my user and pass, so im sure it should work.. but when i try to run a script… it gives me the error : The include directory specified in the Settings isn't valid, Also : The font directory specified in the Settings isn't valid. Can't load fonts now. <- that error and i have no clue why, because it says at the top of the scripts..{$I SRL/SRL.Simba} and also {$I P07Include.Simba}, which im sure makes it appear like it works.. but like i said.. i try to run and just get those errors. its starting to really annoy me because i dont know why!


Can you post a log from the debug?

awesomebawsome

2013-05-22 11:23:39

{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
———————
thats what it says at top of most scripts i try to use.
——————————————————–
Warning: The include directory specified in the Settings isn't valid.
Warning: The font directory specified in the Settings isn't valid. Can't load fonts now
——————————————————————-
thats what it says in debug box…
——————————————————
Program exception!
Stacktrace:

Exception class: EAccessViolation
Message: Access violation
$005CEC70
$00427B3F
$0042B325
$005064E8
$004436C2
$004F623D
$00526231
$005248C0
$004F55C0
$004F6025
$0040C37A
$004F4508
$004EA822
$004EBAA9
$00568BE7
$0050E94E
$7E418734
Simba Version: 992
———————————-
thats my errorlog.

I have P07UpChars in My Computer > Program Files > Java > jdk1.7.0_07 > Simba > Fonts
I have P07Include in My Computer > Program Files > Java > jdk1.7.0_07 > Simba > Includes

I get the messages and the error log every single time i try to use any 07 script.
And like I said.. your practice one works.. it types in my user and pass… the hell is going on.

EDIT: Never mind i fixed it.. just an unistall and install of simba. my bad.

Purple Afros

2013-05-29 20:55:00

Exception in Script: Unable to find file 'SRL/SRL.Simba' used from ''
I followed everything and I keep getting this help me pleaseeee

PsychoticPk

2013-05-31 00:36:37

[Error] C:\Simba\Includes\SRL/SRL/core/globals.simba(786:5): Unknown identifier 'ImageSetClientArea' at line 785

Ran the test script the first time, it worked, tried again and this happened? What did I do wrong and/or need to change?

Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Simba\Scripts\Westkevin12sYanillIronBankerV1.7.simba'

Getting this on every script I try to use, tried to rename the folder to 'SRL-OSR/SRL.simba but it would'nt let me.. Any ideas how to fix these two problems?

mxfox

2013-06-03 13:13:39

[Error] C:\Simba\P07Include.simba(57:3): Unknown identifier 'MMouse' at line 56
Compiling failed.

Can anyone point me in the right direction as to what I need to do?

African Witchdoctor

2013-06-05 19:37:08

[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

What do i do

rj

2013-06-06 08:38:38

From: African Witchdoctor
[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

What do i do


Read the op. you don't run the download…

hurricane900

2013-06-07 14:35:13

From: Officer Barbrady
Read the op. you don't run the download…


is there an offical include yet or is this the only one? I'm having problem with the eating on all of my scripts and been trying to fix it but no luck, is there another include?

shaheen

2013-06-07 19:39:27

I keep getting this error! So frustrating!

[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

rj

2013-06-07 20:07:29

From: shaheen
I keep getting this error! So frustrating!

[Error] (1:1): Unexpected end of file at line 0
Compiling failed.


Read the op. you don't run the include…

mugginz

2013-06-08 05:31:36

Hey my only problem is when i try to enter my username it's an email so it has the @ symbol in it, and for some reason it can't register that. Suggestions?

twistedsword

2013-06-08 09:28:43

it says something is wrong with line 294 of smart params

jasons

2013-06-11 15:02:53

{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

SetupSRL;
P07_DeclarePlayer;
SetupP07Include;

beaunerking

2013-06-18 21:13:26

the p07upchars im getting is not a folder?

mxman498

2013-06-19 02:21:37

i followed all the steps in the vids then when i select the window and hit run it does nothing?? help please.

mxman498

2013-06-19 02:22:57

also i get this error message after i select the window and hit run Exception in Script: Unable to find file 'P07Include.Simba' used from ''

danny123

2013-06-19 12:54:07

New window: 6947422
[Error] (32:4): period ('.') expected at line 31
Compiling failed.


That's what my Simba is saying. will someone help me with this error please?

rj

2013-06-20 00:21:59

From: danny123
New window: 6947422
[Error] (32:4): period ('.') expected at line 31
Compiling failed.


That's what my Simba is saying. will someone help me with this error please?


Are you running the include or a script

BUITEU

2013-07-01 18:09:35

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292, help?

Neluzz

2013-07-02 19:18:30

Hello,

Im trying to set up Simba. I'm following the videos and some point he tells me to put the crosshair on the "client" ors browers and the press play. After that im getting some error :

New window: 2032614
Compiled successfully in 483 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]

rj

2013-07-02 21:13:58

From: Neluzz
Hello,

Im trying to set up Simba. I'm following the videos and some point he tells me to put the crosshair on the "client" ors browers and the press play. After that im getting some error :

New window: 2032614
Compiled successfully in 483 ms.
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Font [P07UpChars] not found. at line 226
The following DTMs were not freed: [0, 1, 2, 3]


Extract P07Upchars.zip to C:/simba/fonts

derekredmann

2013-07-22 15:12:21

its been awhile to install because im brand new to this, wanted to let you know that all the vids and all the questions asked/answered on here helped so much!

ryanjohnsen

2013-07-23 22:43:07

keep getting this error message what
is wrong? Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\ineedbot's AIO Chopper[2.1].simba'
thank you -Ryan

ryanjohnsen

2013-07-23 23:05:40

i keep on gettign error message ……………
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\ineedbot's AIO Chopper[2.1].simba'

what do i need to do ? is the file down atm? thank you -Ryan

rj

2013-07-23 23:29:26

From: ryanjohnsen
i keep on gettign error message ……………
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\ineedbot's AIO Chopper[2.1].simba'

what do i need to do ? is the file down atm? thank you -Ryan


Download the .zip from https://github.com/SRL/SRL-OSR and extract it to "c:/simba/include" and re-name it "SRL-OSR"

Life Stinks

2013-08-03 08:17:24

what do I do when I get this error? :Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Error: Exception: Out of memory at line 226
The following DTMs were not freed: [0, 1, 2, 3]

meman

2013-08-09 23:19:58

when i am trying to download the p07include.simba i get this message

SeeC:\Simba\ErrorLog_09-08-13_20-19-53.txt

Does anybody know whats wrong with this?

Sjoe

2013-08-09 23:25:34

@DannyRS Maybe tell people this is outdated? and redirect em to srl-osr.

DannyRS

2013-08-10 10:49:32

From: Sjoe
@DannyRS Maybe tell people this is outdated? and redirect em to srl-osr.


Done <3

Sjoe

2013-08-10 11:08:47

From: DannyRS
Done <3


Sweet :)

Athylus

2013-08-12 15:48:50

When I try to run my script I get
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed.

rj

2013-08-12 17:58:13

From: Athylus
When I try to run my script I get
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed.


http://www.youtube.com/watch?v=0N-RWHwHHAY&feature=c4-overview&list=UUc71xK4xW9QM9W1hb9O8IIg

Athylus

2013-08-12 20:33:02

Got it, thanks.

bloodsplat

2013-08-18 07:38:15

i cant find the simba/includes/ i need to put the other files into this part is extremely confusing

rj

2013-08-18 11:39:45

From: bloodsplat
i cant find the simba/includes/ i need to put the other files into this part is extremely confusing



RA!N

2013-08-24 00:50:21

I realize this is out-dated, and I see the SRL-OSR link but from there I have no idea what to do. Please advise. I am also stuck at the part where I move the cross hairs (using YoHoJo's Video Aid) to the OSRS Window and it does nothing. I log in and that's it. I'm a total noob when it comes to scripts. Please bare with me, I just need some quick help. Please and Thank you in advance!

- RA!N

rj

2013-08-24 09:57:35

From: RA!N
I realize this is out-dated, and I see the SRL-OSR link but from there I have no idea what to do. Please advise. I am also stuck at the part where I move the cross hairs (using YoHoJo's Video Aid) to the OSRS Window and it does nothing. I log in and that's it. I'm a total noob when it comes to scripts. Please bare with me, I just need some quick help. Please and Thank you in advance!

- RA!N


What were you trying to run? Because thats all the test script does it log you in

RA!N

2013-08-25 17:33:41

From: Officer Barbrady
What were you trying to run? Because thats all the test script does it log you in


I'm trying to get Simba Set up with OSRS. Ultimately I just want to know how to use the scripts. I've tried using the listed help threads and videos for Aids and they've helped but as far as the Smart8 window, to my understanding it only applies to EOC. Now How do I set up the Simba for OSRS? I have Simba opened, and for example I want to run the auto curser I downloaded (made by Sequence) but I press play and "[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(282:145): Invalid number of parameters at line 281
Compiling failed." this pops up. How do I put this together? I bring up OSRS on another Mozilla window and from there I know I am missing something. Please let me know if you can help me get this set up. Thanks in advance!

sheldonstelter

2013-08-31 02:00:05

My first post on the forums here. I have been trying to learn and understand and have been watching the video tutorials by yohojo and have been following the forum "how to's" but now im stuck with an error after doing this step.

When I go to test the login using samba I get this error:

[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

It may sound like an easy fix for you but im stuck. I don't see a line 0 so I have no idea where to start.

If anyone could help me get back on track that would be great!

My email is
Sheldon
stelter
@
yahoo.com
please send me a message.

rj

2013-08-31 10:43:16

From: sheldonstelter
My first post on the forums here. I have been trying to learn and understand and have been watching the video tutorials by yohojo and have been following the forum "how to's" but now im stuck with an error after doing this step.

When I go to test the login using samba I get this error:

[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

It may sound like an easy fix for you but im stuck. I don't see a line 0 so I have no idea where to start.

If anyone could help me get back on track that would be great!

My email is
Sheldon
stelter
@
yahoo.com
please send me a message.


Your running a blank simba script -.-

sheldonstelter

2013-09-01 08:46:15

From: sheldonstelter
My first post on the forums here. I have been trying to learn and understand and have been watching the video tutorials by yohojo and have been following the forum "how to's" but now im stuck with an error after doing this step.

When I go to test the login using samba I get this error:

[Error] (1:1): Unexpected end of file at line 0
Compiling failed.

It may sound like an easy fix for you but im stuck. I don't see a line 0 so I have no idea where to start.

If anyone could help me get back on track that would be great!

My email is
Sheldon
stelter
@
yahoo.com
please send me a message.


Ok Please do go further into depth about what you mean by a blank script. I understand that I am only testing the script to open up oldschool ruenscape but I followed every step that yohojo put in his video. I really want to grasp this but I need a mentor. I don't want to burden anyone so im going to try and piece this together little by little. if I followed everything in his video which made sense then where am I going wrong? why do I have a blank script when he did not, even though I did the same thing as him?

rj

2013-09-01 09:16:48

From: sheldonstelter
Ok Please do go further into depth about what you mean by a blank script. I understand that I am only testing the script to open up oldschool ruenscape but I followed every step that yohojo put in his video. I really want to grasp this but I need a mentor. I don't want to burden anyone so im going to try and piece this together little by little. if I followed everything in his video which made sense then where am I going wrong? why do I have a blank script when he did not, even though I did the same thing as him?


What script are you trying to run? It appears your trying to run this:

{} 

Karlo

2013-09-02 20:49:25

Officer Barbrady! please help!
I too have been following the guides but here is were im stuck…
I downloaded the new SRL-OSRS, this does not have a guide.. and I have no idea were to put that file and move on..

I am getting this message when trying to run a script: Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\Scripts\Catherby_fisherV0.4 (1).simba'

other than that I CAN open OSRS on simba.

foamundine

2013-09-13 15:45:09

Exception in Script: Too many nested include files while processing 'SRL/SRL/core/simba.simba' from 'C:\Simba\Includes\SRL/SRL.Simba'
can someone tell me how to fix this please?

rage age16

2013-10-19 15:13:02

Exception in Script: File "SRL/SRL.Simba" not found at line 3, column 5

What am i doing wrong?

Remixed

2013-10-31 18:49:28

Exception in Script: File "SRL/SRL.Simba" not found at line 3, column 5


Any help?

JeremyL

2013-11-09 21:54:14

Exception in Script: File "SRL/SRL.Simba" not found at line 3, column 5 ……Help??

tlang07uky

2013-11-11 15:52:56

I'm trying to run the following Simba code to run the program that enters "username" and "password" into the Oldschool Runescape window:

Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

End.

This gives the following error message: "Exception in Script: File "SRL/SRL.Simba" not found at line 3, column 5"

When I change {$I SRL/SRL.Simba} to {$I SRL-OSR/SRL.Simba}, I get the this error message instead: "Exception in Script: Duplicate declaration "P07_GetUpText" at line 104, column 31 in file "C:\Simba\Includes\P07Include.Simba""

shanelench8

2014-01-02 23:26:34

I doubt i'm going to get a reply any time soon but I have downloaded and re-dowloaded simba. I have done all the videos and crap. I've got new simba and i downloaded the osr-srl to my includes but i am still getting this message

File "SRL/SRL.Simba" not found at line 2, column 5

I have absolutely no idea what to do at this point and i have read through most of this forum looking for the answer and couldn't find it. please help me out.

Justin

2014-01-02 23:58:02

Extremely outdated. @DannyRS; Please contact a staff member if you wish to re-start this project.

Closed.