Replies

Nov 9, 2017 8 years ago Official
Bug
User Avatar
Segfault

Hello, fellow battlers! Today I bring you a revamp of the old Spend EXP page. You can take a look at the new page here!

Instead of links for spending EXP on specific stats, there's now a link under each pet to a form that lets you choose how you want to allocate your points before spending them. Some key improvements from our old page:

-- You can actually buy multiple stats at once! And they don't even have to be the same stat :D This should make it a lot easier to spend a large amount of EXP in one go. -- This page now shows you your pet's current stats as well as how many stats it has to go before the next tier. -- The new stats (that you'll get after buying your stat points) are previewed in the rightmost column, and updates automatically as you change how you allocate the points.

Please note: Because the prices change when you move up a tier, there's a limit to how many points you can buy at once: enough to move to the next tier. On the lefthand side it shows you how many stat points you're allowed to buy. You have to buy enough to reach the next tier, and once the page reloads you can continue spending EXP with the updated prices. (We had to do this so that people couldn't cheat by buying more exp past their current tier with the lower-tier prices.)

Please give it a try, and ping me with any problems/glitches/etc you run into so they can be promptly addressed.

(PS. There are some smaller changes that will be made in the future, to both this and other battle UI pages, but we're taking our time with those and trying to get the bigger and most significant things done first. For instance, I haven't forgotten what I promised on the thread about the statistics page. Things are getting done bit by bit :) )

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 9, 2017 8 years ago Official
Bug
User Avatar
Segfault

It's just a numeric input field. The buttons are not something coded onto the page; they're added by your browser. The form field itself is just a input type="number" which many browsers will add little arrows to, but you can also just highlight it and type in a number.

For stats page stuff, there is a stats page topic floating around somewhere...

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 9, 2017 8 years ago Official
Bug
User Avatar
Segfault

We could look into adding arrows to the input field and other things to make it better on mobile (and on desktop I suppose, since they default browser arrows are so tiny for some reason) but the old one-click-per-stat thing is definitely not coming back.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 9, 2017 8 years ago Official
Bug
User Avatar
Segfault

Well, it's tough because you can also spend on different stats that cost different amounts. The number at the bottom turns red to indicate you went over your allotted amount. BUT I don't want to prevent users from going over, because sometimes people want to increase one stat before deciding which other to decrease (if that makes sense)

[edit] Okay I should explain better, cuz that was really unclear.

Say for instance you can buy 10 points, and you have them spread out over stats like:

5 strength 5 defense

But then you want to put 5 in health, so you type in 5 in the health, now you have:

5 strength, 5 defense, 5 health = 15 (which goes over!)

But then you can just decide how you want to decrease the other two stats. Same for going over the EXP amount. I think the interface should let you do it, indicate that you're over (by changing the font red), but when you are deciding how to allocate the points it's common for people to go over the limit temporarily when trying to shuffle the points around.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 9, 2017 8 years ago Official
Bug
User Avatar
Segfault

Missed your post at first, sorry.

It's not going to be reverted. It can, however, be tweaked and improved, and I'm happy to take suggestions and hear out your concerns.

Quote
There should be an easier way to spend all your EXP on 1 stat, without needing to do math to figure out how much of a single stat you can afford.</p>
<p>I used to be able to just click the button over and over until I was out of EXP, now I need to dick around with sliders and tiny buttons. I&;d say revert it. This adds a ton of functionality you don&;t need while making routine stuff take longer.
As mentioned, the page automatically calculates the totals for you so you shouldn't need to do any math. The page doesn't have any sliders, and the tiny buttons are optional - you can also just type the number in the input field directly and that will also work.

Could you elaborate what "a ton of functionality you don't need" and "routine stuff" refer to? Please keep in mind that these can mean different things for different players, and that functionality you consider unnecessary may be something others find useful and want to keep :)

[edit] I like your suggestion of:

Quote
a &quot;max&quot; button to auto fill a single stat.
As for the arrows accelerating, I think that some users may find it frustrating/hard to control so I'm leaning away from that idea.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 9, 2017 8 years ago Official
Bug
User Avatar
Segfault

Sounds like a bug with Firefox, or maybe something a browser extension is doing? Forms are supposed to get cleared when you refresh a page. (In general, not just this page.)

Things will look better on phones in the future (hopefully near future) - We're still in the process of setting that up.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 10, 2017 8 years ago Official
Bug
User Avatar
Segfault

The max button was suggested, and I think that's a good idea. It's on my list of things to add.

If the old links were to come back, they'd have to work differently. I'm trying to get rid of things that put unnecessary strain on the server, like reloading the entire page to buy a single stat. The old way was simpler, but not more elegant - and it was very inefficient for both the user and the servers.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 10, 2017 8 years ago Official
Bug
User Avatar
Segfault

Would a "max button" like what has been suggested be helpful for you? What about bigger/more visible arrows?

As I've explained, we're not going to revert this, if that's what you are asking for. But if you have suggestions for how we can make the current page better for you, I'm happy to hear the suggestions and see what can be done to take your perspective into account :)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 12, 2017 8 years ago Official
Bug
User Avatar
Segfault

Great suggestions! Thank you! Will look at implementing some of that this week.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 12, 2017 8 years ago Official
Bug
User Avatar
Segfault

I'd much rather work on refining the new page than try to put the old links back somehow. I know it's an extra page load if you're only buying one stat. But any more than that, you'd just load the page, type the number of stats you want to buy, and go. I'm working on adding bigger +/- buttons as well as a max button and other improvements to this interface to make it easier.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 15, 2017 8 years ago Official
Bug
User Avatar
Segfault

@ Rocketlauncher ooh good catch. Working on a fix!

Just pushed a fix. Wanna try it out for me?

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 15, 2017 8 years ago Official
Bug
User Avatar
Segfault

Hi guys, quick update. No max button yet though (sorry!)

I implemented a couple tweaks, some of which were suggested by :

  • Clearer column labeling of input column
  • Limits added to the bottom row for visual ease
  • Switched input and cost columns
  • The new stat total (right-most column) turns green when there is a change for that stat

I added instructions to the page on the most convenient way to use it (for computer users - mobile will get their buttons.)

I also fixed a bug by where it incorrectly included Level in the tier calculation. It should be correctly excluded now. It would be great if you guys could double-check it for me.

Finally I cleaned up the stats home page a little bit, as it was created before we moved to Bootstrap, so I had to go back and convert it. Enjoy the swords :D

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 15, 2017 8 years ago Official
Bug
User Avatar
Segfault

looks like you found a little ui bug. I will take a look.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 17, 2017 8 years ago Official
Bug
User Avatar
Segfault

I'll take care of it first thing when I'm out of bed later :)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Please log in to reply to this topic.