HFFF Bot

04/02/2008 23:56 jazdeep#346
$runstotal = 30
$runs = 0
While True
Select
Case $faction = 1
If $mode = 1 Then
Select
Case $runstotal <> $runs And @HOUR <> $hour
$runs = $runs + 1
_runkurzick();
_questkurzick();
_rewardkurzick();
_travelkurzick();
Case $runstotal = $runs And @HOUR <> $hour
$runs = $runs - 30
_exchangekurzick();
Case Else
_shutdown();
EndSelect
ElseIf $mode = 2 Then
_sleep();
EndIf
Case $faction = 2
If $mode = 1 Then
Select
Case $runstotal <> $runs And @HOUR <> $hour
$runs = $runs + 1
_runluxon();
_questluxon();
_rewardluxon();
_travelluxon();
Case $runstotal = $runs And @HOUR <> $hour
$runs = $runs - 30

I edited the ones in bold but now my computer freezes lol idk at what point but it usually only gets around 10k in then feezes, but i can still move the mouse, nothing eles responds. Would this be due to the numbers i edited or is it just my computer?

BTW do i change it to 30 or do i have to write (+3) somwhere?
Thanks again.
04/03/2008 16:37 Jonzi2903#347
hi
Bei mir funzt das noch nicht so ganz. Kann mir jmd vllt seine ICQ nummer schicken der weiß wie es geht?
04/03/2008 21:24 zerbruss#348
bei mir macht der bot nichts anderes als herumreisen, seltsam ???
04/03/2008 21:33 MasteR GunneR#349
Nein, falsch eingestellt. >_<
04/04/2008 05:27 tom_bootsy#350
The bot for dumping to Alliance misses clicking in the text box where you are supposed to type your name. It is missing by about 4mm (below the box), how do fix this, what part of the code to i edit?
Thank You
04/05/2008 18:10 djsylver#351
Hab zwei Fragen:

1. Könnte man nicht eine Bilderkennung einbauen um die Punkte abzugeben? Heisst der Bot macht einen Screen davon wenn er "H" drückt und vergleicht dann diesen Screen mit einem anderen wo 10000/10000 steht. Der Bot weiß dann das die 10k Punkte voll sind und geht zum abgeben. Nen Kumpel hat das mit gfxmatch und ACA Capture Pro mal gemacht und das klappte sehr gut, nur weiß ich nicht wie kompatibel das zum jetzigen Bot ist. Hätte den Vorteil das überflüssige Runs wegfallen.

Das gleiche kann man natürlich mit den Laufwegen nach drausen machen, heisst der Bot macht ein Screen um zu wissen wo er steht, vergleicht diesen mit der jeweiligen Vorlage ( nord, ost usw ) und läuft dann raus.

2. Könntest du eventuell nach einer bestimmten Anzahl von Runs eine Random Pause einbauen? Also quasi 15 Runs zb. und dann zwischen 5 Minuten und 30 Minuten Kaffepause :D
04/05/2008 19:34 DarksSaber#352
Quote:
Originally Posted by tom_bootsy View Post
The bot for dumping to Alliance misses clicking in the text box where you are supposed to type your name. It is missing by about 4mm (below the box), how do fix this, what part of the code to i edit?
Thank You
The bolded numbers work for me. Be sure to change it both on the kurzick and luxon portions.

Case $exchange = 1 ; Boost your alliance's faction
MouseClick("left", Random(502, 778), Random(639, 664), 1, $mousespeed)
$rndnumber = Random(500, 1000)
Sleep($rndnumber)
MouseClick("left", Random(354, 924), Random(562, 563), 1, $mousespeed)
$rndnumber = Random(500, 1000)
Sleep($rndnumber)
Send($name, 1)

MouseClick("left", Random(666, 790), Random(733, 750), 1, $mousespeed)

$rndnumber = Random(500, 1000)
Sleep($rndnumber)
MouseClick("left", Random(354, 924), Random(562, 563), 1, $mousespeed)
$rndnumber = Random(500, 1000)
Sleep($rndnumber)
04/05/2008 22:00 Kupka#353
I have a question:
1. When will be ready How To txt in english?
2. Bot goes to the Ferndale sign, not to melandru's sign. What wrong?
04/06/2008 09:09 xSharkoonX#354
@ kupka look a few pages ago i posted the how to wich i had translated with promt !

€dit: here it is !!!
this is for v1.1 but v1.2 hast the same How to.txt file !!!
Quote:
Originally Posted by xSharkoonX View Post
How to translated by promt ! (ich hab mir mal die mühe gemacht ;)
=== HOWTO HFFF OFFERED V1.1 ===

