It is currently 12 Sep 2025, 16:49
   
Text Size

Starting quests with a precon deck [patch]

Post MTG Forge Related Programming Questions Here

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

Starting quests with a precon deck [patch]

Postby Fnoed » 03 Mar 2012, 22:52

I have attached a patch (renamed to a .txt) against r14520 that adds the option to start a quest with a precon deck, replacing the pool of random cards and removing the starting gold.

It would be great if one of the devs could apply it to main source tree.

(Great work on the UI rehaul, btw. I was quite surprised when I downloaded the beta ~1 month ago.)
Attachments
Precon_start.txt
(14.05 KiB) Downloaded 258 times
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: Starting quests with a precon deck [patch]

Postby Chris H. » 03 Mar 2012, 23:25

Hello Fnoed, it is good to hear from you again.

I can give you commit status to our new SVN if you are interested.
User avatar
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: Starting quests with a precon deck [patch]

Postby Fnoed » 03 Mar 2012, 23:28

That would be great. I'm not sure how much free time I have right now, but I can fix some minor problems I am seeing.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: Starting quests with a precon deck [patch]

Postby Chris H. » 03 Mar 2012, 23:41

Fnoed wrote:That would be great. I'm not sure how much free time I have right now, but I can fix some minor problems I am seeing.
`
Understood, no problem. :)

I just added you to the list of approved members to the forge developers group. It might take anywhere from a few minutes to a day or so before you can make a commit.

Feel free to help where ever and when ever you find some free time.

Forge as a project has grown substantially since your UI work on the quest mode. :)
User avatar
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: Starting quests with a precon deck [patch]

Postby Fnoed » 03 Mar 2012, 23:57

Will I get mail with the password? On googlecode the credentials were autogenerated, but I cannot find a similar functionality on svn.slightlymagic.net.

Chris H. wrote:Forge as a project has grown substantially since your UI work on the quest mode. :)
Yes, it looks more like a game instead of a badly-written enterprise app. :)
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: Starting quests with a precon deck [patch]

Postby Chris H. » 04 Mar 2012, 00:04

Fnoed wrote:Will I get mail with the password? On googlecode the credentials were autogenerated, but I cannot find a similar functionality on svn.slightlymagic.net.
`
I do not think that there is a password and I do not remember getting a mail.

Without the creds you get an error(?) when you commit. Give it a try and see what happens. I will be around for awhile tonight.
User avatar
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: Starting quests with a precon deck [patch]

Postby Doublestrike » 04 Mar 2012, 00:07

Fnoed wrote:Great work on the UI rehaul, btw. I was quite surprised when I downloaded the beta ~1 month ago.
Cheers. Only going to get better :)

You made quest mode? :kowtow:
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times

Re: Starting quests with a precon deck [patch]

Postby Chris H. » 04 Mar 2012, 00:17

Doublestrike wrote:
Fnoed wrote:Great work on the UI rehaul, btw. I was quite surprised when I downloaded the beta ~1 month ago.
Cheers. Only going to get better :)

You made quest mode? :kowtow:
`
No, Rares did the first version and Dennis made the fantasy update.

Fnoed removed the really ugly UI code and changed it to the version that you just replaced. So, Fnoed is the granddad of quest mode UI improvements. :)
User avatar
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: Starting quests with a precon deck [patch]

Postby friarsol » 04 Mar 2012, 01:08

Chris H. wrote:Fnoed removed the really ugly UI code and changed it to the version that you just replaced. So, Fnoed is the granddad of quest mode UI improvements. :)
You mean Grandkid?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Starting quests with a precon deck [patch]

Postby Fnoed » 04 Mar 2012, 01:40

Oh great... My two options are to be either an old geezer or a small child... :roll:

But yes, I'll take all blame and none of the glory for the previous Quest UI...
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: Starting quests with a precon deck [patch]

Postby friarsol » 04 Mar 2012, 02:02

I was thinking about this recently, so I'm going to semi-hijack this thread since Fnoed's patch covers 1 portion of what I was considering.

I was considering this availability for Starting Quests:

1. Forge Starter Cards + 250 GP (Already exists)
2. Sealed Deck (6 boosters) + 1250 GP (Restricting most expensive sets?)
3. Booster Draft (3 boosters) + 750 GP (Restricting most expensive sets?)
4. Constructed Deck + 0 GP (Fnoed's Patch)

Draft provides less cards, but you basically build a cohesive deck from what you are drafting so you have less useless cards.

We would just have to figure out the logistics of how to spawn off #3. Basically what I was thinking is you try to start a Quest, you make your starter choice, for a Sealed and Forge Starter the cards are generated and fed into your starting pile. For #4 you would just select the Constructed deck and be fine. But #3 would kinda need to wait on a Booster Draft taking place, then spawn the starting cards from that.

Maybe for 2,3,4 you would have to have a pre-created deck (obvious for constructed) of that type that would be loaded in? Although in that case, there would be no way to restrict a user from creating a Beta Sealed deck and starting Quests with Moxen/Lotus. Maybe it's unnecessary to place these restrictions when they could just create a Constructed deck with whatever they want.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 51 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 51 users online :: 0 registered, 0 hidden and 51 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 51 guests

Login Form