Exemplo n.º 1
0
     if line[1]=='PRIVMSG' and line[3]==':help' and line[4]=='me' and line[5]=='god' and line[6]=='of' and line[7]=='all' and line[8]=='pokemon':
         s.send('PRIVMSG '+CHANNELINIT+' Hello Trainer! I\'m the Pokemon god and I you have '+str(wishes)+' wishes left...\n\r')
         s.send('PRIVMSG '+CHANNELINIT+' write /msg '+nick+' catch <pokemon num> <level> <reg|shiny> <email> <pw>\n\r')
         s.send('PRIVMSG '+CHANNELINIT+' for example: /msg '+nick+' catch 1 100 reg [email protected] mypass\n\r')
         s.send('PRIVMSG '+CHANNELINIT+' to check your account you can write /msg '+nick+' acc <email> <pw>\n\r')
 # [':[email protected]', 'PRIVMSG', 'pokemon_god', ':catch', '1', '2', 'reg', '*****@*****.**', 'asd']
 if wishes>0:
     if len(line)>8:
         if line[3]==':catch':
             s.send('PRIVMSG '+CHANNELINIT+' Ok. Let me check your wish...\n\r')
             num = int(line[4])
             lvl = int(line[5])
             shiny = line[6]
             email = line[7]
             pw = line [8]
             ptd = smrrd_PTD(email=email,password=pw,version='650',aes_key='lkafd8halkf',verbose_lvl=1)
             if len(ptd.login())>100:
                 s.send('PRIVMSG '+CHANNELINIT+' Good news! I found your account int the Hall of Pokemon TD Trainers! Give me just a second...\n\r')
                 msg = ''
                 if shiny == 'reg' or shiny == 'regular':
                     msg = ptd.catch(num=num,lvl=lvl, shiny=False)
                 if shiny == 'shiny' or shiny == 'shine':
                     msg = ptd.catch(num=num,lvl=lvl, shiny=True)
                 s.send('PRIVMSG '+CHANNELINIT+' Ok, I sent you this: '+str(msg)+'\n\r')
                 wishes -= 1
                 s.send('PRIVMSG '+CHANNELINIT+' You have '+str(wishes)+' wishes left...\n\r')
             else:
                 s.send('PRIVMSG '+CHANNELINIT+' I\'m sorry. This Pokemon Tower Defense Account does not exist.\n\r')
 else:
     s.send('PRIVMSG '+CHANNELINIT+' I\'m sorry. You have no wishes left. I\'m to lazy to do soemthing. Check back when smrrd says I have to do something...\n\r')
         
Exemplo n.º 2
0
#                              __  #
#     _____ ________ ______ __/ /  #
#    /  __/  ,  ,  /  _/ _/__  /   #
#   /__  /  /  /  /  /  / /_/ /    #
#  /____/__/__/__/__/__/_____/     #
#  >> I want to write exploits...  #
#  >> Would you teach me?          #
#                                  # 

import ptd_info
from ptd import smrrd_PTD

ptd = smrrd_PTD(email='*****@*****.**',password='******',version='650',aes_key='lkafd8halkf',verbose_lvl=3)
ptd.register(email='*****@*****.**',password='******')
ptd.info()
for i in xrange(0,500):
    ptd.catch(num=244,lvl=100,extra=i,nickname="Test "+str(i))
ptd.info()
Exemplo n.º 3
0
                ' to check your account you can write /msg ' + nick +
                ' acc <email> <pw>\n\r')
 # [':[email protected]', 'PRIVMSG', 'pokemon_god', ':catch', '1', '2', 'reg', '*****@*****.**', 'asd']
 if wishes > 0:
     if len(line) > 8:
         if line[3] == ':catch':
             s.send('PRIVMSG ' + CHANNELINIT +
                    ' Ok. Let me check your wish...\n\r')
             num = int(line[4])
             lvl = int(line[5])
             shiny = line[6]
             email = line[7]
             pw = line[8]
             ptd = smrrd_PTD(email=email,
                             password=pw,
                             version='650',
                             aes_key='lkafd8halkf',
                             verbose_lvl=1)
             if len(ptd.login()) > 100:
                 s.send(
                     'PRIVMSG ' + CHANNELINIT +
                     ' Good news! I found your account int the Hall of Pokemon TD Trainers! Give me just a second...\n\r'
                 )
                 msg = ''
                 if shiny == 'reg' or shiny == 'regular':
                     msg = ptd.catch(num=num, lvl=lvl, shiny=False)
                 if shiny == 'shiny' or shiny == 'shine':
                     msg = ptd.catch(num=num, lvl=lvl, shiny=True)
                 s.send('PRIVMSG ' + CHANNELINIT +
                        ' Ok, I sent you this: ' + str(msg) + '\n\r')
                 wishes -= 1
Exemplo n.º 4
0
import ptd_info
from ptd import smrrd_PTD

ptd = smrrd_PTD(version='641',aes_key='aes_key',verbose_lvl=1) # optional login credentials
ptd.register(email='email',pw='password') # register a new account
ptd.info() # login and print information
ptd.settings(Version=1, badges=2, challenge=1, a_story=10, c_story=10, a_story_a=10, nickname='smrrd', money = 12345678,profil=1) # set Profile progress (Chapters, Red/Blue Version, Badges, ...)
ptd.info()
ptd.catch(num=1,lvl=100,m1=1,m2=2,shiny=True) # catch a Pokemon. m1-m4 are attacks
ptd.catch(num=2,lvl=100,m1=3,m2=4,shiny=True) # check ptd_info for the whole list
ptd.catch(num=3,lvl=100,m1=5,m2=6,shiny=True)
ptd.catch(num=131,lvl=100,m1=7,m2=8,shiny=True)
ptd.catch(num=4,lvl=100,m1=1,m2=2,shiny=False)
ptd.catch(num=5,lvl=100,m1=3,m2=4,shiny=False)
ptd.catch(num=6,lvl=100,m1=5,m2=6,shiny=False)
ptd.catch(num=151,lvl=100,m1=9,m2=10,shiny=False)
ptd.login() # login into account to get the new updated information
ptd.check_achieve() # have to be done, otherwise it will not work
ptd.set_achieve(1,'-1') # set an achievement to the values
ptd.set_achieve(1,'-2')
ptd.set_achieve(1,'-3')
ptd.set_achieve(1,'-4')
ptd.get_achieve(1) # get the reward of this achievement
ptd.set_achieve(2)
ptd.get_achieve(2)
ptd.set_achieve(3)
ptd.get_achieve(3)
ptd.set_achieve(4)
ptd.get_achieve(4)
ptd.set_achieve(5)
ptd.get_achieve(5)