Trying to test a new card
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
Trying to test a new card
by BrutalFear » 04 Feb 2015, 21:51
So I finished writing a new card "Hellhole Rats" and rebuilt the Root project. I set the server to test mode and modified the cheat file to add Hellhole Rats to my hand. I then made a deck containing this card, ran the server, ran the client, and set the decks to the newly created deck. I then get a message saying "Server Error, Card not found". After that I checked in the deck editor and sure enough the card is in there. I even tried deleting all of the card db files before rebuilding and rerunning the server and the client with the same problem. Anyone have any ideas what is going on?
- BrutalFear
- Posts: 3
- Joined: 03 Feb 2015, 07:07
- Has thanked: 1 time
- Been thanked: 0 time
Re: Trying to test a new card
by LevelX » 04 Feb 2015, 22:32
1) You did stop all server processes and restarted the server after the rebuild of the Mage Sets Project?So I finished writing a new card "Hellhole Rats" and rebuilt the Root project. /quote]
If you add /modify only a card you only need to build "Mage Sets".I normally use always the same very simple tet deck and add teh cards I want to test only to the Mage.Server\config\init.txt. So normally there is no need to build a deck to test a implemented card (maybe you only did it now because it's the first time you are testing this way).I set the server to test mode and modified the cheat file to add Hellhole Rats to my hand. I then made a deck containing this card, ran the server, ran the client, and set the decks to the newly created deck.I then get a message saying "Server Error, Card not found". After that I checked in the deck editor and sure enough the card is in there. I even tried deleting all of the card db files before rebuilding and rerunning the server and the client with the same problem. Anyone have any ideas what is going on?
I had it sometimes that I did not stop the old server process and oversee that the new started server was canceled because of the used port of the already running server.
2) Or the card can have a bug, but that you should see looking to the server log.
The server log shows also that the server added a new card to the db. And maybe the card shown in the client is from an older version of the card without big.
You need to delete the db files of server and client if you want to check if a changed card rule text is shown correctly in the tooltip. Because tooltips of deck editor are taken from the db text.
And don't forget (not your problem in this case because the client db has the new card) to check the option "Force card db update" while connecting the client to the server. Only then a new card of the server is transfered to the client db and can be seen in the deck editor.
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests