My spellbook builder

Started by grga.curkovic, August 15, 2016, 09:01:14 AM

Previous topic - Next topic

Boocheck

Grga, you are my new favourite person on the internet :)

Thank you for your hard work!!!
I am one with the force, the force is with me! (Warlord is still my fav mage ;) )

steack

#91
i leave two day of this page and at my return i find the bible of mage wars !!!

Tkx a lot Monsieur !!!


i dont see the aprentice mage ? it's normal ?


Borg

Small detail :

4 enchantments that should have "2+0" simply have "2" in the cast-column.


Borg

grga, something is wrong.
The picture is gone, the selections at the bottom of the screen do not work anymore a some costs are completely wrong ...

grga.curkovic

I just checked it and I don't see any issues.

Borg

Must be a problem on my side then but I have no idea what it could be.

I refreshed multiple times.
Spellbook details are gone
card picture is gone
clicking on anything does nothing. I can't hide the sets, I can't sort per name or anything, selecting just enchantments or mind spells for example all doesn't work.  :-[

grga.curkovic

What browser/os are you using?
Can you try a different browser?

Borg

Quote from: grga.curkovic on January 25, 2017, 08:22:23 AM
What browser/os are you using?
Can you try a different browser?
I installed chrome just for this and it worked fine until today.
I'll try another browser like opera maybe.
I'll let you know how it goes.

grga.curkovic

I'll check it in the evening...

syllas42

Sorry it was my fault I see now academy cards.

Thanks again  !

grga.curkovic

Just tried on Win7 with latest Chrome and saw no issues.

If you want to debug Open Chrome Menu -> More Tools -> Developer Tools, then click on Console. Reload the page and let me know if you see any errors (ignore the favicon.ico message).

Borg

Did just that and there are errors.
Since I'm unable to copy it and paste here neither, here goes manually :)

Failed to load resource : the server responded with a status of 403 (forbidden)

uncaught TypeError : reduce of empty array with no initial value
at Array.reduce (native)
at Object.paladin_spell_cost_fn (as spell_cost) (https://s3-eu-west-1.amazonaws.com/spell-book-builder/cards.js?1:5181:63)
at spell_cost (https://s3-eu-west-1.amazonaws.com/spell-book-builder/sbb.html:512:16)
at _create_row (https://s3-eu-west-1.amazonaws.com/spell-book-builder/sbb.html:285:13)
at create_row (https://s3-eu-west-1.amazonaws.com/spell-book-builder/sbb.html:271:36)
at fill_data (https://s3-eu-west-1.amazonaws.com/spell-book-builder/sbb.html:336:7)
at prepare (https://s3-eu-west-1.amazonaws.com/spell-book-builder/sbb.html:124:4)
at HYMLDocument.<anonymus> (https://s3-eu-west-1.amazonaws.com/spell-book-builder/sbb.html:114:4)
at j (https://s3-eu-west-1.amazonaws.com/spell-book-builder/jquery.js:2:29568)
at k (https://s3-eu-west-1.amazonaws.com/spell-book-builder/jquery.js:2:29882)

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effect to the end user's experience.

grga.curkovic

Thanks, fixed :) Try again (refresh a few times)

iNano78

#104
A couple of bugs I've found:

- spell levels aren't consistent. For example, Enchanter's Ring is "1|1" but Chant of Rage is "1".
- sorting by, say, card name, then by type, won't give you cards sorted alphabetically by name within each type. In fact, I can't figure out what the default sort orders are. For some reason, it really likes putting Faith Healer's Staff first.
- sorting by mana cost goes, 0, 1, 10, 11, ..., 2, 2+0, 2+1, ..., 20, 21, 22, ..., 3, 4. e.g. sorts alphabetically rather than numerically (with 10 < 2). I realize this is tricky with the enchantments being 2+X.
- sorting by card level goes 1, 1&1, 1|1, 2, etc. It would be nice if 1|1 < 1&1, since the game counts 1|1 as a level 1 card while 1&1 is really level 2 (and will cost most mages 3+ spell points unless they're trained in both schools). Example: Battle Forge is 1&1, but no current mage pays less than 3 sbp's for it. Meanwhile, Enchanter's Ring is 1|1, and no current mage pays more than 2 sbp's for it (since no mage pays triple for both Nature and Arcane), and several mages only pay 1 sbp for it.
- If you repeatedly click to sort by card name, nothing happens (e.g. doesn't sort in reverse order or anything)... which is fine. But if you repeatedly click to sort by another trait, the order keeps changing in a way that I can't figure out... maybe shifts the spells up one spot in the list? Anyway, seems odd. Not sure if it's really a bug. But i'd prefer if you could sort alphabetically by card name within a given spell type, or by spell level within a school, etc. e.g. choose to sort by one trait within another trait, like the official card database does.