Skip to Content
 

The Game Crafter & nanDECK

7 replies [Last post]
nand
nand's picture
Offline
Joined: 07/27/2008

Hello everybody,

I need some feedback on an upgrade (to nanDECK) for uploading directly decks of cards to The Game Crafter, if someone wants to test it, this is the download link:

http://www.nand.it/nandeck/nandeck1_13a_beta3.zip

Some info:

The upgrade does two thing: it uploads images and creates (optionally) a deck+cards structure.

Write or load a script in the program, then:

1) Click "Validate" button

2) Click "Build" button

3) Click "The Game Crafter" button (it is on the right of the window)

4) Login with your TGC username + password

5) Click "Download SSL libraries" (they're needed only the first time)

6) Click "Read games" button (this is necessary only if you want to create deck+cards structure)

7) Select a game

8) Click "Upload files" button

That's all. The program automatically creates a square deck if widht = height, else a poker deck is created.

If you have some suggestion, please tell me.

andygamer
Offline
Joined: 08/13/2010
I'd like to try this out for

I'd like to try this out for you, but it looks like that link isn't working.

nand
nand's picture
Offline
Joined: 07/27/2008
The Game Crafter & nanDECK

In the meantime the authentication method has changed. I wrote the last beta version yesterday, and this is the new download link:
http://www.nand.it/nandeck/nandeck1_13a_beta10.zip

Now the procedure is:

1) Click "Validate" button

2) Click "Build" button

3) Click "The Game Crafter" button (it is on the right of the window)

4) Click "Login" button and access the TGC website with your username and password (this step and the following are needed only the first time)

5) Click on the button on the website to approve the permissions to the program

6) Click "Download SSL libraries" (they're needed only the first time)

7) Click "Read games" button (this is necessary only if you want to create deck+cards structure)

8) Select a game

9) Click "Upload files" button

andygamer
Offline
Joined: 08/13/2010
So I got it to work, but had

So I got it to work, but had a few issues along the way.

* I initially forgot to download the SSL binaries, and tried to log in. It just hung for a while. You probably just want to not allow login until I download those SSL binaries.
* On the Web tab, I got an error that said "Your web browser is too old to work correctly with our publishing system. Please download the latest version of Internet Explorer, Chrome, Firefox, or Safari" (although everything worked just fine despite that). Maybe change the USER-AGENT being reported?
* Once I logged in, I can read my games. However, if I create a new game on TGC in my own browser, and then hit "Read Games", the new game doesn't come up. Once I logged out, then logged back in, it read the new game.
* If I hit logout, it doesn't appear to take the first time. Hitting logout a second time seems to do the trick.
* If I hit "Read Decks" on my new game, I get an error: "Access violation at address 008A4A2 in module 'nanDECK.exe'. Read of address 00000001C"
* I was able to upload the files, though. I unchecked "Create New Deck" and it worked.
* I went through the whole process again with "Create New Deck" checked, and it worked fine.
* Now, after I created that deck, I was able to do "Read Decks". I think this button works when there's at least one deck for my game.
* I also went over to my browser and created a second deck, then hit "Read Decks". Both decks in the dropdown are named "Default", which is not correct.
* And, when I renamed the deck in my browser, then hit "Read Decks", it added a third deck (even though there are only 2). All three are still named "Default".

Feature suggestions:
* Create new folders. Not sure if the TGC API has a call for that.
* A "refresh folders" button would be nice (maybe just a small recycling icon button right next to the dropdown. Same with "Read Games" and "Read Decks"; I was a little confused about what that meant)

So a few glitches, but otherwise great. What a great feature!

nand
nand's picture
Offline
Joined: 07/27/2008
Thanks very much for the

Thanks very much for the extensive report. I'll take care of it in the next days...

For the 2nd point, which version of Explorer do you have?

andygamer
Offline
Joined: 08/13/2010
I have IE9, and logging into

I have IE9, and logging into TGC directly from there doesn't give me that warning.

Glad I could help!

nand
nand's picture
Offline
Joined: 07/27/2008
After some bugfix

andygamer wrote:
* I initially forgot to download the SSL binaries, and tried to log in. It just hung for a while. You probably just want to not allow login until I download those SSL binaries.

Fixed, now if the libraries are missing, login is disabled.
andygamer wrote:
* On the Web tab, I got an error that said "Your web browser is too old to work correctly with our publishing system. Please download the latest version of Internet Explorer, Chrome, Firefox, or Safari" (although everything worked just fine despite that). Maybe change the USER-AGENT being reported?

I wasn't able to reproduce it (I've Explorer 9 on Windows 7, and the library I'm using open an instance of it).
andygamer wrote:
* Once I logged in, I can read my games. However, if I create a new game on TGC in my own browser, and then hit "Read Games", the new game doesn't come up. Once I logged out, then logged back in, it read the new game.

Fixed. It was a cache issue (now I've eliminated it).
andygamer wrote:
* If I hit logout, it doesn't appear to take the first time. Hitting logout a second time seems to do the trick.

The problem seems intermittent. I'll make some other test.
andygamer wrote:
* If I hit "Read Decks" on my new game, I get an error: "Access violation at address 008A4A2 in module 'nanDECK.exe'. Read of address 00000001C"

I've made some test, with games with or without decks and I wasn't able to see the error. Maybe it was resolved with the main cache fix.
andygamer wrote:
* I was able to upload the files, though. I unchecked "Create New Deck" and it worked.

See above.
andygamer wrote:
* I went through the whole process again with "Create New Deck" checked, and it worked fine.

See above. ;-)
andygamer wrote:
* Now, after I created that deck, I was able to do "Read Decks". I think this button works when there's at least one deck for my game.

I've tested it with no decks, and it worked for me.
andygamer wrote:
* I also went over to my browser and created a second deck, then hit "Read Decks". Both decks in the dropdown are named "Default", which is not correct.

Fixed. The dropdown was not cleared before the read.
andygamer wrote:
* And, when I renamed the deck in my browser, then hit "Read Decks", it added a third deck (even though there are only 2). All three are still named "Default".

Fixed. See above.
andygamer wrote:
Feature suggestions:
* Create new folders. Not sure if the TGC API has a call for that.

There is an API for that, I can add it in the new version.
andygamer wrote:
* A "refresh folders" button would be nice (maybe just a small recycling icon button right next to the dropdown. Same with "Read Games" and "Read Decks"; I was a little confused about what that meant)

Now the "Read Games" and "Read Decks" buttons work correctly (they refresh the dropdown lists).

I'll release a new beta today or tomorrow, stay tuned...

nand
nand's picture
Offline
Joined: 07/27/2008
Latest beta version
Syndicate content


forum | by Dr. Radut