It is currently 27 Aug 2025, 07:43
   
Text Size

Forge Android App: 11-13-2016 Alpha 1.5.58.002

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

Re: Forge Android App: 04-03-2016 Alpha 1.5.51.007

Postby drdev » 05 Apr 2016, 14:47

Aridale wrote:I just got the 1.5.51.0007 update today and something happened when starting it up and now it's stuck on checking for updates for about 2 hours now. It locked up or something when dling the new data after installing the update and I force stopped it and now as I said its stuck on checking for updates. I tried a reinstall and didnt make a difference
Are you on wifi or data? Do you see any error in Forge\data\forge.log? And does deleting Forge\version.txt then restarting help any?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 04-03-2016 Alpha 1.5.51.007

Postby dclpt0 » 05 Apr 2016, 15:26

That appears to have fixed it! Thanks so much!
User avatar
dclpt0
 
Posts: 27
Joined: 01 Oct 2014, 23:37
Has thanked: 4 times
Been thanked: 3 times

Re: Forge Android App: 04-03-2016 Alpha 1.5.51.007

Postby Aridale » 05 Apr 2016, 15:37

Deleting version.txt fixed it for me! Thanks!
Aridale
 
Posts: 5
Joined: 12 Aug 2015, 12:01
Has thanked: 0 time
Been thanked: 0 time

Re: Forge Android App: 04-03-2016 Alpha 1.5.51.007

Postby friarsol » 05 Apr 2016, 15:41

Dan,

Do you have a list of items you want me to add to the Forge FAQ for android? I see similar questions/resolutions popping up, and it'd be easy enough to have them organized there.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Android App: 04-03-2016 Alpha 1.5.51.007

Postby drdev » 05 Apr 2016, 22:13

friarsol wrote:Dan,

Do you have a list of items you want me to add to the Forge FAQ for android? I see similar questions/resolutions popping up, and it'd be easy enough to have them organized there.
I don't have a discrete list at the moment, but feel free to copy/paste anything you see that feels like a good candidate.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 04-03-2016 Alpha 1.5.51.007

Postby Jambarama » 06 Apr 2016, 03:00

Everything in Forge works great, except I've had a persistent problem with the planar conquest mode. I started a new file, had some success and really enjoyed it. A few days ago, I pressed "Commanders" in game, and Forge locked up. I didn't get a nice crash screen, the screen was all scrambled.

This was consistent, each time I pressed "Commanders" I'd have to restart the app. Everything else worked fine - I could play matches, go to my collection, see planeswalkers, etc. Just couldn't press "Commanders" and thus couldn't edit my deck.

With the most recent update, I'm not getting the scrambled screen anymore, which is great. Instead, I'm getting an actual error message, included below:

NullPointerException | Open
Code: Select all
Forge Version:    1.5.51.007
Operating System: Linux 3.4.0-g094b859 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String forge.item.PaperCard.getName()' on a null object reference
at forge.planarconquest.ConquestCommander.getName(ConquestCommander.java:76)
at forge.itemmanager.ColumnDef$3.apply(ColumnDef.java:56)
at forge.itemmanager.ColumnDef$3.apply(ColumnDef.java:53)
at forge.util.ItemPoolSorter.compare(ItemPoolSorter.java:75)
at forge.itemmanager.ItemManagerModel$CascadeManager$Sorter.compare(ItemManagerModel.java:216)
at forge.itemmanager.ItemManagerModel$MyComparator.compare(ItemManagerModel.java:229)
at forge.itemmanager.ItemManagerModel$MyComparator.compare(ItemManagerModel.java:225)
at java.util.TimSort.binarySort(TimSort.java:261)
at java.util.TimSort.sort(TimSort.java:186)
at java.util.Arrays.sort(Arrays.java:1998)
at java.util.Collections.sort(Collections.java:1900)
at forge.itemmanager.ItemManagerModel.refreshSort(ItemManagerModel.java:129)
at forge.itemmanager.views.ItemView.refresh(ItemView.java:115)
at forge.itemmanager.ItemManager.updateView(ItemManager.java:760)
at forge.itemmanager.ItemManager.setPool(ItemManager.java:413)
at forge.itemmanager.ItemManager.setPool(ItemManager.java:403)
at forge.screens.planarconquest.ConquestCommandersScreen.refreshCommanders(ConquestCommandersScreen.java:127)
at forge.screens.planarconquest.ConquestCommandersScreen.onActivate(ConquestCommandersScreen.java:91)
at forge.Forge.setCurrentScreen(Forge.java:288)
at forge.Forge.access$500(Forge.java:41)
at forge.Forge$5.run(Forge.java:259)
at forge.Forge$5.run(Forge.java:249)
at forge.screens.FScreen.onSwitchAway(FScreen.java:63)
at forge.Forge.openScreen(Forge.java:249)
at forge.screens.planarconquest.ConquestMenu.setCurrentScreen(ConquestMenu.java:80)
at forge.screens.planarconquest.ConquestMenu.access$100(ConquestMenu.java:17)
at forge.screens.planarconquest.ConquestMenu$3.handleEvent(ConquestMenu.java:43)
at forge.menu.FMenuItem$1.run(FMenuItem.java:104)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:415)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
My best guess is the data xml file got scrambled in the commanders section somehow, but I've scoured it pretty carefully and it looks OK, at least compared to other conquests I've started.

