Page 35 of 74 FirstFirst ... 25333435363745 ... LastLast
Results 341 to 350 of 738

Thread: [UNSUPPORTED] NeoQuester! - Fully Automated Neoquest 1 Completer

  1. #341
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,685/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    Quote Originally Posted by Infamous Joe View Post
    Most likely from the lag. Best to catch Neo when it is running fast and then let this script run.
    I still experience occasional page timeouts, even at the best of times. I hope that I'm not stepping on methrend's toes, but I wrapped the "get" and "post" function calls into an an error-encapsulated loop in my "NeoAccount.py" class. If the page requests time out for any reason, the code sleeps for 5 seconds and tries again instead of crashing.

    Here are my updated class files: (you need an account to see links)

    Excellent script, methrend ... thanks for sharing!

  2. #342
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,685/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    Thanks for the script, methrend! The lag is giving me a lot of grief while running this unattended, so I modified the "NeoAccount.py" calls to "get" and "post" to error trap the page timeouts and continue on without crashing. Here's the updated class in case you're interested:

    (you need an account to see links)
    Last edited by Bat; 03-24-2015 at 05:29 PM.

  3. #343
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,685/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    Thanks for the script, @(you need an account to see links)! The lag is causing me a lot of grief, but I made a few tweaks to the "NeoAccount.py" calls to "get" and "post" that have stopped the crashing on my end. Here's the code in case you're interested:

    def get(self, url, referer = '', readable = True):

    if url[0] == '/':
    url = self.d + url

    if referer == '':
    referer = self.referer

    self.opener.addheaders = [('Referer', referer)] + self.headers

    while True:
    try:

    res = self.opener.open(url, None)
    self.referer = res.geturl()
    if readable:
    theret = self.readable(res)
    self.cleanhtml = theret.replace('"',"'")
    return theret
    else:
    theret = str(res)
    self.cleanhtml = theret.replace('"',"'")
    return res
    except:
    time.sleep(5)

    def post(self, url, data, referer = '', readable = True):
    if url[0] == '/':
    url = self.d + url
    if referer == '':
    referer = self.referer
    self.opener.addheaders = [('Content-Type', 'application/x-www-form-urlencoded'),
    ('Referer', referer)] + self.headers

    while True:
    try:

    res = self.opener.open(url, urllib.urlencode(data))
    self.referer = res.geturl()
    if readable:
    theret = self.readable(res)
    self.cleanhtml = theret.replace('"',"'")
    return theret
    else:
    theret = str(res)
    self.cleanhtml = theret.replace('"',"'")
    return res
    except:
    time.sleep(5)

    Since they're encapsulated, they can safely time out without forcing the user to restart the program, and I added a loop with a five second delay to try again. I haven't had any performance hiccups since.

    Thanks again! I can't wait to get the trophy for this!
    Last edited by Bat; 03-26-2015 at 05:18 PM.

  4. The Following User Says Thank You to Bat For This Useful Post:

    j03 (03-25-2015)

  5. #344
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,685/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    Quote Originally Posted by gatoki View Post
    Thanks for the script, methrend! The lag is causing me a lot of grief, but I made a few tweaks to the "NeoAccount.py" calls to "get" and "post" that have stopped the crashing on my end. Here's the code in case you're interested:

    def get(self, url, referer = '', readable = True):

    if url[0] == '/':
    url = self.d + url

    if referer == '':
    referer = self.referer

    self.opener.addheaders = [('Referer', referer)] + self.headers

    while True:
    try:

    res = self.opener.open(url, None)
    self.referer = res.geturl()
    if readable:
    theret = self.readable(res)
    self.cleanhtml = theret.replace('"',"'")
    return theret
    else:
    theret = str(res)
    self.cleanhtml = theret.replace('"',"'")
    return res
    except:
    time.sleep(5)

    def post(self, url, data, referer = '', readable = True):
    if url[0] == '/':
    url = self.d + url
    if referer == '':
    referer = self.referer
    self.opener.addheaders = [('Content-Type', 'application/x-www-form-urlencoded'),
    ('Referer', referer)] + self.headers

    while True:
    try:

    res = self.opener.open(url, urllib.urlencode(data))
    self.referer = res.geturl()
    if readable:
    theret = self.readable(res)
    self.cleanhtml = theret.replace('"',"'")
    return theret
    else:
    theret = str(res)
    self.cleanhtml = theret.replace('"',"'")
    return res
    except:
    time.sleep(5)

    Since they're encapsulated, they can safely time out without forcing the user to restart the program, and I added a loop with a five second delay to try again. I haven't had any performance hiccups since.

    Thanks again! I can't wait to get the trophy for this!
    Hello! Here's an update ... I got the gold trophy!

    (you need an account to see links)

    Thanks so much, @(you need an account to see links)! This script worked amazingly!
    Last edited by Bat; 03-26-2015 at 05:21 PM. Reason: I don't know how to upload a decently sized screenshot ... sorry!

  6. #345

    Joined
    Mar 2015
    Posts
    24
    Userbars
    0
    Thanks
    7
    Thanked
    5/3
    DL/UL
    6/0
    Mentioned
    1 time
    Time Online
    1d 4h 51m
    Avg. Time Online
    N/A
    Thank you, I have literally just started using the program but from the posts I've read so far it sounds good! =)

    Also, does this get you the avatar? =P EDIT: Answered on page 17. You could probably add the question to the FAQ on the main page. Since that's going to be the main reason people come hunting for autoplayers =D
    Last edited by donovanrules1234; 04-05-2015 at 08:34 AM.

  7. #346

    Joined
    Mar 2015
    Posts
    24
    Userbars
    0
    Thanks
    7
    Thanked
    5/3
    DL/UL
    6/0
    Mentioned
    1 time
    Time Online
    1d 4h 51m
    Avg. Time Online
    N/A
    Hey, I keep getting this error: My connection is fine. Neopets works fine without lagg.


    (you need an account to see links)
    Last edited by donovanrules1234; 04-06-2015 at 09:23 PM.

  8. #347
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,685/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    That particular error is actually lag related. It may be intermittent, but it still happens, and this script has trouble handling it. I modified my version of it in order to conpensate for slow site performance and was able to leave it running unattended without any problems. I posted the code changes, in case you're interested : )

  9. #348

    Joined
    Mar 2015
    Posts
    24
    Userbars
    0
    Thanks
    7
    Thanked
    5/3
    DL/UL
    6/0
    Mentioned
    1 time
    Time Online
    1d 4h 51m
    Avg. Time Online
    N/A
    Quote Originally Posted by gatoki View Post
    That particular error is actually lag related. It may be intermittent, but it still happens, and this script has trouble handling it. I modified my version of it in order to conpensate for slow site performance and was able to leave it running unattended without any problems. I posted the code changes, in case you're interested : )
    Thanks. So weird though coz I was browsing the site fine. I decided to continue the game manually....bad idea....this game is exhausting! Haha
    I know you can edit the save somehow or something but uh....I don't wanna screw it up.

    ---------- Post added at 03:24 AM ---------- Previous post was at 01:33 AM ----------

    Ended up getting to the temple of roo, fighting through it (took about 4 hrs to get there/fight). Then I lost to the roo guy in the first 15 secs coz he stunned me, I was at level 32. From the City I've decided to skip roo and go to techo to fight higher levels to level up faster and to get better equipment. Then to go back to Roo and get the avatar.
    Do you think I will still be able to fight him again and get the avatar?

  10. #349
    *squeak*
    Bat's Avatar
    Joined
    Nov 2012
    Posts
    4,040
    Userbars
    152
    Thanks
    2,147
    Thanked
    46,685/3,563
    DL/UL
    34/1
    Mentioned
    1,769 times
    Time Online
    644d 1h 41m
    Avg. Time Online
    3h 41m
    I've never actually played the original NeoQuest manually before, so I don't know if doing any of the steps out of order affects your ability to get the avatar. After the script glitch was fixed, I let it run all the way through for all three difficulties, and it obtained the avatar and the trophies for me. The script has start points in case it loses its place, and I had to move myself to those manually on a couple of occasions prior to fixing it - maybe you could figure out where you need to be with a guide and move yourself to a start point prior to the events that get you the avatar?

  11. #350

    Joined
    Mar 2015
    Posts
    24
    Userbars
    0
    Thanks
    7
    Thanked
    5/3
    DL/UL
    6/0
    Mentioned
    1 time
    Time Online
    1d 4h 51m
    Avg. Time Online
    N/A
    Quote Originally Posted by gatoki View Post
    I've never actually played the original NeoQuest manually before, so I don't know if doing any of the steps out of order affects your ability to get the avatar. After the script glitch was fixed, I let it run all the way through for all three difficulties, and it obtained the avatar and the trophies for me. The script has start points in case it loses its place, and I had to move myself to those manually on a couple of occasions prior to fixing it - maybe you could figure out where you need to be with a guide and move yourself to a start point prior to the events that get you the avatar?
    Nah all good =) I found a good guide on the net and played to get the avatar manually. Took 6 hours haha! I can't imagine playing this whole game manually, nor actually trying to develop an autoplayer for it. I really wish I had the ability to write scripts and stuff like you guys do. Have literally spent 100's of hours trying to teach myself how, but it always yields in nothing. Anywho, enjoy doing whatever your doing! And total +1 to the creator of this program as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •