Author Topic: DPLogin client  (Read 1655 times)

mRokita

  • Autococker
  • Posts: 598
DPLogin client
« on: May 21, 2016, 03:39:24 PM »
Hey!
I was a little bored today so i've written a small python module for writing DPLogin clients/bots.
You can get it here: https://gist.github.com/mRokita/74e4ee0e375397f3dda781c4e18b2370
Some of its functions:
- creating new clans
- managing clan members
- editing profile
- adding/deleting names
- retrieving clan members
- cracking somebody's password ;) (in theory  ;D)
A simple script that accepts every incoming clan join request:
Code: [Select]
from dplogin import DPLogin
import time
dplogin = DPLogin("mrokita", "password")
clan_id = 15790
while True:
    time.sleep(10)
    members = dplogin.get_clan_members(clan_id)
    if "Players Requesting Membership" in members:
        for member in members["Players Requesting Membership"]:
            dplogin.invite_member(clan_id, playerid=member["id"])

Ace

  • Autococker
  • Posts: 661
Re: DPLogin client
« Reply #1 on: May 21, 2016, 09:21:04 PM »
import time

loses hours, hmmmm, python is fishy