Forge version 1.5.26
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Forge version 1.5.26
by drdev » 07 Sep 2014, 22:05
So I just finished changing it so the value of X is now pre-announced prior to selecting targets or actually paying the mana cost. The result is that not only is the cost adjusted properly now from other effects, but you can now use the Auto button to pay the cost.
Note that this no longer uses AI logic to determine a maximum value for X, since that would allow helping the player without the use of the Auto button.
Also, I made it so this same pre-announce structure will now apply for Replicate and Multikicker spells, which should make those much easier to cast as well.
Let me know if you see any issues with my implementation or can think of any other effects that should also be pre-announced this way.
Thanks.
-Dan
Note that this no longer uses AI logic to determine a maximum value for X, since that would allow helping the player without the use of the Auto button.
Also, I made it so this same pre-announce structure will now apply for Replicate and Multikicker spells, which should make those much easier to cast as well.
Let me know if you see any issues with my implementation or can think of any other effects that should also be pre-announced this way.
Thanks.
-Dan
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge version 1.5.26
by Agetian » 09 Sep 2014, 05:51
I implemented a new type of AI logic for the guild lands so that the AI doesn't bounce them back to hand with their own triggered ability at every turn (which doesn't always happen but happens often enough to become a problem, typically locking the AI as far as land drops go). Originally I wanted to implement this without implementing a special AI logic flag (e.g. by adding a mandatory check for whether the card is bounced back to hand when played from hand) but I realized that it's not as simple as it looks since I don't see an easy enough way to ascertain that the card that ETBed from hand and the one that was then bounced from the battlefield back to hand is one and the same thing, and I decided not to implement a check like that for all cases (because sometimes it may make sense to bounce an owned card back from the battlefield to hand with its ability, it's not always a senseless action). If there is a better way of doing it without having to use a separate AI logic flag, please feel free to improve.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3471
- Joined: 14 Mar 2011, 05:58
- Has thanked: 676 times
- Been thanked: 561 times
Re: Forge version 1.5.26
by Fizanko » 09 Sep 2014, 20:51
Question : will DDN be supported in the 1.5.26 release or will it be only in future ones ?
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Re: Forge version 1.5.26
by Chris H. » 12 Sep 2014, 16:49
Today's build and deploy attempt ended in a build failure. Appears to be a FTP problem with cardforge.
I will have to upload the archives directly to this site.
- Code: Select all
[INFO] Command sent: PASV
[INFO]
[INFO] Reply received: 227 Entering Passive Mode (174,34,254,123,140,176)
[INFO]
[INFO] Command sent: STOR VMatchUI.html
[INFO]
[INFO] ftp://ftp.cardforge.org/site/ - Session: Disconnecting
[INFO] ftp://ftp.cardforge.org/site/ - Session: Disconnected
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ...................................... FAILURE [3:58.750s]
[INFO] [INFO] Forge Core ........................................ SKIPPED
[INFO] [INFO] Forge Game ........................................ SKIPPED
[INFO] [INFO] Forge AI .......................................... SKIPPED
[INFO] [INFO] Forge Net ......................................... SKIPPED
[INFO] [INFO] Forge Gui ......................................... SKIPPED
[INFO] [INFO] Forge ............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 3:59.856s
[INFO] [INFO] Finished at: Fri Sep 12 12:32:41 EDT 2014
[INFO] [INFO] Final Memory: 39M/401M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:deploy (default-deploy) on project forge: Error uploading site: IOException caught while attempting to upload /Users/me/Workspace_SVN/ForgeSVN/target/checkout/target/site/xref/forge/screens/match/VMatchUI.html: Read timed out -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ...................................... FAILURE [8:55.776s]
[INFO] Forge Core ........................................ SUCCESS [1:24.889s]
[INFO] Forge Game ........................................ SUCCESS [3:55.128s]
[INFO] Forge AI .......................................... SUCCESS [2:03.670s]
[INFO] Forge Net ......................................... SUCCESS [25.467s]
[INFO] Forge Gui ......................................... SUCCESS [2:15.722s]
[INFO] Forge ............................................. SUCCESS [7:22.527s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:40.087s
[INFO] Finished at: Fri Sep 12 12:32:41 EDT 2014
[INFO] Final Memory: 76M/587M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
logout
[Process completed]
I will have to upload the archives directly to this site.
- Attachments
-
- log.txt.zip
- (78.7 KiB) Downloaded 226 times
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.5.26
by Rob Cashwalker » 13 Sep 2014, 01:50
It looks like (from looking a the files in FTP) that some files uploaded. Just for kicks, I moved the release folder to another folder. Can you try the release process again?
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Forge version 1.5.26
by Chris H. » 13 Sep 2014, 02:13
Rob Cashwalker wrote:It looks like (from looking a the files in FTP) that some files uploaded. Just for kicks, I moved the release folder to another folder. Can you try the release process again?
I will try again but I will need to boot from a different HD to do so.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.5.26
by Chris H. » 13 Sep 2014, 02:27
Chris H. wrote:Rob Cashwalker wrote:It looks like (from looking a the files in FTP) that some files uploaded. Just for kicks, I moved the release folder to another folder. Can you try the release process again?
I will try again but I will need to boot from a different HD to do so.
I have rebooted, updated to the head version and have started the build and deploy beta maven command. It is now generating the reports and the process will take awhile.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.5.26
by Chris H. » 13 Sep 2014, 02:44
The reports are now created, the archives are made and the poms are now updated to the next version.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.5.26
by Chris H. » 13 Sep 2014, 02:50
Chris H. wrote:The reports are now created, the archives are made and the poms are now updated to the next version.
Sigh, another build failure:
- Code: Select all
[INFO] Not removing release POMs
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /Users/me/Workspace_SVN/ForgeSVN && svn --non-interactive commit --file /var/folders/18/gb84vnwh8xschl006s6pn2b80000gn/T/maven-scm-2024986591.commit --targets /var/folders/18/gb84vnwh8xschl006s6pn2b80000gn/T/maven-scm-8825711749788532046-targets
[INFO] Working directory: /Users/me/Workspace_SVN/ForgeSVN
[INFO] Release preparation complete.
[INFO]
[INFO] --- maven-release-plugin:2.5:perform (default-cli) @ forge ---
[INFO] Checking out the project to perform the release ...
[INFO] Executing: /bin/sh -c cd /Users/me/Workspace_SVN/ForgeSVN/target && svn --non-interactive checkout http://svn.slightlymagic.net/forge/tags/forge-1.5.27 /Users/me/Workspace_SVN/ForgeSVN/target/checkout
[INFO] Working directory: /Users/me/Workspace_SVN/ForgeSVN/target
[INFO] Invoking perform goals in directory /Users/me/Workspace_SVN/ForgeSVN/target/checkout
[INFO] Executing goals 'deploy site-deploy'...
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO]
[INFO] [INFO] Forge Parent
[INFO] [INFO] Forge Core
[INFO] [INFO] Forge Game
[INFO] [INFO] Forge AI
[INFO] [INFO] Forge Net
[INFO] [INFO] Forge Gui
[INFO] [INFO] Forge
[INFO] [INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Forge Parent 1.5.27
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ forge >>>
[INFO] [INFO]
[INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ forge <<<
[INFO] [INFO]
[INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ forge ---
[INFO] [INFO]
[INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ forge ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ forge ---
[INFO] [INFO] Installing /Users/me/Workspace_SVN/ForgeSVN/target/checkout/pom.xml to /Users/me/.m2/repository/forge/forge/1.5.27/forge-1.5.27.pom
[INFO] [INFO]
[INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ forge ---
[INFO] Uploading: ftp://ftp.cardforge.org/releases/forge/forge/1.5.27/forge-1.5.27.pom
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ...................................... FAILURE [4.150s]
[INFO] [INFO] Forge Core ........................................ SKIPPED
[INFO] [INFO] Forge Game ........................................ SKIPPED
[INFO] [INFO] Forge AI .......................................... SKIPPED
[INFO] [INFO] Forge Net ......................................... SKIPPED
[INFO] [INFO] Forge Gui ......................................... SKIPPED
[INFO] [INFO] Forge ............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 5.115s
[INFO] [INFO] Finished at: Fri Sep 12 22:45:41 EDT 2014
[INFO] [INFO] Final Memory: 15M/148M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project forge: Failed to deploy artifacts: Could not transfer artifact forge:forge:pom:1.5.27 from/to cardforge-repo (ftp://ftp.cardforge.org/releases): Required directory: '/releases' is missing -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ...................................... FAILURE [4:55.047s]
[INFO] Forge Core ........................................ SUCCESS [1:26.005s]
[INFO] Forge Game ........................................ SUCCESS [3:58.519s]
[INFO] Forge AI .......................................... SUCCESS [2:00.290s]
[INFO] Forge Net ......................................... SUCCESS [27.780s]
[INFO] Forge Gui ......................................... SUCCESS [2:17.598s]
[INFO] Forge ............................................. SUCCESS [7:41.265s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23:50.043s
[INFO] Finished at: Fri Sep 12 22:45:42 EDT 2014
[INFO] Final Memory: 81M/581M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
logout
[Process completed]
- Attachments
-
- log.txt.zip
- (36.61 KiB) Downloaded 204 times
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.5.26
by Rob Cashwalker » 13 Sep 2014, 03:46
OK, I re-created the directories "site", "releases" and "snapshots".
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
40 posts
• Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 27 guests