EDIT: Maybe more going on than I'd thought. When I try to exile a card, I get this error message. Perhaps it isn't the xml file, or perhaps the xml file is messed up in more than one place.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.51.007
Operating System: Linux 3.4.0-g094b859 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String forge.item.PaperCard.getName()' on a null object reference
at forge.planarconquest.ConquestCommander.reloadDeck(ConquestCommander.java:100)
at forge.planarconquest.ConquestCommander.getDeck(ConquestCommander.java:94)
at forge.planarconquest.ConquestData.exileCard(ConquestData.java:275)
at forge.screens.planarconquest.ConquestCollectionScreen$CollectionTab$CollectionManager$1$2$1.run(ConquestCollectionScreen.java:168)
at java.lang.Thread.run(Thread.java:818)
Attachments
data.zip
(9.88 KiB) Downloaded 339 times
Jambarama
 
Posts: 3
Joined: 04 Oct 2015, 05:42
Has thanked: 0 time
Been thanked: 0 time

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby damicore » 07 Apr 2016, 19:28

I am stuck on "Loading Decks..." and sometimes on "loading fonts" in the splash screen. Any ideas?
damicore
 
Posts: 16
Joined: 24 Sep 2015, 03:40
Has thanked: 11 times
Been thanked: 0 time

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby drdev » 07 Apr 2016, 20:13

damicore wrote:I am stuck on "Loading Decks..." and sometimes on "loading fonts" in the splash screen. Any ideas?
Do you get anything in Forge/data/forge.log?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby damicore » 07 Apr 2016, 22:22

drdev wrote:
damicore wrote:I am stuck on "Loading Decks..." and sometimes on "loading fonts" in the splash screen. Any ideas?
Do you get anything in Forge/data/forge.log?
There are a couple of lines. One of them is an error on loading /storage/sdcard0/forge/cache/fonts/f19.fnt.
damicore
 
Posts: 16
Joined: 24 Sep 2015, 03:40
Has thanked: 11 times
Been thanked: 0 time

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby drdev » 07 Apr 2016, 22:35

damicore wrote:
drdev wrote:
damicore wrote:I am stuck on "Loading Decks..." and sometimes on "loading fonts" in the splash screen. Any ideas?
Do you get anything in Forge/data/forge.log?
There are a couple of lines. One of them is an error on loading /storage/sdcard0/forge/cache/fonts/f19.fnt.
What happens if you try deleting the cache/fonts/ folder then restarting?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 04-07-2016 Alpha 1.5.51.008

Postby drdev » 07 Apr 2016, 23:04

I just released 1.5.51.008, which should fix the Commanders screen error Jambarama was seeing due to having commanders saved to XML with an incorrect set code. There should be no need to manually fix the file, as I added a code change to fallback to just finding the card by name alone, and the XML file will be updated automatically the next time the conquest is saved.

More excitedly, this release includes multi-select support for both the Planar Conquest Collection screen and the Quest Mode Spell Shop screen. You can now long press on any item on those screens to switch to multi-select mode, at which point checkboxes will appear down the right side and a button will appear in place of the tabs at the bottom of the screen. You can then check as many items as you want and buy/sell/exile/retrieve all checked items at once. To switch back to normal-select mode, you just long press on an item a second time, at which point the checkboxes will go away and the button will be replaced with the original tabs.

ConquestMultiExile.png

Note that as part of this, I moved the tabs for the Spell Shop to the bottom so it can work the same way as the Planar Conquest Collection screen.

SpellShopMultiSell.png

Let me know if this behavior satisfies what people were hoping for in terms of buying/selling/exiling/retrieving multiple items at once.

Thanks.
-Dan
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby damicore » 07 Apr 2016, 23:06

drdev wrote:What happens if you try deleting the cache/fonts/ folder then restarting?
This didn't work :(
damicore
 
