demilich1 / metastone

Hearthstone simulator written in Java with full GUI support
GNU General Public License v2.0
132 stars 80 forks source link

Adding new json cards, nor deleting cards changes cards existing in simulator client #388

Open MattCutler opened 5 years ago

MattCutler commented 5 years ago

I've built an ontology modelling different types of cards in Hearthstone for my UG project. In Java, I'm then parsing the ontology individuals into POJOs, then serialising them into JSON identical to the format of the equivalent cards currently in Metastone. When I assemble and run the game after either changing existing cards - Stonetusk Boar from BEAST to DRAGON etc., removing, or adding new ones, the same exact set of already existing cards load into the simulator and deckbuilder without any changes made to the set of card json files. I've noticed development as stopped, however I would greatly appreciate if I could email or chat with someone who may help solve this? Perhaps forking from an older commit? It seems as if the cards are being loaded from a predetermined existing .jar I cannot find.

webadict commented 5 years ago

Where are you modifying the cards?

If I'm getting this right, you are compiling the source, which won't update the cards unless you update the card versioning (which is, itself, a problem that needs fixing eventually) or you force them. Alternatively, you can set your Metastone dorectory to the source directory, but that has to be done carefully.

Also, I'm slowly working on getting some updates, but I've been here and there, and everyone that used this before has moved to other branches, so there's been no real push to get them done.