Troubles Running Shoddy Battle? READ Before Asking

bearzly

Shoddy Battle dev
is a Battle Simulator Admin Alumnusis a Programmer Alumnusis a Forum Moderator Alumnus
Some users have reported troubles launching Shoddy Battle, so this guide will attempt to help you resolve some common problems.

General Problems

1) The first thing you should do when you are unable to launch Shoddy Battle is to make sure you have the most up to date version of Java. The latest version for your operating system (aside from OS X) will be found here. For OS X users, the latest Java updates should be found via Software Update.

2) If you have updated your Java and still have problems, try to clear your Java cache. On Windows, you can find this in the Control Panel. On OS X it's located in Applications->Utilities. Once you have located the control panel, you should be able to find the option to delete the cache or temporary files.

Specific Problems

Help! When I download Shoddy Battle all I get is a text file! How do I get Shoddy Battle to work!??!

First, make sure you have Java installed. When you install Java, it should set up the correct file type associations. If you are certain that you have Java installed correctly, there are a couple of things you can do. Some users have reported success from using Internet Explorer instead of Firefox. On Firefox, you can try to change your file type associations so that jnlp files are opened using Java Web Start.

If you still can't get it to work, you can try running from a command line. On windows you can usually find this in programs->accessories. On OS X it's in applications->utilities->terminal. I expect GNU/Linux users will know where to find it. Once there, run the command:
Code:
javaws http://shoddybattle.com/client/shoddybattle.php
. If you get a message about javaws not being a recognized internal or external command, you'll have to find the javaws executable. This will probably be in a place such as C:\Program Files\Java\jdk1.x.x_xx\bin\javaws.exe. Once you have found this file, drag it to your command line and the path should appear. Now your command should be (replacing the x's with whatever you actually have)
Code:
C:\Program Files\Java\jdk1.x.x_xx\bin\javaws.exe http://shoddybattle.com/client/shoddybattle.php
Help! When I try to launch Shoddy Battle I get a strange error and I can't access shoddybattle.com! What should I do!?!

We think that it's likely that you have a trojan horse on your computer. There is another sticky topic for this here http://www.smogon.com/forums/showthread.php?t=56229. You might also have a web filter that prevents you from reaching shoddybattle.com, in which case you should disown your parents and move out.

Help! I have a mac/use OS X and when I start a battle the battle window stretches and I can't see my moves! What should I do!?!

This is a bug with Java 1.5 for OS X. Open your java preferences and in the Java Applications list in the General tab, make sure that Java 1.5 is not at the top of the list. Java 1.6 is the best choice, but 1.4 also works if you don't have 1.6.




Other Problems
If you experience any other problems and have tried all of the above steps, then you may post the relevant details and we will try and locate the problem. However, do not post this
Code:
<?xml version="1.0" encoding="utf-8"?>
<jnlp
    spec="1.0+"
    codebase="http://shoddybattle.com/client/"
    href="shoddybattle.jnlp">
    <information>
        <title>Shoddy Battle</title>
        <vendor>Colin Fitzpatrick & Benjamin Gwin</vendor>
        <homepage href="http://shoddybattle.com" />
        <description kind="short">An extensible Pokemon simulator</description>
        <description>A pokemon simulator that is free as in freedom</description>
        <shortcut online="true">
            <desktop />
            <menu />
        </shortcut>
        <icon href="http://shoddybattle.com/client/icon.gif" width="64" height="64" />
    </information>
    <resources>
        <j2se version="1.4+" />
        <j2se version="1.5+" />
        <j2se version="1.6+" />
        <jar href="ShoddyBattleClient.jar" />
        <jar href="ShoddyBattle.jar" />
        <jar href="PokemonSprites.jar" />
        <jar href="swing-layout-1.0.2.jar" />
    </resources>
    <resources os="Windows" arch="x86">
        <nativelib href="ShoddyHelper.jar" />
    </resources>
    <security>
         <all-permissions />
    </security>
    <application-desc main-class="shoddybattleclient.WelcomeWindow">
    <argument>sprites.PokemonSprite</argument>
    <argument>http://shoddybattle.com/client/dpmovesets.db</argument>
    </application-desc>
</jnlp>
That is just the jnlp file you downloaded, and showing us that won't help anything.

If you experience other bugs in the program, you can help locate them by enabling the Java console from the java control panel and reporting any errors that are outputted.
 
EDIT: With the following; "javaws http://shoddybattle.com/client/shoddybattle.php" and "Help! I have a mac/use OS X and when I start a battle the battle window stretches and I can't see my moves! What should I do!?!" you need to re-install Shoddy after you have made these changes for them to take effect. I think that this should be added to this topic.

Thanks.
 
Okay, not quite sure if this is the place to post, but I have a problem with installing Shoddy Battle. I can download just fine, but as soon as I try to run the installer it doesn't work and pops up with the Unable to launch application message.

I've reinstalled Java, I've cleared the cache and the temporary memory stuff. So, can someone help me with this? If it helps I have the error code.

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://shoddybattle.com/client/shoddybattle.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


And the Wrapped Exception:
java.io.FileNotFoundException: http://shoddybattle.com/client/shoddybattle.jnlp
at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://shoddybattle.com/client/shoddybattle.jnlp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
... 18 more


Any help is greatly appreciated thanks!
 

HSA

INTellectual gamer
is a Tiering Contributoris a Past WCoP Champion
I`m a total noob with computers and i still can`t find java preferences.
Sorry for being annoying but where exactly do you find that.
 
