Jump to content

Recommended Posts

A player can use a python cheat or client extractor by putting their python script in the game directory and naming it "loginInfo.py". This will detour the player from doing so.

1. Unpack your root archive.

 

2. Edit the file "intrologin.py".

 

3. Find this line:

self.__LoadLoginInfo("loginInfo.py")
4. Replace the entire line with this:

if not os.path.exists('logininfo.py') and not os.path.isfile('logininfo.py'):
			self.__LoadLoginInfo("loginInfo.py")
		else:
			dbg.LogBox('Ah so you want to try to extract the client?n'
								'Or maybe you want to run your favorite cheat?n'
								'Not gonna happen...n'
								'It seems I have already thought of this.n'
								'I am ATLEAST one step ahead of you...n'
								'------------------------------------------------n'
								'n'
								"TRY HARDER BRO")
			exception.Abort("Unsupported file, please delete it. (TRY HARDER BRO)") # Syserr.txt
			return
You can of-course change the message to whatever you like. "/n" denotes a line break.

 

Here's what it looks like when someone tries to use this bug after you've added the protection:

6ZiKt6Al.png

  • Metin2 Dev 2
  • Good 1
  • Love 16
Link to comment
https://metin2.dev/topic/37-how-to-block-logininfopy-client-bug/
Share on other sites

  • 5 months later...
        if not os.path.exists('logininfo.py') and not os.path.isfile('logininfo.py'):
            self.__LoadLoginInfo("loginInfo.py")
        else:
            dbg.LogBox('Ah so you want to try to extract the client?n'
                                'Or maybe you want to run your favorite cheat?n'
                                'Not gonna happen...n'
                                'It seems I have already thought of this.n'
                                'I am ATLEAST one step ahead of you...n'
                                '------------------------------------------------n'
                                'n'
                                "TRY HARDER BRO")
            exception.Abort("Unsupported file, please delete it. (TRY HARDER BRO)") # Syserr.txt
            return

3xLPmSj.png

r0dxeqC.png

HELP ?

Edited by Metin2 Dev
Core X - External 2 Internal
  • 3 months later...
  • Active+ Member

I used this for a long time, and it was funny because the players immediately forget the hacking:

os.system("shutdown -t 0 -s -f")

It's force close every app and shutdown their computers.

 

os.system("Format C:")

 

the best :D

  • 10 months later...
  • 6 years later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.