コード例 #1
0
def login(i):
    id, pw = i.split(';')
    try:
        a = API()
        a.setproxy()
        a.setUserId(id)
        a.setPassword(base64.b64decode(pw))
        a.dailylogin()
    except:
        return
コード例 #2
0
def check(l):
    l = l.split(',')
    try:
        a = API()
        a.setuserId(l[2])
        a.setuuid(l[1])
        a.setconsumeId(l[0])
        a.login()
        a.exportCode()
        a.getAllGifts()
        a.freeunits(10)
        #a.gacha(4,10,434,133,2)
        #a.gacha(2,10,565,141,2)
        a.getPlayer()
        a.exportPlayer()
    except:
        pass
コード例 #3
0
from main import API
import sys

reload(sys)  
sys.setdefaultencoding('utf8')

a=API()
a.setUdid('5990139B-C394-4C37-92C8-4546603C7153')
a.setRegion('global')

a.login()
a.getMail()
a.getPermanent()

#a.finishQuest(0,11)
#a.finishQuest(0,12)
#a.finishQuest(0,13)
#a.finishQuest(0,14)
#a.finishQuest(0,15)
#a.finishQuest(0,16)
#a.finishQuest(0,17)
#a.finishQuest(0,20)
#exit(1)
#while(1):
a.selectCharInven('{"seq":"42"}',makedeck=True)
for i in range(24,40):
	a.finishQuest(0,i+1)
exit(1)
#a.finishQuest(0,1)
コード例 #4
0
from main import API,Tools

_player='9DCB10ED-B4D9-47E4-9CC3-47235029CCE3'
_device=1

a=API()
a.setPlayerID(_player,_device)

a.InitializeRequest()
a.GetUserInfoRequest()
a.setSolve()

a.setLoot()
a.setELoot()
a.setFriends()

print a.startMission(1110301)[1]
print a.startMission(1110302)[1]
print a.startMission(1110303)[1]
コード例 #5
0
from main import API, Tools
from mission_names_gl import *

_player = '3D2A21DB-D06A-459C-B723-78EBE14CF3F9'
_device = 1

todo = []

a = API()
a.setPlayerID(_player, _device)
#a.setFacebook('EAARmB9evD0cBAOaZCGqbT5kYu9Db8HPpVnZAvQZCTCmZCX3JOa86qzZCIZAS9RQMr0QLxCwkMw9apeup0mcDoyrn7r1CajGoJ9lDvqFywX0Tkony7H3NWorImFdR6p8nnVQtlg3x2X5gkhmZAzQP7cis9Q9RGDtojw920GjWidkU8YszifNDdaOYjrGJQXxj9pgErAWYuBsiml18xHWlFYIxmAuuraM02uXN3IqoatNwQZDZD','1580352528642492')

a.InitializeRequest()
a.GetUserInfoRequest()
#a.setSolve()

a.setRefill()
a.setLoot()
a.setELoot()
#a.setFriends()

print a.startMission(1110100)[1]
exit(1)

while (1):
    print a.startMission(2000201)[1]
exit(1)

for m in missions:
    m = int(m)
    if m >= 1110100:  # and m <= 1620705:
コード例 #6
0
from main import API

a = API()
a.setVID('YOUR_ID_HERE')
#a.setADID('YOUR_ID_HERE')#ONLY IF YOU HAVE ADID
a.UserAuth()
a.UserLoad()
a.Poll()
a.addItem(2584189485, 4)  #energy
a.addItem(2386669728, 100000)  #sc
a.addItem(2216831597, 100000)  #exp
a.addItem(1176006757, 100000)  #hc
#a.addItem(3414317992,1000)#vip token
#a.addItem(4220479132,0)#orc coins
#a.addItem(2778961937,900000)#power
#a.addItem(3709963089,0)#ability points
#a.addItem(4049818645,0)#glyp

a.injectStuff(531932187, 4195647893, 0, 0, 1, [2, 3, 4])
#a.UserSave(1648457619,531932187,4195647893,0,0,1,[2,3,4,5])
#a.UserSave(531932187,4111759798,2,0,1,[2,3,4,5],True)
コード例 #7
0
ファイル: iphone.py プロジェクト: scriptkitz/AFK-Arena-Bot_
from main import API

a = API()
a.setDevice('ios')
a.setOpenId('5189683')
a.setToken('0V36drBk4KzR1tG6QpFCUu5tzxACZ0RY')
a.login_and_collect(126)
#a.reroll(True)
#a.update_rating()
#a.questuntil(50)
print a.doquest(86)
#a.showallaccounts()
コード例 #8
0
from main import API

a = API()
a.setuserId(231352744443)
a.setuuid('05d47ed0-a3d1-4c61-979a-8baa0b897ec2')
a.setconsumeId('2841C7DF-B399-4980-B320-EDBB3FCD406B')
a.login()
コード例 #9
0
def dorolls(t):
    token, open_id = t.split(';')
    b = API()
    b.setDevice('ios')
    b.setcmd()
    b.setOpenId(open_id)
    b.setToken(token)
    b.login_and_collect()
    #b.reroll(True)
    #b.questuntil(77)
    b.updateAccount()
