Live Help
Membership
You are a guest!

Register Today!

Log In
Reset Password
Game Network
Community Forum

MMO GAME LIST
World of Warcraft
Age of Conan
Anarchy Online
Archlord
Cabal Online
City of Heroes
City of Villains
Dark Age of Camelot
Darkfall Online
Diablo 2
Dungeons and Dragons
Dofus
Eve Online
Everquest 2
Final Fantasy XI
Guild Wars
Hero Online
Knight Online
Lineage 2
Lord of the Rings Online
Maple Story
Ragnarok Online
Runescape 2
Second Life
SilkRoad Online
Star Wars Galaxies
Tibia
Warhammer Online

FPS GAME LIST
Call of Duty
Combat Arms
Counter Strike
Halo

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Easy Helper, helps to add more prospecting into the fight
post Nov 3 2009, 06:31 AM
Post #1

margreg



SCAR Coder
Group Icon

Group: Elite Members
Posts: 183
Joined: 26-April 09
Member No.: 893,649






Easy Helper


Description:

This script helps main character to increase prospecting by joining another character into the fight.
Script automatically join fights and finishes them.
It works perfect with another script that may auto fight monsters.
It is good for those people who have farming resources scripts.
To start the script you have to make appropriate changes in constant part of the script

CODE
{
This script helps my main character to gather more
resources, by joining another character of
mine into the fight.
What it actually do is searching for join fight symbol,
then it joins the fight, clicks on ready button and waits for
finish fight button.
}
program Easy_Helper;
var
x, y, fin_x, fin_y : integer;
const
join_fight = 1591175; // color of join fight symbol
area_xu = 9; // upper X coordinate join fight search area
area_yu = 55; // upper Y coordinate join fight search area
area_xd = 733; // lower X coordinate join fight search area
area_yd = 475; // lower Y coordinate join fight search area
ready_x = 698; // X coordinate ready button
ready_y = 454; // Y coordinate ready button

//_______________ finishing fight color and coordinate configuration _______________

finish_fight = 25087; // color of finishing fight button
finish_xu = 476;
finish_yu = 167;
finish_xd = 670;
finish_yd = 485;

procedure join;
begin
     if(findcolor(x, y, join_fight, area_xu, area_yu, area_xd, area_yd))then
        begin
                movemousesmooth(x+4,y+4);  // click on symbol to join fight
                                        wait(100+random(200));
                                        holdmouse(x+4,y+4,true);
                                        wait(20+random(50));
                                        releasemouse(x+4,y+4,true);
                                        wait(500+random(200));

                                        movemousesmooth(x+10, y+10); // confirm joining fight
                                        wait(500+random(50));
                                       clickmouse(x+10, y+10, true);
                                       wait(1000+random(100));
            
                                       movemousesmooth(ready_x,ready_y);  // click on ready button
                                       wait(100+random(200));
                                       holdmouse(ready_x,ready_y,true);
                                       wait(20+random(50));
                                       releasemouse(ready_x,ready_y,true);
                                       wait(6000+random(200));
            
                                       movemousesmooth(737,457);  // click on minimize combat window
                                       wait(100+random(200));
                                       holdmouse(737,457,true);
                                       wait(20+random(50));
                                       releasemouse(737,457,true);
        end;
end;

procedure finish;
begin
     if(findcolortolerance(fin_x, fin_y, finish_fight, finish_xu, finish_yu, finish_xd, finish_yd, 10))then
               begin
                       wait(1000);
                                                           movemousesmooth(fin_x+5,fin_y+5);  // click on finish fight button
                                                           wait(100+random(200));
                                                           holdmouse(fin_x+5,fin_y+5,true);
                                                           wait(20+random(50));
                                                           releasemouse(fin_x+5,fin_y+5,true);
                                                           wait(1000+random(100));
                 end;
end;

begin
ClearDebug;
repeat
join;
finish;
until(false);
end.
Go to the top of the page
 
+Quote Post
post Nov 3 2009, 06:31 AM
Post #

Elite Membership


To get the most out of MmorpGuides.com, please view the following information.












Already a Member?

With an Elite Membership you can. . .

  • Reach the highest levels in no time
  • Have one of the most powerful characters in your game
  • Become a valuable member of your clan or guild
  • Become part of a caring and helpful community of gamers

Elite Members enjoy. . .

  • 1,660+ Cheats - tons of working, high quality cheats
  • 1,550+ Guides - We have one of the most comprehensive collections of guides on the net
  • 539+ Bots and macros - Level up quickly, even while you sleep!
  • A chance to win free prizes such as an amazing Playstation 3! And free gold and powerleveling!

