Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 08:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



eine Frage/eine Frage auf fishbot in AutoIt - Lassen Sie jemand helfen!!

Discussion on eine Frage/eine Frage auf fishbot in AutoIt - Lassen Sie jemand helfen!! within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
massda's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 4
Received Thanks: 1
Unhappy eine Frage/eine Frage auf fishbot in AutoIt - Lassen Sie jemand helfen!!

Hi guys

I have a qestion for you, properly request...
Last time i try to write my own fishingbot for Metin2 in AutoIt and I have a little problems... ;( I create nice working GUI but the most important part of my program does not want to work properly. In example while I switch on my bot, he assumes bait, than he alleged properly and at this point his work is over. I think, I made a bad loop and bad $var's for PixelSearch() command. I have to admit I do not know how to write this part of script.;/

So please someone to put here fishbot script (may someone have not compiled script of fishing_beta_0.1.3i or other) or send this to me on e-mail (). Finally, I will be able to study the syntax of this script(this loop). I'll be very gratefoul.
massda is offline  
Thanks
1 User
Old 01/06/2009, 15:58   #2
 
eSpox's Avatar
 
elite*gold: 21
Join Date: Jul 2008
Posts: 2,680
Received Thanks: 1,471
+thread moved to right board(Metin2 Main Section)
+no Infraction given cause new member


please follow our board rules.

You can find our rules at:



You can find our FaQ at:




best regards

eSpox
eSpox is offline  
Old 01/06/2009, 16:11   #3
 
ivits's Avatar
 
elite*gold: 1
Join Date: Jul 2008
Posts: 419
Received Thanks: 89
Maybe you should show us the code , I think then we find the error
ivits is offline  
Old 01/06/2009, 23:19   #4
 
massda's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 4
Received Thanks: 1
Ok, I fixed some this bot code. I show you. That may work properly?
May I add three more loop's with other color parameter?
Can someone tell me whether the code is OK? (if it is not OK let someone tell me what should I change).I written this as a function under my GUI.

Quote:
Func Start_fishing()

Opt("PixelCoordMode", 1) ;absolute screen coordinates

$Wait = GUICtrlRead($Main_Time)+GUICtrlRead($Correct_Time)

Sleep(3000)
Send("{F3}");bait
Sleep(2000)
Send("{F4}");throw

while 1

$pix = PixelSearch( 431, 90, 500, 90, 0xFCF7FB , 10 ,2)

If Not @error Then

Sleep($Wait);period after fish icon

Send("{F4}");fishing skill

Sleep(2000)

Send("{F3}");bait

Sleep(2000)

Send("{F4}");throw

ContinueLoop

ElseIf $Exit=1 Then

$Exit=0
ExitLoop
EndIf

WEnd

EndFunc
Thanks a lot for any helpful advice's.
massda is offline  
Old 01/07/2009, 19:39   #5
 
massda's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 4
Received Thanks: 1
Smile

Look this guys with little help from user latemail i correct my bot code and now its work properly

I correct this:
Quote:
(...)
$pix = PixelSearch( 490, 90, 500, 90, 0xFFFFFF , 30 ,2) ;in defined area i search 30 shade variations of ;white color and step is 2
(...)
;and for keypressing i now use:
(...)
Opt("SendKeyDownDelay", 1000);This command hold key (any key) for 1s(1000ms).
Send("{(any key)}");work witch this command
latemail Thanks a lot

Possible, as soon I show you my bot.
massda is offline  
Reply


Similar Threads Similar Threads
eine frage wie man neue mobs in map1 rumlaufen lassen kann ?
06/18/2010 - Metin2 Private Server - 1 Replies
eine frage wie man neue mobs in ot rumlaufen lassen kann ? und wo die rumlaufen können weil habe zombis die sollten ot rek wise Rumlaufen...
[Help]Habe eine Frage zu AutoIt
02/15/2010 - AutoIt - 4 Replies
Hi Leute, ich habe eine Frage, die mir der ein oder andere sicher beantworten kann. Ich habe eine InputBox (als Variable)gemacht und möchte das was ich hinein schreibe, in WinWaitActive iwie benutzen. (Siehe spoiler ) Warum ? Weil ich einen Bot schreiben möchte, und dieser bezieht sich auf ein Fenster welches immer einen neuen Namen hat... $input = InputBox ("...", "...") WinWaitActive ($input)
Eine frage bitt helfen!!
01/30/2010 - SRO Private Server - 3 Replies
HI, Warum laggt das bei Swsro wenn ich auf einen Mob drücke dann dauert das bisschen bzw wenn ich blade nehem schlag der nicht schnell sonder langsam woran kann das liegen ist das lagg? :handsdown::handsdown::handsdown::handsdown:
Noch eine AutoIT Frage!
03/30/2009 - AutoIt - 2 Replies
Ich hab da noch eine Frage undzwar kann man mit AutoIT Nach Strings suchen? Ich kenne das aus Lua unter anderem mit string.find.Wie ist das in AutoIT?



All times are GMT +1. The time now is 08:55.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.