Posts: 16
Joined: 24 Sep 2015, 03:40
Has thanked: 11 times
Been thanked: 0 time

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby drdev » 07 Apr 2016, 23:13

damicore wrote:
drdev wrote:What happens if you try deleting the cache/fonts/ folder then restarting?
This didn't work :(
Can you send me the full forge.log file?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 04-07-2016 Alpha 1.5.51.008

Postby Jambarama » 08 Apr 2016, 03:19

drdev wrote:I just released 1.5.51.008, which should fix the Commanders screen error Jambarama was seeing due to having commanders saved to XML with an incorrect set code. There should be no need to manually fix the file, as I added a code change to fallback to just finding the card by name alone, and the XML file will be updated automatically the next time the conquest is saved.
Just updated and running into the same problem, clicking on commanders on the one save file. Not a big deal, I can restart, just wanted to share in case others are having the issue.
NullPointerException | Open
Code: Select all
Forge Version:    1.5.51.008
Operating System: Linux 3.4.0-g094b859 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String forge.item.PaperCard.getName()' on a null object reference
at forge.planarconquest.ConquestCommander.getName(ConquestCommander.java:76)
at forge.itemmanager.ColumnDef$3.apply(ColumnDef.java:56)
at forge.itemmanager.ColumnDef$3.apply(ColumnDef.java:53)
at forge.util.ItemPoolSorter.compare(ItemPoolSorter.java:75)
at forge.itemmanager.ItemManagerModel$CascadeManager$Sorter.compare(ItemManagerModel.java:216)
at forge.itemmanager.ItemManagerModel$MyComparator.compare(ItemManagerModel.java:229)
at forge.itemmanager.ItemManagerModel$MyComparator.compare(ItemManagerModel.java:225)
at java.util.TimSort.binarySort(TimSort.java:261)
at java.util.TimSort.sort(TimSort.java:186)
at java.util.Arrays.sort(Arrays.java:1998)
at java.util.Collections.sort(Collections.java:1900)
at forge.itemmanager.ItemManagerModel.refreshSort(ItemManagerModel.java:129)
at forge.itemmanager.views.ItemView.refresh(ItemView.java:115)
at forge.itemmanager.ItemManager.updateView(ItemManager.java:788)
at forge.itemmanager.ItemManager.setPool(ItemManager.java:414)
at forge.itemmanager.ItemManager.setPool(ItemManager.java:404)
at forge.screens.planarconquest.ConquestCommandersScreen.refreshCommanders(ConquestCommandersScreen.java:127)
at forge.screens.planarconquest.ConquestCommandersScreen.onActivate(ConquestCommandersScreen.java:91)
at forge.Forge.setCurrentScreen(Forge.java:288)
at forge.Forge.access$500(Forge.java:41)
at forge.Forge$5.run(Forge.java:259)
at forge.Forge$5.run(Forge.java:249)
at forge.screens.FScreen.onSwitchAway(FScreen.java:63)
at forge.Forge.openScreen(Forge.java:249)
at forge.screens.planarconquest.ConquestMenu.setCurrentScreen(ConquestMenu.java:80)
at forge.screens.planarconquest.ConquestMenu.access$100(ConquestMenu.java:17)
at forge.screens.planarconquest.ConquestMenu$3.handleEvent(ConquestMenu.java:43)
at forge.menu.FMenuItem$1.run(FMenuItem.java:104)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:415)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
Likewise, trying to exile a card is throwing the same error as before. Again, not a big deal because it is just on the one save.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.51.008
Operating System: Linux 3.4.0-g094b859 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String forge.item.PaperCard.getName()' on a null object reference
at forge.planarconquest.ConquestCommander.reloadDeck(ConquestCommander.java:100)
at forge.planarconquest.ConquestCommander.getDeck(ConquestCommander.java:94)
at forge.planarconquest.ConquestData.exileCards(ConquestData.java:288)
at forge.screens.planarconquest.ConquestCollectionScreen$CollectionTab$CollectionManager$1$2$1.run(ConquestCollectionScreen.java:265)
at java.lang.Thread.run(Thread.java:818)
I've attached the XML file again, though I haven't done anything that would've changed it.

The multi-sell looks terrific, but I can't get it to work.
Attachments
data.zip
(10.71 KiB) Downloaded 297 times
Jambarama
 
Posts: 3
Joined: 04 Oct 2015, 05:42
Has thanked: 0 time
Been thanked: 0 time

Re: Forge Android App: 04-04-2016 Alpha 1.5.51.007

Postby timmermac » 08 Apr 2016, 13:09

The app isn't auto-updating, and the link in the first post still points to .07.
"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

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 43 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 43 guests

Login Form