->->-> German:

-> prerau's settlements:

A little what in the pear{the light bulb} :), TexMod (and to use the knowledge like), all heroes freigeschaltet, as well as the following places:

- Lutgardis conservatory
- Breaker hollow
- Narrowly{Tightly} to Cain
- Chance arena
- Big{Great} temple of the Balthasar
- The jade stone quarry (Kurzick and Luxon)
- Away aspen wood (Kurzick and Luxon)

-> settings{discontinuances}:

Resolution{Dissolving}: Full picture - 1280 x 1024
Interface size: Largely
Text Language{Talk}: In German

By " window do not close{conclude} if I Escape press " NO hook{snag} do{make}
(I have nowhere put{placed} one, however, does not know whether the rest{remainder} also consequences
on the offering has)!

Otherwise to avoid graphic arts{graphics} runterschrauben around Ruckler - they are same
not well for the offering :)

Action: Explain{Carry out}-> space bar
Action: Group command-> comma (ZB)
Action: Hero 1 command-> 1 (ZB)
Action: Hero 2 command ->2 (ZB)
Action: Hero 3 command-> 3 (ZB)
Action: Hero 1 order to use skill{technique} 1-> 7 (ZB)
Action: Hero 1 order to use skill{technique} 3-> 4 (ZB)
Action: Hero 2 order to use skill{technique} 1-> 8 (ZB)
Action: Hero 2 order to use skill{technique} 3-> 5 (ZB)
Action: Hero 3 order to use skill{technique} 1-> 9 (ZB)
Action: Hero 3 order to use skill{technique} 3-> 6 (ZB)
Action: Hero 1 order to use skill{technique} 8-> 0; zero{null} - the normal zero{null},
; NOT on the ZB
Select: Nächstbefindlichen allies-> v
Select: The next object-> 0 (ZB)
Announcement: Group open-> P
Announcement: Map of the world open-> M
Announcement: Guild open-> G
Movement: Automatic running-> R
Movement: To the left turn-> A
Movement: To the right turn-> D
Movement: At the side to the left-> Q
Movement: At the side to the right-> E
Movement: Advance-> W
Chat: Chat open-> Enter


Interface (cf. "Screenshot.jpeg"):

1) Group windows push in the upper right corner and at least so largely
move that it indicates{signalises} all 7 names. Greater it is not bad.

2) Push mission map (=Minimap =U) in the upper left corner and so small
as possible do{make}. Afterwards open "INTERFACE (MINIMAP) .au3". The Minimap had to do
be as big{great} now like she{it} is it on the Screenshot.

To test whether it has worked "AutoIt v3 Window Info" use:
" Position: 928, 1023-> you can see a mouse cursor to change the window's size.
Position: 929, 1023-> no visible mouse cursor at all. "

3) Push group search also in the upper left corner and on the approx. same size move. It is greater OK, but smaller had to go
not be they{she}.

4) Guild window likewise in the upper left corner. Size: so small as possible.

5) GuildWars via Texmod with "MARKERS.tpf" and "NOFOG.tpf" (NOFOG.tpf became
from Randy Avon provides{constructs}
(cf. "http://wiki.guildwars.com/wiki/Guide_to_modifying_in-game_graphics/Player_made_modifications/UI_enhancements"))
TexMod instructions there is already enough on the Internet, hence, I will not come there further{farther} on{after} it.

6) - For Kurzick points travel after Lutgardis conservatory, for Luxon points in the breaker hollow.
- FROM NOW NEITHER MOVE, NOR CHANGE THE CAMERA POSITION!
- NPCs invite (order follow!):

- Kurzick: Acolyte Sosuke,
Zhed shadow hoof,
Vekk,
Lukas,
Devona,
Prof. Gai

- Luxon: Zenmai,
Anton,
Kahmu,
Talon silver wing

Not the Templates forget to load (to find in the folder{steward} "Templates").
There is to be by advantage the heroes weapons{arms} which extend{lengthen} the duration{length} of enchantments.
In addition{Moreover}, her{their} one distant fight weapon should hold in the hand (stick{staff}, were, curve etc.).

-> Him Offered start:

Jenachdem whether her{their} Kurzick or Luxon points wants, and which mode{way} you choose{elect} (more this later)
if you must carry out versch. other{farther} settings{discontinuances}.

