Page 1 of 4 123 ... LastLast
Results 1 to 15 of 56
  1. #1
    limacezzz's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    336
    My Mood
    Inspired

    Lightbulb Nk Adventure Bot v1.2

    Adventure Bot

    What's new :
    Now working with trove in background !
    Now detecting up to 3 dungeons !

    Disclaimer :
    This bot is here to show everyone that you can do what you want if you got an idea.
    If you want a good adventure bot, you can make your own just editing my code.

    Info & Tuto :
    The 4th update of my adventure bot !

    To make it work :
    • Press "i" and disable everything except "Dungeons".
    • Then set the game to windowed mode.
    • Finally maximize this window.

    If this is not working (the bot is just /respawn-ing), check this tutorial :
    https://www.mpgh.net/forum/showthread.php?t=1358751




    Working in fire and water worlds, if you want to go in air just change this :
    Code:
    ControlSend,,{z down},ahk_id %Handle%
    ControlSend,,{d down},ahk_id %Handle%
    Sleep 200
    ControlSend,,{z up},ahk_id %Handle%
    Sleep 150
    ControlSend,,{d up},ahk_id %Handle%
    To this :
    Code:
    ControlSend,,{z down},ahk_id %Handle%
    ControlSend,,{q down},ahk_id %Handle%
    Sleep 200
    ControlSend,,{z up},ahk_id %Handle%
    Sleep 150
    ControlSend,,{q up},ahk_id %Handle%
    Explanations :
    This script will make you respawn.
    Then it sends keys to move to the rally blade and use it.
    Once teleported, it checks if you are in a dungeon by searching for it's logo (checking pixel color at logo location) on the top right of the screen.
    If the logo is found, the script checks every 5s if this logo is still here, and this, during 90s or until the dungeon is completed.
    If the dungeon is cleared before those 90s, the script will restart (/respawn...).

    To-do :
    Find the dungeon pointer (that shows up the dungeon logo).
    Improve delays between keys sending.
    Enable multi-acc.
    Adapt to different resolutions...

    I'm opened to all of your ideas and suggestions


    AHK Script :
    Code:
    	;get window handle
    	WinGet, win_ids, ID, Trove
    	
    	;TO-DO : edit for multi account
    	Handle := win_ids
    	
    	;To avoid some bugs
    	SetKeyDelay, 40	
    	
    	Loop {	
    		Sleep 200
    		ControlSend,,{w},ahk_id %Handle%
    		Sleep 100
    		ControlSend,,{z down},ahk_id %Handle%
    		ControlSend,,{d down},ahk_id %Handle%
    		Sleep 100
    		ControlSend,,{Space},ahk_id %Handle%
    		Sleep 200
    		ControlSend,,{Space},ahk_id %Handle%
    		Sleep 200
    		ControlSend,,{Space},ahk_id %Handle%
    		Sleep 200
    		ControlSend,,{Space},ahk_id %Handle%
    		Sleep 200
    		ControlSend,,{Space},ahk_id %Handle%
    		Sleep 200
    		ControlSend,,{Space down},ahk_id %Handle%
    		Sleep 600		
    		ControlSend,,{z up},ahk_id %Handle%
    		ControlSend,,{d up},ahk_id %Handle%
    		ControlSend,,{Space up},ahk_id %Handle%
    
    		Sleep 200
    		;respawn to the rally blade and use it	
    		ControlSend,,{Enter}{Shift down}/{Shift up}respawn{Enter},ahk_id %Handle%
    		Sleep 1000
    		ControlSend,,e,ahk_id %Handle%
    		;Send {e}
    		Sleep 2000
    		ControlSend,,w,ahk_id %Handle%
    		ControlSend,,{z down},ahk_id %Handle%
    		ControlSend,,{d down},ahk_id %Handle%
    		Sleep 200
    		ControlSend,,{z up},ahk_id %Handle%
    		Sleep 150
    		ControlSend,,{d up},ahk_id %Handle%
    		Sleep 1000
    		ControlSend,,e,ahk_id %Handle%
    		Sleep 3000
    
    		TimeOut = 0
    		LastTime = 0
    		Loop {
    			;detect a dungeon			
    			Dungeon1 := DwmGetPixel(1563, 120, ahk_id %Handle%)
    			Dungeon2 := DwmGetPixel(1563, 193,ahk_id %Handle%)
    			Dungeon3 := DwmGetPixel(1563, 266,ahk_id %Handle%)
    			if (Dungeon1 = "0xe9fa"||Dungeon2 = "0x4ff1fb"||Dungeon3 = "0x9af7fe")
    			{
    				LastTime = 1
    				if (TimeOut = 18)
    				{
    					;break after 5000ms*18=90s in uncleared dungeon
    					break
    				}
    				TimeOut++				
    				;fake human moves in 5000ms loop
    				Sleep 500
    				ControlSend,,&,ahk_id %Handle%				
    				Sleep 4500
    			}
    			else
    			{
    				if (LastTime = 1)
    				{
    					;time to loot !
    					ControlSend,,{e down},ahk_id %Handle%
    					;wait for the chest to be destroyed
    					Sleep 6000
    					ControlSend,,{e up},ahk_id %Handle%
    				}
    				break
    			}
    		}
    	}	
    
    Numpad0::ExitApp
    Numpad1::Pause,,1 
    
    DwmGetPixel(x, y, hwnd)
    {
       hDC := DllCall("user32.dll\GetDCEx", "UInt", hwnd, "UInt", 0, "UInt", 1|2)
       pix := DllCall("gdi32.dll\GetPixel", "UInt", hDC, "Int", x, "Int", y, "UInt")
       DllCall("user32.dll\ReleaseDC", "UInt", hwnd, "UInt", hDC)
       pix := DecToHex(pix)
       return pix
    }
    DecToHex(dec)
    {
       oldfrmt := A_FormatInteger
       hex := dec
       SetFormat, IntegerFast, hex
       hex += 0
       hex .= ""
       SetFormat, IntegerFast, %oldfrmt%
       return hex
    }
    Virus scans :
    https://virusscan.jotti.org/fr-FR/fi...job/2zj9ryjwwz
    https://www.virustotal.com/fr/file/7...is/1523840072/
    <b>Downloadable Files</b> Downloadable Files
    Last edited by T-800; 03-05-2020 at 10:05 AM.
    "Open source enables a development method for software that harnesses the power of distributed peer review and transparency of process.
    The promise of open source is higher quality, better reliability, greater flexibility, lower cost, and an end to predatory vendor lock-in."

    -> Gem farming bot

  2. The Following 121 Users Say Thank You to limacezzz For This Useful Post:

    446426 (01-09-2019),aefza003 (05-18-2018),alex2910cr (10-14-2018),andresgan (06-20-2018),Aneka (08-05-2018),AntivistBik (10-05-2018),apaini0909 (10-18-2019),apbmonkeys (04-20-2018),apinamies432 (09-03-2019),Archie2525 (05-21-2018),armiatack (12-30-2019),Azeal (06-14-2018),bakb99 (04-29-2018),benshapiro_ (09-28-2019),BichinhoAssanhado (08-26-2018),BLURREDDOGE (06-09-2018),Breno007 (09-13-2019),bubla124 (08-01-2018),Chanlesis (09-06-2018),coltec23 (09-15-2019),coma1209 (04-15-2018),costasxarmpis22 (12-01-2018),Cshesz1217 (07-30-2018),damianekk (04-16-2018),darkvigh (09-19-2019),dartn45 (06-29-2019),Dekirai (04-22-2018),Ebanievrot (11-10-2019),EmirAXE (09-22-2019),fletras (05-15-2018),FraseCiliado (09-30-2019),gamiro (06-09-2018),Geraldo1811 (07-15-2019),gigino (04-20-2018),guiguifrozem (06-08-2018),Haics (01-21-2019),hellshackcom17 (08-20-2019),hgxzz (06-25-2018),hklitzke (08-15-2018),id1573 (06-07-2018),igo rr (04-19-2018),inspecter51 (07-22-2019),IWantToHackGames (08-17-2018),jarditox (08-10-2018),jay3425 (07-11-2018),jesus4617 (05-17-2018),jhearulez (06-24-2018),jogo123 (04-22-2018),julianpelle (09-21-2019),Just_neet (05-12-2020),kalashun (08-13-2018),Kappatian Levi (05-20-2018),karahan267 (07-10-2019),KeyBorden (06-25-2018),Kiiro24750 (04-28-2018),koongame (09-07-2018),Kraetur (06-13-2018),KUOYUCHING (09-14-2019),Laudy (05-11-2018),lighting09 (06-13-2018),ligrim (04-29-2018),Lysu (07-17-2018),madamie (05-17-2018),mat9111 (05-26-2018),matixbyx (06-25-2018),mazanitax (08-12-2018),MisterApollo (05-13-2019),MrTrololoev (09-27-2018),narsean (08-29-2019),nasau333 (02-18-2019),NeaZen (04-28-2018),NEWPHONEWHODISLOOLOL (06-05-2018),nianzzzzz (04-17-2018),NPB420 (08-17-2018),okisbuddy (06-02-2018),oscar527 (08-03-2018),PabloEx (05-03-2018),Pennylin (04-16-2018),PepePelaa (05-19-2019),poiuy654853 (07-09-2019),pooko00123 (10-21-2018),procstar (05-16-2018),Q418409136 (09-21-2018),qooxzqoo (06-23-2018),Qubekss (08-28-2019),RageBladeTalon (09-03-2019),RasmusWagenius (04-19-2018),respectnob (11-17-2018),rGAREGaergergergerg (09-29-2019),ricardo_9000 (11-29-2018),roguewolfhd (04-26-2018),Rudol Von Stroheim (04-23-2018),sammycr (07-03-2018),Scrooler21 (08-18-2018),SheddSky (03-24-2019),Shidhe (08-03-2018),shooter47 (10-13-2018),skafian (04-26-2018),Sokaii (07-15-2019),SpyKlim (04-25-2018),SsSoul (07-13-2019),StarlifeGaming (05-17-2018),supersaint (05-28-2018),super_chicken101 (04-15-2018),TcNibba (10-07-2018),titiojapa (05-20-2018),tlfxtoskaman (05-13-2018),TN9007723 (06-20-2018),tonioss22 (08-22-2018),toxicballer (08-21-2018),Tuizinn (04-05-2019),txicsnk88 (10-08-2018),UnderFear (11-01-2019),VPMLCLK (09-18-2019),Wayon (04-16-2018),willknd (05-06-2018),XxghostITxX (09-30-2019),YOLOAXE (08-23-2018),Yushimiitsuu (08-01-2018),zxzxsazxzx456 (04-29-2018),_Nub (10-22-2018)

  3. #2
    XXModzXX_Modz's Avatar
    Join Date
    Mar 2018
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    Nice looks good

  4. #3
    Gizmozaic's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    Hi there. I changed some values to match my qwerty keyboard so the movement and the respawning works, but I am running into a similar problem as the last time, it isn't scanning for the dungeon stars, I have it in window mode maximized, my normal screen res is 1920x1080

  5. #4
    limacezzz's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    336
    My Mood
    Inspired
    Quote Originally Posted by Gizmozaic View Post
    Hi there. I changed some values to match my qwerty keyboard so the movement and the respawning works, but I am running into a similar problem as the last time, it isn't scanning for the dungeon stars, I have it in window mode maximized, my normal screen res is 1920x1080
    Did you disabled everything but dungeons on the top right corner ? It should work, you have the same resolution as me
    "Open source enables a development method for software that harnesses the power of distributed peer review and transparency of process.
    The promise of open source is higher quality, better reliability, greater flexibility, lower cost, and an end to predatory vendor lock-in."

    -> Gem farming bot

  6. #5
    Gizmozaic's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    Everything is disabled, except for dungeons, is it possible that my layout looks different somehow, maybe I can take a screenshot or something.

    - - - Updated - - -

    Does the top right of your dungeon screen look like this?


    https://ibb.co/b69dZ7
    Last edited by Gizmozaic; 04-15-2018 at 04:45 PM.

  7. #6
    limacezzz's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    336
    My Mood
    Inspired
    Last edited by limacezzz; 04-15-2018 at 06:51 PM. Reason: Tutorial
    "Open source enables a development method for software that harnesses the power of distributed peer review and transparency of process.
    The promise of open source is higher quality, better reliability, greater flexibility, lower cost, and an end to predatory vendor lock-in."

    -> Gem farming bot

  8. #7
    tekgod's Avatar
    Join Date
    Feb 2018
    Gender
    female
    Posts
    5
    Reputation
    10
    Thanks
    0
    What Does This Button Actually Do? Dungeons alone?

  9. #8
    damianekk's Avatar
    Join Date
    Apr 2018
    Gender
    female
    Posts
    4
    Reputation
    10
    Thanks
    0
    i cant download

  10. #9
    I got ants in my butt, and I needs to strut.
    Premium Seller
    Former Staff
    Premium Member
    Trusted
    Wyo's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Guadalajara
    Posts
    24,113
    Reputation
    4354
    Thanks
    4,203
    My Mood
    Lurking
    safe and clean not tested

  11. #10
    damianekk's Avatar
    Join Date
    Apr 2018
    Gender
    female
    Posts
    4
    Reputation
    10
    Thanks
    0
    why this script writes ?respawn and not ./respawn

  12. #11
    theahicks616's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    change the script from
    ControlSend,,{Enter}{Shift down}/{Shift up}respawn{Enter},ahk_id %Handle%
    to
    ControlSend,,{Enter}{Shift up}/{Shift up}respawn{Enter},ahk_id %Handle%

  13. #12
    damianekk's Avatar
    Join Date
    Apr 2018
    Gender
    female
    Posts
    4
    Reputation
    10
    Thanks
    0
    he run forward and dont press blade

  14. #13
    daffedf's Avatar
    Join Date
    Jul 2017
    Gender
    male
    Posts
    31
    Reputation
    10
    Thanks
    0
    Looks quite dam sick

  15. #14
    Dekirai's Avatar
    Join Date
    Apr 2018
    Gender
    male
    Location
    Germany
    Posts
    3
    Reputation
    10
    Thanks
    1
    For me the bot permanently walks against this wall instead of using the blade

    https://prntscr.com/j8kc4c

    Fixed by adding

    ControlSend,,{s down},ahk_id %Handle%

    and

    ControlSend,,{s up},ahk_id %Handle%
    Sleep 150
    Last edited by Dekirai; 04-22-2018 at 07:12 AM.

  16. The Following User Says Thank You to Dekirai For This Useful Post:

    limacezzz (04-23-2018)

  17. #15
    Rudol Von Stroheim's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    America
    Posts
    2,096
    Reputation
    189
    Thanks
    473
    My Mood
    Dead
    Good work

  18. The Following User Says Thank You to Rudol Von Stroheim For This Useful Post:

    limacezzz (04-24-2018)

Page 1 of 4 123 ... LastLast

Similar Threads

  1. [Outdated] Nk Adventure Bot v1.0
    By limacezzz in forum Trove Hacks & Cheats
    Replies: 25
    Last Post: 03-05-2020, 10:04 AM
  2. [Outdated] Adventure Bot [Update]
    By limacezzz in forum Trove Hacks & Cheats
    Replies: 26
    Last Post: 03-05-2020, 10:03 AM
  3. [Outdated] Adventure Bot
    By limacezzz in forum Trove Hacks & Cheats
    Replies: 14
    Last Post: 02-18-2018, 08:12 AM
  4. [Release] tons of adventure quest worlds bots
    By joshmary in forum Adventure Quest Worlds (AQW) Hacks / Cheats / Trainers
    Replies: 9
    Last Post: 03-22-2013, 01:22 PM
  5. need hack for bots acclaim or mechquest or adventure quest
    By hobbit08 in forum General Hacking
    Replies: 2
    Last Post: 01-26-2012, 10:47 PM