Cards filter in Deck editor
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
			11 posts
			 • Page 1 of 1
		
	
Cards filter in Deck editor
by Vasiliy » 25 Nov 2009, 14:08 
Hello.
I write cards filter.
Screenshots:
1. Menu:

2. Filter:

3. Result:

I hope, my code is right.
			
				I write cards filter.
Screenshots:
1. Menu:

2. Filter:

3. Result:

I hope, my code is right.
- Attachments
 - 
		
 Cards_filter_source.rar- Source
 - (19.18 KiB) Downloaded 249 times
 
 
Sorry for my english. I speak english very bad.
		- Vasiliy
 - Programmer
 - Posts: 47
 - Joined: 15 Nov 2009, 12:26
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by DennisBergkamp » 25 Nov 2009, 16:44 
Very cool, it looks like you can search by name now?
Thanks
			
		Thanks
- 
				

DennisBergkamp - AI Programmer
 - Posts: 2602
 - Joined: 09 Sep 2008, 15:46
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by Vasiliy » 25 Nov 2009, 18:00 
Yes. 
			Sorry for my english. I speak english very bad.
		- Vasiliy
 - Programmer
 - Posts: 47
 - Joined: 15 Nov 2009, 12:26
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by zerker2000 » 25 Nov 2009, 22:07 
Along those lines, could you add search by text, e.g. "destroy target"?
			O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
		Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
- zerker2000
 - Programmer
 - Posts: 569
 - Joined: 09 May 2009, 21:40
 - Location: South Pasadena, CA
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by Vasiliy » 26 Nov 2009, 06:55 
I try do it.
			Sorry for my english. I speak english very bad.
		- Vasiliy
 - Programmer
 - Posts: 47
 - Joined: 15 Nov 2009, 12:26
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by Vasiliy » 26 Nov 2009, 09:24 
I add search by text.
Screenshot:

I correct one bug in filter.
My changes based on revision r102 (In r102 filter not work
  I correct this bug)
I add to source file (see in attachment) only changes files.
And I add filter to quest deck editor.
Please test it and if it work correct, then change it on revision.
P.S. merlijn.vandenbos, you forgot add file CardFilter.java to r102.
			
				Screenshot:

I correct one bug in filter.
My changes based on revision r102 (In r102 filter not work
I add to source file (see in attachment) only changes files.
And I add filter to quest deck editor.
Please test it and if it work correct, then change it on revision.
P.S. merlijn.vandenbos, you forgot add file CardFilter.java to r102.
- Attachments
 - 
		
 Cards_filter_v1_1.zip- Source
 - (27.17 KiB) Downloaded 241 times
 
 
Sorry for my english. I speak english very bad.
		- Vasiliy
 - Programmer
 - Posts: 47
 - Joined: 15 Nov 2009, 12:26
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by Huggybaby » 26 Nov 2009, 16:47 
Thanks Vasiliy. Your english is perfectly understandable too, and will get better by writing here!
			
		- 
				

Huggybaby - Administrator
 - Posts: 3229
 - Joined: 15 Jan 2006, 19:44
 - Location: Finally out of Atlanta
 - Has thanked: 754 times
 - Been thanked: 601 times
 
Re: Cards filter in Deck editor
by zerker2000 » 26 Nov 2009, 21:53 
Vasiliy, do you have a google account? If not, go to the url below and make one. Then, PM it to Dennis/Rob or post it here, and they'll add you as a committer on SVN. After that, you can edit forge directly by using the commiter svn(to be found at http://code.google.com/p/cardforge/ after you are added as comitter, which is where I think you got the read-only one in the first place).
			O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
		Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
- zerker2000
 - Programmer
 - Posts: 569
 - Joined: 09 May 2009, 21:40
 - Location: South Pasadena, CA
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by silly freak » 26 Nov 2009, 22:45 
and don't forget to change the trunk from http to https 
			___
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
		where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
- silly freak
 - DEVELOPER
 - Posts: 598
 - Joined: 26 Mar 2009, 07:18
 - Location: Vienna, Austria
 - Has thanked: 93 times
 - Been thanked: 25 times
 
Re: Cards filter in Deck editor
by Vasiliy » 27 Nov 2009, 08:11 
zerker2000, look your PM, please.
			Sorry for my english. I speak english very bad.
		- Vasiliy
 - Programmer
 - Posts: 47
 - Joined: 15 Nov 2009, 12:26
 - Has thanked: 0 time
 - Been thanked: 0 time
 
Re: Cards filter in Deck editor
by zerker2000 » 27 Nov 2009, 19:49 
I have, thanks, and I quote for anyone able to read russian:
			EDIT: email screenedzerker2000 wrote:Получив права commiter-а, можно будет посылать изменения напрямую, а не через форум. Это облегчает работу Dennis-у, которому не приходится разбиратся как вставлять изменения, и тебе, которому не придётся на англиском это ему обяснять.Vasiliy wrote:Subject: Cards filter in Deck editorПривет. Как то я не понял твоего предложения по поводу SVN.zerker2000 wrote:...
Я сейчас с адреса http://cardforge.googlecode.com/svn при помощи Eclipse обновляю свою локальную версию регулярно.
А в чем суть твоего предложения?Примитивные понятия от языка мало заврсят, а все сложные которые тут понадобятся нетрудно найти в уже зделанных картах. Про SVN, идея действительно проста: програмистам нужно код не только скачивать, но и загружать обратно результат работы.P.S. Я не профессиональный программист (программировиание - это мое хобби), а Java в первый раз я увидел только 17.11.2009, с SNV до этого тоже не работал. Поэтому возможно я чего то не понимаю примитивного.Правильно понимаешь, шли PM to DennisBergkamp.P.P.S. Аккаунт в Google (он же e-mail как я понимаю у меня есть) - <anEmail>@gmail.com
Word of caution: пароль от SVN не тот, который у тебя не мейле, а случайно созданный гуглом: http://code.google.com/hosting/settings
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
		Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.
--Eladamri, the Seed of Freyalise
- zerker2000
 - Programmer
 - Posts: 569
 - Joined: 09 May 2009, 21:40
 - Location: South Pasadena, CA
 - Has thanked: 0 time
 - Been thanked: 0 time
 
			11 posts
			 • Page 1 of 1
		
	
Who is online
Users browsing this forum: No registered users and 91 guests