Page 1 of 2

Core Set

Posted: 07 Jun 2015, 00:21
by 0131
Im currently migrating the Core Set from CTI - Classic into CTI 2.

I will release the cards as i finish them here, the cards will be automatically included into the Teaseviewer's filesystem.
Its the first set ever, so i will post some more informtions about the card functions and preferences.
  • [ text ] = Wont be visible when the card is drawn in the slideviewer, it´s just to give you additional information about hidden functionality inside the code.
    { code } = Refers to a variable, wont be visible or replaced when drawn.
CTI.Number 0131.Core Set.Stroke It!.01 | +

Code: Select all

/**Author: Number0131
* Description:
* This Cards halves the strokerate
* The picture is determined by the choosen gender preferences:
* (Female, Trap, Male)
* The chance to draw this card gets higher if your stroke/time ratio is high.
*/

package Teaseviewer.Cards.Stroke_It.CoreSet;

import Teaseviewer.Cards.CTI_Card;


public class CTI2_CoreSet_Stroke_It_001 extends CTI_Card{

public CTI2_CoreSet_Stroke_It_001(){
super("/Pictures/CTI.Number 0131.Core Set.Stroke It!.01.1.png","Core Set");
settext("Your stroking count is halved.");
}

@Override
public void imagecall() {
if(slideviewer.data.limits.gay && slideviewer.data.limits.gay_priority < 1){
setpicturepath("/Pictures/CTI.Number 0131.Core Set.Stroke It!.01.1.png");
}else{
if(slideviewer.data.limits.lesbian && slideviewer.data.limits.lesbian_priority < 2
&& slideviewer.data.limits.gay && slideviewer.data.limits.lesbian_priority < 2){
setpicturepath("/Pictures/CTI.Number 0131.Core Set.Stroke It!.01.3.png");
}else{
setpicturepath("/Pictures/CTI.Number 0131.Core Set.Stroke It!.01.2.png");
}
}
}

@Override
public int chance(){
System.err.println("halve: " + (int)(5*slideviewer.getStrokeRatio()+1));
return (int)(5*slideviewer.getStrokeRatio())+1;
}

@Override
public void main() {
slideviewer.setStrokerate(slideviewer.getStrokerate()/2);
}

}
CTI.Number 0131.Core Set.Stroke It!.01.1.png
CTI.Number 0131.Core Set.Stroke It!.01.1.png (369.29 KiB) Viewed 7065 times
CTI.Number 0131.Core Set.Stroke It!.01.2.png
CTI.Number 0131.Core Set.Stroke It!.01.2.png (364.67 KiB) Viewed 7065 times
CTI.Number 0131.Core Set.Stroke It!.01.3.png
CTI.Number 0131.Core Set.Stroke It!.01.3.png (376.34 KiB) Viewed 7065 times
CTI.Number 0131.Core Set.Stroke It!.02 | +

Code: Select all

/**Author: Number0131
* Description:
* This Cards doubles the strokerate
* The chance to draw this card gets higher if your stroke/time ratio is low.
*/

package Teaseviewer.Cards.Stroke_It.CoreSet;

import Teaseviewer.Cards.CTI_Card;


public class CTI2_CoreSet_Stroke_It_002 extends CTI_Card{

public CTI2_CoreSet_Stroke_It_002(){
super("/Pictures/CTI.Number 0131.Core Set.Stroke It!.02.png","Core Set");
settext("Your stroking count is doubled.");
}



@Override
public int chance(){
if(slideviewer.getStrokerate() == 0){
return 0;
}
return (int)Math.min(1000,(50*slideviewer.getTimeRatio()));

}

@Override
public void main() {
slideviewer.setStrokerate(slideviewer.getStrokerate()*2);
}

}
CTI.Number 0131.Core Set.Stroke It!.02.png
CTI.Number 0131.Core Set.Stroke It!.02.png (441.16 KiB) Viewed 7057 times
CTI.Number 0131.Core Set.Stroke It!.03 | +

Code: Select all

/* Author: Number0131
* Description:
* Strokecount = 5
* The chance to draw this card gets higher if the slideduration is near 5.
*/
package Teaseviewer.Cards.Stroke_It.CoreSet;

import Teaseviewer.Cards.CTI_Card;


