Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Neopets Programming with Java

  1. #1

    Join Date
    Jan 2012
    Gender
    Posts
    171
    Thanks
    9
    Thanked 30 Times in 9 Posts


    Downloads
    1
    Uploads
    0
    Mentioned
    57 Post(s)
    Time Online
    22 h 48 m
    Avg. Time Online
    N/A
    Rep Power
    6

    Neopets Programming with Java

    This is just a quick write up with some .java files to help you get started. Joe requested this from me a while ago and I've been slacking on putting it up.

    First things first, a few files that may be beneficial to you:

    Connection.java

    This is the 'wrapper' or what you would use to connect to neopets and interact.
    It's simple to use. Once you create a new instance its just neo.get("") and neo.post("", new String[][] { {}, {} });
    If you need to set a referer, you can do that manually. Otherwise, the referer is set to the last page. There are a few modifications in this that I added such as proxy support, support for the potential botcheck, etc.



    Functions.java

    I've included some basic functions such as getStringBetween, load file, etc.




    Apart from this, what joe really wanted was the gui creator for eclipse that I use.

    Currently, I am using google's WindowBuilder Pro. It's a simple eclipse add-on that allows for quick gui creation. There are some bugs that i've found with it but nothing major and it should work for whatever you want to make.

    Link:
    https://developers.google.com/java-d...download-wbpro


    That's all I'm going to post for now but if you have any other questions then feel free to ask.

  2. The Following 19 Users Say Thank You to Sean For This Useful Post:

    bbuilder (10-16-2017),Cody. (06-22-2012),davebold370 (07-12-2012),deathwish42 (06-09-2012),Demo (10-11-2012),Ghosts (08-27-2014),hectorvazc (11-14-2012),Infamous Joe (06-04-2012),Joseph (11-07-2012),kaz (11-10-2014),Miguel (06-04-2012),Mikey (06-29-2012),musemfire (08-16-2012),neofreak (07-18-2012),Netus (10-11-2012),runbikesurf (11-14-2012),Ryan~ (06-09-2012),Tom (06-08-2012),w_is_awesome (06-27-2012)

  3. #2
    Little Brother


    Zachafer's Avatar
    Join Date
    Dec 2011
    Gender
    Posts
    1,206
    Thanks
    723
    Thanked 1,392 Times in 651 Posts


    Downloads
    81
    Uploads
    17
    Mentioned
    497 Post(s)
    Time Online
    21 d 17 h 32 m
    Avg. Time Online
    16 m
    Rep Power
    14
    I highly recommend this post to anyone wanting to learn Java programming or programming in general.

    Java is a cross-platform programming language meaning your programs can be ran on any operating system.

    @Becka

  4. The Following 2 Users Say Thank You to Zachafer For This Useful Post:

    Mikey (06-29-2012),Ryan~ (06-09-2012)

  5. #3
    Banned
    Join Date
    Apr 2012
    Gender
    Location
    United Kingdom
    Posts
    590
    Thanks
    64
    Thanked 90 Times in 65 Posts


    Downloads
    6
    Uploads
    0
    Mentioned
    68 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    0
    Quote Originally Posted by Zachafer View Post
    I highly recommend this post to anyone wanting to learn Java programming or programming in general.

    Java is a cross-platform programming language meaning your programs can be ran on any operating system.

    @Becka
    Ahh that's good so if I go back to my windows XP computer someday I can use them on there, awesome :*

  6. #4
    deathwish42's Avatar
    Join Date
    Jun 2012
    Gender
    Posts
    388
    Thanks
    47
    Thanked 45 Times in 39 Posts


    Downloads
    50
    Uploads
    0
    Mentioned
    43 Post(s)
    Time Online
    21 d 6 h 5 m
    Avg. Time Online
    16 m
    Rep Power
    6
    wow thats amazing nice job im currently trying to learn java on codecademy im stuck on it though so ya nice topic i will come back to this once i learn how to do some major coding

  7. #5

    Join Date
    Jul 2012
    Gender
    Location
    South Carolina
    Age
    32
    Posts
    51
    Thanks
    4
    Thanked 7 Times in 7 Posts


    Downloads
    5
    Uploads
    0
    Mentioned
    4 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    6
    Coolness. It's a little more advance than what I know of java right now. What are the portals you use to access different things throughout neopets and how would i find those portals myself so i don't have to ask over and over again. lol Thank you so much. I love learning new things about programing and more involved i become with internet programing the better.

  8. #6
    BEDDOEDv's Avatar
    Join Date
    Jul 2012
    Gender
    Posts
    666
    Thanks
    179
    Thanked 109 Times in 53 Posts


    Downloads
    101
    Uploads
    0
    Mentioned
    32 Post(s)
    Time Online
    7 d 7 h 36 m
    Avg. Time Online
    5 m
    Rep Power
    6
    im trying to learn about java, i find its slow though a times

  9. #7




    hectorvazc's Avatar
    Join Date
    Dec 2011
    Gender
    Location
    Mexico
    Posts
    782
    Thanks
    511
    Thanked 353 Times in 157 Posts


    Downloads
    83
    Uploads
    3
    Mentioned
    93 Post(s)
    Time Online
    63 d 8 h 41 m
    Avg. Time Online
    48 m
    Rep Power
    8
    I'm studying java at school and this will really help me. I hope someday I can do a simple program for neopets by myself without asking anything and this is a really good begining for me (you know trying to learn about all the functions used on this and that ). So thank you

  10. #8
    Jesusinn's Avatar
    Join Date
    Jan 2012
    Gender
    Location
    Mexico
    Posts
    610
    Thanks
    131
    Thanked 105 Times in 66 Posts


    Downloads
    28
    Uploads
    0
    Mentioned
    62 Post(s)
    Time Online
    3 d 11 h 44 m
    Avg. Time Online
    2 m
    Rep Power
    7
    Gamer IDs

    PSN ID: rexcatt Steam ID: Jesusiinn
    I just learn java in the school too.
    but I noob compared with him u.u
    thanks so much for the tutorial :3

  11. #9

    Join Date
    Aug 2013
    Gender
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Downloads
    10
    Uploads
    0
    Mentioned
    0 Post(s)
    Time Online
    6 h 25 m
    Avg. Time Online
    N/A
    Rep Power
    5
    WB is a bit buggy, yes. In the sense that you drag and drop a window/widget/whatever (I forget the technical term WBPro uses) and it auto-places the code for you in your existing program in a place that isn't exactly organized (or as organized as you'd want it to be)... which means you may have to manually put it somewhere else, every single time you drop a window/widget onto the screen.

    There is always straight coding via AWT and SWING, which I prefer; but am recently taking to JavaFX as a means to create a more attractive GUI for potential users... and JavaFX is, to me, a bit ghetto in the sense that its still new- and yes- there are several known bugs.

    Couple on top of all this, any time plug-ins are being installed with eclipse; you may have some kind of unexpected or unwarranted behaviour (such as the well-known "R" or Resource bug commonplace with Google's ADT Plug-In for Android Developers)

    I feel that Java is kinda' wanting when it comes to GUI development ( lacking the sheer simplicity of VB ); though every language/platform seems to have its own advantages over others, and simply familiarizing yourself with every language/platform's nuances will indeed make the process a lot more comfortable, as you get used to experiencing these same nuances over time and can work around or fix them via personal experience, effortlessly. But that all comes with familiarity and practice.

  12. #10

    Join Date
    Jan 2014
    Gender
    Posts
    55
    Thanks
    6
    Thanked 8 Times in 8 Posts


    Downloads
    24
    Uploads
    0
    Mentioned
    10 Post(s)
    Time Online
    1 d 23 h 5 m
    Avg. Time Online
    1 m
    Rep Power
    4
    is java the best program for np bots?

Page 1 of 2 12 LastLast

Posting Permissions

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