Map creator map download problem

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Map creator map download problem

SantaClaus
I created a map using Wisconsin's map creator (version 1.0.1.5) and I dont know how to get it onto the triplea program so that I can play it. Can someone tell me how to do that?
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

hepster
Have you downloaded TripleA?

“A man can never have too much red wine, too many books, or too much ammunition”― Rudyard Kipling
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
Yes, I have versions 1.5.2.1 and 1.6.1.0 and neither one will download the map. I followed the instructions in the Map Creator readme and its still not working.
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

Veqryn
Administrator
the map creator doesn't run from triplea

you have to go unzip it, then run the .exe's individually
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

hepster
This post was updated on .
In reply to this post by SantaClaus
You may be running into a the problem because of some additions Veq. made to Triple A that are not contained in the map maker Program.

I am assuming that you have finished the map, created a folder for the map and placed it into the maps folder for TripleA.  And now you are finding that it does not show up on the list of games.  Is that correct?

If it is, then you may have to...

If you open the XML for "Pact of Steel" you will be able to see some of the new additions that you may have to manually make to your XML in order for your map to run in either of the new Triple A versions.

I'll try to find the thread that details these changes and post it here for you.

EDIT
http://tripleadev.1671093.n2.nabble.com/All-new-maps-need-to-have-this-at-the-top-of-their-XML-tp7297601.html
“A man can never have too much red wine, too many books, or too much ammunition”― Rudyard Kipling
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
I am assuming that you have finished the map, created a folder for the map and placed it into the maps folder for TripleA.  And now you are finding that it does not show up on the list of games.  Is that correct?

yes that's what's happening. I dont know how to manually edit the XML though.
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

hepster
If you post your game here I can try and take a look at it to try and figure it out.
“A man can never have too much red wine, too many books, or too much ammunition”― Rudyard Kipling
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
When i tried to open the XML in Microsoft InfoPath to edit it, it gave me this error message

The form contains XML that cannot be parsed:
Whitespace is not allowed at this location.

Line 8, Position 44
              <territory name="Dumfries & Galloway"/>
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

hepster
SantaClaus wrote
When i tried to open the XML in Microsoft InfoPath to edit it, it gave me this error message

The form contains XML that cannot be parsed:
Whitespace is not allowed at this location.

Line 8, Position 44
              <territory name="Dumfries & Galloway"/>
When are naming your territories you cannot use a special character like "&" I think.
Changing that should fix that particular error.

If you write it as "Dumfries Galloway" you should be fine.
“A man can never have too much red wine, too many books, or too much ammunition”― Rudyard Kipling
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

Wisconsin
I think it's just the spaces between the words; it should work if you replace each space with - or _.

("The form contains XML that cannot be parsed: Whitespace is not allowed at this location.")
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

Zim Xero
spaces are allowed in territory names.  Unit names, Faction names, and flag names cannot have spaces.
'thats the way it is' makes it neither desireable nor inevitable
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
thx guys. i replaced dumfries & galloway with dumfries and galloway, and replaced northern ireland with northern_ireland
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

hepster
The Names can have spaces,  just no Special Characters.

Also I would Recommend that you Capitalize all Names for better consistency on the map.

Glad it helped.
“A man can never have too much red wine, too many books, or too much ammunition”― Rudyard Kipling
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
HOORAY!!! It worked. I am able to play the game on triplea and will try to put it online as soon as I can.
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
Whenever I try to open the map to play it I get this error message:


java.lang.IllegalStateException: Image Not Found:flags/Scotland.png
        at games.strategy.triplea.image.ImageFactory.getImage(ImageFactory.java:41)
        at games.strategy.triplea.image.ImageFactory.getImage(ImageFactory.java:31)
        at games.strategy.triplea.image.FlagIconImageFactory.getFlag(FlagIconImageFactory.java:47)
        at games.strategy.triplea.ui.TripleAFrame.updateStep(TripleAFrame.java:1391)
        at games.strategy.triplea.ui.TripleAFrame.access$700(TripleAFrame.java:161)
        at games.strategy.triplea.ui.TripleAFrame$19.run(TripleAFrame.java:1360)
        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$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$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)