public class CTI2_CoreSet_Stroke_It_003 extends CTI_Card{

public CTI2_CoreSet_Stroke_It_003(){
super("/Pictures/CTI.Number 0131.Core Set.Stroke It!.03.png","Core Set");
settext("Your stroke count is now 5.");
}

@Override
public int chance(){
if(slideviewer.getStrokerate()/1000 == 5){
return 0;
}
return (int) (slideviewer.getSlideduration()/1000 < 5?
200/Math.pow((double)(5*1000)/slideviewer.getSlideduration(),2)
: 200/Math.pow((double)slideviewer.getSlideduration()/(5*1000),2));
}

@Override
public void main() {
slideviewer.setStrokerate(5);
}

}
CTI.Number 0131.Core Set.Stroke It!.03.png
CTI.Number 0131.Core Set.Stroke It!.03.png (371.04 KiB) Viewed 7057 times
CTI.Number 0131.Core Set.Stroke It!.04 | +

Code: Select all

/* Author: Number0131
* Description:
* Strokecount = 10
* The chance to draw this card gets higher if the slideduration is near 10.
*/
package Teaseviewer.Cards.Stroke_It.CoreSet;

import Teaseviewer.Cards.CTI_Card;

public class CTI2_CoreSet_Stroke_It_004 extends CTI_Card{

public CTI2_CoreSet_Stroke_It_004(){
super("/Pictures/CTI.Number 0131.Core Set.Stroke It!.04.png","Core Set");
settext("Your stroke count is now 10.");
}

@Override
public int chance(){
if(slideviewer.getStrokerate() == 10){
return 0;
}
return (int) (slideviewer.getSlideduration()/1000 < 10?
200/Math.pow((double)(10*1000)/slideviewer.getSlideduration(),2)
: 200/Math.pow((double)slideviewer.getSlideduration()/(10*1000),2));
}

@Override
public void main() {
slideviewer.setStrokerate(10);
}


}
CTI.Number 0131.Core Set.Stroke It!.04.png
CTI.Number 0131.Core Set.Stroke It!.04.png (474.37 KiB) Viewed 7057 times
If you can find any of the original CoreSet pictures (not the card itself) pls post a link ;D

Re: Core Set

Posted: 27 Jun 2015, 07:51
by Shintomo
I did some reverse image searching and got many of the core set images. I'll have a lot of free time over the weekend so I'll see if I can get more. Also If you have the chance, can you write a post/guide on how the coding for the cards work. I'm currently majoring in Computer Science so I understand most of it, but I'm curious about what features there are.
Bullet points now:
A few images I are gifs
A few images are from different sets
A few pictures are slightly different from the originals
I found several versions for some pictures and included them all

Re: Core Set

Posted: 27 Jun 2015, 09:41
by Shintomo
A few more.
| +
223a.jpg
223a.jpg (219.3 KiB) Viewed 7044 times
222a.jpg
222a.jpg (62.5 KiB) Viewed 7044 times
142a.jpg
142a.jpg (70.95 KiB) Viewed 7044 times
82a.jpg
82a.jpg (86.87 KiB) Viewed 7044 times
35a.jpg
35a.jpg (38.17 KiB) Viewed 7044 times
29a.jpeg
29a.jpeg (258.22 KiB) Viewed 7044 times
4a.jpg
4a.jpg (100.28 KiB) Viewed 7044 times

Re: Core Set

Posted: 27 Jun 2015, 13:32
by 0131
Wow thank you, im currently working on the software which makes card creation a bit hard, everytime i make some essential changes some cards have to been updated to work with the new environment.

But sure if you want to get involved add me on skype (number.0131) and i will show you around.

Re: Core Set

Posted: 27 Jun 2015, 23:15
by Shintomo
Some more. Also a few of the images I found have text where as the CTI cards had the text edited out

Re: Core Set

Posted: 28 Jun 2015, 19:42
by Shintomo
Okay there are 11 pictures that I cannot find but I believe I found the other 139 pictures. The pictures in "What I don't have.zip" are just the cropped images from the original cards.

Re: Core Set

Posted: 30 Jun 2015, 03:54
by Shintomo
I was browsing the internet and I randomly stumbled upon another picture =D
| +
357a.jpg
357a.jpg (1.05 MiB) Viewed 7020 times

Re: Core Set

Posted: 03 Nov 2015, 00:36
by Azureballs
I do believe this is all of the Core Set source pictures, along with the porn that was ment to go with it. https://www.dropbox.com/sh/ch6fcfymw50y ... sp5Xa?dl=0

Re: Core Set

Posted: 03 Nov 2015, 01:03
by 0131
Thx@ Shintomoto and Azure, i think i now got all the images i need.

Re: Core Set

Posted: 04 Nov 2015, 06:04
by Inside7shadows
So, I'm guessing the int chance function has to do with deck balancing and card draw probabilities, but how does it work if it's in the card itself? Is it influencing the next card drawn?