I did all the things to fix the screen stretch thing and it still didn't fix it. I have the newest version of Java and I moved the Java SE 6 to the top. I also cleared my Java Cache. After I cleared my Java Cache and downloaded it again it came back in the Cache.
 
Cannot login or register.

I've downloaded and started up the program, read all the tips, and when i enter my username and password the login button doesn't do anything, trying to register is just as useless. I'm using Mac OS X 10.4...

K safe
 
I keep trying to open Shoddy and here's what I keep getting:

Unable to launch application

Unexpected exception: java.lang.reflect.invocationtargetexception

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: shoddybattle/ModData
at shoddybattleclient.WelcomeWindow.main(WelcomeWindow.java:330)
... 9 more
 
how do i get here on a mac
C:\Program Files\Java\jdk1.x.x_xx\bin\javaws.exe.

i did all the above steps and got nothing Keeps on showing the text
 
I did this:
Help! When I try to launch Shoddy Battle I get a strange error and I can't access shoddybattle.com! What should I do!?!

We think that it's likely that you have a trojan horse on your computer. There is another sticky topic for this here http://www.smogon.com/forums/showthread.php?t=56229. You might also have a web filter that prevents you from reaching shoddybattle.com, in which case you should disown your parents and move out.

Help! I have a mac/use OS X and when I start a battle the battle window stretches and I can't see my moves! What should I do!?!

This is a bug with Java 1.5 for OS X. Open your java preferences and in the Java Applications list in the General tab, make sure that Java 1.5 is not at the top of the list. Java 1.6 is the best choice, but 1.4 also works if you don't have 1.6.

But I cannot change my team.
Why?
and, is their no way to get normal shoddy back on?
 
Question (not sure if this is the place to post):
One of my laptops starts Shoddy Battle fine, runs Team Builder fine, can even watch battles fine. However, as soon as I click the "Find Match" button, I instantly get the blue screen of death. What should I do to fix it?
Thanks in advance.
 
I'm on a mac and I can't access shoddybattle.com let alone use the program on my computer. Here's my problem:

Exception

CouldNotLoadArgumentException[ Could not load file/URL specified: http://shoddybattle.com/client/shoddybattle.jnlp]
at com.sun.javaws.Main.launchApp(Main.java:258)
at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
at com.sun.javaws.Main$1.run(Main.java:108)
at java.lang.Thread.run(Thread.java:637)

Wrapped Exception

java.io.FileNotFoundException: http://shoddybattle.com/client/shoddybattle.jnlp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1239)
at com.sun.deploy.net.HttpUtils.followRedirects(HttpUtils.java:45)
at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:169)
at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:106)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(BasicHttpRequest.java:67)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:85)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:113)
at com.sun.javaws.Main.launchApp(Main.java:253)
at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
at com.sun.javaws.Main$1.run(Main.java:108)
at java.lang.Thread.run(Thread.java:637)
 

PK Gaming

Persona 5
is a Site Content Manager Alumnusis a Forum Moderator Alumnusis a Community Contributor Alumnusis a Smogon Discord Contributor Alumnusis a Tiering Contributor Alumnusis a Top Contributor Alumnusis a Past SPL Champion
Err, just want to say thank you. I had troubles with Shoddy, but thanks to you, I fixed it.

(I had to clear the cache)
 

Skymin_Flower

It's Seed Flare time.
Shoddy Battle

How can i run shoddy as a normal application? at the moment i can't, when i close it it becomes a text file
 
Shoddy used to work on my computer, but now it refuses to work on servers using port 50000. Unfortunately, this includes the smogon server. The server welcome screen shows up, but when I try to register or log in, nothing happens. My Java is up to date and I unblocked the port, but it still doesn't work. Any server that doesn't use 50000 works fine.

Thanks for any help!

*Edit: It started working again for no discernible reason. Anyway, this thread doesn't look like it was the right place to ask, sorry about that.
 
Can someone give me a more detailed guide on how to get rid of the screen stretching problem? I think I followed all the instructions but it doesn't get fixed.
 
So I got a new mac and transferred all my old files from the old mac. When I opened shoddy I received:
Failed to find the sprite loader. Please redownload the jnlp file.
Well I've tried that and I've updated Java but still no cigar. What gives?
 
So recently, I've been starting to have a new and wondrous problem with Shoddy. It only started just recently, and is quite perplexing. I have done nothing to change how my computer runs, as in I've not downloaded anything new. But all of a sudden... bam. Shoddy. It doesn't work. This is quite the shame, really, considering precisely how much the site I am on uses the program.

I've tried all the things mentioned in the original post, to no avail.

So here is the problem. Shoddy starts just fine. It shows me the list of servers, although I must refresh at least once to see the number of people in the Smogon server. A small issue, and one I'm not too concerned about.

HOWEVER, whenever I try to connect to Smogon, Shoddy closes. Crashes. Nothing to be done about it. javaw.exe continues to run in the background, but I do not get my Shoddying goodness. When I try to connect to my site's server, (pokemondestruction), I am able to get to the "herpderp this server is crap page, plz to log in" window, but when I put in my name and password and click "log in" or press enter, it freezes entirely. Anyone in there can see me, although they cannot challenge me, and I just idle there... frozen. Indefinitely.

Have you any suggestions? Ones beside reinstalling Shoddy (which I have done umpteen times now) or reinstalling Java? As I said, I have done everything the original post asked of me... but sadly, I am yet unable to battle.
 
I keep getting this error message. I've cleared my Temporary Internet Files already, before you ask.

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://shoddybattle.com/client/shoddybattle.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top