Go Back   Smogon Community > Site & Projects > Shoddy Battle
Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old Jul 8th, 2009, 4:47:21 PM   #1
bearzly+
Shoddy Battle dev
is a Programmeris a Shoddy Battle Administrator
 
bearzly's Avatar
 
Join Date: Apr 2009
Location: Canada
Posts: 211
Send a message via AIM to bearzly
Default Troubles Running Shoddy Battle? READ Before Asking

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.

Last edited by Colin; Jul 9th, 2009 at 12:54:31 AM.
bearzly is offline   Reply With Quote
Old Jul 13th, 2009, 2:48:27 AM   #2
Shur.tugal
 
Shur.tugal's Avatar
 
Join Date: May 2008
Posts: 84
Default

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.

Last edited by Shur.tugal; Jul 17th, 2009 at 2:50:05 AM.
Shur.tugal is offline   Reply With Quote
Old Jul 22nd, 2009, 12:53:49 AM   #3
DeadlyPocky
 
Join Date: Jul 2009
Posts: 2
Default

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(U nknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Un known Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Un known Source)
at com.sun.deploy.net.DownloadEngine.getResourceCache Entry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCache Entry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unkn own Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unkn own Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unkn own 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.newInsta nce(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(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.http://www.protocol.http.HttpURLConn...eption(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unkn own Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unkn own Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(U nknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(U nknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Un known Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Un known Source)
at com.sun.deploy.net.DownloadEngine.getResourceCache Entry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCache Entry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unkn own Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unkn own Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unkn own 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.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
... 18 more


Any help is greatly appreciated thanks!
DeadlyPocky is offline   Reply With Quote
Old Jul 24th, 2009, 2:11:18 PM   #4
HSA
 
HSA's Avatar
 
Join Date: May 2009
Posts: 165
Default

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.
HSA is offline   Reply With Quote
Old Jul 24th, 2009, 9:30:04 PM   #5
cyncerity
 
cyncerity's Avatar
 
Join Date: Aug 2007
Posts: 4,984
Default

Quote:
Originally Posted by Fat PokemonMasterHSA View Post
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 have the same question.

Edit: Nevermind, as to the guy above me, it is in Applications/Utilities/Java Preferences.
cyncerity is offline   Reply With Quote
Old Jul 25th, 2009, 3:47:51 AM   #6
THISISPARTA
 
Join Date: Jul 2009
Posts: 1
Default

when i trie rto start shoddy battle i get missing from the launch file jnlp what do i do?
THISISPARTA is offline   Reply With Quote
Old Jul 25th, 2009, 12:34:11 PM   #7
HSA
 
HSA's Avatar
 
Join Date: May 2009
Posts: 165
Default

Thank you sikh, problem solved.
HSA is offline   Reply With Quote
Old Jul 29th, 2009, 2:32:19 PM   #8
AshKetchup
 
Join Date: Jun 2009
Posts: 2
Default

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.
AshKetchup is offline   Reply With Quote
Old Jul 31st, 2009, 2:21:41 AM   #9
AshKetchup
 
Join Date: Jun 2009
Posts: 2
Default

Anybody?
AshKetchup is offline   Reply With Quote
Old Aug 2nd, 2009, 7:07:22 AM   #10
kitsteel
 
kitsteel's Avatar
 
Join Date: Jul 2009
Location: University of Warwick, Coventry. ENGLAND
Posts: 15
Default 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
__________________
Mariachi sent out Azelf(Azelf). kitsteel sent out Salti(Latias). Salti used Trick. Salti obtained Focus Sash! Azelf obtained Choice Scarf! Azelf used explosion. Salti lost100% of it's health. Salti hung on with focus sash! Mariachi's Azelf fainted.
kitsteel is offline   Reply With Quote
Old Aug 2nd, 2009, 4:31:07 PM   #11
Kudamon
 
Join Date: Aug 2009
Posts: 1
Default

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(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known 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(WelcomeWindo w.java:330)
... 9 more
Kudamon is offline   Reply With Quote
Old Aug 3rd, 2009, 10:54:48 PM   #12
shadow0x0cloud
 
shadow0x0cloud's Avatar
 
Join Date: Aug 2009
Posts: 208
Default

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
__________________

PLAT FC: 3652 9549 1402
PEARL FC 3566 7787 4689 (TRADE)
I finally have Shoddy Battle! nick: Shadow0x0cloud
shadow0x0cloud is offline   Reply With Quote
Old Aug 10th, 2009, 4:23:19 PM   #13
graves
Banned deucer.
 
Join Date: May 2009
Location: Texas
Posts: 343
Send a message via AIM to graves
Default

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?
graves is offline   Reply With Quote
Old Aug 11th, 2009, 3:52:36 PM   #14
ARandomDude
is a Suspect Test Voter
 
ARandomDude's Avatar
 
Join Date: Jun 2009
Posts: 207
Default

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.
__________________
Quote:
Flamethower or Fire Blast on Heatran? Well, Fire Blast is clearly the superior option, as it has the power to 2HKO such huge threats such as Salamence and Scizor (after SR of course).
I use Flamethower.
ARandomDude is offline   Reply With Quote
Old Aug 16th, 2009, 2:27:46 PM   #15
tennisguy1313
 
Join Date: Aug 2009
Posts: 1
Default

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.ja va: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.http://www.protocol.http.HttpURLConn...tion.java:1239)
at com.sun.deploy.net.HttpUtils.followRedirects(HttpU tils.java:45)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Basi cHttpRequest.java:169)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Basi cHttpRequest.java:106)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(B asicHttpRequest.java:67)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(LaunchDescFactory.java:85)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(LaunchDescFactory.java:113)
at com.sun.javaws.Main.launchApp(Main.java:253)
at com.sun.javaws.Main.continueInSecureThread(Main.ja va:213)
at com.sun.javaws.Main$1.run(Main.java:108)
at java.lang.Thread.run(Thread.java:637)
tennisguy1313 is offline   Reply With Quote
Old Aug 19th, 2009, 11:14:46 PM   #16
PK Gaming
 
PK Gaming's Avatar
 
Join Date: Aug 2009
Posts: 83
Default

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)
PK Gaming is offline   Reply With Quote
Old Aug 23rd, 2009, 1:53:59 AM   #17
skymin_flower
 
