Page 125 of 132

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 28 Dec 2016, 16:30
by vinnie
vinnie wrote:I do not know if this problem has already been reported but, by activating the lazy loading of the script, two things not appear to work:
1) when I do a duel with random constructed deck, my deck is not generated and then the game may not start
2) in dev mode "add cart to play" does not work
Same problem with 1.5.58.009

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 31 Dec 2016, 05:48
by Brucesumm91
Was building a deck and noticed that confront the unknown from soi shows up as carrion call. Not sure what the deal is there. Figured you guys would want to know.

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 31 Dec 2016, 12:41
by Godsmith
Agetian wrote:
Zestir wrote:
Agetian wrote:UPDATE: I released mobile Forge v1.5.58.006. This is an incremental update that includes the latest bug fixes and some feature updates.

- Agetian
Afraid go say this update hasn't changed anything for me.
Yes, unfortunately, we haven't really changed anything in that department since then. I'm afraid to say this issue you're having is quite unique to the device you're using (maybe the version of Java or the implementation of the Java VM or something), so it's difficult both to reproduce and therefore to address in such a way that it would benefit you while not breaking anything for everybody else. Is there any chance you can try it on a different device and see if it works for you there? :/

- Agetian
I also have a Redmi Note 3 with the same symptoms. Is there any logs I could collect for you to help troubleshoot the issue?

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 31 Dec 2016, 16:49
by poipoi
Godsmith wrote:
Agetian wrote:
Zestir wrote:Afraid go say this update hasn't changed anything for me.
Yes, unfortunately, we haven't really changed anything in that department since then. I'm afraid to say this issue you're having is quite unique to the device you're using (maybe the version of Java or the implementation of the Java VM or something), so it's difficult both to reproduce and therefore to address in such a way that it would benefit you while not breaking anything for everybody else. Is there any chance you can try it on a different device and see if it works for you there? :/

- Agetian
I also have a Redmi Note 3 with the same symptoms. Is there any logs I could collect for you to help troubleshoot the issue?
it seems a problem of xiaomi devices. they have a particular permissions manager. On my xiaomi mi 5 it works well

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 01 Jan 2017, 04:27
by Godsmith
poipoi wrote:
Godsmith wrote:

I also have a Redmi Note 3 with the same symptoms. Is there any logs I could collect for you to help troubleshoot the issue?
it seems a problem of xiaomi devices. they have a particular permissions manager. On my xiaomi mi 5 it works well
Did you do anything special to make it work? Forge has access to all permissions that it asks for, so I'm not sure what more I can do.

However, I notice that downloading card pictures etc doesn't seem to have any effect. Regardless of how many times I start the LQ card pictures download, it still says that there is 3340 pictures yet to download. Might it have something to do with write permissions?

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 01 Jan 2017, 20:20
by vinnie
often the cards that are not download simply does not exist.
with the PC version do you can notice it starting forge in terminal, and trying to open one of the links of not downloaded cards

or alternatively unzip the archive /res/cardsfolder/cardsfolder.zip, search one of the cards without picture, open the txt and try to open the image link on the web browser

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 02 Jan 2017, 12:22
by lazylockie
AI is activating Nykthos, Shrine to Nyx all times at its upkeep. Perhaps either code it so it at least activates on M1/M2 or remove it from Theros Planar Conquest decks?

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 02 Jan 2017, 15:27
by Agetian
lazylockie wrote:AI is activating Nykthos, Shrine to Nyx all times at its upkeep. Perhaps either code it so it at least activates on M1/M2 or remove it from Theros Planar Conquest decks?
I updated the AI logic upstream, it'll now activate it only in Main 2 and only if its devotion to most prominent color is 4 or more (to compensate for tapping Nykthos + paying {2} more to activate the ability). Not optimal logic, perhaps, but should be good enough for basic use (this is still much much better than always wasting it in upkeep).

