Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 21:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to update metin2 python?

Discussion on How to update metin2 python? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Attila1995's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 9
Received Thanks: 0
How to update metin2 python?

Hy guys.

How to update metin2 python 2.2 to 2.7 client source?

Only python system update.

Please help me!

(Sorry my english bad.)

Thanks!
Attila1995 is offline  
Old 03/06/2015, 14:47   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 54
Received Thanks: 2
# cd /usr/ports/lang/python27/
# make

or

# pkg_add -v -r python27
worldend is offline  
Old 03/06/2015, 15:08   #3

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
He is searching for a Client update
rollback is offline  
Old 03/06/2015, 17:13   #4
 
elite*gold: 0
Join Date: Jan 2014
Posts: 268
Received Thanks: 373
You have to change the "python22.dll" to the "python27.dll" (don't rename but download the new file) in the client folder (obviously) and then change in the source in the UserInterface.cpp
Code:
#pragma comment( lib, "python22.lib" )
->
Code:
#pragma comment( lib, "python27.lib" )
Now open the StdAfx.h in the project called "scriptLib" and replace all the
Code:
#include <Python22/x.h>
->
Code:
#include <Python27/x.h>
Well now open "PythonUtils.cpp" in the same project and insert
Code:
#define PyLong_AsLong PyLong_AsLongLong
#define Pylong_AsUnsignedLong PyLong_AsUnsignedLongLong
after the includes.
I think that's all, I hope I haven't forgotten something important but u'll see (:

Kind Regards
Lefloyd is offline  
Old 03/07/2015, 08:59   #5
 
Attila1995's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 9
Received Thanks: 0
Hi Lefloyd!

Thank all for fast help!

This solution is not good. :S

Not runing compiled metin2clinet.exe. :S

I open and not runing, no sysserr and no eroorr dialog. :S

I add new python27.dll and python27 library folder my client folder.
Attila1995 is offline  
Old 03/07/2015, 12:37   #6
 
elite*gold: 0
Join Date: Jan 2014
Posts: 268
Received Thanks: 373
Have you tried to start the binary in debug mode? What's the error there that's displayed? If you don't know how to run it in debug mode just tell me and I'll add you in skype to show.

Kind Regards
Lefloyd is offline  
Old 03/07/2015, 13:11   #7
 
Attila1995's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 9
Received Thanks: 0
Thanks for reply.

Error dialog:


(My skype addres: webprogrammer0)
Attila1995 is offline  
Old 03/07/2015, 13:36   #8
 
elite*gold: 0
Join Date: Jan 2014
Posts: 268
Received Thanks: 373
Oh well, I don't need skype for this error; open all your python-files in the root directory with notepad++ and press Strg+H and replace all "locale" with "localeInfo" (select the box to search only for full words) and click on the "Replace in all files" button (or whatever it's called in english). Now rename the locale.py to localeInfo.py in the root folder and pack it. Now try again.

Kind Regards
Lefloyd is offline  
Old 03/07/2015, 15:39   #9
 
Attila1995's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 9
Received Thanks: 0
Now new error
Attila1995 is offline  
Old 03/07/2015, 19:49   #10
 
elite*gold: 0
Join Date: Jan 2014
Posts: 268
Received Thanks: 373
Well, added you skype. Will be easier to solve the problem there.

Kind Regards
Lefloyd is offline  
Reply


Similar Threads Similar Threads
[Python] Modules after GameForge-Update (01.10.2013)
05/23/2015 - Metin2 Guides & Templates - 21 Replies
Good afternoon Elitepvpers. The update from the 01.10.2013 has changed a few things in the Metin2Client concerning Python. Some Pythonmodules have been removed from the Root-Eterpack and were moved directly into the client-executable. Dump: Module: background 004511C0 IsSoftwareTiling 004511E0 EnableSoftwareTiling 00451240 EnableSnow 00451970 GlobalPositionToLocalPosition
Help to make a python file works with python loader
03/03/2013 - Metin2 - 2 Replies
Hey epvp! I want make a very. Little hack works on pythonn loader can anybody help me please?
Metin2 - Python - Wie Python Hacks verschlüsseln und Server überprüfen (GF/PServe)
09/23/2012 - Metin2 - 2 Replies
Ich wollte fragen, wie man Python Hacks am besten Verschlüsselt ? und wie man feststellen kann ob man auf einem GF / Pserver spielt. ?



All times are GMT +1. The time now is 21:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.