Discussion about the Pets, Items, Dress-ups, Events, Site, Forum or other CS features!
by Law » Tue Aug 14, 2018 7:04 pm
Unfortunately the program might not work too well with the pets from the transparent archive, because it's not too smart and compares pixel by pixel. (Meaning that the images from the archive must be exactly the same size as the original image).
I'm just going to find someone with a mostly complete collection and get all the images we need (probably going with @Solloby, hope you don't mind!)
-

Law
-
- Posts: 10687
- Joined: Sat Jul 23, 2011 1:10 pm
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
by Erythro » Tue Aug 14, 2018 7:05 pm
Law wrote:Unfortunately the program might not work too well with the pets from the transparent archive, because it's not too smart and compares pixel by pixel. (Meaning that the images from the archive must be exactly the same size as the original image).
I'm just going to find someone with a mostly complete collection and get all the images we need (probably going with @Solloby, hope you don't mind!)
the only one i've heard daryll say there was issues with was the CEG so think we can run these and just go after the pets that have issues in the code.
┌─────────────────┐│
│
│
│
│
│
│
│└─────────────────┘

-

Erythro
-
- Posts: 18823
- Joined: Mon May 24, 2010 4:56 am
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
-
by Law » Tue Aug 14, 2018 7:09 pm
Erythro wrote:Law wrote:Unfortunately the program might not work too well with the pets from the transparent archive, because it's not too smart and compares pixel by pixel. (Meaning that the images from the archive must be exactly the same size as the original image).
I'm just going to find someone with a mostly complete collection and get all the images we need (probably going with @Solloby, hope you don't mind!)
the only one i've heard daryll say there was issues with was the CEG so think we can run these and just go after the pets that have issues in the code.
Oh that's great! Yeah, the less manual work the better
-

Law
-
- Posts: 10687
- Joined: Sat Jul 23, 2011 1:10 pm
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
by daryll » Wed Aug 15, 2018 1:40 am
COMPLETED
- Checks pets that are online
- Ignores off-account pets
- Ignores deleted pets
- Can easily add more pets to directory (update CS Code Directory.txt and add reference image to reference_images folder)
Python file:
https://pastebin.com/rxTUxs5jCS Code Directory:
https://pastebin.com/udZB0X52Reference image folder: PM me for .zip
How to run program:
- Code: Select all
####### TYPE THESE 2 COMMANDS IN ONCE BEFORE RUNNING #######
pip install Pillow
pip install requests
############################################################
python <name>.py <start #> <end #>
Where name = program name
start # = start id
end # = end id
Inclusive; example: giving 1 1000 would return pets [1,1000]
EDIT 8/14 9:32
There are some images I am missing.
- Code: Select all
Grey 2nd Gen Bunny k=EF161522AECE76A1D9C6279B96F0E021
Creamsicle Bunny k=4E8685AF3B864E413B352596AAE7D825
16 Robo Rat k=3CB385CCF139F48002DDC3CFEF0AFDA4
Will cross-check directory with reference image folder done
Output example, pets 1-999. Time to complete: 00:05:09
- Code: Select all
{
"Brown Hooded Advent Rat": 22
"Coontail": 22
"Dogtag": 11
"Flower Rat": 20
"GWJ": 42
"Heavy Speckled Rat": 6
"July PPS": 14
"Light Speckled Rat": 6
"Medium Speckled Rat": 9
"Moonswirl": 8
"Noncoon": 33
"Nonjewel": 23
"Nonswirl": 42
"Nontag": 20
"Sunback": 34
"Sunjewel": 9
}
RANGE: [1, 999]
-

daryll
-
- Posts: 33
- Joined: Tue Jun 12, 2018 2:26 am
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
by ElementalInsanity » Wed Aug 15, 2018 5:27 am
ya’ll are so stinking cute omg ily two
This is absolutely thrilling thank you both so so so much for all of this, and thanks law for your work too!
I’ll help where I can which, admittedly, doesn’t sound like there’s a large area for me to help in. :’) but like I said, where I can I will.


Not active, won’t reply to pms/trades.
10/08/22 <3
Complete Collection Achieved 9/11/18
If you are foed you may still send me a pm
-

ElementalInsanity
-
- Posts: 18984
- Joined: Sun Dec 14, 2008 11:50 am
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
-
by Erythro » Wed Aug 15, 2018 5:44 am
musicgurl333 wrote:Do you still need the robo rat image? I can't put it on transpets right now, but I have one here if someone else wants to do it.

the robo rat is already on there. we just couldn't get the bunnies but daryll figured out a way for the program to read it anyway ^^
┌─────────────────┐│
│
│
│
│
│
│
│└─────────────────┘

-

Erythro
-
- Posts: 18823
- Joined: Mon May 24, 2010 4:56 am
- My pets
- My items
- My wishlist
- My gallery
- My scenes
- My dressups
- Trade with me
-
Who is online
Users browsing this forum: Frostseraph, GoogleBotOther, Seraphnorn and 2 guests