Quantcast

Jump to content


Photo

[Program] Neoquest's Auto Trainers


  • Please log in to reply
260 replies to this topic

#226 Liesa

Liesa
  • Foxy Lady


  • 2196 posts


Users Awards

Posted 06 March 2016 - 05:18 AM

Hmm it keeps giving me the 'can't find settings file' Can anyone PM me this? Or a suggestion on how to fix it.



#227 gerbil

gerbil
  • 47 posts

Posted 29 March 2016 - 11:49 AM

@Neoquest I know this is is an old project, but any plans to implement re-login? This is a necessity for me as I'd like to have this program running round the clock on an AWS instance.

 

If not, I'd be happy to look over the code base and implement it myself.



#228 Neoquest

Neoquest
  • 1760 posts


Users Awards

Posted 30 March 2016 - 08:58 PM

@Neoquest I know this is is an old project, but any plans to implement re-login? This is a necessity for me as I'd like to have this program running round the clock on an AWS instance.

 

If not, I'd be happy to look over the code base and implement it myself.

 

It's hacky, but you could just write a batch file to fire this bad boy off, wait a few minutes, kill, repeat on a schedule.



#229 sirvive

sirvive
  • 7 posts

Posted 02 April 2016 - 01:07 PM

Testing out different algorithms. Here is the first. 

if lvl < 20:
    next_stat = "Level"
if lvl = 20 and stren < 40:
    next_stat = "Strength"
if lvl = 20 and stren = 40 and defen < 40:
    next_stat = "Defence"
if lvl = 20 and stren = 40 and defen = 40 and hp < 60:
    next_stat = "Endurance"
if lvl < 40:
    next_stat = "Level"
if lvl = 40 and stren < 80:
    next_stat = "Strength"
if lvl = 40 and stren = 80 and defen < 80:
    next_stat = "Defence"
if lvl = 40 and stren = 80 and defen = 80 and hp < 120:
    next_stat = "Endurance"
if lvl < 80:
    next_stat = "Level"
if lvl = 80 and stren < 160:
    next_stat = "Strength"
if lvl = 80 and stren = 160 and defen < 160:
    next_stat = "Defence"
if lvl = 80 and stren = 160 and defen = 160 and hp < 200:
    next_stat = "Endurance"
if lvl < 100:
    next_stat = "Level"
if lvl = 100 and stren < 200:
    next_stat = "Strength"
if lvl = 100 and stren = 200 and defen < 200:
    next_stat = "Defence"
if lvl = 100 and stren = 200 and defen = 200 and hp < 240:
    next_stat = "Endurance"
if lvl < 120:
    next_stat = "Level"
if lvl = 120 and stren < 240:
    next_stat = "Strength"
if lvl = 120 and stren = 240 and defen < 240:
    next_stat = "Defence"
if lvl = 120 and stren = 240 and defen = 240 and hp < 300:
    next_stat = "Endurance"
if lvl < 150:
    next_stat = "Level"
if lvl = 150 and stren < 300:
    next_stat = "Strength"
if lvl = 150 and stren = 300 and defen < 300:
    next_stat = "Defence"
if lvl = 150 and stren = 300 and defen = 300 and hp < 400:
    next_stat = "Endurance"
if lvl < 200:
    next_stat = "Level"
if lvl = 200 and stren < 400:
    next_stat = "Strength"
if lvl = 200 and stren = 400 and defen < 400:
    next_stat = "Defence"
if lvl = 200 and stren = 400 and defen = 400 and hp < 500:
    next_stat = "Endurance"
if lvl < 250:
    next_stat = "Level"
if lvl = 250 and stren < 500:
    next_stat = "Strength"
if lvl = 250 and stren = 500 and defen < 500:
    next_stat = "Defence"
if lvl = 250 and stren = 500 and defen = 500 and hp < 750:
    next_stat = "Endurance"


#230 GetJinxed

GetJinxed
  • Reckless Cheater

  • 1423 posts


Users Awards

Posted 02 April 2016 - 01:28 PM

if lvl = 20 and stren < 40:
    next_stat = "Strength"
if lvl = 20 and stren = 40 and defen < 40:
    next_stat = "Defence"
if lvl = 20 and stren = 40 and defen = 40 and hp < 60:
    next_stat = "Endurance" 

You might want to avoid just using "=" in your if statments for example let's say the pet is indeed level 20 and stength is 41+ (could happen in a case you do some faerie quests or have random event happens). In that scenario:

