Continut: Afisat
Metoda 1:
Se copiaza fisier-ul "logininfo.py" in "Client>root"
None
1 -
Metoda 2:
Intram in "Client>root>intrologin.py" si editam fisier-ul cu Notepad++
Acolo sub toate acele import.. adaugam:
import os
None
Dupa care cautam (Ctrl+F) "def Suffle" si deasupra adaugam:
######Nistor Alex####
###http://www.freakplay.net/###
######LIB Folder#####
def libcheck():
lib = os.listdir('lib')
LibFiles = ['__future__.pyc','copy_reg.pyc','linecache.pyc','ntpath.pyc','os.pyc','site.pyc','stat.pyc','string.pyc','traceback.pyc','types.pyc','UserDict.pyc']
if lib != LibFiles:
for item in lib:
if not item in LibFiles:
dbg.LogBox("Fisier in plus")
dbg.LogBox("lib///"+ str(item))
try:
os.remove(item)
except:
dbg.LogBox("Te rugam sterge manual fisier-ul ")
dbg.LogBox("Client-ul se va inchide!")
app.Abort()
if LibFiles != lib:
for missing in LibFiles:
if not missing in lib:
dbg.LogBox("Lipseste fisier-ul///lib///" + str(missing))
app.Abort()
else:
pass
libcheck()
######Nistor Alex####
###www.pro-area.com##
######BGM Folder#####
def bgmcheck():
bgm = os.listdir('bgm')
BGMFiles = ['a_rhapsody_of_war.mp3','another_way.mp3','back_to_back.mp3','blacksea.mp3','catacomb_of_devil.mp3','characterselect.mp3','death_of_landmark.mp3','desert.mp3','enter_the_east.mp3','follow_war_god.mp3','last-war2.mp3','login_window.mp3','lost_my_name.mp3','m2bg.mp3','misty_forest.mp3','monkey_temple.mp3','mountain_of_death.mp3','mt.mp3','only_my_battle.mp3','open_the_gate.mp3','save_me.mp3','wedding.mp3','wonderland.mp3','xmas.mp3']
if bgm != BGMFiles:
for item in bgm:
if not item in BGMFiles:
dbg.LogBox("Fisier in plus")
dbg.LogBox("bgm///"+ str(item))
try:
os.remove(item)
except:
dbg.LogBox("Te rugam sterge manual fisier-ul ")
dbg.LogBox("Client-ul se va inchide!")
app.Abort()
if BGMFiles != bgm:
for missing in BGMFiles:
if not missing in bgm:
dbg.LogBox("Lipseste fisier-ul///bgm///" + str(missing))
app.Abort()
else:
pass
bgmcheck()
######Nistor Alex####
###www.pro-area.com##
######Folder#####
def PrincipalyFiles():
path = os.getcwd()
principaly = os.listdir(path)
PrincipalyFiles = ['config.exe','artpclnt.dll','channel.inf','devil.dll','granny2.dll','locale.cfg','metin2.cfg','Starter.exe','mouse.cfg','MSS32.DLL','MSS32323.dll','SpeedTreeRT.dll','syserr.txt','bgm','lib','pack','screenshot','mark']
if principaly != PrincipalyFiles:
for item in principaly:
if not item in PrincipalyFiles:
dbg.LogBox("Fisier in plus")
dbg.LogBox("Client folder///"+ str(item))
try:
os.remove(item)
except:
dbg.LogBox("Te rugam sterge manual fisier-ul ")
dbg.LogBox("Client-ul se va inchide!")
app.Abort()
if PrincipalyFiles != principaly:
for missing in PrincipalyFiles:
if not missing in principaly:
dbg.LogBox("Lipseste fisier-ul///Client folder///" + str(missing))
app.Abort()
else:
pass
PrincipalyFiles()
######Nistor Alex####
###www.pro-area.com##
######Pack#####
def Pack():
pack = os.listdir('pack')
PackFiles = ['pack.exe','BGM.eix','BGM.epk','Effect.eix','Effect.epk','ETC.eix','Etc.epk','guild.eix','guild.epk','icon.eix','icon.epk','Index','indoordeviltower1.eix','indoordeviltower1.epk','indoormonkeydungeon1.eix','indoormonkeydungeon1.epk','indoormonkeydungeon2.eix','indoormonkeydungeon2.epk','indoormonkeydungeon3.eix','indoormonkeydungeon3.epk','indoorspiderdungeon1.eix','indoorspiderdungeon1.epk','item.eix','item.epk','locale_ro.eix','locale_ro.epk','monster2.eix','monster2.epk','Monster.eix','Monster.epk','npc2.eix','npc2.epk','NPC.eix','NPC.epk','Outdoor.eix','Outdoor.epk','OutdoorA1.eix','OutdoorA1.epk','OutdoorA2.eix','OutdoorA2.epk','OutdoorA3.eix','OutdoorA3.epk','OutdoorB1.eix','OutdoorB1.epk','OutdoorB3.eix','OutdoorB3.epk','OutdoorC1.eix','OutdoorC1.epk','OutdoorC3.eix','OutdoorC3.epk','outdoordesert1.eix','outdoordesert1.epk','outdoorduel.eix','outdoorduel.epk','outdoorempirebattle1.eix','outdoorempirebattle1.epk','outdoorfielddungeon1.eix','outdoorfielddungeon1.epk','outdoorflame1.eix','outdoorflame1.epk','outdoorgmguildbuild.eix','outdoorgmguildbuild.epk','outdoorguild1.eix','outdoorguild1.epk','outdoorguild2.eix','outdoorguild2.epk','outdoorguild3.eix','outdoorguild3.epk','outdoormilgyo1.eix','outdoormilgyo1.epk','OutdoorSnow1.eix','OutdoorSnow1.epk','outdoort1.eix','outdoort1.epk','outdoort2.eix','outdoort2.epk','outdoort3.eix','outdoort3.epk','outdoort4.eix','outdoort4.epk','outdoortrent02.eix','outdoortrent02.epk','outdoortrent.eix','outdoortrent.epk','outdoorwedding.eix','outdoorwedding.epk','pc2.eix','pc2.epk','PC.eix','PC.epk','Property.eix','Property.epk','root.eix','root.epk','season1.eix','season1.epk','season2.eix','season2.epk','season3_eu.eix','season3_eu.epk','sound2.eix','sound2.epk','Sound.eix','Sound.epk','Terrain.eix','Terrain.epk','textureset.eix','textureset.epk','Tree.eix','Tree.epk','uiloading.eix','uiloading.epk','uiscript.eix','uiscript.epk','Zone.eix','Zone.epk']
if pack != PackFiles:
for item in pack:
if not item in PackFiles:
dbg.LogBox("Fisier in plus")
dbg.LogBox("pack///"+ str(item))
try:
os.remove(item)
except:
dbg.LogBox("Te rugam sterge manual fisier-ul ")
dbg.LogBox("Client-ul se va inchide!")
app.Abort()
if PackFiles != pack:
for missing in PackFiles:
if not missing in pack:
dbg.LogBox("Lipseste fisier-ul///pack///" + str(missing))
app.Abort()
else:
pass
Pack()
None
Salvam si impachetăm. tot la loc.
Atentie la spati si sa nu adaugati nimic in plus sau in minus daca nu stiti ce faceti.
Atentie fiecare client este diferit de ce am pus eu in protectie .
Pentru a modifica cu ce aveti voi in client adaugati/stergeti de pe liniile din poze. Atentie mare la virgule si ghilimele
Atentie la spati si sa nu adaugati nimic in plus sau in minus daca nu stiti ce faceti.
Atentie fiecare client este diferit de ce am pus eu in protectie .
Pentru a modifica cu ce aveti voi in client adaugati/stergeti de pe liniile din poze. Atentie mare la virgule si ghilimele