Exception in thread "Triplea start thread" java.lang.IllegalStateException: Image Not Found:flags/Scotland.png
        at games.strategy.triplea.ui.TripleAFrame.updateStep(TripleAFrame.java:1369)
        at games.strategy.triplea.ui.TripleAFrame.access$700(TripleAFrame.java:161)
        at games.strategy.triplea.ui.TripleAFrame$18.gameStepChanged(TripleAFrame.java:1330)
        at games.strategy.engine.framework.AbstractGame.notifyGameStepListeners(AbstractGame.java:105)
        at games.strategy.engine.framework.ServerGame.notifyGameStepChanged(ServerGame.java:603)
        at games.strategy.engine.framework.ServerGame.startStep(ServerGame.java:563)
        at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:467)
        at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:291)
        at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:99)
        at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:46)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Map panel background drawer" java.lang.IllegalStateException: Cant load :aaGun looking in:units/Scotland/aaGun.png
        at games.strategy.triplea.image.UnitImageFactory.getBaseImage(UnitImageFactory.java:161)
        at games.strategy.triplea.image.UnitImageFactory.getImage(UnitImageFactory.java:135)
        at games.strategy.triplea.ui.screen.UnitsDrawer.draw(UnitsDrawer.java:82)
        at games.strategy.triplea.ui.screen.Tile.draw(Tile.java:158)
        at games.strategy.triplea.ui.screen.Tile.getImage(Tile.java:106)
        at games.strategy.triplea.ui.BackgroundDrawer.run(MapPanel.java:1054)
        at java.lang.Thread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

Zim Xero
You need a 'flags' folder with these three flag .png images: pixel sizes should be approximate, not exact
Scotland             (32x32 pixels)      
Scotland_small     (16x16 pixels)
Scotland_large     (64x64 pixels)

You need a 'units' folder with a 'Scotland' subfolder.  In the Scotland subfolder you need this .png unit image:
aaGun


If any of these already exist, check the spelling on them.  The are capital case sensitive.  These folders should be under your game name folder, not in the triplea trunk (first folder).
'thats the way it is' makes it neither desireable nor inevitable
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
Thx Zim. The game is now playable. The only bug that ive found so far when playing it is that whenever anyone successfully researches a technology, i get this error message.


Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at games.strategy.engine.data.ChangeAttachmentChange.perform(ChangeAttachmentChange.java:106)
        at games.strategy.engine.data.ChangePerformer.perform(ChangePerformer.java:57)
        at games.strategy.engine.history.History.changeAdded(History.java:164)
        at games.strategy.engine.history.HistoryWriter.addChange(HistoryWriter.java:237)
        at games.strategy.engine.framework.HistorySynchronizer$1$1.run(HistorySynchronizer.java:69)
        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$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$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)
WARNING [Triplea start thread] UnifiedMessenger->null
java.lang.NullPointerException
        at games.strategy.engine.data.ChangeAttachmentChange.perform(ChangeAttachmentChange.java:106)
        at games.strategy.engine.data.ChangePerformer.perform(ChangePerformer.java:57)
        at games.strategy.engine.framework.ServerGame$2.gameDataChanged(ServerGame.java:128)
        at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at games.strategy.engine.message.EndPoint.invokeSingle(UnifiedMessenger.java:631)
        at games.strategy.engine.message.EndPoint.invokeMultiple(UnifiedMessenger.java:601)
        at games.strategy.engine.message.EndPoint.invokeLocal(UnifiedMessenger.java:579)
        at games.strategy.engine.message.UnifiedMessenger.invoke(UnifiedMessenger.java:191)
        at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:65)
        at $Proxy7.gameDataChanged(Unknown Source)
        at games.strategy.engine.framework.ServerGame.addChange(ServerGame.java:656)
        at games.strategy.engine.delegate.DefaultDelegateBridge.addChange(DefaultDelegateBridge.java:106)
        at games.strategy.triplea.delegate.TechTracker.addAdvance(TechTracker.java:92)
        at games.strategy.triplea.delegate.TechActivationDelegate.start(TechActivationDelegate.java:80)
        at games.strategy.engine.framework.ServerGame.startStep(ServerGame.java:567)
        at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:467)
        at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:291)
        at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:99)
        at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:46)
        at java.lang.Thread.run(Unknown Source)

As far as i can see, the only thing this is affecting is tech.
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
Never mind, I was able to fix the tech myself.
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

SantaClaus
heres the game Battle_for_Britain.zip
Reply | Threaded
Open this post in threaded view
|

Re: Map creator map download problem

Zim Xero
Very interesting map.  I'll give it a try real soon.
'thats the way it is' makes it neither desireable nor inevitable
12