if lvl = 20 and stren = 40 and defen < 40:

Would never run, right? O.o because if level is 20 and strength is not 40 (because somehow it got to 41+) it will just stop :p make sure you change it to: 

if lvl = 20 and stren >= 40 and defen < 40:

 And now that i'm writing this i think it's a good pratice to do that even for the level checks because a pet can also gain extra points while training and may end up a level or 2 above of those checks

 

Edit: I don't think if i've explained myself in a clear way. If i didn't i'll try to explain it to you by pm :)


Edited by GetJinxed, 02 April 2016 - 01:29 PM.


#231 sirvive

sirvive
  • 7 posts

Posted 02 April 2016 - 01:35 PM

if lvl = 20 and stren < 40:
    next_stat = "Strength"
if lvl = 20 and stren = 40 and defen < 40:
    next_stat = "Defence"
if lvl = 20 and stren = 40 and defen = 40 and hp < 60:
    next_stat = "Endurance" 

You might want to avoid just using "=" in your if statments for example let's say the pet is indeed level 20 and stength is 41+ (could happen in a case you do some faerie quests or have random event happens). In that scenario:

if lvl = 20 and stren = 40 and defen < 40:

Would never run, right? O.o because if level is 20 and strength is not 40 (because somehow it got to 41+) it will just stop :p make sure you change it to: 

if lvl = 20 and stren >= 40 and defen < 40:

 And now that i'm writing this i think it's a good pratice to do that even for the level checks because a pet can also gain extra points while training and may end up a level or 2 above of those checks

 

Edit: I don't think if i've explained myself in a clear way. If i didn't i'll try to explain it to you by pm :)

 

Thank you ^_^ I am new to this lol. It didn't work but ill keep trying.



#232 GetJinxed

GetJinxed
  • Reckless Cheater

  • 1423 posts


Users Awards

Posted 02 April 2016 - 01:38 PM

Yw :) I haven't programed much since i left highschool (shame on me) but i still do some edits on some code i find when needed  :p



#233 sirvive

sirvive
  • 7 posts

Posted 02 April 2016 - 02:21 PM

This seems to be working so far. If anyone with a higher stat pet can test it as my pets are all under lvl 20.

if lvl < 20 and mov > lvl*2 or stren > lvl*2 or defen > lvl*2 or hp > lvl*2:
    next_stat = "Level"
elif lvl < 20:
    next_stat = "Level"
elif stren < 40:
    next_stat = "Strength"
elif defen < 40:
    next_stat = "Defence"
elif hp < 60:
    next_stat = "Endurance"

elif lvl < 40:
    next_stat = "Level"
elif stren < 80:
    next_stat = "Strength"
elif defen < 80:
    next_stat = "Defence"
elif hp < 120:
    next_stat = "Endurance"

elif lvl < 80:
    next_stat = "Level"
elif stren < 160:
    next_stat = "Strength"
elif defen < 160:
    next_stat = "Defence"
elif hp < 200:
    next_stat = "Endurance"

elif lvl < 100:
    next_stat = "Level"
elif stren < 200:
    next_stat = "Strength"
elif defen < 200:
    next_stat = "Defence"
elif hp < 240:
    next_stat = "Endurance"

elif lvl < 120:
    next_stat = "Level"
elif stren < 240:
    next_stat = "Strength"
elif defen < 240:
    next_stat = "Defence"
elif hp < 300:
    next_stat = "Endurance"

elif lvl < 150:
    next_stat = "Level"
elif stren < 300:
    next_stat = "Strength"
elif defen < 300:
    next_stat = "Defence"
elif hp < 400:
    next_stat = "Endurance"

elif lvl < 200:
    next_stat = "Level"
elif stren < 400:
    next_stat = "Strength"
elif defen < 400:
    next_stat = "Defence"
elif hp < 500:
    next_stat = "Endurance"

elif lvl < 250:
    next_stat = "Level"
elif stren < 500:
    next_stat = "Strength"
elif defen < 500:
    next_stat = "Defence"
elif hp < 750:
    next_stat = "Endurance"


else:
    next_stat = "Level"

Edited by sirvive, 02 April 2016 - 02:27 PM.


#234 Cnourinha

Cnourinha
  • 179 posts


Users Awards

Posted 31 May 2016 - 02:28 PM

