Is there a video or something explaining this? I can't gather anything at all from the OP.
Great work! What's everyone using for walking - I tried modifying the 06sps but got a bit stuck haha.
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,
Simba Code: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
Last edited by DannyRS; 02-27-2013 at 08:09 AM.
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
If you make a IsFighting boolean I'll love you long time!
Green health bar would probably be more reliable, but either is good!
Simba Code:{*****************************************************************************
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
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.
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
Last edited by DannyRS; 02-27-2013 at 11:04 AM.
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
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
Last edited by gavin0627; 02-27-2013 at 11:50 AM.
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!
@Gh0stt
Thats just a list of what I added in 1.7, full list always inside the simba file
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
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?
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:
Simba Code:P07_FindObjCustom(x,y,['Chop','down','illow'],[WillowColor],5)
Let me know if that fixes it
Last edited by DannyRS; 02-27-2013 at 12:48 PM.
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
Nope, still hovering over the trees, you dont have any antileeches in your p07 right? any other solvements?
thanks for you help btw
There are currently 2 users browsing this thread. (0 members and 2 guests)