#Game Won't Start (Again but Different)

1 messages · Page 1 of 1 (latest)

robust karma
#

I just went through my files and added a custom card but when I tried to boot up forge it wouldn't get past the boot up screen. Since then I have updated to the latest version of Forge, I have uninstalled and reinstalled Java, I've uninstalled and reinstalled a different version of java, removed the custom files, restarted my PC, etc. It just won't go past the Welcome To Forge boot up screen.

#

I haven't even gotten to test if my custom card works, and I spent a couple hours on this first draft

naive hazel
#

It soundsl ike your custom card is breaking loading

robust karma
#

Yeah but I removed the custom card and it still wouldn't load

#

Like pulled out the file

naive hazel
#

Well if you get us a log file, we can tell you what its getting stuck on

robust karma
#

Where can I get the last log file?

naive hazel
#

Windows users can get it from %appdata%/forge/forge.log

robust karma
#

That work?

naive hazel
#

Did you change an Edition file?

robust karma
#

I think? Should have been to add it to the BOT set

naive hazel
#

So thats whats breaking

#

I can't tell what file it is

#

Just that something with editions is breaking

robust karma
#

Oh yep found it and got it going

#

Now I just need to see if I can get this custom card going

robust karma
#

Now I can't find the preexisting sets to add it to the BOT set

#

The images are in the files for the BOT set, but I the custom editions folder is empty so I can't add it to the other BOT card list

#

This the custom card

#

Frankly I'm not sure how to do double face either

#

Custom Card Help

median pilot
#

This goes over how to add a custom set with custom cards

robust karma
#

Can I not add it to the preexisting set?

warped siren
#

Not without it breaking after every update and risking various other issues. You can make a single custom set for all your custom cards, though.

robust karma
#

Ah

#

How do I make a double face card?

median pilot
#

This is the file for another transformers card

robust karma
#

Alright, so, I got the card made and uploaded but I can't play test it yet because now the game won't start but in a different way from the original problem. When I load up a match it just does nothing. Won't deal cards, select someone to go first, etc.

#

Gets stuck here

#

Game Won't Start (Again but Different)

#

It's apparently only when using the deck with the custom commander

#

Something wrong with my script?

median pilot
#

Did you also make a custom editions file?

robust karma
#

Yes for the set

median pilot
#

Okay, this is as far as I have done custom content/card scripting myself, so I don't have any real ideas past this point

robust karma
#

Hmm damn

median pilot
#

Do other edition files list both sides of the card like you did?

robust karma
#

I think since this is the only way I got the art to work (and it did work) but I haven't actually been able to access any other edition files

#

I can't find them

#

This is the current log

#

It seems to say an error with the custom card (Interface)'s trigger is what's not working

#

But idk what the actual problem is

#

And I'm not 100% on how to read these so someone should fact check me

median pilot
#

Caused by: java.lang.IllegalArgumentException: No element named PrecombatMain in enum PhaseType

robust karma
#

ah

#

What should that phase name be?

median pilot
#

T:Mode$ Phase | Phase$ Main1 |

#

This is how ashling rekindled does it

robust karma
#
    at forge.game.card.CardFactoryUtil.addAbilityFactoryAbilities(CardFactoryUtil.java:483)
    at forge.game.card.CardFactory.readCardFace(CardFactory.java:412)
    at forge.game.card.CardFactory.readCard(CardFactory.java:304)
    at forge.game.card.CardFactory.getCard(CardFactory.java:173)
    at forge.game.card.CardFactory.getCard(CardFactory.java:170)
    at forge.game.card.Card.fromPaperCard(Card.java:7581)
    at forge.game.player.Player.initVariantsZones(Player.java:2970)
    at forge.game.Match.prepareAllZones(Match.java:323)
    at forge.game.Match.startGame(Match.java:81)
    at forge.gamemodes.match.HostedMatch.lambda$startGame$2(HostedMatch.java:276)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:842)
Caused by: java.lang.RuntimeException: AbilityFactory:getAbility: crash when trying to create ability  of card: Interface, Mechanical Manipulator
    at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:157)
    at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:130)
    at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:113)
    at forge.game.card.CardFactoryUtil.addAbilityFactoryAbilities(CardFactoryUtil.java:470)
    ... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
    at ```
#
    at forge.game.cost.Cost.<init>(Cost.java:252)
    at forge.game.cost.Cost.<init>(Cost.java:215)
    at forge.game.ability.AbilityFactory.parseAbilityCost(AbilityFactory.java:188)
    at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:204)
    at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:179)
    at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:148)
    ... 15 more```
#

Same problem, new cause

#

Not sure which it is this time

#

Just says it crashed while making it

median pilot
#

There are channels for #custom-cards and #card-scripting that are probably a better spot than help now

#

I'll try to remember to take a look when I get home in a few hours

#

Otherwise I would try to find similar abilities from other cards and copy their scripting

median pilot
#

basically rewrote the whole thing

#

jsyk it currently transforms to the backside at beginning of main phase then transforms back to the front as you go to combat