My parents had raccoons at their house and the only thing that worked was an exterminating company. No idea what they did but after at least 2 years of problems the raccoons have been gone for probably 5 years. Before they called the company they made sure all food, bird seed
, Christmas decorations, anything they might chew on were in tight containers. They caulked every tiny opening they could find and put screen first, then some type of hard wire over the openings that need to let air in the top of the house. They cleaned out their attic and under their house. They did a lot but it was like a husband and wife lived their and then had babies and just wouldn't move out. I don't remember that they every tried trapping them but it was the exterminating company that did the trick.