Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 Main - Discussions / Questions
You last visited: Today at 18:54

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

 

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

Reply
 
Old   #1
 
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   #2
 
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   #3
 
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   #4
 
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   #5
 
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



« Previous Thread | Next Thread »

Similar Threads
eine frage wie man neue mobs in map1 rumlaufen lassen kann ?
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...
1 Replies - Metin2 PServer - Discussions / Questions
[Help]Habe eine Frage zu AutoIt
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...
4 Replies - AutoIt
Eine frage bitt helfen!!
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...
3 Replies - SRO PServer - Discussions / Questions
Noch eine AutoIT Frage!
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?
2 Replies - AutoIt



All times are GMT +1. The time now is 18:54.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.