It is currently 28 Aug 2025, 22:18
   
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: 5-4-2015 Alpha 1.5.40.003

Postby Agetian » 25 May 2015, 05:02

By the way, I just confirmed that the issues I mentioned above are definitely still there (r29474).

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Forge Android App: 5-4-2015 Alpha 1.5.40.003

Postby drdev » 25 May 2015, 05:10

Agetian wrote:By the way, I just confirmed that the issues I mentioned above are definitely still there (r29474).

- Agetian
Thanks. I just committed r29475 which should fix it.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 5-4-2015 Alpha 1.5.40.003

Postby drdev » 25 May 2015, 05:44

So as an update, I think I've worked out all the kinks for Landscape mode when running on the emulator. I just need to test on my actual tablet, then I should be ready to release Landscape mode.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 5-4-2015 Alpha 1.5.40.003

Postby TheNyGuy » 25 May 2015, 20:05

Hi. I've tried installing it on a Samsung Galaxy S6 and it gets stuck on the splash screen. I'm using the latest version. I have not tried any previous ones. Any troubleshooting advice would be very appreciated.
TheNyGuy
 
Posts: 24
Joined: 07 Apr 2013, 22:19
Has thanked: 2 times
Been thanked: 0 time

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby drdev » 25 May 2015, 20:08

So after hours of trying, I had to give up on supporting the ability to change between landscape mode and portrait mode automatically by rotating your screen. There's some bugs with that behavior deep in the game engine code that I just can't figure out how to work around.

Despite this, I just released 1.5.40.004 with support for landscape mode for tablets. For now it just will be set by default with no way to go back to portrait mode. I will continue to investigate a way to support switching between the two, even if it ends up just being via setting in the end.

Note that none of this will affect how the app works on phones, which will still be in portrait mode.

Let me know if you have any questions or concerns about the new layout for tablets.

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

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby philocritus » 26 May 2015, 00:48

drdev wrote:So after hours of trying, I had to give up on supporting the ability to change between landscape mode and portrait mode automatically by rotating your screen. There's some bugs with that behavior deep in the game engine code that I just can't figure out how to work around.

Despite this, I just released 1.5.40.004 with support for landscape mode for tablets. For now it just will be set by default with no way to go back to portrait mode. I will continue to investigate a way to support switching between the two, even if it ends up just being via setting in the end.

Note that none of this will affect how the app works on phones, which will still be in portrait mode.

Let me know if you have any questions or concerns about the new layout for tablets.

Thanks.
-Dan
Everything looks good!
Main menu and battle are much better on landscape on my tablet.
Only one bug found so far:
When playing elvish Harbinger the screen opens the deck to choose a creature.
On portrait it worked fine, but on landscape every card shows the forge logo and I cant choose a card.
philocritus
 
Posts: 10
Joined: 04 May 2015, 09:21
Has thanked: 1 time
Been thanked: 4 times

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby TheNyGuy » 26 May 2015, 14:37

Could my issue be a Lollipop one? It does work well on my tablet with 4.4.2. Here is a screenshot of the screen it is stuck on on the galaxy S6.
Attachments
tmp_32229-Screenshot_2015-05-26-10-32-5735637295.png
TheNyGuy
 
Posts: 24
Joined: 07 Apr 2013, 22:19
Has thanked: 2 times
Been thanked: 0 time

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby philocritus » 26 May 2015, 14:57

TheNyGuy wrote:Could my issue be a Lollipop one? It does work well on my tablet with 4.4.2. Here is a screenshot of the screen it is stuck on on the galaxy S6.
I have lollipop and it works.
philocritus
 
Posts: 10
Joined: 04 May 2015, 09:21
Has thanked: 1 time
Been thanked: 4 times

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby drdev » 26 May 2015, 16:26

TheNyGuy wrote:Could my issue be a Lollipop one? It does work well on my tablet with 4.4.2. Here is a screenshot of the screen it is stuck on on the galaxy S6.
Does anything output to 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: 5-25-2015 Alpha 1.5.40.004

Postby TheNyGuy » 26 May 2015, 22:07

Here it is. Thanks
Attachments
tmp_28888-forge35637295.log
(9.53 MiB) Downloaded 414 times
TheNyGuy
 
Posts: 24
Joined: 07 Apr 2013, 22:19
Has thanked: 2 times
Been thanked: 0 time

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby tasteful » 27 May 2015, 00:57

Pull-up windows are unusable in landscape for me- no pictures or text shown, just the forge logo over and over. At least for Duress and Pithing Needle type effects.
tasteful
 
Posts: 65
Joined: 04 Nov 2013, 23:53
Has thanked: 3 times
Been thanked: 3 times

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby gbraad » 29 May 2015, 03:39

When playing Vanguard variant with Stonehewer Giant as your avatar, you can play a creature card, but the application will show "Waiting for opponent" and will throw an exception and hang.

Image Image

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

java.lang.NullPointerException
   at forge.game.card.Card.hasProperty(Card.java:3616)
   at forge.game.card.Card.isValid(Card.java:3604)
   at forge.game.ability.effects.CopyPermanentEffect.resolve(CopyPermanentEffect.java:122)
   at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1236)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1218)
   at forge.player.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:140)
   at forge.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:224)
   at forge.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:237)
   at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:412)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1236)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1218)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:484)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:972)
   at forge.game.GameAction.startGame(GameAction.java:1394)
   at forge.game.Match.startGame(Match.java:96)
   at forge.match.HostedMatch$2.run(HostedMatch.java:219)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:841)