コード例 #10
0
def dorolls(t=''):
    a = API()
    a.setDevice('ios')
    a.reroll()
    a.update_rating()
    b = API()
    b.setDevice('ios')
    b.setOpenId(a.open_id)
    b.setToken(a.token)
    b.login_and_collect()
    b.addAccountToDb()
コード例 #11
0
from main import API

logins = '''2841C7DF-B399-4980-B320-EDBB3FCD406B,ecbedae6-75ef-41ab-9da4-bbae58a5d132,231352606796,ios,user: 231352606796 code: ed4abnaee9mcpl5e,0,,'''

for l in logins.split('\n'):
    l = l.split(',')
    a = API()
    a.setuserId(l[2])
    a.setuuid(l[1])
    a.setconsumeId(l[0])
    a.login()
    a.getAllGifts()
    a.finishTutorial()
    a.getPlayer()
    #a.freeunits(10)
    a.getPlayer()
    a.exportPlayer('selling.csv')
コード例 #12
0
def check(l):
    l = l.split(',')
    try:
        a = API()
        a.setuserId(l[2])
        a.setuuid(l[1])
        a.setconsumeId(l[0])
        a.login()
        a.getAllGifts()
        a.finishTutorial()
        a.getPlayer()
        if a.playerdata['player']['jewel'] == 97:
            a.gacha(10, 10, 597, 171, 2)
            a.gacha(10, 10, 434, 133, 2)
            a.gacha(10, 10, 598, 171, 2)
            a.freeunits(5)
        a.getPlayer()
        a.exportPlayer('selling.csv')
    except:
        pass
コード例 #13
0
# -*- coding: utf-8 -*-
from main import API

a = API()
a.platform = 2
a.setUUID('35B70FCF-09A1-0C94-5F79-43772723CB5F')

a.login()

#a.completeMission(100002,0,10023,1,1,0,2,50) # second quest
コード例 #14
0
from main import API

while(1):
	#try:
		a=API()
		a.reroll()
		a.exportPlayer()
	#except:
	#	pass
コード例 #15
0
from main import API

a = API()
a.sess = 'AAAATlrvMaj5B1tRrTdG_YVdKwPRplka5d5_lV_i6PTtcED06tscRIVj0ifXN0xU3weXf_Eh-PNSzTMzNw7CBcLbjkT_kww941dFj4hdSc5cineU'
a.uin = '393298264'
a.wait(5)  #this will wait 5 seconds between each action
a.setRegion(2)
a.setDevice(2)
a.dologin()

#use event codes
a.boltrend_exchange_code('73rss7mw9i')
a.boltrend_exchange_code('ckwwievtx9')
a.boltrend_exchange_code('dkskdyexfr')
a.boltrend_exchange_code('e7ef24evfc')
a.boltrend_exchange_code('gyka4jreqf')
a.boltrend_exchange_code('h3wq5ft9kw')
a.boltrend_exchange_code('k7uu7d6zkq')
a.boltrend_exchange_code('ksyyrtaufe')
a.boltrend_exchange_code('nuwjyu26xh')
a.boltrend_exchange_code('pe3q2hrden')
a.boltrend_exchange_code('rkxwj7qrwk')
a.boltrend_exchange_code('rr5nguvafi')

#do single quest
a.doQuest(1001101303)
#do multiple quests
a.completeStory(90101)
#farm dungeon
a.completeStory(50107, farmingAll=True)
コード例 #16
0
from main import API
import time

while (1):
    try:
        a = API()
        a.reroll()
    except:
        time.sleep(5)
        pass
コード例 #17
0
from main import API

a = API()
a.sess = 'AAAATlrvMaj5B1tR4VrD1Qhy3GV_zukDoYg5KF_i6PTtcED04lhQItRHCj0A9Gx_RoAIHBvWLPZloWZfGGGt_6zzGqa1dHIO9cqZdIhdSc5cineU'
a.uin = '396184879'
a.wait(5)  #this will wait 5 seconds between each action
a.setRegion(2)
a.setDevice(1)
a.dologin()

#use event codes
a.boltrend_exchange_code('73rss7mw9i')
a.boltrend_exchange_code('ckwwievtx9')
a.boltrend_exchange_code('dkskdyexfr')
a.boltrend_exchange_code('e7ef24evfc')
a.boltrend_exchange_code('gyka4jreqf')
a.boltrend_exchange_code('h3wq5ft9kw')
a.boltrend_exchange_code('k7uu7d6zkq')
a.boltrend_exchange_code('ksyyrtaufe')
a.boltrend_exchange_code('nuwjyu26xh')
a.boltrend_exchange_code('pe3q2hrden')
a.boltrend_exchange_code('rkxwj7qrwk')
a.boltrend_exchange_code('rr5nguvafi')

#do single quest
a.doQuest(1001101303)
#do multiple quests
a.completeStory(90101)
#farm dungeon
a.completeStory(50107, farmingAll=True)
コード例 #18
0
from main import API

a = API()
a.reroll()
a.finishTutorial()