1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IcyKad

Discussion in 'Neopets Program Discussion' started by Josh21227, Jun 23, 2010.

  1. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    Link: downloads.php?d=311

    IcyKad

    Description
    Kad feeder made in Java (Works on multiple operating systems). It has been tested on Mac, Windows (Vista and 7) and Linux (Ubuntu).
    Main Features
    • Authorization
    • Displays neopoints on hand, and active pet
    • Wait __ minutes after feed (Do not set below 28 minutes. Recommended 35)
    • Ignore list
    • Tabbed interface/GUI
    • Max neopoints to spend on 1 feed
    • Logs time taken to feed
    • Logs item it feeds
    • Only refreshes around the time kads restock :)20)
    • Wait ___ to ___ seconds between refreshes.
    • Automatically logs back in when logged out


    To-Do List
    • Smart timing - recognizes pends (You input the next main/pend, and it figures it out from there).
    • Log failed feeds
    • Log neopoints spent
    • Save logs
    • Clear logs
    • Save HTML of successful feed page.
    • Speed improvements (If possible)


    [​IMG]
     
    synthetic likes this.
  2. Shawn

    Shawn Level IV

    Joined:
    Jul 15, 2009
    Messages:
    1,989
    Likes Received:
    76
    Location:
    Somewhere, lah.
    Can't wait for smart timing :)

    Love your contributiong, but why is it so cheap (15 points)
     
  3. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    I like my programs being close to free.
     
    Cyrallia likes this.
  4. AcidSpiral

    AcidSpiral Level I

    Joined:
    May 31, 2010
    Messages:
    89
    Likes Received:
    2
    Then I like you. :p
     
  5. synthetic

    synthetic Level III

    Joined:
    Aug 4, 2009
    Messages:
    468
    Likes Received:
    24
    Location:
    canada
    I think I need some added files to run this java program on a mac, any suggestions?
     
  6. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    I don't have a mac, so I can't really provide support for it.
     
  7. Junior

    Junior Administrator
    Staff Member

    Joined:
    Nov 8, 2009
    Messages:
    3,350
    Likes Received:
    169
    Location:
    I come from a land down under! (Maaaate!)
    You could try PM'ing Heya re extra files. They use a mac.. So does billy but he's never around... Um, there are a few others but their names slip my mind.
     
  8. Shawn

    Shawn Level IV

    Joined:
    Jul 15, 2009
    Messages:
    1,989
    Likes Received:
    76
    Location:
    Somewhere, lah.
    Does this log feeds? I think i fed a kad, but with no logged action.
     
  9. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    It should. Ill test it more to make sure it logs everything correctly.
     
  10. Shawn

    Shawn Level IV

    Joined:
    Jul 15, 2009
    Messages:
    1,989
    Likes Received:
    76
    Location:
    Somewhere, lah.
    maybe i missed it, im not sure.
     
  11. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    Just a quick update on the progress the smart timing thing. It seems to work fine, but Im going to test the program overnight.

    In about 2 minutes I will find out if it calculates the timing right (Thats when the current mini is pending).

    If all goes well tonight, the update will be released sometime tomorrow.


    Edit: It works. The only problem is for some reason it doesn't show the logs right. Working on a fix.
    Edit2: Log problems fixed. Going to run for a few more hours.
    Edit3:
    ^Reason to not run it constantly. Made it log what it feeds now.
     
  12. arcrutus

    arcrutus Level I

    Joined:
    Jun 28, 2010
    Messages:
    140
    Likes Received:
    2
    This runs 100% perfectly for me! I'm on a Mac and I didn't need anything extra.
    [​IMG]

    My first feed!!! :maha:


    EDIT: Ran the feeder one more time later today, ran perfect for a while then the log disappeared so I pressed stop, then a feed showed up so it's not like a fatal bug or anything. Just letting you know :)

    2nd buy was a 1.8 second feed! Way better than 4.5
     
  13. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    I know about the log bug. I thought I fixed it, but apparently not. Ill try to fix it later.

    1.8 is really slow actually. Ive been getting .8 second feeds.
     
  14. Shawn

    Shawn Level IV

    Joined:
    Jul 15, 2009
    Messages:
    1,989
    Likes Received:
    76
    Location:
    Somewhere, lah.
    When is the smart timing feature going to be released?
     
  15. arcrutus

    arcrutus Level I

    Joined:
    Jun 28, 2010
    Messages:
    140
    Likes Received:
    2
    Yeah well I'm sure you have a great connection and a fast computer. I'm on a really slow rig right now, my computer is the shop. My internet isn't that great either =/

    But either way! I love your Java work! I hope you'll post some sources/tuts in the future :)
     
  16. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    Its kinda there right now. I made it so it only refreshes between :15 and :25, which is half of it.

    The second part (The every 7 minutes thing) will be added later. I thought it would be better to release this version, and then release another later. I just wasn't sure how to do it yet.
     
  17. arcrutus

    arcrutus Level I

    Joined:
    Jun 28, 2010
    Messages:
    140
    Likes Received:
    2
    Josh, one thing you might add later to polish it would be to log failures? Or just let you know if you missed the refresh or something. It would also be cool to be able to save the log so you know what kads you fed. Just thoughts.
     
  18. Josh21227

    Josh21227 Level I

    Joined:
    May 23, 2009
    Messages:
    57
    Likes Received:
    10
    Edited the to-do list. If I missed anything tell me and Ill add it.
     
  19. synthetic

    synthetic Level III

    Joined:
    Aug 4, 2009
    Messages:
    468
    Likes Received:
    24
    Location:
    canada
    lol on my mac I'm definitely missing something..
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] Exception in thread "main"
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] java.lang.NoClassDefFoundError: icykad/IcyKadApp
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] Caused by: java.lang.ClassNotFoundException: icykad.IcyKadApp
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] at java.security.AccessController.doPrivileged(Native Method)
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    10-06-30 11:43:00 PM [0x0-0x5fe5fe].com.apple.JarLauncher[13436] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] Exception in thread "main"
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] java.lang.NoClassDefFoundError: icykad/IcyKadApp
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] Caused by: java.lang.ClassNotFoundException: icykad.IcyKadApp
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] at java.security.AccessController.doPrivileged(Native Method)
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    10-06-30 11:44:36 PM [0x0-0x600600].com.apple.JarLauncher[13451] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

    any ideas?
     
  20. arcrutus

    arcrutus Level I

    Joined:
    Jun 28, 2010
    Messages:
    140
    Likes Received:
    2

    What version of OSX are you running? And have you installed Java? I'm not sure if that's necessary, but I know I downloaded and installed it before I ran it.

    Heres a link: http://support.apple.com/kb/DL972