Forge.log | Open
Code: Select all
(ThreadUtil first call): Running on a machine with 2 cpu core(s)
java.util.concurrent.TimeoutException
   at java.util.concurrent.FutureTask.get(FutureTask.java:176)
   at forge.util.ThreadUtil.executeWithTimeout(ThreadUtil.java:54)
   at forge.util.FileUtil.readFile(FileUtil.java:287)
   at forge.util.FileUtil.readFileToString(FileUtil.java:282)
   at forge.assets.AssetsDownloader.checkForUpdates(AssetsDownloader.java:39)
   at forge.Forge$1.run(Forge.java:92)
   at java.lang.Thread.run(Thread.java:841)
Language 'java.util.PropertyResourceBundle@41d72308' loaded successfully.
Read cards: 14774 archived files in 20810 ms (25 parts) using thread pool
StorageReader: Overwriting an object with key Rapha�l L�vy's Gaea's Might Get There (Dallas)
StorageReader: Overwriting an object with key Rapha�l L�vy's Gaea's Might Get There (Singapore)
StorageReader: Overwriting an object with key Trevor Jones - G_W Haterator
Read decks (46912 ms): 15 constructed, 0 sealed, 0 draft, 3 cubes, 0 scheme, 0 planar, 1 commander, 0 tiny leaders.
AI profile Reckless was chosen for the lobby player Michael.
Game-0 > java.lang.NullPointerException
   at forge.game.card.Card.hasProperty(Card.java:3616)
   at forge.game.card.Card.isValid(Card.java:3604)
   at forge.game.ability.effects.CopyPermanentEffect.resolve(CopyPermanentEffect.java:122)
   at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1236)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1218)
   at forge.player.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:140)
   at forge.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:224)
   at forge.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:237)
   at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:412)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1236)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1218)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:484)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:972)
   at forge.game.GameAction.startGame(GameAction.java:1394)
   at forge.game.Match.startGame(Match.java:96)
   at forge.match.HostedMatch$2.run(HostedMatch.java:219)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:841)
EDT > java.lang.IllegalStateException: forge.FThreads.assertExecutedByEdt may not be accessed from the event dispatch thread.
   at forge.FThreads.assertExecutedByEdt(FThreads.java:20)
   at forge.util.WaitCallback.invokeAndWait(WaitCallback.java:22)
   at forge.GuiMobile.showOptionDialog(GuiMobile.java:145)
   at forge.util.gui.SOptionPane.showOptionDialog(SOptionPane.java:63)
   at forge.util.gui.SOptionPane.showMessageDialog(SOptionPane.java:33)
   at forge.error.BugReporter.saveToFile(BugReporter.java:188)
   at forge.error.BugReportDialog$2.handleEvent(BugReportDialog.java:52)
   at forge.toolbox.FButton.tap(FButton.java:157)
   at forge.Forge$MainInputProcessor.tap(Forge.java:551)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:196)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:158)
   at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:360)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:420)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1525)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1242)
EDT > java.lang.IllegalStateException: forge.FThreads.assertExecutedByEdt may not be accessed from the event dispatch thread.
   at forge.FThreads.assertExecutedByEdt(FThreads.java:20)
   at forge.util.WaitCallback.invokeAndWait(WaitCallback.java:22)
   at forge.GuiMobile.showOptionDialog(GuiMobile.java:145)
   at forge.util.gui.SOptionPane.showOptionDialog(SOptionPane.java:63)
   at forge.util.gui.SOptionPane.showMessageDialog(SOptionPane.java:33)
   at forge.error.BugReporter.saveToFile(BugReporter.java:188)
   at forge.error.BugReportDialog$2.handleEvent(BugReportDialog.java:52)
   at forge.toolbox.FButton.tap(FButton.java:157)
   at forge.Forge$MainInputProcessor.tap(Forge.java:551)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:196)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:158)
   at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:360)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:420)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1525)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1242)
User avatar
gbraad
 
Posts: 12
Joined: 01 Apr 2015, 10:07
Has thanked: 1 time
Been thanked: 0 time

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby drdev » 30 May 2015, 17:16

TheNyGuy wrote:Here it is. Thanks
It looks your font cache got corrupt somehow. Can you try deleting Forge\cache\fonts\ and restarting?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby philocritus » 30 May 2015, 17:59

drdev wrote:
TheNyGuy wrote:Here it is. Thanks
It looks your font cache got corrupt somehow. Can you try deleting Forge\cache\fonts\ and restarting?
drdev do you want a log for the pull window(sidedeck choose, duress, elvish harbringer) bug? I can get one if you can.

Another bug I found is when you search for a deck, insert a partial name that doesn't exist on the list.
the deck list gets a java exception stack dump and the screen gets all messed up
philocritus
 
Posts: 10
Joined: 04 May 2015, 09:21
Has thanked: 1 time
Been thanked: 4 times

Re: Forge Android App: 5-25-2015 Alpha 1.5.40.004

Postby drdev » 30 May 2015, 18:10

philocritus wrote:
drdev wrote:
TheNyGuy wrote:Here it is. Thanks
It looks your font cache got corrupt somehow. Can you try deleting Forge\cache\fonts\ and restarting?
drdev do you want a log for the pull window(sidedeck choose, duress, elvish harbringer) bug? I can get one if you can.

Another bug I found is when you search for a deck, insert a partial name that doesn't exist on the list.
the deck list gets a java exception stack dump and the screen gets all messed up
No on the pull window. I've already got that fixed and almost ready to release.

I'll investigate the deck search bug now.

EDIT: Can't reproduce the deck search bug. Could you provide a stack trace and more details about what you did you produce it, such as the term you searched for?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 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