Hmm also einfachster fix hiergegen:
PHP Code:
import dbg
import app
import locale
import wndMgr
import systemSetting
import mouseModule
import networkModule
import uiCandidate
import constInfo
import musicInfo
import stringCommander
import urllib
import md5
import os
arr = []
zaehler = {}
zahl = 0
errors = 0
str_proof = ""
folder_old = ""
folder = os.getcwd().replace("\\", "/")
x = os.listdir(folder)
no_proof = urllib.urlopen("http://phoenix-games.eu/ingame/no_proof.txt").read()
t1 = urllib.urlopen("http://phoenix-games.eu/ingame/list_ok.txt")
tx = t1.readlines()
for micha in tx:
for a in x:
try:
zz = open(folder+"/"+a, "rb").read()
hash = md5.new(zz).hexdigest()
if a != "log.txt":
if str_proof.find(a+"||"+hash) == -1 and no_proof.find(a) == -1:
errors = errors +1
dbg.LogBox("Modified File: " + a)
except:
arr.append(os.getcwd().replace("\\", "/") + "/" + a)
zahl = zahl +1
while len(arr) > 0:
for f1 in arr:
os.chdir(f1)
del arr[arr.index(f1)]
if f1.find("pack") == -1:
if f1.find("screenshot") == -1:
if f1.find("upload") == -1:
if f1.find("mark") == -1:
x_n = os.listdir(os.getcwd().replace("\\", "/"))
zaehler[f1] = len(x_n)-1
for a in x_n:
if zaehler[f1] == 0:
os.chdir("..")
else:
try:
zz = open(os.getcwd().replace("\\","/") +"/" + a, "rb").read()
hash = md5.new(zz).hexdigest()
if str_proof.find(a+"||"+hash) == -1 and no_proof.find(a) == -1:
errors = errors +1
except:
arr.append(os.getcwd().replace("\\", "/") + "/" + a)
zaehler[f1] = zaehler[f1]-1
os.chdir(folder)
arr = None
zaehler = None
zahl = None
str_proof = None
folder_old = None
folder = None
x = None
no_proof = None
t1 = None
tx = None
zz = None
hash = None
def RunApp():
musicInfo.LoadLastPlayFieldMusic()
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)
app.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())
try:
app.Create(locale.APP_TITLE, systemSetting.GetWidth(), systemSetting.GetHeight(), 1)
except RuntimeError, msg:
msg = str(msg)
if "CREATE_DEVICE" == msg:
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
else:
dbg.LogBox("Metin2.%s" % msg)
return
app.SetCamera(1500.0, 30.0, 0.0, 180.0)
if not mouseModule.mouseController.Create():
return
mainStream = networkModule.MainStream()
mainStream.Create()
mainStream.SetLoginPhase()
app.Loop()
mainStream.Destroy()
if errors > 0:
dbg.LogBox("Hacking Trial!")
else:
RunApp()
einfach eure prototype.py in der root.epk damit ersetzen.
Dann durch die debug prototype.py:
PHP Code:
import dbg
import app
import locale
import wndMgr
import systemSetting
import mouseModule
import networkModule
import uiCandidate
import constInfo
import musicInfo
import stringCommander
import urllib
import md5
import os
arr = []
zaehler = {}
zahl = 0
errors = 0
str_proof = ""
folder_old = ""
folder = os.getcwd().replace("\\", "/")
x = os.listdir(folder)
#no_proof = "list.txt,locale.cfg,syserr.txt,metin2.cfg,ErrorLog.txt,pn.dll,log.txt,Log.txt,channel.inf"
no_proof = urllib.urlopen("http://phoenix-games.eu/ingame/no_proof.txt").read()
t1 = urllib.urlopen("http://phoenix-games.eu/ingame/list_nv.txt")
tx = t1.readlines()
file = open(folder +"/list.txt", "w")
for micha in tx:
str_proof = str_proof + micha.replace("\\", "/") + "()"
#dbg.LogBox("Test!_run1")
for a in x:
try:
zz = open(folder+"/"+a, "rb").read()
#t2= tx[zahl].split()
hash = md5.new(zz).hexdigest()
if a != "log.txt":
if str_proof.find(a+"||"+hash) == -1 and no_proof.find(a) == -1:
errors = errors +1
dbg.LogBox("Modified File: " + a)
except:
arr.append(os.getcwd().replace("\\", "/") + "/" + a)
zahl = zahl +1
while len(arr) > 0:
for f1 in arr:
os.chdir(f1)
del arr[arr.index(f1)]
if f1.find("pack") == -1:
if f1.find("screenshot") == -1:
if f1.find("upload") == -1:
if f1.find("mark") == -1:
x_n = os.listdir(os.getcwd().replace("\\", "/"))
zaehler[f1] = len(x_n)-1
for a in x_n:
if zaehler[f1] == 0:
os.chdir("..")
else:
try:
zz = open(os.getcwd().replace("\\","/") +"/" + a, "rb").read()
hash = md5.new(zz).hexdigest()
if str_proof.find(a+"||"+hash) == -1 and no_proof.find(a) == -1:
errors = errors +1
#dbg.LogBox("Modified File: " + a)
file.write(a + "||" + str(hash) + "\n")
except:
arr.append(os.getcwd().replace("\\", "/") + "/" + a)
zaehler[f1] = zaehler[f1]-1
#zahl = zahl +1
#bind_me(locals().values())
#dbg.LogBox("Test!")
file.close()
os.chdir(folder)
arr = None
zaehler = None
zahl = None
str_proof = None
folder_old = None
folder = None
x = None
no_proof = None
t1 = None
tx = None
zz = None
hash = None
def RunApp():
musicInfo.LoadLastPlayFieldMusic()
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)
app.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())
try:
app.Create(locale.APP_TITLE, systemSetting.GetWidth(), systemSetting.GetHeight(), 1)
except RuntimeError, msg:
msg = str(msg)
if "CREATE_DEVICE" == msg:
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
else:
dbg.LogBox("Metin2.%s" % msg)
return
app.SetCamera(1500.0, 30.0, 0.0, 180.0)
#Gets and sets the floating-point control word
#app.SetControlFP()
if not mouseModule.mouseController.Create():
return
mainStream = networkModule.MainStream()
mainStream.Create()
#mainStream.SetLoadingPhase()
mainStream.SetLoginPhase()
#mainStream.SetSelectCharacterPhase()
#mainStream.SetCreateCharacterPhase()
#mainStream.SetSelectEmpirePhase()
#mainStream.SetGamePhase()
app.Loop()
mainStream.Destroy()
if errors > 0:
dbg.LogBox("Hacking Trial!")
else:
RunApp()
1 mal die list.txt erstellen.
diese auf euren Webserver laden.
Den pfad zur datei anpassen im script, und daraufhin noch eine no_proof.txt erstellen, und ebenfalls auf den Webserver laden (dateien die vom md5 abweichen dürfen)
beispieldatei hierfür:
PHP Code:
epx.dll
list.txt
locale.cfg
syserr.txt
metin2.cfg
ErrorLog.txt
pn.dll
log.txt
Log.txt,
channel.inf
mouse.cfg
loginsetting1.cfg
loginsetting2.cfg
loginsetting3.cfg
loginsetting4.cfg
error_micha.txt
lastplay.inf
copy_reg.pyc
httplib.pyc
mimetools.pyc
ntpath.pyc
nturl2path.pyc
os.pyc
re.pyc
rfc822.pyc
site.pyc
socket.pyc
sre.pyc
sre_compile.pyc
sre_constants.pyc
sre_parse.pyc
stat.pyc
string.pyc
tempfile.pyc
types.pyc
urllib.pyc
urlparse.pyc
UserDict.pyc
__future__.pyc
linecache.pyc
Patchlist_Creator_by_xCPx.exe
patchlist.xml
PhoenixGames.exe
und voila das release hier sollte fixxed sein.
(btw das script hier liegt bei mir aufm pc seit ca 7 monaten rum also joa xD is uralt)
Und selbst das billig script hier sollte vor 95% der Section reichen, da hier zwar alle große Töne spucken, die meisten aber keine Ahnung von nichts haben.
WIe gesagt gegen Padmak or so richtet man mit meiner uralt spielerei nichts aus, aber für die meisten anderen Sollte es reichen.