First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96647
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mr. Bones. <mr_bones_@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
triplea-0.6.0.ebuild in-progress: triplea-0.6.0.ebuild text/plain Josh Nichols (RETIRED) 2005-06-21 17:10 0000 2.46 KB Details
triplea-0.6.0.1.ebuild triplea-0.6.0.1.ebuild text/plain Thomas Matthijs (RETIRED) 2005-06-29 13:38 0000 2.00 KB Details
triplea-0.6.0.1-gentoo.patch files/triplea-0.6.0.1-gentoo.patch patch Thomas Matthijs (RETIRED) 2005-06-29 13:39 0000 1.91 KB Details | Diff
aaa java errors text/plain Mr. Bones. 2005-07-01 10:43 0000 101.02 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96647 depends on: 96649 Show dependency tree
Bug 96647 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-20 15:54 0000
The build seems to have changed a bit since the last release.  Java help
needed.

------- Comment #1 From Josh Nichols (RETIRED) 2005-06-21 17:10:11 0000 -------
Created an attachment (id=61691) [edit]
in-progress: triplea-0.6.0.ebuild

Here's an attempt at an ebuild, but it still needs some work

There's a new library dependency, which I created a bug and ebuild for.
jgoodies-looks is now used in favor of jgoodies-looks-bin.
Tweaked RDEPEND/DEPEND: jdk should only be in DEPEND, and jre in DEPEND
Added doc useflag, for misc docs and javadoc.
Now installs triplea.jar with java-pkg_dojar, and updated the wrapper scripts
to reflect this.

Problems that remain:
When attempting to start a game, the following exception occurs:
java.lang.IllegalStateException: resource not
found:/games/strategy/triplea/image/images/maps/classic/smallMap.jpeg
	at games.strategy.triplea.image.MapImage.loadImage(MapImage.java:48)
	at games.strategy.triplea.image.MapImage.loadMaps(MapImage.java:92)
	at games.strategy.triplea.image.MapImage.loadMaps(MapImage.java:84)
	at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:123)

	at games.strategy.triplea.TripleA.startGame(TripleA.java:90)
	at
games.strategy.engine.framework.ui.LauncherFrame$6.run(LauncherFrame.java:343)
	at java.lang.Thread.run(Thread.java:534)

I'm not really familar with resources in Java, nor the inner workings of
triplea, so I'm unsure of how to fix this.

------- Comment #2 From Mr. Bones. 2005-06-23 16:02:53 0000 -------
hmmm.  brown-paper-bag release from upstream.

------- Comment #3 From Stefan Huszics 2005-06-24 04:58:00 0000 -------
Brown paper bag?

If you are wondering about what was changed this is posed on the front page of
http://triplea.sourceforge.net/

---
 users have found an un-expected bug dealing with aircraft landing [ref
1225276]. This bug was quickly fixed and tested.

We are pushing out a micro-release of TripleA version 0.6.0.1. This includes the
bug fix and allows for cross compatibility of saved games between v0.6.0 and
v0.6.0.1 only.
---

That bug made the game pretty much unplayable.

------- Comment #4 From Thomas Matthijs (RETIRED) 2005-06-29 13:38:26 0000 -------
Created an attachment (id=62264) [edit]
triplea-0.6.0.1.ebuild

i think this should be fine

------- Comment #5 From Thomas Matthijs (RETIRED) 2005-06-29 13:39:03 0000 -------
Created an attachment (id=62265) [edit]
files/triplea-0.6.0.1-gentoo.patch

------- Comment #6 From Thomas Matthijs (RETIRED) 2005-06-30 01:40:24 0000 -------
forgot:
dev-java/ant-core
in DEPEND 
:x

------- Comment #7 From Mr. Bones. 2005-06-30 23:58:05 0000 -------
triplea_ai doesn't work for me.  After starting up a game with all AIs and me
playing russia, the game has lots of java issues and eventually stops with some
kind of stack problem.  Is it upstream's problem or the ebuild?

------- Comment #8 From Thomas Matthijs (RETIRED) 2005-07-01 02:18:02 0000 -------
can you paste the output? i can't get it todo anything wrong

------- Comment #9 From Stefan Huszics 2005-07-01 04:52:33 0000 -------
Nonworking AI is an upstream problem.

It's abandoned, out of date code and according to the devs was never much of an
usable AI anyway (too stupid).
You can read about it on the upstream webforum.

------- Comment #10 From Thomas Matthijs (RETIRED) 2005-07-01 05:27:52 0000 -------
on my system i can't get it to gives error. if the AI is any good or not
doesn't 
really matter

the stack problem is fairly common on hardended systems, and we have no
solution 
for those. (nobody in java team uses hardended, and they aren't very friendly)

but if there are other errors before it, or you're not on a hardended toolchain
 ...

------- Comment #11 From Mr. Bones. 2005-07-01 10:43:35 0000 -------
Created an attachment (id=62419) [edit]
java errors

pretty ugly but there it is.

------- Comment #12 From Thomas Matthijs (RETIRED) 2005-07-01 10:49:43 0000 -------
that just looks like an infinite loop/recursion

can you reproduce this easy? (how?)

i blame upstream

------- Comment #13 From Mr. Bones. 2005-07-01 11:50:24 0000 -------
Here's how to reproduce the problem:

start triplea_ai
set all players to computer except for russia, then start the game.
don't roll for tech (just click done)
buy all infantry for production
move all available troops into the Ukraine
start the battle... error.

------- Comment #14 From Thomas Matthijs (RETIRED) 2005-07-01 12:23:16 0000 -------
Anyway i was thinking of a diffrend stack error in my previeus comments

it is definitly broken upstream code and they say it is broken too
so i would just remove the triplea_ai wrapper

------- Comment #15 From Sean Bridges 2005-07-10 09:24:14 0000 -------
Im a developer for TripleA.  The ai is hopelessly hooped, and shouldnt be
enabled.  The ai is enabled by passing -Dtriplea.ai=true, this should be removed.

This bug,

http://bugs.gentoo.org/attachment.cgi?id=62419

Is from the ai being turned on.

------- Comment #16 From Mr. Bones. 2005-07-14 00:40:00 0000 -------
ok it's in there.  Thanks for the ebuild axxo.

First Last Prev Next    No search results available      Search page      Enter new bug