Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- skinsTemp = []
- badgeList = {2:4, 3:31, 6:11, 8:3, 9:5, 10:19, 11:24, 13:23, 16:10, 17:12, 18:25, 21:26, 25:2, 26:8, 27:13, 28:14, 29:15, 30:20, 31:27}
- try:
- for item in self.shopitems.split(','):
- item = item.split('_')[0]
- if int(item) > 2200 and int(item) < 2300:
- item = int(item) - 2200
- if item in badgeList: skinsTemp.append(item)
- data += struct.pack('!b', len(skinsTemp))
- for skin in skinsTemp:
- data += struct.pack('!b', badgeList[int(skin)])
- except:
- data += "\x00"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement