Jump to content
  • 0

Help in implementing a switch bot


4peppe

Question

Hi everyone, as the title suggests, I need help implementing a bonus switcher in my server! i downloaded this 

This is the hidden content, please
, i followed the instructions, but it doesn't work. My client blocks at the loading screen; the client releases me this syerr 

Spoiler

1014 05:24:13775 :: Traceback (most recent call last):

1014 05:24:13775 ::   File "networkModule.py", line 245, in SetGamePhase

1014 05:24:13776 ::   File "system.py", line 130, in __pack_import

1014 05:24:13776 ::   File "
1014 05:24:13776 :: game.py
1014 05:24:13776 :: ", line 
1014 05:24:13776 :: 129
1014 05:24:13776 :: 

1014 05:24:13776 ::     
1014 05:24:13776 :: self.switchbot = Bot()

1014 05:24:13776 ::     
1014 05:24:13776 :: ^

1014 05:24:13776 :: IndentationError
1014 05:24:13776 :: : 
1014 05:24:13776 :: unexpected indent
1014 05:24:13776 :: 

 

  • Metin2 Dev 8
  • Eyes 2
  • Love 2
  • Good 2
  • Confused 1
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

!-->
  • 0
4 hours ago, lime said:

check TABs. especially that line.

this is how they should look.
o366lZP.png

can you tell me what program you use? Thanks, I solved it thanks to you using visual studio

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 0

No. I don't. Go to Settings -> Prefferences -> Language. Then uncheck `Replace by space` in the down-right corner.

Wrong: fjAfsxB.png

Right: hSfh1qY.png

 

__________

I also use this theme :

flyrhzw.png

You can activate it by going into  Settings -> Style Configurator and from select theme pick DansLeRuSH-Dark.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

  • 0
40 minutes ago, chriisey said:

@4peppe can u tell me how did you solve that syserr error on visual studio? The error Is the same as me.

Hi chriisey, I don't remember now exactly how I solved the problem because then I stopped using this switchbot, but I can tell you it's just a matter of syntax, also use notepad ++ but open the file in the right format, so .py not .txt and him itself will give you directions on tabs

Link to comment
Share on other sites

  • 0

I have done. I check tabs on notepad++ but the client doesn't work as well,i don't know how to do it. I need to implement a switchbot in my client. Maybe i don't have to use Miyago switch,but any other switch?@4peppe@4peppe

Link to comment
Share on other sites

  • 0
15 hours ago, chriisey said:

I have done. I check tabs on notepad++ but the client doesn't work as well,i don't know how to do it. I need to implement a switchbot in my client. Maybe i don't have to use Miyago switch,but any other switch?@4peppe@4peppe

I can only advise you to buy yourself the Sanii switchbot

Link to comment
Share on other sites

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


×
×
  • Create New...

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.