Kurzick (autom).: Minimap open. From the map{card} so often as possible herauszoomen, now twice hineinzoomen.
Minimap and group window must be open.
Kurzick (semi-autom).: Minimap open. From the map{card} so often as possible herauszoomen, now twice hineinzoomen.
Minimap must be closed{concluded} (speak: not obviously{visibly}, because it{she} is opened from alone if it is necessary),
Group window, however, openly.
Luxon (autom).: Minimap open. From the map{card} so often as possible herauszoomen and NOT again hineinzoomen.
Minimap and group window must be open.
Luxon (semi-autom).: Minimap open. From the map{card} so often as possible herauszoomen and NOT again hineinzoomen.
Minimap must be closed{concluded} (speak: not obviously{visibly}, because it{she} is opened from alone if it is necessary),
Group window, however, openly.

- Optional " HFFF Offering explain{carry out} v1.1.exe " or start by " HFFF Offering v1.1.au3 ".
The rest{remainder} explains itself{declares} by itself{themselves} :)

Functions worth mentioning:
- Plus and deficit on the ZB raise{increase} or degrade now directly{immediately} (tool tip on top on the left{left} indicates{signalises} the value).
- A pressure{printing} on the "Ende" key finishes the Script.

EXPLANATION{STATEMENT} TO THE DIFFERENT MODES{WAYS}:

The automatic mode{way} functions{works} not to expect{await} how differently{else}, completely automatically.
It are collected as long as points to the Script is finished. Perfectly for the night
However, the semi automatic mode{way} is to be used if one himself wants to do{make} something.
Instead of running even from the city{town} now this must be taken over from the user, what this
Lay the table should complicate. Here, in addition{moreover}, one can help to pull friends or take other people and
require a little gold :)
After the Script was begun in this mode{way} one must run from the city{town} and "Pos1" (a.k.a. "Home") press.
The Minimap is opened, the Quest are finished, the reward accepted{assumed}, and the Minimap are closed{concluded} again.
Now one himself must return again and everything begins from the front.
04/06/2008 09:16 Bl@ze!#355
Wenn da steht Mouseclick( X , Y) X = 20 , Y = 40 dann musst du einsetzen x = 1200/20, Y=800/20, so ermittelt er dir die exakte position ;) wenn du die X und Y werte deiner auflösung davor mit einem geteilt zeichen setzt =)
04/06/2008 11:02 Kupka#356
Oh yeah i bind one key in wrong order ^^
thanks anyway bot is great working
04/06/2008 13:52 Gabba2#357
Quote:
Originally Posted by djsylver View Post
Hab zwei Fragen:

1. Könnte man nicht eine Bilderkennung einbauen um die Punkte abzugeben? Heisst der Bot macht einen Screen davon wenn er "H" drückt und vergleicht dann diesen Screen mit einem anderen wo 10000/10000 steht. Der Bot weiß dann das die 10k Punkte voll sind und geht zum abgeben. Nen Kumpel hat das mit gfxmatch und ACA Capture Pro mal gemacht und das klappte sehr gut, nur weiß ich nicht wie kompatibel das zum jetzigen Bot ist. Hätte den Vorteil das überflüssige Runs wegfallen.

Das gleiche kann man natürlich mit den Laufwegen nach drausen machen, heisst der Bot macht ein Screen um zu wissen wo er steht, vergleicht diesen mit der jeweiligen Vorlage ( nord, ost usw ) und läuft dann raus.

2. Könntest du eventuell nach einer bestimmten Anzahl von Runs eine Random Pause einbauen? Also quasi 15 Runs zb. und dann zwischen 5 Minuten und 30 Minuten Kaffepause :D

1.
Das muss nichmal so kompliziert sein du musst einfach einen Pixel abchecken ob der so is wie er soll oder nich wie das geht hab ich irg wo hier schonmal gepostet war aber noch für den alten bot aber das kannst ja auf den neuen au anwenden.
Und wo er steht findet er ja auch mit dem Pixelabgleich raus warum sollt mans so kompliziert machn?
2.
Er hat ne Random Sleep Func drin. Zwar nicht nach ner bestimmten Run Anzahl sondern halt nach ner Zufalls Run Zahl (ich glaub alle 25 Runs) dann zwar nur 30 Sek bis 1 Min aber das kannst ja auch ändern halt die 25 zu ner größeren Zahl machn und die 30000ms-60000ms in beliebig größere Zahlen ändern.


€ @ GunneR: wer n Sleep von über 24 Tagen nach 25 Run einbaut dem is aber ohnehin nimma zu helfen^^
04/06/2008 14:13 MasteR GunneR#358
[Iro]
Nicht beliebig :) Bei 24 Tagen war afaik das Maximum erreicht.
[/Iro]
04/07/2008 17:09 Studen#359
wich version shall I use 1.0 , 1.1 or 1.2
Please awnser in english
04/07/2008 18:32 xSharkoonX#360
i think v1.2 is the best