- Agetian

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 02 Jan 2017, 18:43
by Bliks
Just back into magic over the holidays and came across forge. You folks do some amazing work both PC and Android side!

I'm playing on a nexus 7 2013. Currently my hand shows up in a box on the right side of the screen in landscape. Is there a way to switch to having my hand along the bottom?

Happy new year everyone!

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 02 Jan 2017, 18:58
by Agetian
Bliks wrote:Just back into magic over the holidays and came across forge. You folks do some amazing work both PC and Android side!

I'm playing on a nexus 7 2013. Currently my hand shows up in a box on the right side of the screen in landscape. Is there a way to switch to having my hand along the bottom?

Happy new year everyone!
Yeah, there's an option in the Preferences that you can switch (Landscape mode enabled/disabled) that controls it. :) Happy New Year to you too!

- Agetian

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 02 Jan 2017, 19:25
by Bliks
I knew it would be something simple. Thanks so much! :)

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 04 Jan 2017, 11:49
by Jvy32
Dears, the app stucks at "loading cards from acrhive 100%" screen after I updated my Samsung tablet to Android 6, any thoughts?

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 04 Jan 2017, 12:18
by Agetian
Jvy32 wrote:Dears, the app stucks at "loading cards from acrhive 100%" screen after I updated my Samsung tablet to Android 6, any thoughts?
Hmm, I'm successfully running Forge on two Android 6 Samsung devices, a tablet and a cellphone... can you take a look at the contents of Forge.log and post it here? That should make it possible to clear up what's going on.

- Agetian

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 04 Jan 2017, 13:00
by Jvy32
Agetian wrote:
Jvy32 wrote:Dears, the app stucks at "loading cards from acrhive 100%" screen after I updated my Samsung tablet to Android 6, any thoughts?
Hmm, I'm successfully running Forge on two Android 6 Samsung devices, a tablet and a cellphone... can you take a look at the contents of Forge.log and post it here? That should make it possible to clear up what's going on.

- Agetian
thanks for the enlightenment. I checked the log file turns out the cardPicsDir=/storage/extSdCard/Forge/cards/ is no longer valid, I changed 'extsdcard' to '0000-0000' to match my SD card name then the app is alive.

Re: Forge Android App: 11-13-2016 Alpha 1.5.58.002

PostPosted: 05 Jan 2017, 20:25
by Godsmith
For what it's worth, here is my forge.log after Forge hangs on my Xiaomi device. I had hoped for something easy like a mismatching path or something, but no such luck...

Code: Select all
(ThreadUtil first call): Running on a machine with 6 cpu core(s)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.addFlags(Window.java:813)
at forge.app.Main$AndroidAdapter$3.run(Main.java:222)
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)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.clearFlags(Window.java:829)
at forge.app.Main$AndroidAdapter$3.run(Main.java:225)
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)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.addFlags(Window.java:813)
at forge.app.Main$AndroidAdapter$3.run(Main.java:222)
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)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.clearFlags(Window.java:829)
at forge.app.Main$AndroidAdapter$3.run(Main.java:225)
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)
Language 'java.util.PropertyResourceBundle@8041ae' loaded successfully.
Read cards: 16280 archived files in 18220 ms (25 parts) using thread pool
1/1 - /storage/emulated/0/Forge/cache/db/all-prices.txt
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.addFlags(Window.java:813)
at forge.app.Main$AndroidAdapter$3.run(Main.java:222)
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)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.clearFlags(Window.java:829)
at forge.app.Main$AndroidAdapter$3.run(Main.java:225)
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)
1/3340 - /storage/emulated/0/Forge/cache/pics/cards/A Display of My Dark Power.full.jpg
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.addFlags(Window.java:813)
at forge.app.Main$AndroidAdapter$3.run(Main.java:222)
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)
04:03 ERROR: [LQ Pictures] Error downloading pictures
java.io.IOException: unexpected end of stream on Connection{downloads.cardforge.link:80, proxy=DIRECT@ hostAddress=173.236.199.26 cipherSuite=none protocol=http/1.1} (recycle count=0)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:905)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:789)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:443)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:501)
at forge.download.GuiDownloadService.run(GuiDownloadService.java:258)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.io.EOFException: \n not found: size=0 content=...
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:200)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
... 8 more
2/3340 - /storage/emulated/0/Forge/cache/pics/cards/Abandon Reason.full.jpg
  File not found: http://www.wizards.com/global/images/magic/general/abandon_reason.jpg
