Quantcast

Jump to content


Photo

Auto adopter


  • Please log in to reply
5 replies to this topic

#1 Caique

Caique
  • 12 posts

Posted 04 May 2014 - 10:05 PM

Hi everybody :D

I'm new here, and I already loved the forum. I'm brazilian and my english is not very well, so, be pacient with me, haha.

 

For my topic dont be useless, I'll post an auto adopter that I did in PHP. I did it for my own use, so for you use it you have to have a bit of knowledge, sorry :/

 

But any question you have you can ask here and I'll help :)

 

http://pastebin.com/mdMmKDFa

(My codes sometimes are in portuguese, but from now I'll use english)

(The code is configured to adopt Draiks, pets that name have only 2 letters, pets that strength + defense is more that 200 and Quiggle Island (for my avatar ;) ))

 

Later I'll post other script and make some for you ;)

And I can post a class that I did for neopets, but it will be helpful only for programmers.

LOOOOOL, this post was confused, haha. Sorry about it.



#2 arcanum

arcanum
  • 1748 posts


Users Awards

Posted 04 May 2014 - 10:19 PM

I think they have an auto adopter in the Program Manager... Although I don't use it, so I'm not sure how different it is from yours, if at all.

But thanks for sharing! ^.^ Maybe people will get good use out of it.



#3 Caique

Caique
  • 12 posts

Posted 04 May 2014 - 10:40 PM

I think they have an auto adopter in the Program Manager... Although I don't use it, so I'm not sure how different it is from yours, if at all.

But thanks for sharing! ^.^ Maybe people will get good use out of it.

Oh, I didn't see it. I use linux and cannot download the program manager.

BTW, the mine is open source, haha.



#4 Grandmaster

Grandmaster
  • 748 posts


Users Awards

Posted 05 May 2014 - 03:46 AM

Oh, I didn't see it. I use linux and cannot download the program manager.

BTW, the mine is open source, haha.

 

Thanks for the contribution. Open source is always good for individuals to customise the program. How's your testing results for this program so far?



#5 Caique

Caique
  • 12 posts

Posted 05 May 2014 - 07:09 AM

Thanks for the contribution. Open source is always good for individuals to customise the program. How's your testing results for this program so far?

For post here I modificate some things.

But the program is working perfectly, i just need turn it "beautiful", haha. I'm disorganized.

 

To test if the program is working i basically wore fopen(); e fwrite(); to register all pets that the script see in a .txt, and when the script see a pet that I chose, I can see him in my account ;) (I have to remember to leave my account with neopoints)

And I added a "sleep(1);" to turn it more "normal" to TNT, but I'm not sure about this time, maybe it can be little.

 

---

 

I'm surprised with the form that neopets catch the pets of pound, it's in a json. Is like "Hey programmers, here is the json, do what you want".


Edited by Caique, 05 May 2014 - 07:11 AM.


#6 twobada

twobada
  • 20 posts

Posted 08 May 2014 - 07:52 AM

How does this work? I know nothing about json and things like that but I'm curious about this thing




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users