It is currently 24 Jun 2025, 03:18
   
Text Size

SVN Bug Reports

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: r10519 Re: SVN Bug Reports

Postby Braids » 09 Jul 2011, 03:33

jeffwadsworth wrote:Well, it was noticeably faster for me loading the main window.
:D awesome.
jeffwadsworth wrote:Loading the deck editor was the same.
. . . and probably will be for some time. i am working on a few of the more obvious places to allocate less temporary memory. the deck editor might get a little boost.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: r10519 Re: SVN Bug Reports

Postby Chris H. » 09 Jul 2011, 11:52

Braids wrote:
jeffwadsworth wrote:Well, it was noticeably faster for me loading the main window.
:D awesome.
jeffwadsworth wrote:Loading the deck editor was the same.
. . . and probably will be for some time. i am working on a few of the more obvious places to allocate less temporary memory. the deck editor might get a little boost.
`
I think that I am seeing a slight speed improvement. I tend to launch forge several times a day every day, so I have gotten used to waiting a few seconds.

When I got my high speed internet access recently I put away my old modem and signed up for the Mac version of Steam. Launching Steam and then launching a game from within Steam takes some time.

I now believe that launching Forge is faster. :lol:
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: SVN Bug Reports

Postby goonjamin » 09 Jul 2011, 14:35

r10540

I receive the following error after launching forge. The progress bar completes and the error is throw before the main window displays.

Code: Select all
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


forge/card/abilityFactory/AbilityFactory_Attach


Version:
Forge -- official beta: $Date: 2011-07-02 00:20:39 -0400 (Sat, 02 Jul 2011) $, SVN revision: $Revision: 10300 $

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_26 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NoClassDefFoundError: forge/card/abilityFactory/AbilityFactory_Attach
   at forge.card.abilityFactory.AbilityFactory.getAbility(Unknown Source)
   at forge.card.cardFactory.CardFactory.getCard2(Unknown Source)
   at forge.card.cardFactory.CardFactory.getCard(Unknown Source)
   at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
   at forge.AllZone.<clinit>(Unknown Source)
   at forge.Gui_NewGame$2.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: forge.card.abilityFactory.AbilityFactory_Attach
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   ... 20 more
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: SVN Bug Reports

Postby Braids » 09 Jul 2011, 15:03

i suggest updating and compiling again. that class definitely exists now.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: SVN Bug Reports

Postby DeadSpeak » 09 Jul 2011, 19:52

@Braids

I just updated to revision 10554 and got the same error as goonjamin.
DeadSpeak
 
Posts: 104
Joined: 25 Dec 2009, 00:14
Location: Denmark
Has thanked: 4 times
Been thanked: 3 times

Re: SVN Bug Reports

Postby goonjamin » 09 Jul 2011, 20:04

It must be something with the script. I just installed eclipse and subclipse and build the current SVN head that way and it seems to run fine from eclipse?
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: SVN Bug Reports

Postby DeadSpeak » 09 Jul 2011, 20:21

@goonjamin

You wouldn't happen to have links for eclipse and subclipse? or filenames?

I tried searching for the "eclipse" and the many possibilities confuses me :-)
DeadSpeak
 
Posts: 104
Joined: 25 Dec 2009, 00:14
Location: Denmark
Has thanked: 4 times
Been thanked: 3 times

Re: SVN Bug Reports

Postby Braids » 09 Jul 2011, 20:28

goonjamin wrote:It must be something with the script. I just installed eclipse and subclipse and build the current SVN head that way and it seems to run fine from eclipse?
it exists, for Flux sake!

Code: Select all
$ svn info forge/card/abilityFactory/AbilityFactory_Attach.java
Path: forge/card/abilityFactory/AbilityFactory_Attach.java
Name: AbilityFactory_Attach.java
URL: https://cardforge.googlecode.com/svn/src/src/forge/card/abilityFactory/AbilityFactory_Attach.java
Repository Root: https://cardforge.googlecode.com/svn
Repository UUID: d79705b8-2151-0410-8572-c3d52707f174
Revision: 10547
Node Kind: file
Schedule: normal
Last Changed Author: zenchristo
Last Changed Rev: 10539
Last Changed Date: 2011-07-09 10:20:01 -0400 (Sat, 09 Jul 2011)
Text Last Updated: 2011-07-09 10:29:52 -0400 (Sat, 09 Jul 2011)
Checksum: 92930da8bb37a304d0e5095d8bf4d8ae
could someone with good organizational skills add the complete suite of these scripts to svn so they themselves can be properly maintained and tested? i refuse to take the time 2 hunt down something that isn't standardized if i'm going to debug it. someone else may have already fixed it, and i wouldn't know.

i've attached a compiled version of the class file for those who would know where it belongs.

edit 1. the zip file will create a forge directory from wherever it is unzipped. and yes, i know i spelled Ability with too many eyes.
Attachments
forge-card-abilityFactory-AbiilityFactory_Attach.class__r10547.zip
(6.83 KiB) Downloaded 371 times
Last edited by Braids on 09 Jul 2011, 20:31, edited 1 time in total.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: SVN Bug Reports

Postby Hellfish » 09 Jul 2011, 20:30

DeadSpeak:

Eclipse can be found here:
http://www.eclipse.org/downloads/packag ... 37/indigor

Subclipse is installed from within eclipse, using these instructions:
http://subclipse.tigris.org/servlets/Pr ... eID=p4wYuA

Otherwise, you can also use IntelliJ IDEA.You won't have to mess around with Subclipse or the like, but certain changes can break it (and has done so previously)
http://www.jetbrains.com/idea/download/index.html
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Fixed missing forge/card/abilityFactory/AbilityFactory_Attac

Postby Braids » 09 Jul 2011, 21:58

i just updated the java file in subversion because it had a compiler warning. there was definitely some strangeness involved, because svn forced me to update it, even though it was already up to date. it might be ok now.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: SVN Bug Reports

Postby Snacko » 09 Jul 2011, 22:53

You can also use http://www.eclipse.org/subversive/ Subversive is the official svn plugin for eclipse which should be included in the near future into the main package.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: SVN Bug Reports

Postby timmermac » 10 Jul 2011, 00:20

r10554: Magma Sliver produces an error when you try to use its ability. Something about InputString: SliversOnBattlefield or something like that. The ability has no effect.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: SVN Bug Reports

Postby goonjamin » 10 Jul 2011, 00:35

r10568

Awakener Druid - After selecting a forest to become 4/5 a blank spot appears above where the creatures are but the forest does not move up with the creatures (the fact a space opens up makes me think it should have moved). Also with it remaining with the lands this messes up tapping for mana as clicking another forest above the one that turned into a creature seems to select the one that turned into a creature first despite it being below where I clicked.

Roar of the Wurm - Cannot be played from flashback. The flashback menu on the main screen shows 1 but when I bring up the menu it says no cards instead of allowing me to select this one. I also had 2 of this card played at one point so flashback showed 2 on the main menu but again when bringing up the menu it still showed no cards.
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: SVN Bug Reports

Postby jeffwadsworth » 10 Jul 2011, 00:40

goonjamin wrote:r10568

Awakener Druid - After selecting a forest to become 4/5 a blank spot appears above where the creatures are but the forest does not move up with the creatures (the fact a space opens up makes me think it should have moved). Also with it remaining with the lands this messes up tapping for mana as clicking another forest above the one that turned into a creature seems to select the one that turned into a creature first despite it being below where I clicked.

Roar of the Wurm - Cannot be played from flashback. The flashback menu on the main screen shows 1 but when I bring up the menu it says no cards instead of allowing me to select this one. I also had 2 of this card played at one point so flashback showed 2 on the main menu but again when bringing up the menu it still showed no cards.
Testing them now.
Edit: Awakener Druid works perfectly in r. 10558.
Edit: Roar of the Wurm: The flashback button shows the number of cards with flashback in it, but when opened, "no cards" are there.
Last edited by jeffwadsworth on 10 Jul 2011, 00:52, edited 3 times in total.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: SVN Bug Reports

Postby jeffwadsworth » 10 Jul 2011, 00:40

timmermac wrote:r10554: Magma Sliver produces an error when you try to use its ability. Something about InputString: SliversOnBattlefield or something like that. The ability has no effect.
Fixed in SVN.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 18 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 18 users online :: 0 registered, 0 hidden and 18 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 18 guests

Login Form