Hey, I found this topic today. Is this program working?

#235 Daenarys

Daenarys
  • 43 posts

Posted 01 June 2016 - 02:37 AM

 

Neoquest's Auto Trainers

 

vts_statue_open.gif

 

This post now contains both a Ninja School Auto Trainer and a Training School Auto Trainer. Both are used in exactly the same way.

Features:

Spoiler

 

 

Info:

Spoiler

 

Please post to leave feedback, comments, and suggestions! :)

 

Thanks so much for this, but i wish someone could make one that grabs the codestones/dubloons needed for training from my SDB because i have a bunch hoarded in there for training.



#236 sako

sako
  • 38 posts


Users Awards

Posted 19 June 2016 - 07:34 PM

credit to neoquest for this great AT..hoorayyy..



#237 Sheeze

Sheeze
  • 12 posts

Posted 20 June 2016 - 01:19 PM

What is the highest HSD pet this has been used on do you know?

#238 aidenX

aidenX
  • 23 posts

Posted 12 February 2017 - 10:25 AM

I have a question about training time. Is it possible to add some kind of time logger or to run the program for a definite number of hours and adjust the training accordingly to the time/hour you provided?



#239 xfatex

xfatex
  • 18 posts

Posted 12 March 2017 - 01:27 AM

I'm sorry I'm bad at this, but if i want to train agility, do i put this

elif move < lvl*2:
next_stat = "Agility"
 
I'm starting back up on neo and uh, do people still train agility? or its still just for the aesthetics? worth to train?


#240 Liesa

Liesa
  • Foxy Lady


  • 2196 posts


Users Awards

Posted 12 March 2017 - 04:55 AM

 

I'm sorry I'm bad at this, but if i want to train agility, do i put this

elif move < lvl*2:
next_stat = "Agility"
 
I'm starting back up on neo and uh, do people still train agility? or its still just for the aesthetics? worth to train?

 

 

Agility is no use in training, I don't even think the modern BD uses it. 



#241 xfatex

xfatex
  • 18 posts

Posted 12 March 2017 - 07:49 AM

Agility is no use in training, I don't even think the modern BD uses it. 

so people dont even train it for aesthetics purposes anymore?



#242 GetJinxed

GetJinxed
  • Reckless Cheater

  • 1423 posts


Users Awards

Posted 12 March 2017 - 10:28 AM

so people dont even train it for aesthetics purposes anymore?

 

That's more of a personal prefference. I myself just get agility because of FQ or kitchen quests. Other than that no  :rolleyes:



#243 Neoquest

Neoquest
  • 1760 posts


Users Awards

Posted 19 March 2017 - 06:39 PM

This program was also affected by my auto-updating mechanism going down. I don't have time to fix this right now because I've got finals going on, but I should have a fix out in a few days.



#244 camellia

camellia
  • 45 posts

Posted 22 March 2017 - 12:43 PM

Anything for Mac?



#245 Plunk

Plunk
  • Official Neocodex Dollface

  • 545 posts


Users Awards

Posted 23 March 2017 - 04:27 PM

Forgive the garbage screenshot, but it was the best I could get.

Whenever I start the program, it opens, then flashes up some text and immediately closes. This is what I get:
Huh_zpsgxjj7ium.png

Any idea what's going on with it?



#246 camellia

camellia
  • 45 posts

Posted 31 March 2017 - 05:40 PM

Forgive the garbage screenshot, but it was the best I could get.

Whenever I start the program, it opens, then flashes up some text and immediately closes. This is what I get:
Huh_zpsgxjj7ium.png

Any idea what's going on with it?

 

Iʻve been getting this too



#247 Norava

Norava
  • Pro Can Cran

  • 547 posts


Users Awards

Posted 04 May 2017 - 12:12 PM

What is the highest HSD pet this has been used on do you know?

 

My pet is roughly 1000+, however getting the same error as @camellia, any ideas @Neoquest?



#248 Neoquest

Neoquest
  • 1760 posts


Users Awards

Posted 04 May 2017 - 04:26 PM

@camellia @Norava I need to fix this. Hopefully soon. I've been really busy with school recently.



#249 Malithion

Malithion
  • 11 posts

Posted 22 May 2017 - 04:22 AM

Fixed? 



#250 ewok88

ewok88
  • 1 posts

Posted 25 June 2017 - 03:40 AM

hope neoquest passes finals 




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users