You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2019. It is now read-only.
JunDao edited this page Jan 22, 2019
·
10 revisions
This guide shows how do you create a fishing robot using gomcbot.
After you join a server, use g.UseItem(true) to swing your rod (which hold in hand beforehand). Then listening the sound of fish hooked and call g.UseItem(true) again to reel-in.
fore:=rangeevents { //Reciving eventsswitche {
casemb.PlayerSpawnEvent:
fmt.Println("Player is spawn! start fishing!")
gofunc() {
g.SetSoundCallBack(func(sint32) {
ifs==184 { // 184 is the sound of fish hookedg.UseItem(true) //reelingtime.Sleep(time.Millisecond*500)
g.UseItem(true) //swing
}
})
g.UseItem(true) //swing
}()
}
}
After preparing fishing (look at water and hold a fishing rod), quit game and run the code. You could join with another account to check if robot is work.