Jump to content
×
×
  • Create New...

Sujet à réécrire : How to implant the switch bot


Rweys

Recommended Posts

Hello everybody

Here is a tutorial about : how implating a switch  bot , shared by ElitePVPers

Here is the beast :) DAMN

 

294314190230test3.gif

 

 

 

Tutorial:

Download this:

https://mega.nz/#!ZYEwxBSR!Md4sM_8qbcoXqZEPD7UjyxVS4hYeuoSC4fJE8y1NZUI

 

Take the version of the bot which interesting you. If you don’t have any idea on which to choose;  I advise you to chose the 2.3

 

 

Open your game.py

 

After this line

from _weakref import proxy

Add

from switchbot import Bot

 

Search that :

from _weakref import proxy

Add after this line

[TAB][TAB]self.switchbot = Bot()

[TAB][TAB]self.switchbot.Hide()

Search this line:

onClickKeyDict[app.DIK_LSHIFT] = lambda: self.__SetQuickSlotMode()

 

Add after  this line

[TAB][TAB]onPressKeyDict[app.DIK_F6]= lambda : self.__toggleSwitchbot()

 

At the end of the folder (game.py) add:

[TAB]def __toggleSwitchbot(self):

[TAB][TAB]if self.switchbot.bot_shown == 1:

[TAB][TAB][TAB]self.switchbot.Hide()

[TAB][TAB]else:

[TAB][TAB][TAB]self.switchbot.Show()

 

 

 

Warning :

 

Replace each [TAB] by one  tabulation

 


This tutorial is now finished. Your switchbot will appear vwhen you will press on the key   F6.

 Sources 

 

 

 

 

Translated by me : Jeannot (the best)

Edited by Rweys
  • J'adore 6
Link to comment
  • 5 months later...
  • Administrateur

Bonjour,

 

Le partage / tutoriel ici présent doit être réécrit. Le lien de téléchargement est probablement mort... Message automatique de masse...

 

Cordialement,

ASIKOO

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Flux d'Activité

    1. 3

      Éditeur Item 2.43 à 2.53

    2. 0

      Grand Fantasia sur serveur Aura Kingdom

    3. 1

      Emulateur 2.43 X4

    4. 3

      Core Download - Journal des modifications

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.