No risk, only huge benefits!

  • Your investment can pay for itself in days!
  • Earn gold that you can trade for real money
  • Sell your high level items and characters for a profit!
  • Get tons of expensive guides and cheats in one spot for one small price

Money Back Guarantee!

Not 100% satisfied? We have a 24 hour, money-back guarantee! Contact us for a prompt and courteous refund!

Upgrade to an Elite Membership now!

Not A Member?

Join today and get access to all these great features!

  • Access to newly submitted cheats and guides
  • Download newly submitted bots and macros
  • Chat about your favorite game
  • Submit working content for a FREE Elite Membership!
  • And lots more!
Register Today!
Go to the top of the page
 
Quote Post
post Nov 3 2009, 10:28 PM
Post #2

lilwitte



SCAR Coder
Group Icon

Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937






just reading what it "should" do (don't have a second machine atm to test it out and dont ahve my virtual PC set up from lack of memory) sounds like you need a failsafe in-case it joins the wrong fight and gets kicked out by the other people!


--------------------
SCAR Coder

DofusBaseV1
[||||||||||]

Want to make progress bars like me?
CODE
use this base one as an example!
[[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Go to the top of the page
 
+Quote Post
post Nov 4 2009, 06:13 AM
Post #3

margreg



SCAR Coder
Group Icon

Group: Elite Members
Posts: 183
Joined: 26-April 09
Member No.: 893,649






You are right. It is just the places where I farm none come to there, and even if someone comes, my chars cleared the hole map by then, and when group of monsters appear, it is my char who come to them first grin.gif
And even if it will happen and my alt will join someones fight, it doesn't matter, it will gather the resource just for being in that fight too, and this won't happen regularly, so they will just leave this place or make it impossible to join their fights pfft.gif

About virtual PC, I am farming with my alts on main operating system, without virtual PC installed. I just run 2 dofus clients and 2 scar clients and it works fine.
Go to the top of the page
 
+Quote Post
post Nov 18 2009, 10:34 PM
Post #4

lilwitte



SCAR Coder
Group Icon

Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937






lol, can i use this:
CODE
Procedure JoinFight;
var
x,y:integer
const
join_fight = 123456; // color of join fight symbol
ready_x = 100; // X coordinate ready button
ready_y = 100; // Y coordinate ready button
begin
if(findcolor(x,y,join_fight,0,0,600,800)))then
begin
  mouse(x+2,y+2);
  Click;
  mouse(x+10, y+10);
  Click;
  mouse(ready_x,ready_y);
  Click;
end;
end;

procedure FinishFight;
var
x,y:integer
begin
if(findcolortolerance(x,y,25087,429,226,542,411,10))then
begin
  mouse(x,y);
  Click;
end;
end;


provided I'm going to still add you to the credits list in the top of the file!
i coudl use some "real" numbers for the constants in the first procedure!
please and thank you =D


--------------------
SCAR Coder

DofusBaseV1
[||||||||||]

Want to make progress bars like me?
CODE
use this base one as an example!
[[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Go to the top of the page
 
+Quote Post
post Nov 19 2009, 03:55 AM
Post #5

freakofnature4



In Training
**

Group: Members
Posts: 6
Joined: 11-November 09
Member No.: 1,042,302






Great work margreg! I put in the right const and it works like a charm. Very straight forward to set up, Thanks!

Now I need to learn to make a fighter script :P
Go to the top of the page
 
+Quote Post
post Nov 19 2009, 06:12 AM
Post #6

margreg



SCAR Coder
Group Icon

Group: Elite Members
Posts: 183
Joined: 26-April 09
Member No.: 893,649






I will edit real numbers in the constant part of the script as soon as I come back home grin.gif
I will also edit the script as it was evolved to more stable script when it joins the fight and interracts with fighter script.
Go to the top of the page
 
+Quote Post
post Nov 19 2009, 08:14 PM
Post #7

lilwitte



SCAR Coder
Group Icon

Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937






lol, all I care is so i can make m finishing touches into DofusBassXX.scar apply them to DofusBase.scar V1 and then make my "poster child" scripts and get ready for releasing another update


--------------------
SCAR Coder

DofusBaseV1
[||||||||||]

Want to make progress bars like me?
CODE
use this base one as an example!
[[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Go to the top of the page
 
+Quote Post
post Nov 22 2009, 08:40 AM
Post #8

margreg



SCAR Coder
Group Icon

Group: Elite Members
Posts: 183
Joined: 26-April 09
Member No.: 893,649






Update:
The script has real numbers in constant part.
Added some features inside the script so it works more stable.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 


> Board Footer
Time is now: 20th March 2010 - 01:58 PM