Forge 01/17 (unofficial BETA) version
by mtgrares
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
57 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: Forge 01/17 (unofficial BETA) version
by Mr.Chaos » 18 Jan 2010, 06:40
Thanks guys. Hopefully Memnarch won't cause me so much problems this time around. Last night's game with the 01/01 version was... less than entertaining.(see bugs section) But most of those errors seem to have been addressed in this new beta. Good times! 
= coder at work, according to a coder.It does explain some of the bugs. - Mr.Chaos
- Tester
- Posts: 625
- Joined: 06 Sep 2008, 08:15
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 11:40
`DennisBergkamp wrote:Yes, I haven't had a chance yet to test this on a mac... I assume that's why it won't work. Anyone else noticing this bug, on Linux or OSX maybe?
I have the same problem with the jar file that comes with your 01-17 beta release. I had hoped that the problem was related with corruption of some sort on my computer and that your build would be usable. No such luck.
I now think that there may be something about Apple's most recent java 6 update which may be incompatible with the google-collect or jsr305 jars.
We have several other people who also have Macs that use Forge. I will have to wait to see if they are having the same problem.
-

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: Forge 01/17 (unofficial BETA) version
by Snacko » 18 Jan 2010, 11:52
Most likely it's a problem with path as mac os is case sensitive but windows isn't.
Re: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 12:16
`Snacko wrote:Most likely it's a problem with path as mac os is case sensitive but windows isn't.
My Mac's OS installed on my boot HD is formatted to be case insensitive. I think that I will try to reinstall snow leopard 6.0.2 OS combo update and the Java for Mac OS X 10.6 Update 1.
-

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: Forge 01/17 (unofficial BETA) version
by Snacko » 18 Jan 2010, 12:18
I mean in Forge code, adding some logging to caught exceptions would probably help to pinpoint exact cause.
But this might also be some mac os related bug in java.
But this might also be some mac os related bug in java.
Re: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 13:00
`Snacko wrote:I mean in Forge code, adding some logging to caught exceptions would probably help to pinpoint exact cause.
But this might also be some mac os related bug in java.
I think that I may have discovered the source of the problem. Looking at my console output I see the line:
java.io.FileNotFoundException: /Applications/ Forge 01-17\res/pics\plains3.jpg (No such file or directory)
The problem appears to be with the slashes that signify the directory tree path to follow to find the jpg picture to display. Windows uses the back slash "\" and Mac OS uses the forward slash "/".
So, you are right about the problem being in the Forge code. I will see if I can find the hard coded path in my local copy and replace the "\" with "/" and Forge will then be able to find the pics to display.
-

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: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 13:05
`DennisBergkamp wrote:- Fixed Mutavault.
Ahh, a new method:
card.clearSpellKeepManaAbility();
I saw this in the code for Svogthos, the Restless Tomb and suspected that it could be used to solve the Mutavault problem. I see that you beat me to it.
-

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: Forge 01/17 (unofficial BETA) version
by Snacko » 18 Jan 2010, 13:23
For the path you need to repplace
GuiDisplayUtil.java
getURL()
GuiDisplayUtil.java
getURL()
- Code: Select all
String fileString = path + "\\" +ForgeProps.getFile(loc)+"\\" +filename;
- Code: Select all
String fileString = path + File.separator +ForgeProps.getFile(loc)+ File.separator +filename;
Re: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 14:18
Thank you, Snacko. I will try this with my local copy. 
-

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: Forge 01/17 (unofficial BETA) version
by DennisBergkamp » 18 Jan 2010, 18:13
Yes, I think I caught all of the bugs you brought up, but there might be a few more related to the planeswalkers. I'll go through the Planeswalker code sometime soon and double check each ability.Mr.Chaos wrote:Thanks guys. Hopefully Memnarch won't cause me so much problems this time around. Last night's game with the 01/01 version was... less than entertaining.(see bugs section) But most of those errors seem to have been addressed in this new beta. Good times!
Ahh, my bad... I forgot about File.separator, thanks for pointing this out SnackoSnacko wrote:For the path you need to repplace
GuiDisplayUtil.java
getURL()with
- Code: Select all
String fileString = path + "\\" +ForgeProps.getFile(loc)+"\\" +filename;You should always use File.separator if you want the paths to work both under Windows and Linuxes/BSDs/Macs etcs.
- Code: Select all
String fileString = path + File.separator +ForgeProps.getFile(loc)+ File.separator +filename;
-

DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 20:17
`Chris H. wrote:Thank you, Snacko. I will try this with my local copy.
I tried it and it works.
I now get to see that the card picture panel is resizable. This is a great feature Dennis.
I used a file content searcher on my workspace folder and got five hits on "\\". I took a quick look and some of them are not hard coded file separators. The files that need to be checked are:
BackgroundPanel.java
CardFactory_Planeswalkers.java
Constant.java
GuiDispalyUtil.java (I found two different matches)
ImageJPanel.java
-

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: Forge 01/17 (unofficial BETA) version
by DennisBergkamp » 18 Jan 2010, 21:19
I didn't actually add the feature, the code Snacko posted automatically does thisChris H. wrote:`Chris H. wrote:Thank you, Snacko. I will try this with my local copy.
I tried it and it works.![]()
I now get to see that the card picture panel is resizable. This is a great feature Dennis.
I used a file content searcher on my workspace folder and got five hits on "\\". I took a quick look and some of them are not hard coded file separators. The files that need to be checked are:
BackgroundPanel.java
CardFactory_Planeswalkers.java
Constant.java
GuiDispalyUtil.java (I found two different matches)
ImageJPanel.java
One feature it did break though is the automatic zoom Vasiliy added. I'm not sure if it's worth adding back in since it probably causes performance issues.
-

DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge 01/17 (unofficial BETA) version
by atar » 18 Jan 2010, 21:40
Thnx a lot for the new version of forge and for the great work you are doing.I experience severe lag while i'm playing,especialy when i'm choosing to play a spell from my hand? Any suggestions so i can optimize and to make it run without lagging?Thnx in advance?
Re: Forge 01/17 (unofficial BETA) version
by Chris H. » 18 Jan 2010, 23:32
`I didn't actually add the feature, the code Snacko posted automatically does this.
Yes, we owe Snacko another thank you.
And, we also thank Vasiliy for the original code and you for your efforts to put this together.
-

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: Forge 01/17 (unofficial BETA) version
by freestorageaccount » 19 Jan 2010, 04:27
Some of the prompts are a bit non-standard, such as 'destroy' rather than 'choose' target creature or enchantment for Ethersworn Adjudicator. I haven't run into any actual bugs except for storm-related ones so far though (other than incomplete implementations, which I'm sure won't be for long
). You all rock!
EDIT: My blocked Treva, the Renewer with double strike but without trample still triggered, and Megrim sometimes seems to forget its job especially with Gerrard's Verdict. Still, those are extremely minor.
EDIT: My blocked Treva, the Renewer with double strike but without trample still triggered, and Megrim sometimes seems to forget its job especially with Gerrard's Verdict. Still, those are extremely minor.
-- freestorageaccount (= accurate forge notes) This is not a subliminal message. At least for the prosilver theme.
The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
-

freestorageaccount - Posts: 246
- Joined: 21 Sep 2009, 01:42
- Location: Hilbert's Hotel
- Has thanked: 1 time
- Been thanked: 0 time
57 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 19 guests