3/3340 - /storage/emulated/0/Forge/cache/pics/cards/Abbot of Keral Keep.full.jpg
  File not found: http://www.wizards.com/global/images/magic/general/abbot_of_keral_keep.jpg
4/3340 - /storage/emulated/0/Forge/cache/pics/cards/Aberrant Researcher.full.jpg
  File not found: http://www.wizards.com/global/images/magic/general/aberrant_researcher.jpg
5/3340 - /storage/emulated/0/Forge/cache/pics/cards/Abolisher of Bloodlines.full.jpg
  File not found: http://www.wizards.com/global/images/magic/general/abolisher_of_bloodlines.jpg
6/3340 - /storage/emulated/0/Forge/cache/pics/cards/Abomination of Gudul.full.jpg
  File not found: http://www.wizards.com/global/images/magic/general/abomination_of_gudul.jpg
7/3340 - /storage/emulated/0/Forge/cache/pics/cards/Absorb.full.jpg
  Connection failed for url: http://resources.wizards.com/magic/cards/in/en-us/card23155.jpg
8/3340 - /storage/emulated/0/Forge/cache/pics/cards/Abstruse Interference.full.jpg
  File not found: http://www.wizards.com/global/images/magic/general/abstruse_interference.jpg
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6588)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:931)
at android.view.View.requestLayout(View.java:18745)
at android.view.View.setLayoutParams(View.java:12404)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:339)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:93)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2640)
at android.view.Window.dispatchWindowAttributesChanged(Window.java:888)
at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4297)
at android.view.Window.setFlags(Window.java:865)
at android.view.Window.clearFlags(Window.java:829)
at forge.app.Main$AndroidAdapter$3.run(Main.java:225)
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)
EDT > java.lang.NoSuchMethodError: No static method join$7e11f5bf(Ljava/lang/Iterable;)Ljava/lang/String; in class Lorg/apache/commons/lang3/StringUtils; or its super classes (declaration of 'org.apache.commons.lang3.StringUtils' appears in /system/framework/framework.jar:classes2.dex)
at forge.card.CardType.toString(CardType.java:396)
at forge.card.CardDetailUtil.formatCardType(CardDetailUtil.java:170)
at forge.card.CardRenderer.drawCardListItem(CardRenderer.java:240)
at forge.card.CardRenderer.drawCardListItem(CardRenderer.java:175)
at forge.itemmanager.CardManager$1.drawValue(CardManager.java:73)
at forge.itemmanager.views.ItemListView$ItemList$1.drawValue(ItemListView.java:258)
at forge.itemmanager.views.ItemListView$ItemList$1.drawValue(ItemListView.java:194)
at forge.toolbox.FList.draw(FList.java:252)
at forge.Graphics.draw(Graphics.java:144)
at forge.toolbox.FContainer.draw(FContainer.java:64)
at forge.toolbox.FScrollPane.draw(FScrollPane.java:312)
at forge.Graphics.draw(Graphics.java:144)
at forge.toolbox.FContainer.draw(FContainer.java:64)
at forge.Graphics.draw(Graphics.java:144)
at forge.toolbox.FContainer.draw(FContainer.java:64)
at forge.Graphics.draw(Graphics.java:144)
at forge.toolbox.FContainer.draw(FContainer.java:64)
at forge.screens.FScreen.draw(FScreen.java:164)
at forge.Forge.render(Forge.java:326)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:422)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)