skymin_flower's Avatar
 
Join Date: Aug 2009
Posts: 64
Default 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
skymin_flower is online now   Reply With Quote
Old Aug 23rd, 2009, 11:57:34 AM   #18
Abacus
 
Abacus's Avatar
 
Join Date: Jul 2007
Posts: 222
Default

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.

Last edited by Abacus; Aug 28th, 2009 at 4:26:03 PM.
Abacus is offline   Reply With Quote
Old Aug 30th, 2009, 12:41:25 AM   #19
Corporal Atlas
 
Join Date: Aug 2008
Posts: 1
Default

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.
Corporal Atlas is offline   Reply With Quote
Old Sep 5th, 2009, 11:26:55 AM   #20
ultimifier
 
Join Date: May 2006
Location: toronto, canada
Posts: 642
Default

thanks for this article. #2 really works and im back on shoddy already.
ultimifier is offline   Reply With Quote
Old Sep 9th, 2009, 11:50:41 PM   #21
WrongLane
 
WrongLane's Avatar
 
Join Date: Apr 2009
Posts: 13
Default

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?
__________________
Diamond FC :4039 1211 6323
WrongLane is offline   Reply With Quote
Old Sep 10th, 2009, 1:16:09 AM   #22
bearzly+
Shoddy Battle dev
is a Programmeris a Shoddy Battle Administrator
 
bearzly's Avatar
 
Join Date: Apr 2009
Location: Canada
Posts: 211
Send a message via AIM to bearzly
Default

Try clearing your java cache/temporary files /Applications/Utilities/Java Preferences
bearzly is offline   Reply With Quote
Old Sep 10th, 2009, 7:56:35 PM   #23
WrongLane
 
WrongLane's Avatar
 
Join Date: Apr 2009
Posts: 13
Default

Quote:
Originally Posted by Fat bearzly View Post
Try clearing your java cache/temporary files /Applications/Utilities/Java Preferences
Nope didn't work. I just received the same message about the sprites.
__________________
Diamond FC :4039 1211 6323
WrongLane is offline   Reply With Quote
Old Sep 22nd, 2009, 5:41:59 PM   #24
Yerah
 
Yerah's Avatar
 
Join Date: Sep 2009
Posts: 2
Default

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.
Yerah is offline   Reply With Quote
Old Sep 25th, 2009, 2:46:23 AM   #25
ungulateman
 
ungulateman's Avatar
 
Join Date: Apr 2009
Posts: 374
Default

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(U nknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Un known Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Un known Source)
at com.sun.deploy.net.DownloadEngine.getResourceCache Entry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCache Entry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unkn own Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unkn own Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unkn own 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)
__________________
Platinum FC: 0474 5881 5323
Newest breed: Shiny Modest Chimchar with what appears to be good IVs.
ungulateman is offline   Reply With Quote
Reply Smogon Community > Site & Projects > Shoddy Battle

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 2:02:29 AM.