Page 1 of 22

General UI support

PostPosted: 05 Feb 2012, 02:20
by Doublestrike
Yep.

Re: General UI support

PostPosted: 05 Feb 2012, 02:52
by Doublestrike
The Bazaar has a new(ish) UI :D

The only bug I noticed was when the screen is resized; that's a known bug and on the list. Otherwise, should be OK.

Re: General UI support

PostPosted: 05 Feb 2012, 02:55
by Doublestrike
I also added a new feature to the bazaar: you can now sell life back to the alchemist - as much as you want.

However, you can only buy 15 life. :twisted: Also, per the previous implementation, the selling/buying price of each goes up by 250 every five levels, up to 15. Should be an interesting twist to strategy - a good way to mortgage some credits to get an important card, or something.

I also upgraded the bazaar items to now have a buying and selling price. Depending on popular opinion, we could sell pets back to the pet shop for a lower price (or something). Anyway, the machinery is in place, should we choose to use it.

Re: General UI support

PostPosted: 05 Feb 2012, 02:58
by Doublestrike
By the way, not sure if it was intentional, but before, you could buy unlimited life from the Bazaar. In the code, it was supposed to be limited to 15, so I fixed this bug, if it was a bug.

Re: General UI support

PostPosted: 05 Feb 2012, 03:17
by Chris H.
I will check out the new bazaar tomorrow as it is getting late for me. :)

