Register for your free account! | Forgot your password?

You last visited: Today at 15:46

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

Advertisement



[TuT] Python Scripts kompilieren

Discussion on [TuT] Python Scripts kompilieren within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 05/07/2013, 15:44   #16
 
Stαgє6's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2,019
Received Thanks: 1,471
Naja das HowTo ist nicht schlecht aber man sollte mit python umgehen können oder einen gute kollegen haben der es perfect kann ^^
Stαgє6 is offline  
Old 05/07/2013, 16:36   #17
 
[uLow]Beni's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,781
Received Thanks: 618
Warum so kompliziert ?

Code:
ToCompile = "bla.py"
bla = open(ToCompile, 'r')
fH = open(ToCompile+'c', 'wb')

from imp import get_magic

fH.write(get_magic())
fH.write(compile(bla.read(),ToCompile,'exec'))

fH.close()
bla.close()
Quote:
Originally Posted by .XXShuzZzle View Post
yes but not to 100% because it is still byte code
No, the bytecode in python is a easy converted code of "normal code".

Der beste weg ist, einen python2c zuverwenden, aber dann hat ist es für metin2 unbrauchbar.
[uLow]Beni is offline  
Old 05/07/2013, 20:52   #18
 
elite*gold: 26
Join Date: Oct 2011
Posts: 1,262
Received Thanks: 1,062
Quote:
Originally Posted by xP3NG3Rx View Post
Google>python22 decompyle/decompile
Or here is my upload:

How2 setup: Use your brain.

Example for decompile:
Code:
from decompyle import decompyle_file as dec
s=open('decompiled.py','w')
dec('compiledfile.pyc', s,0,0)

Geht auch anders. Einfach mal nach unpyc googlen
He3o Crysis is offline  
Old 05/08/2013, 09:58   #19
 
xP3NG3Rx's Avatar
 
elite*gold: 50
Join Date: May 2011
Posts: 270
Received Thanks: 991
@Lerσx™
If you say so...
xP3NG3Rx is offline  
Old 06/25/2013, 18:30   #20
 
elite*gold: 0
Join Date: Jun 2012
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by xP3NG3Rx View Post
Google>python22 decompyle/decompile
Or here is my upload:

How2 setup: Use your brain.

Example for decompile:
Code:
from decompyle import decompyle_file as dec
s=open('decompiled.py','w')
dec('compiledfile.pyc', s,0,0)
from decompyle import decompyle_file as dec don't work
ImportError: cannot import name decompyle_file
please help me
bidanuss3 is offline  
Old 10/15/2014, 20:55   #21
 
elite*gold: 0
Join Date: Jul 2014
Posts: 4
Received Thanks: 0
py to pyc

how?
mt2stark is offline  
Reply

Tags
kompilieren, metin2, py, pyc, pythonscript


Similar Threads Similar Threads
[LazyRelease] Log python npc scripts from TQ!
07/12/2014 - CO2 PServer Guides & Releases - 43 Replies
Ok so I posted about this ages ago but realized after being msg'd on youtube that I've never actually posted the code to do this... As many of you know, I never bothered adding npc scripts for well... any npcs in the hellmouth source... THIS WILL ONLY LOG NPC SPAWN LOCATIONS AND THE FIRST PAGE OF TEXT/OPTIONS WHEN YOU TALK TO THEM!!! I've also been trying to encourage people to use the damn external python scripts but so far they haven't taken much of an interest... well here's...
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. ?
[SERVICE]Python-Scripts Erstellen :)
02/17/2012 - Metin2 Trading - 0 Replies
Heyho, In diesem Thread bitte ich meine Python kenntnisse für euch an ^^ Ich erfülle alle wünsche (soweit wie möglich) Kleinere Scripts mache ich auch Kostenlos :) Der Preisvariert je nachdem wie lange es dauert und wie umfangreich das scripts sein soll. Beispiele:
Automaton Scripts python
12/17/2010 - Flyff Private Server - 1 Replies
hi Leute hi ******** ich war schon lange nicht mehr on und nun habe ich wieder lust und zeit Fame zu spielen ich suche wieder scripts in python geschrieben für automaton 1.3 pls hab schon SuFu und gegooglet leider nichts gefunden weis auch nimmer wie die scripts heisen. PM me oder post
PYTHON SCRIPTS AUSFÜHREN
03/12/2010 - Metin2 - 2 Replies
kennt jmd in metin2 n py script, das ein anderes script ausführt, oder weiß jmd wie man das macht??



All times are GMT +1. The time now is 15:46.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.