Jump to content
adrianhmartinez

colortolorance error unknown identifier

Recommended Posts

everytime i add color tolorance to my script it keeps giving error unknown identifier(colortolorance) [e:findcolortolorance,findbitmaptolorance] am i sopost to download extra things so it works? i keep having to stay with 1 color and having to get multiple color of the samething so it finds the color.

 

how would i go to add tolorance to the bitmap part of this script

 

Result := FindBitmap(x, y, Bmp, 89, 23, 548, 322)

to

Result := FindBitmaptolorance(x, y, Bmp, 89, 23, 548, 322) <- and im not sure where u add the tolorance...

 

 

const
MonsterColor = 65535; 
MonsterColor2 = 65535;
MonsterColor3 = 65535;
MonsterColor4 = 65535;
MonsterColor5 = 65535;
Mistake = 5583690; // not used
Hat = 6587027;
WaitTime = 1000;

var
x, y, c: Integer;
Bmp: TSCARBitmap;

procedure Setup;
begin
 Bmp := TSCARBitmap.Create('deNrjZuBgmD1jwtxZk+Bo2uRuZHTtygVk2XOnj' +
   'gHRiaMHJvS1wRHQhAtnT8LRsUN7gai7oxGOLl04A0GH9u5ARq3NNRB05uRRCNq' +
   '/eysyaqyrgKDjh/dD0J4dm5DR6qXzqyuKgAhu5o7Na+Fo8dzpQFRalJuXkwZRv' +
   '3XDKjhauWQuHKX5SwIAhGOsyQ==');
end;

function Searchforrandom: Boolean; // Search for monster to attk 
var  MonsterColors: TIntArray; 
begin  MonsterColors := [MonsterColor, MonsterColor2, MonsterColor3, MonsterColor4,
MonsterColor5];   
Result := FindColors(x, y, MonsterColors, 496, 13, 572, 31);   
if Result 
then  
begin    
Wait(WaitTime);      
Movemouse(x, y);      
ClickMouse(x, y, False);   
end; 
end; 

function SearchForbitmap: Boolean; 
begin
Result := FindBitmap(x, y, Bmp, 89, 23, 548, 322)
if Result 
then 
begin 
MoveMouse(x, y);
clickmouse(x, y, false); 
wait(1000);
end; 
Bmp.Free;
end;

Begin 
repeat
 c:=c+1;
(Setup); 
Wait(WaitTime +300);
(Searchforrandom)
Wait(WaitTime);
(SearchForbitmap);

until(c>=999999999)
end.

Link to comment
Share on other sites

yea but when i put that FindBitmapTolerance(x, y, Bmp, 89, 23, 548, 322, 15) it says unknown identifier "FindBitmapTolerance". thats the problem

 

yea i kind of misspelled it in the title and everything on the post but i was actualy puting Tolerance.

Edited by adrianhmartinez
Link to comment
Share on other sites

Oh, right.. You are using SCAR Divi 3.35+... Of course, sorry.. My bad. :P

 

In 3.35+ it is FindBitmapTol()

 

Note: Type "FindBitmap" in SCAR Divi's script editor area and hit CTRL + SPACE, that will pop up you the list of bitmap finding functions.

 

You can do this same action for any sort of functions/procedures/constants/variables you are after.. Simply type something of the name and then press CTRL + SPACE.

Link to comment
Share on other sites

cheapest place to buy clomid order zovirax finasteride price buy propecia finasteride 1mg proscar buy canada buy crestor crestor buy cheap buy crestor in uk buy proscar bangkok proscar buy canada proscar cheapest price for cymbalta buy duloxetine online can you split cymbalta pills cheap warfarin where to buy coumadin coumadin 5 mg tablet yan etkileri where is the best place to buy clomid can you split crestor pills proscar where can i buy stromectol ivermectin
Link to comment
Share on other sites

Sports Betting: A Comprehensive Guide

Sports betting has become a global phenomenon, captivating millions of enthusiasts with its blend of excitement, strategy, and the potential for financial gain. This article aims to provide a comprehensive overview of sports betting, exploring its history, popular types, strategies, and the legal landscape.

A Brief History

Sports betting dates back to ancient civilizations, where wagers were placed on events such as chariot races and gladiatorial contests. Over the centuries, the practice evolved, encompassing a wide range of sports and becoming a formalized industry in the modern era. Today, sports betting is a multi-billion-dollar industry with a substantial presence both online and offline.

Types of Sports Bets

There are several types of bets that one can place on sports events, including:

1. Moneyline Bets: The simplest form of betting where you pick the winner of a game or match.
2. Point Spread Bets: This bet involves predicting the margin of victory.
3. Over/Under Bets: Also known as totals, these bets are placed on the total number of points scored by both teams combined.
4. Prop Bets: These are bets on specific outcomes within a game, such as the first team to score.
5. Futures Bets: Bets placed on events that will happen in the future, like who will win the championship at the end of the season.

Strategies for Successful Betting

Successful sports betting requires more than just luck. Here are some strategies to consider:

1. Research and Analysis: Study the teams, players, and historical performance data http://toracats.punyu.jp/diagnosis/canine/index.php?bsportsvc
2. Bankroll Management: Set a budget and stick to it, avoiding the temptation to chase losses.
3. Understanding Odds: Learn how to read and understand betting odds to make informed decisions.
4. Shop for the Best Lines: Different sportsbooks offer different odds and payouts, so shop around for the best deals.

The Legal Landscape

The legality of sports betting varies around the world. In some countries, it is fully legalized and regulated, while in others, it is either restricted or outright banned. The advent of online sportsbooks has also added a layer of complexity, as bettors can now place wagers from pretty much anywhere, often bypassing local regulations.

Conclusion

Sports betting continues to grow in popularity, attracting a diverse audience from casual fans to hardcore enthusiasts. With the right approach, including diligent research and disciplined bankroll management, it can be both an exciting and rewarding venture. However, it's essential to understand the risks involved and to always gamble responsibly.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...