I was going to push the thumbs up button but it looks like we no longer get the email to let us know that we have been thanked. :(

Oh, have you had a chance to look at the changes submitted by Roujin Patch: New preferences for quest mode Adding this in with lower upper limits and adding these to the quest preferences view might be nice.

The hard coded limits that you mentioned in the past. Are these limits only used while adjusting the settings while in-game? Are people allowed to edit the file in a text editor to get above these hard coded limits?

Re: General UI support

PostPosted: 05 Feb 2012, 04:02
by Doublestrike
Chris H. wrote:I was going to push the thumbs up button but it looks like we no longer get the email to let us know that we have been thanked. :(
:cry:

Oh, have you had a chance to look at the changes submitted by Roujin Patch: New preferences for quest mode Adding this in with lower upper limits and adding these to the quest preferences view might be nice.
Yeah, could do. @Roujin - Seems like you've volunteered a few patches, maybe request commit status and work them in as you see fit?

The hard coded limits that you mentioned in the past. Are these limits only used while adjusting the settings while in-game? Are people allowed to edit the file in a text editor to get above these hard coded limits?
Exactly right.

Re: General UI support

PostPosted: 05 Feb 2012, 04:10
by timmermac
Doublestrike wrote:
Chris H. wrote:I was going to push the thumbs up button but it looks like we no longer get the email to let us know that we have been thanked. :(
Cheers - I'm a bit of a whore for the thumbs up anyway so don't be shy heheh :)

Oh, have you had a chance to look at the changes submitted by Roujin Patch: New preferences for quest mode Adding this in with lower upper limits and adding these to the quest preferences view might be nice.
Yeah, could do. @Roujin - Seems like you've volunteered a few patches, maybe request commit status and work them in as you see fit?

The hard coded limits that you mentioned in the past. Are these limits only used while adjusting the settings while in-game? Are people allowed to edit the file in a text editor to get above these hard coded limits?
Exactly right.
I could use the old quest.preferences file as I could in the past?

Re: General UI support

PostPosted: 05 Feb 2012, 04:12
by Doublestrike
Not the exact same file, but if you look at the new one (same place, same name) it's the same information. The new one can be edited too, in a text editor, and the new values will work in-game.

Re: General UI support

PostPosted: 05 Feb 2012, 04:20
by timmermac
It's possible to enter values above the hardcoded limits and have them work?

Re: General UI support

PostPosted: 05 Feb 2012, 11:42
by Chris H.
timmermac wrote:It's possible to enter values above the hardcoded limits and have them work?
`
Yes, it should be possible to adjust the values with a text editor. I think that the format of the pref file has changed but it should not be too hard to figure out.

quest preferences | Open
BOOSTER_COMMONS=11
BOOSTER_UNCOMMONS=3
BOOSTER_RARES=1
PENALTY_LOSS=15
CURRENT_QUEST=questData.dat
REWARDS_BASE=25
REWARDS_UNDEFEATED=25
REWARDS_WINS_MULTIPLIER=0.3
REWARDS_POISON=50
REWARDS_MILLED=40
REWARDS_MULLIGAN0=500
REWARDS_ALTERNATIVE=100
REWARDS_TURN15=5
REWARDS_TURN10=50
REWARDS_TURN5=250
REWARDS_TURN1=1500
STARTING_BASIC_LANDS=20
STARTING_SNOW_LANDS=5

STARTING_COMMONS_EASY=82
STARTING_COMMONS_MEDIUM=80
STARTING_COMMONS_HARD=78
STARTING_COMMONS_EXPERT=76

STARTING_UNCOMMONS_EASY=40
STARTING_UNCOMMONS_MEDIUM=36
STARTING_UNCOMMONS_HARD=32
STARTING_UNCOMMONS_EXPERT=28

STARTING_RARES_EASY=20
STARTING_RARES_MEDIUM=18
STARTING_RARES_HARD=16
STARTING_RARES_EXPERT=15

STARTING_CREDITS_EASY=250
STARTING_CREDITS_MEDIUM=200
STARTING_CREDITS_HARD=150
STARTING_CREDITS_EXPERT=100

WINS_BOOSTER_EASY=1
WINS_BOOSTER_MEDIUM=1
WINS_BOOSTER_HARD=2
WINS_BOOSTER_EXPERT=2

WINS_RANKUP_EASY=3
WINS_RANKUP_MEDIUM=4
WINS_RANKUP_HARD=5
WINS_RANKUP_EXPERT=6

WINS_MEDIUMAI_EASY=10
WINS_MEDIUMAI_MEDIUM=9
WINS_MEDIUMAI_HARD=8
WINS_MEDIUMAI_EXPERT=7

WINS_HARDAI_EASY=20
WINS_HARDAI_MEDIUM=18
WINS_HARDAI_HARD=16
WINS_HARDAI_EXPERT=14

WINS_EXPERTAI_EASY=40
WINS_EXPERTAI_MEDIUM=36
WINS_EXPERTAI_HARD=32
WINS_EXPERTAI_EXPERT=28

`
The maximum settings that have been mentioned should only limit us to the range of numbers that we can enter while using the in-game quest mode presences tab. :)

Re: General UI support

PostPosted: 05 Feb 2012, 13:00
by Max mtg
Hey, guys!
It's 21 century and year 2012 - why homebrew config file formats and not xml or json?

Code: Select all
...
rewards: {
  base: 25,
  undefeated: 25,
  poison: 50,
  milled: 40
  ...
}
...
easy : {
  start : {
    credits: 250,
    rares: 20,
    uncommons: 40,
    ...
  },
  wins_rankup: 3,
  wins_to_upgrade_ai: {
    medium: 10,
    hard: 20
  },
},
medium: {
  start : {
    credits: 200,
...
Would be so much better

Re: General UI support

PostPosted: 05 Feb 2012, 14:35
by Roujin
Doublestrike wrote:Yeah, could do. @Roujin - Seems like you've volunteered a few patches, maybe request commit status and work them in as you see fit?
It was only one patch, until now ;)
I'll have to decline on that offer for now - maybe at a later point. See my post in the other thread.

Re: General UI support

PostPosted: 05 Feb 2012, 15:10
by friarsol
Max mtg wrote:Hey, guys!
It's 21 century and year 2012 - why homebrew config file formats and not xml or json?

Code: Select all
...
rewards: {
  base: 25,
  undefeated: 25,
  poison: 50,
  milled: 40
  ...
}
...
easy : {
  start : {
    credits: 250,
    rares: 20,
    uncommons: 40,
    ...
  },
  wins_rankup: 3,
  wins_to_upgrade_ai: {
    medium: 10,
    hard: 20
  },
},
medium: {
  start : {
    credits: 200,
...
I would love json support here. I had been planning on converting the pets to json but havent had time
Would be so much better

Re: General UI support

PostPosted: 05 Feb 2012, 15:19
by Roujin
I am getting weird transitions when changing between tabs in the latest daily build. For example when switching from Preferences to Quests. It doesn't look like I'm switching to a new tab, but like the contents of the tab are "morphed" to become the contents of the new tab.

The same in the new bazaar, when I switch from, say, Bookstore (which has 1 item) to Banker (which has 2 items). First, a second item (lucky coin) seems to appear, then the first item is changed (to estates). The subtitle seems to change a tiny bit before the title does, too.

Re: General UI support

PostPosted: 05 Feb 2012, 18:48
by Chris H.
I am trying out the new bazaar and it looks nice.

Is there currently a way to leave this bazaar and to go back to the home screen without quitting and then restarting?

Ah, I clicked on my Mac's close button, the red circle at the top left and it went back to the home screen quest mode screen.

I also noticed that the resizing is not consistent. I noticed that after several resizes that I get wider buttons on the left when at 800 x 600 pixels. And I am getting narrower buttons on the left when the screen is at maximum size. A work in progress. :)

`