HOLYBEAST bot autorelogin and autopot

08/31/2009 13:43 snow9#1
im making a bot for holybeast online
i have the autologin already, auto pot wont be hard, but now im developing the bot
and i have some troubles, so as soon as its released, ill post it on elitepvpers
08/31/2009 14:43 suncabal#2
thank
08/31/2009 16:39 snow9#3
[Only registered and activated users can see links. Click Here To Register...]
heres what i got until now
only the auto pot and login work, you need a desktop and game resolution of 1280x1024
i have only 1 post, so you prob dont trust me, scan it for yourself, and else dont download
it also includes the bot script (hunt) but it isnt finished
and autohunt is just a test

for the autologin:
start ijji reactor, login, and click on holybeast, then start the autologin.exe and you autostart the game, and if you dc, it should auto restart

for the pot:
place pots in f3 (lost 1/4 life)
f4 (lost 1/2 life)
f5 (lost 3/4 life)

if you die, the bot will auto shut down, and a message will be displayed: you died
09/01/2009 18:14 meellee#4
thank you
09/20/2009 18:01 flipboi15#5
pot.exe doesnt work for me, it says:

Line -1:
Error: "Wend" statement has no matching "while" statement
09/27/2009 12:31 snow9#6
i found out that if you pixelsearch for a color, you cant find life and mana , invetory, quests, petlife etc
only the monsters and background, so autopot wont work, srry guys
i improved my bot program and now i can select the mobs, but since i cant scan for life i dont know when they die
so gotta improve that too
what i have until now:

-no autopot
-autologin(you need to login to ijji's reactor, and then start autologin, (i could make an option that the program inserts your username and pasword, but alot of people wont trust this, and it takes like 2 secs to do it yourself) and then start holybeast, when holybeast exits or disconnects, it will auto shutdown and try to reconnect and relogin until it works
until now it autologin with the middle character if you have 3 chars
im also gonna add an option so you can choose for the second and third character
-a bot that can select monsters attack them, and loot the stuff, but the bot doesnt know when the monster dies, so i dont know when i have to reselect a mob

and if someone could help me with silkroad bot, i found a autopot for sro for private servers and a loader, both made with autologin, since i use the same program, it would be nice if i could see the source code somewhere
could helkp me alot for this bot :D

maybe something important show up here
[Only registered and activated users can see links. Click Here To Register...]
ps: im not aznbebeangel, scrol down
09/29/2009 07:14 Kiramisa14#7
here's snows bot but i edited it hope it works for you guys ..
here's the download link ..
[Only registered and activated users can see links. Click Here To Register...]

dont forget to hit thanks to snow ..

happy hacking guys!!
09/29/2009 16:31 snow9#8
ok i looked at the script, thx for it
but could you help me make the bot faster?
now it justs attacks 2 seconds, and loots 1 item

end pauses the bot
home starts the bot
in your bar 1 is attack
2 is loot

but i need an option to know when the mob is dead
but i cant write c++ etc
should this be possible with autoit?
09/29/2009 17:36 drastic_metal#9
is that the correct download link Kiramisa14? because is just 415bytes.....and is in AU3 format.....O_o?
09/30/2009 12:48 snow9#10
its a small file
au3 is an auto it file
i could convert it to an exe file
but when it is au3, you can read the code, and see how it works and it is no virus
the only thing it does is attack for 2 secs, loot, select another mob
so if the mob is still alive, your so dead
also no autopot
so you have to fight mobs a really low lvl
you could ad autopot function timed
but same prob as this bot

so lets look for another solution
10/18/2009 06:55 excedon#11
i hope you guys are still in the process of developing the bot program. Appreciate if you could share it. ^_^
10/20/2009 02:03 Zemallo#12
so how exactly do i make this work im really fuzzy on how to do it x.x
10/21/2009 10:42 ryuyuurui#13
i foudn this on a chinese website used a program call EZScript and heres the warrior script, anyone know how to work this out?
/-----------------------------------------
//-----------------------------------------
Var1 = 0 //原點打怪程序..啟動1.關閉0
Var2 = 0 //補助技能[戰意燃燒]..啟動1.關閉0
Var3 = 0 //補助技能[迅擊術]..啟動1.關閉0
Var4 = 0 //補助技能[元神護體]..啟動1.關閉0
Var5 = 0 //補助技能[咆嘯]..啟動1.關閉0
Var6 = 1 //撿東西程序..啟動1.關閉0
Var7 = 0 //取消交易.好友.組隊功能..啟動1.關閉0
Var8 = 0 //遇人自動說話.啟動1.關閉0..[使用時請將小地圖放到最大]
Pos1 = 0 //遇人暫停腳本.走後繼續..啟動1.關閉0..[使用時請將小地圖放到最大]
Pos2 = 80 //補HP.請設定%數.1-99之間.預設是80%補血
Pos3 = 1 //設定是否使用備用武器2..啟用1.關閉0..[使用弓請關閉備武2.將箭矢放在F10]
Pos4 = 10 //防卡點程序.建議設定在5-30之間.[打怪物的次數.幾次後如果怪物的血量是滿的.重新執行]
Pos5 = 0 //設定是否使用範圍內打怪..啟用1.關閉0
Pos6 = 10 //設定範圍..[必須啟動範圍內打怪]
//-----------------------------------------
ExtVar[17] = ReadMemory[0x00717E28,3] //X座標
ExtVar[18] = ReadMemory[0x00717E24,3] //y座標
//-----------------------------------------
Start_FOD: //原點程序
If Var1 = 1
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
While ExtVar[0] = -1
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
Delay(500)
Wend
End If
CAll GET_MP
Return
//----------------------------------------
GET_MP: //補助技能程序
ExtVar[4] = GetPicPos["Picture\cc.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F4的圖片
ExtVar[5] = GetPicPos["Picture\dd.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F5的圖片
ExtVar[6] = GetPicPos["Picture\ee.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F6的圖片
ExtVar[7] = GetPicPos["Picture\ff.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F7的圖片
If Var2 = 1
If ExtVar[4] = -1 //戰意燃燒
KeyPress(115)
Delay(2500)
End If
End If
If Var3 = 1
If ExtVar[5] = -1 //迅擊術
KeyPress(116)
Delay(2500)
End If
End If
If Var4 = 1
If ExtVar[6] = -1 //元神護體
KeyPress(117)
Delay(2500)
End If
End If
If Var5 = 1
If ExtVar[7] = -1 //咆嘯
KeyPress(118)
Delay(2500)
End If
End If
Call Look_For_Map_Atk
Return
//-----------------------------------------
Look_For_Map_Atk: //搜尋怪程序
ExtVar[3] = 0
ExtVar[25] = 0
ExtVar[26] = 0
KeyPress(9)
Delay(100)
ExtVar[8] = Color[XY2Pos[840, 36], 50]
If ExtVar[8] < 3096319 //搜尋到怪的血量有人打過就重新搜尋,避免發生搶怪
Call Look_For_Map_Atk
End If
Call OVER
Return
//-----------------------------------------
OVER: //打完怪物程序
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30] //普通怪物
ExtVar[1] = GetPicPos["Picture\aa.bmp",XY2Pos[643,0],XY2Pos[695,51],30] //洞內怪物
ExtVar[2] = GetPicPos["Picture\hh.bmp",XY2Pos[643,0],XY2Pos[695,51],30] //王
While ExtVar[0] > -1 || ExtVar[1] > -1 || ExtVar[2] > -1
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
ExtVar[1] = GetPicPos["Picture\aa.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
ExtVar[2] = GetPicPos["Picture\hh.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
KeyPress(112)
Delay(100)
ExtVar[3] = ExtVar[3]+1 //防卡點程序
If ExtVar[3] > Pos4
ExtVar[9] = Color[XY2Pos[840, 36, ], 50]
If ExtVar[9] = 3096319
Call Look_For_Map_Atk
End If
End If
Call HP
Wend
Call Take_Something
Return
//-----------------------------------------
HP: //補血程序
ExtVar[10] = GetColorPos[3096319,XY2Pos[Pos2*1.14+100,36],XY2Pos[214,39]] //HP
If ExtVar[10] = -1
KeyPress(114)
End If
ExtVar[11] = GetColorPos[3096319,XY2Pos[30*1.14+100,36],XY2Pos[214,39]] //HP低於30%回城
If ExtVar[11] = -1
KeyPress(119)
Delay(3000)
Stop
End If
Call BAD
Return
//-----------------------------------------
BAD: //武器更換程序
ExtVar[12] = GetPicPos["Picture\bad.bmp",XY2Pos[380,113],XY2Pos[404,134],30]
If ExtVar[12] > -1 //武器損壞替換
Delay(100)
ExtVar[13] = ExtVar[13]+1
If ExtVar[13] = 1 || ExtVar[13] = 3 || ExtVar[13] = 5
KeyPress(120)
Delay(3000)
If Pos3 = 0
If ExtVar[13] = 3 || ExtVar[13] = 5
KeyPress(119)
Delay(3000)
Stop
End If
End If
End If
End If
If Pos3 = 1
ExtVar[12] = GetPicPos["Picture\bad.bmp",XY2Pos[380,113],XY2Pos[404,134],30]
If ExtVar[12] > -1 //武器損壞替換
Delay(100)
If ExtVar[13] = 2 || ExtVar[13] = 4 || ExtVar[13] = 6
KeyPress(121)
Delay(3000)
End If
End If
End If
ExtVar[12] = GetPicPos["Picture\bad.bmp",XY2Pos[380,113],XY2Pos[404,134],30]
If ExtVar[12] > -1 //全部武器損壞回城
Delay(100)
If ExtVar[13] > 7
KeyPress(119)
Delay(3000)
Stop
End If
End If
Call OVER
Return
//-----------------------------------------
Take_Something: //撿東西程序
If Var6 = 1
KeyPress(113)
Delay(700)
KeyPress(113)
Delay(700)
KeyPress(113)
Delay(700)
End If
Call Cancel
Return
//-----------------------------------------
Cancel: //取消組隊.交易.好友功能.自動說話功能
If Var7 = 1
ExtVar[14] = GetPicPos["Picture\ii.bmp",XY2Pos[514,419],XY2Pos[558,436],30]
If ExtVar[14] > -1
MouseMove XY2Pos[535,427]
Delay(1000)
Left DbClick
Delay(1000)
End If
End If
If Var8 = 1
ExtVar[15] = GetPicPos["Picture\say.bmp",XY2Pos[871,41],XY2Pos[980,113],30]
If ExtVar[15] > -1
KeyPress(13)
Delay(500)
Text "請不要搶點好嗎??非常感謝" //請在" "之間輸入你想說的話
Delay(500)
KeyPress(13)
Delay(500)
MouseMove XY2Pos[520,388]
Delay(500)
Left DbClick
End If
End If
If Pos1 = 1
ExtVar[16] = GetPicPos["Picture\say.bmp",XY2Pos[871,41],XY2Pos[980,113],30]
While ExtVar[16] > -1 //遇人停止腳本
ExtVar[16] = GetPicPos["Picture\say.bmp",XY2Pos[871,41],XY2Pos[980,113],30]
Delay(1000)
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
If ExtVar[0] > -1 //被紅怪打反擊
Call OVER
End If
Wend
End If
Call FOP
//-----------------------------------------
FOP:
If Pos5 = 1
ExtVar[19] = ReadMemory[0x00717E28,3] //X座標
ExtVar[20] = ReadMemory[0x00717E24,3] //y座標
ExtVar[21] = ExtVar[17]+Pos6
ExtVar[22] = ExtVar[17]-Pos6
ExtVar[23] = ExtVar[18]+Pos6
ExtVar[24] = ExtVar[18]-Pos6
While ExtVar[19] > ExtVar[21]
ExtVar[19] = ReadMemory[0x00717E28,3] //X座標
MouseMove XY2Pos[162,398]
Left DbClick
Delay(500)
ExtVar[25] = ExtVar[25]+1 //防卡點程序
If ExtVar[25] = 20
Call Look_For_Map_Atk
End If
Wend
While ExtVar[19] < ExtVar[22]
ExtVar[19] = ReadMemory[0x00717E28,3] //X座標
MouseMove XY2Pos[832,398]
Left DbClick
Delay(500)
ExtVar[25] = ExtVar[25]+1 //防卡點程序
If ExtVar[25] = 20
Call Look_For_Map_Atk
End If
Wend
While ExtVar[20] > ExtVar[23]
ExtVar[20] = ReadMemory[0x00717E24,3] //y座標
MouseMove XY2Pos[511,623]
Left DbClick
Delay(500)
ExtVar[26] = ExtVar[26]+1 //防卡點程序
If ExtVar[26] = 20
Call Look_For_Map_Atk
End If
Wend
While ExtVar[20] < ExtVar[24]
ExtVar[20] = ReadMemory[0x00717E24,3] //y座標
MouseMove XY2Pos[505,95]
Left DbClick
Delay(500)
ExtVar[26] = ExtVar[26]+1 //防卡點程序
If ExtVar[26] = 20
Call Look_For_Map_Atk
End If
Wend
End If
Call Start_FOD
Return
//-----------------------------------------
10/23/2009 04:08 wazhanudin#14
anyone, can translate it to english.?
10/23/2009 04:39 ryuyuurui#15
Var1 = 0 //Origin Farming..Enable1.Disable0
Var2 = 0 //Support Skill[Victory Strenth]..Enable1.Disable0
Var3 = 0 //Support Skill[Speed Attack]..Enable1.Disable0
Var4 = 0 //Support Skill[Bless]..Enable1.Disable0
Var5 = 0 //Support Skill[Howl]..Enable1.Disable0
Var6 = 1 //AutoLoot..Enable1.Disable0
Var7 = 0 //Cancel Group Friend Pack Invite..Enable1.Disable0
Var8 = 0 //Auto Talk When See Ppl.Enable1.Disable0..[When Use Please Maximize Mini Map]
Pos1 = 0 //When detect people close by, stop bot, enable after leave ..Enable1.Disable0..[When Use please Maximize Mini Map]
Pos2 = 80 //Auto Heal Hp at percentage.from 1-99. Set at 80 %
Pos3 = 1 //Change to Back Up Weapon..Enable1.Disable0..[使用弓請關閉備武2.將箭矢放在F10]
Pos4 = 10 //防卡點程序.建議設定在5-30之間.[打怪物的次數.幾次後如果怪物的血量是滿的.重新執行]
Pos5 = 0 //Set Auto Bot in Range..Enable1.Disable0
Pos6 = 10 //Set Range..[Must enable Auto Bot In Rage]
//-----------------------------------------
ExtVar[17] = ReadMemory[0x00717E28,3] //X Axis
ExtVar[18] = ReadMemory[0x00717E24,3] //y Axis
//-----------------------------------------
Start_FOD: //Origin Botting
If Var1 = 1
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
While ExtVar[0] = -1
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
Delay(500)
Wend
End If
CAll GET_MP
Return
//----------------------------------------
GET_MP: //Support Skill
ExtVar[4] = GetPicPos["Picture\cc.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F4的圖片
ExtVar[5] = GetPicPos["Picture\dd.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F5的圖片
ExtVar[6] = GetPicPos["Picture\ee.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F6的圖片
ExtVar[7] = GetPicPos["Picture\ff.bmp",XY2Pos[50,577],XY2Pos[224,620],30] //F7的圖片
If Var2 = 1
If ExtVar[4] = -1 //Victory Strenth
KeyPress(115)
Delay(2500)
End If
End If
If Var3 = 1
If ExtVar[5] = -1 //Speed Attack
KeyPress(116)
Delay(2500)
End If
End If
If Var4 = 1
If ExtVar[6] = -1 //Bless
KeyPress(117)
Delay(2500)
End If
End If
If Var5 = 1
If ExtVar[7] = -1 //Howl
KeyPress(118)
Delay(2500)
End If
End If
Call Look_For_Map_Atk
Return
//-----------------------------------------
Look_For_Map_Atk: //Search For Monster
ExtVar[3] = 0
ExtVar[25] = 0
ExtVar[26] = 0
KeyPress(9)
Delay(100)
ExtVar[8] = Color[XY2Pos[840, 36], 50]
If ExtVar[8] < 3096319 //Avoid Steal Kill
Call Look_For_Map_Atk
End If
Call OVER
Return
//-----------------------------------------
OVER: //After Killing Monster
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30] //Normal Monsters
ExtVar[1] = GetPicPos["Picture\aa.bmp",XY2Pos[643,0],XY2Pos[695,51],30] //Cave Monsters
ExtVar[2] = GetPicPos["Picture\hh.bmp",XY2Pos[643,0],XY2Pos[695,51],30] //Boss
While ExtVar[0] > -1 || ExtVar[1] > -1 || ExtVar[2] > -1
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
ExtVar[1] = GetPicPos["Picture\aa.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
ExtVar[2] = GetPicPos["Picture\hh.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
KeyPress(112)
Delay(100)
ExtVar[3] = ExtVar[3]+1 //防卡點程序
If ExtVar[3] > Pos4
ExtVar[9] = Color[XY2Pos[840, 36, ], 50]
If ExtVar[9] = 3096319
Call Look_For_Map_Atk
End If
End If
Call HP
Wend
Call Take_Something
Return
//-----------------------------------------
HP: //Auto Heal
ExtVar[10] = GetColorPos[3096319,XY2Pos[Pos2*1.14+100,36],XY2Pos[214,39]] //HP
If ExtVar[10] = -1
KeyPress(114)
End If
ExtVar[11] = GetColorPos[3096319,XY2Pos[30*1.14+100,36],XY2Pos[214,39]] //Auto Escape When HP Below 30%
If ExtVar[11] = -1
KeyPress(119)
Delay(3000)
Stop
End If
Call BAD
Return
//-----------------------------------------
BAD: //Weapon Exchange
ExtVar[12] = GetPicPos["Picture\bad.bmp",XY2Pos[380,113],XY2Pos[404,134],30]
If ExtVar[12] > -1 //Weapon Durability Low Change
Delay(100)
ExtVar[13] = ExtVar[13]+1
If ExtVar[13] = 1 || ExtVar[13] = 3 || ExtVar[13] = 5
KeyPress(120)
Delay(3000)
If Pos3 = 0
If ExtVar[13] = 3 || ExtVar[13] = 5
KeyPress(119)
Delay(3000)
Stop
End If
End If
End If
End If
If Pos3 = 1
ExtVar[12] = GetPicPos["Picture\bad.bmp",XY2Pos[380,113],XY2Pos[404,134],30]
If ExtVar[12] > -1 //When Weapon Durability Low Exchange to
Delay(100)
If ExtVar[13] = 2 || ExtVar[13] = 4 || ExtVar[13] = 6
KeyPress(121)
Delay(3000)
End If
End If
End If
ExtVar[12] = GetPicPos["Picture\bad.bmp",XY2Pos[380,113],XY2Pos[404,134],30]
If ExtVar[12] > -1 //Auto Escape/Town When All weapons At Low Durability
Delay(100)
If ExtVar[13] > 7
KeyPress(119)
Delay(3000)
Stop
End If
End If
Call OVER
Return
//-----------------------------------------
Take_Something: //Auto Loot
If Var6 = 1
KeyPress(113)
Delay(700)
KeyPress(113)
Delay(700)
KeyPress(113)
Delay(700)
End If
Call Cancel
Return
//-----------------------------------------
Cancel: //Cancel Friend/Group/Etc Invite
If Var7 = 1
ExtVar[14] = GetPicPos["Picture\ii.bmp",XY2Pos[514,419],XY2Pos[558,436],30]
If ExtVar[14] > -1
MouseMove XY2Pos[535,427]
Delay(1000)
Left DbClick
Delay(1000)
End If
End If
If Var8 = 1
ExtVar[15] = GetPicPos["Picture\say.bmp",XY2Pos[871,41],XY2Pos[980,113],30]
If ExtVar[15] > -1
KeyPress(13)
Delay(500)
Text "Please Dont Steal My Spot" //Please Input text you want to say betwen " "
Delay(500)
KeyPress(13)
Delay(500)
MouseMove XY2Pos[520,388]
Delay(500)
Left DbClick
End If
End If
If Pos1 = 1
ExtVar[16] = GetPicPos["Picture\say.bmp",XY2Pos[871,41],XY2Pos[980,113],30]
While ExtVar[16] > -1 //Detect People Around auto disable bot
ExtVar[16] = GetPicPos["Picture\say.bmp",XY2Pos[871,41],XY2Pos[980,113],30]
Delay(1000)
ExtVar[0] = GetPicPos["Picture\bb.bmp",XY2Pos[643,0],XY2Pos[695,51],30]
If ExtVar[0] > -1 //When Being attack by aggressive monsters, fight back
Call OVER
End If
Wend
End If
Call FOP
//-----------------------------------------
FOP:
If Pos5 = 1
ExtVar[19] = ReadMemory[0x00717E28,3] //X Axis
ExtVar[20] = ReadMemory[0x00717E24,3] //y Axis
ExtVar[21] = ExtVar[17]+Pos6
ExtVar[22] = ExtVar[17]-Pos6
ExtVar[23] = ExtVar[18]+Pos6
ExtVar[24] = ExtVar[18]-Pos6
While ExtVar[19] > ExtVar[21]
ExtVar[19] = ReadMemory[0x00717E28,3] //X Axis
MouseMove XY2Pos[162,398]
Left DbClick
Delay(500)
ExtVar[25] = ExtVar[25]+1 //防卡點程序
If ExtVar[25] = 20
Call Look_For_Map_Atk
End If
Wend
While ExtVar[19] < ExtVar[22]
ExtVar[19] = ReadMemory[0x00717E28,3] //X Axis
MouseMove XY2Pos[832,398]
Left DbClick
Delay(500)
ExtVar[25] = ExtVar[25]+1 //防卡點程序
If ExtVar[25] = 20
Call Look_For_Map_Atk
End If
Wend
While ExtVar[20] > ExtVar[23]
ExtVar[20] = ReadMemory[0x00717E24,3] //y Axis
MouseMove XY2Pos[511,623]
Left DbClick
Delay(500)
ExtVar[26] = ExtVar[26]+1 //防卡點程序
If ExtVar[26] = 20
Call Look_For_Map_Atk
End If
Wend
While ExtVar[20] < ExtVar[24]
ExtVar[20] = ReadMemory[0x00717E24,3] //y Axis
MouseMove XY2Pos[505,95]
Left DbClick
Delay(500)
ExtVar[26] = ExtVar[26]+1 //防卡點程序
If ExtVar[26] = 20
Call Look_For_Map_Atk
End If
Wend
End If
Call Start_FOD
Return
//-----------------------------------------